From 8f5ec2106e3bf6277b8412e882381e2d778f1772 Mon Sep 17 00:00:00 2001 From: Bharat Dandu Date: Wed, 15 Mar 2023 10:27:00 -0400 Subject: [PATCH 01/13] Replacing a state helper such as chip_server_cluster_attributes with a stateless helper zcl_attributes_server such that we can get deprecate the stateful helpers one by one. Also deprecating if_basic_global_response with if_basic_attribute. The generation diff that is being seen here pertains to generating all server attributes for the corresponding client clusters instead of hacking the server attributes in the zap file. The hack here referes to how server attributes being generated are those attributes which have been enabled without the corresponding server cluster enabled. To avoid this hack, the code now generates all server attributes for the corresponding client cluster. This seems to be in sync with the non java/python templates in terms of generation. Another generation diff seen here is that there is no basic global response for certain attributes which refer to atomic types such as group_id and vendor_id. I am not sure why that is the case. These attributes seem basic enough. Updating the zap being used - Updating min zap version to 3.16 instead of 3.17 - Github: ZAP#898 --- .../devicecontroller/ClusterWriteMapping.java | 688 ++++ .../CHIPAttributeTLVValueDecoder-src.zapt | 4 +- .../java/templates/CHIPCallbackTypes.zapt | 4 +- .../java/templates/CHIPClustersWrite-JNI.zapt | 9 +- .../java/templates/CHIPReadCallbacks-src.zapt | 17 +- .../java/templates/CHIPReadCallbacks.zapt | 13 +- .../java/templates/ChipClusters-java.zapt | 55 +- .../java/templates/ChipIdLookup-java.zapt | 4 +- .../java/templates/ClusterInfo-java.zapt | 13 +- .../ClusterInfo-read-interaction.zapt | 21 +- .../ClusterInfo-write-interaction.zapt | 50 + .../CHIPAttributeTLVValueDecoder.cpp | 2373 +++++++++++- .../java/zap-generated/CHIPCallbackTypes.h | 309 ++ .../zap-generated/CHIPClustersWrite-JNI.cpp | 2742 +++++++++++-- .../java/zap-generated/CHIPReadCallbacks.cpp | 30 +- .../java/zap-generated/CHIPReadCallbacks.h | 15 +- .../chip/devicecontroller/ChipClusters.java | 3392 +++++++++++++++-- .../chip/devicecontroller/ChipIdLookup.java | 453 +++ .../devicecontroller/ClusterInfoMapping.java | 8 +- .../devicecontroller/ClusterReadMapping.java | 2474 +++++++++++- .../python/chip/clusters/CHIPClusters.py | 1075 +++++- .../templates/python-CHIPClusters-py.zapt | 6 +- 22 files changed, 12710 insertions(+), 1045 deletions(-) create mode 100644 src/controller/java/templates/ClusterInfo-write-interaction.zapt diff --git a/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java b/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java index 23a9b397567695..2dce6dab7f0433 100644 --- a/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java +++ b/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java @@ -242,6 +242,57 @@ public Map> getWriteAttributeMap() { writeLevelControlStartUpCurrentLevelAttributeInteractionInfo); writeAttributeMap.put("levelControl", writeLevelControlInteractionInfo); Map writeBinaryInputBasicInteractionInfo = new LinkedHashMap<>(); + Map writeBinaryInputBasicActiveTextCommandParams = + new LinkedHashMap(); + CommandParameterInfo binaryInputBasicactiveTextCommandParameterInfo = + new CommandParameterInfo("value", String.class, String.class); + writeBinaryInputBasicActiveTextCommandParams.put( + "value", binaryInputBasicactiveTextCommandParameterInfo); + InteractionInfo writeBinaryInputBasicActiveTextAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .writeActiveTextAttribute( + (DefaultClusterCallback) callback, (String) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBinaryInputBasicActiveTextCommandParams); + writeBinaryInputBasicInteractionInfo.put( + "writeActiveTextAttribute", writeBinaryInputBasicActiveTextAttributeInteractionInfo); + Map writeBinaryInputBasicDescriptionCommandParams = + new LinkedHashMap(); + CommandParameterInfo binaryInputBasicdescriptionCommandParameterInfo = + new CommandParameterInfo("value", String.class, String.class); + writeBinaryInputBasicDescriptionCommandParams.put( + "value", binaryInputBasicdescriptionCommandParameterInfo); + InteractionInfo writeBinaryInputBasicDescriptionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .writeDescriptionAttribute( + (DefaultClusterCallback) callback, (String) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBinaryInputBasicDescriptionCommandParams); + writeBinaryInputBasicInteractionInfo.put( + "writeDescriptionAttribute", writeBinaryInputBasicDescriptionAttributeInteractionInfo); + Map writeBinaryInputBasicInactiveTextCommandParams = + new LinkedHashMap(); + CommandParameterInfo binaryInputBasicinactiveTextCommandParameterInfo = + new CommandParameterInfo("value", String.class, String.class); + writeBinaryInputBasicInactiveTextCommandParams.put( + "value", binaryInputBasicinactiveTextCommandParameterInfo); + InteractionInfo writeBinaryInputBasicInactiveTextAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .writeInactiveTextAttribute( + (DefaultClusterCallback) callback, (String) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBinaryInputBasicInactiveTextCommandParams); + writeBinaryInputBasicInteractionInfo.put( + "writeInactiveTextAttribute", writeBinaryInputBasicInactiveTextAttributeInteractionInfo); Map writeBinaryInputBasicOutOfServiceCommandParams = new LinkedHashMap(); CommandParameterInfo binaryInputBasicoutOfServiceCommandParameterInfo = @@ -276,6 +327,23 @@ public Map> getWriteAttributeMap() { writeBinaryInputBasicPresentValueCommandParams); writeBinaryInputBasicInteractionInfo.put( "writePresentValueAttribute", writeBinaryInputBasicPresentValueAttributeInteractionInfo); + Map writeBinaryInputBasicReliabilityCommandParams = + new LinkedHashMap(); + CommandParameterInfo binaryInputBasicreliabilityCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeBinaryInputBasicReliabilityCommandParams.put( + "value", binaryInputBasicreliabilityCommandParameterInfo); + InteractionInfo writeBinaryInputBasicReliabilityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .writeReliabilityAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBinaryInputBasicReliabilityCommandParams); + writeBinaryInputBasicInteractionInfo.put( + "writeReliabilityAttribute", writeBinaryInputBasicReliabilityAttributeInteractionInfo); writeAttributeMap.put("binaryInputBasic", writeBinaryInputBasicInteractionInfo); Map writeDescriptorInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("descriptor", writeDescriptorInteractionInfo); @@ -558,6 +626,56 @@ public Map> getWriteAttributeMap() { "writeOnModeAttribute", writeModeSelectOnModeAttributeInteractionInfo); writeAttributeMap.put("modeSelect", writeModeSelectInteractionInfo); Map writeDoorLockInteractionInfo = new LinkedHashMap<>(); + Map writeDoorLockDoorOpenEventsCommandParams = + new LinkedHashMap(); + CommandParameterInfo doorLockdoorOpenEventsCommandParameterInfo = + new CommandParameterInfo("value", Long.class, Long.class); + writeDoorLockDoorOpenEventsCommandParams.put( + "value", doorLockdoorOpenEventsCommandParameterInfo); + InteractionInfo writeDoorLockDoorOpenEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeDoorOpenEventsAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockDoorOpenEventsCommandParams); + writeDoorLockInteractionInfo.put( + "writeDoorOpenEventsAttribute", writeDoorLockDoorOpenEventsAttributeInteractionInfo); + Map writeDoorLockDoorClosedEventsCommandParams = + new LinkedHashMap(); + CommandParameterInfo doorLockdoorClosedEventsCommandParameterInfo = + new CommandParameterInfo("value", Long.class, Long.class); + writeDoorLockDoorClosedEventsCommandParams.put( + "value", doorLockdoorClosedEventsCommandParameterInfo); + InteractionInfo writeDoorLockDoorClosedEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeDoorClosedEventsAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockDoorClosedEventsCommandParams); + writeDoorLockInteractionInfo.put( + "writeDoorClosedEventsAttribute", writeDoorLockDoorClosedEventsAttributeInteractionInfo); + Map writeDoorLockOpenPeriodCommandParams = + new LinkedHashMap(); + CommandParameterInfo doorLockopenPeriodCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeDoorLockOpenPeriodCommandParams.put("value", doorLockopenPeriodCommandParameterInfo); + InteractionInfo writeDoorLockOpenPeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeOpenPeriodAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockOpenPeriodCommandParams); + writeDoorLockInteractionInfo.put( + "writeOpenPeriodAttribute", writeDoorLockOpenPeriodAttributeInteractionInfo); Map writeDoorLockLanguageCommandParams = new LinkedHashMap(); CommandParameterInfo doorLocklanguageCommandParameterInfo = @@ -574,6 +692,22 @@ public Map> getWriteAttributeMap() { writeDoorLockLanguageCommandParams); writeDoorLockInteractionInfo.put( "writeLanguageAttribute", writeDoorLockLanguageAttributeInteractionInfo); + Map writeDoorLockLEDSettingsCommandParams = + new LinkedHashMap(); + CommandParameterInfo doorLockLEDSettingsCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeDoorLockLEDSettingsCommandParams.put("value", doorLockLEDSettingsCommandParameterInfo); + InteractionInfo writeDoorLockLEDSettingsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeLEDSettingsAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockLEDSettingsCommandParams); + writeDoorLockInteractionInfo.put( + "writeLEDSettingsAttribute", writeDoorLockLEDSettingsAttributeInteractionInfo); Map writeDoorLockAutoRelockTimeCommandParams = new LinkedHashMap(); CommandParameterInfo doorLockautoRelockTimeCommandParameterInfo = @@ -623,6 +757,24 @@ public Map> getWriteAttributeMap() { writeDoorLockOperatingModeCommandParams); writeDoorLockInteractionInfo.put( "writeOperatingModeAttribute", writeDoorLockOperatingModeAttributeInteractionInfo); + Map writeDoorLockEnableLocalProgrammingCommandParams = + new LinkedHashMap(); + CommandParameterInfo doorLockenableLocalProgrammingCommandParameterInfo = + new CommandParameterInfo("value", Boolean.class, Boolean.class); + writeDoorLockEnableLocalProgrammingCommandParams.put( + "value", doorLockenableLocalProgrammingCommandParameterInfo); + InteractionInfo writeDoorLockEnableLocalProgrammingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeEnableLocalProgrammingAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockEnableLocalProgrammingCommandParams); + writeDoorLockInteractionInfo.put( + "writeEnableLocalProgrammingAttribute", + writeDoorLockEnableLocalProgrammingAttributeInteractionInfo); Map writeDoorLockEnableOneTouchLockingCommandParams = new LinkedHashMap(); CommandParameterInfo doorLockenableOneTouchLockingCommandParameterInfo = @@ -641,6 +793,24 @@ public Map> getWriteAttributeMap() { writeDoorLockInteractionInfo.put( "writeEnableOneTouchLockingAttribute", writeDoorLockEnableOneTouchLockingAttributeInteractionInfo); + Map writeDoorLockEnableInsideStatusLEDCommandParams = + new LinkedHashMap(); + CommandParameterInfo doorLockenableInsideStatusLEDCommandParameterInfo = + new CommandParameterInfo("value", Boolean.class, Boolean.class); + writeDoorLockEnableInsideStatusLEDCommandParams.put( + "value", doorLockenableInsideStatusLEDCommandParameterInfo); + InteractionInfo writeDoorLockEnableInsideStatusLEDAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeEnableInsideStatusLEDAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockEnableInsideStatusLEDCommandParams); + writeDoorLockInteractionInfo.put( + "writeEnableInsideStatusLEDAttribute", + writeDoorLockEnableInsideStatusLEDAttributeInteractionInfo); Map writeDoorLockEnablePrivacyModeButtonCommandParams = new LinkedHashMap(); CommandParameterInfo doorLockenablePrivacyModeButtonCommandParameterInfo = @@ -659,6 +829,24 @@ public Map> getWriteAttributeMap() { writeDoorLockInteractionInfo.put( "writeEnablePrivacyModeButtonAttribute", writeDoorLockEnablePrivacyModeButtonAttributeInteractionInfo); + Map writeDoorLockLocalProgrammingFeaturesCommandParams = + new LinkedHashMap(); + CommandParameterInfo doorLocklocalProgrammingFeaturesCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeDoorLockLocalProgrammingFeaturesCommandParams.put( + "value", doorLocklocalProgrammingFeaturesCommandParameterInfo); + InteractionInfo writeDoorLockLocalProgrammingFeaturesAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeLocalProgrammingFeaturesAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockLocalProgrammingFeaturesCommandParams); + writeDoorLockInteractionInfo.put( + "writeLocalProgrammingFeaturesAttribute", + writeDoorLockLocalProgrammingFeaturesAttributeInteractionInfo); Map writeDoorLockWrongCodeEntryLimitCommandParams = new LinkedHashMap(); CommandParameterInfo doorLockwrongCodeEntryLimitCommandParameterInfo = @@ -695,6 +883,23 @@ public Map> getWriteAttributeMap() { writeDoorLockInteractionInfo.put( "writeUserCodeTemporaryDisableTimeAttribute", writeDoorLockUserCodeTemporaryDisableTimeAttributeInteractionInfo); + Map writeDoorLockSendPINOverTheAirCommandParams = + new LinkedHashMap(); + CommandParameterInfo doorLocksendPINOverTheAirCommandParameterInfo = + new CommandParameterInfo("value", Boolean.class, Boolean.class); + writeDoorLockSendPINOverTheAirCommandParams.put( + "value", doorLocksendPINOverTheAirCommandParameterInfo); + InteractionInfo writeDoorLockSendPINOverTheAirAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeSendPINOverTheAirAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockSendPINOverTheAirCommandParams); + writeDoorLockInteractionInfo.put( + "writeSendPINOverTheAirAttribute", writeDoorLockSendPINOverTheAirAttributeInteractionInfo); Map writeDoorLockRequirePINforRemoteOperationCommandParams = new LinkedHashMap(); CommandParameterInfo doorLockrequirePINforRemoteOperationCommandParameterInfo = @@ -713,6 +918,24 @@ public Map> getWriteAttributeMap() { writeDoorLockInteractionInfo.put( "writeRequirePINforRemoteOperationAttribute", writeDoorLockRequirePINforRemoteOperationAttributeInteractionInfo); + Map writeDoorLockExpiringUserTimeoutCommandParams = + new LinkedHashMap(); + CommandParameterInfo doorLockexpiringUserTimeoutCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeDoorLockExpiringUserTimeoutCommandParams.put( + "value", doorLockexpiringUserTimeoutCommandParameterInfo); + InteractionInfo writeDoorLockExpiringUserTimeoutAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeExpiringUserTimeoutAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockExpiringUserTimeoutCommandParams); + writeDoorLockInteractionInfo.put( + "writeExpiringUserTimeoutAttribute", + writeDoorLockExpiringUserTimeoutAttributeInteractionInfo); writeAttributeMap.put("doorLock", writeDoorLockInteractionInfo); Map writeWindowCoveringInteractionInfo = new LinkedHashMap<>(); Map writeWindowCoveringModeCommandParams = @@ -733,6 +956,114 @@ public Map> getWriteAttributeMap() { "writeModeAttribute", writeWindowCoveringModeAttributeInteractionInfo); writeAttributeMap.put("windowCovering", writeWindowCoveringInteractionInfo); Map writeBarrierControlInteractionInfo = new LinkedHashMap<>(); + Map writeBarrierControlBarrierOpenEventsCommandParams = + new LinkedHashMap(); + CommandParameterInfo barrierControlbarrierOpenEventsCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeBarrierControlBarrierOpenEventsCommandParams.put( + "value", barrierControlbarrierOpenEventsCommandParameterInfo); + InteractionInfo writeBarrierControlBarrierOpenEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .writeBarrierOpenEventsAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBarrierControlBarrierOpenEventsCommandParams); + writeBarrierControlInteractionInfo.put( + "writeBarrierOpenEventsAttribute", + writeBarrierControlBarrierOpenEventsAttributeInteractionInfo); + Map writeBarrierControlBarrierCloseEventsCommandParams = + new LinkedHashMap(); + CommandParameterInfo barrierControlbarrierCloseEventsCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeBarrierControlBarrierCloseEventsCommandParams.put( + "value", barrierControlbarrierCloseEventsCommandParameterInfo); + InteractionInfo writeBarrierControlBarrierCloseEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .writeBarrierCloseEventsAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBarrierControlBarrierCloseEventsCommandParams); + writeBarrierControlInteractionInfo.put( + "writeBarrierCloseEventsAttribute", + writeBarrierControlBarrierCloseEventsAttributeInteractionInfo); + Map writeBarrierControlBarrierCommandOpenEventsCommandParams = + new LinkedHashMap(); + CommandParameterInfo barrierControlbarrierCommandOpenEventsCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeBarrierControlBarrierCommandOpenEventsCommandParams.put( + "value", barrierControlbarrierCommandOpenEventsCommandParameterInfo); + InteractionInfo writeBarrierControlBarrierCommandOpenEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .writeBarrierCommandOpenEventsAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBarrierControlBarrierCommandOpenEventsCommandParams); + writeBarrierControlInteractionInfo.put( + "writeBarrierCommandOpenEventsAttribute", + writeBarrierControlBarrierCommandOpenEventsAttributeInteractionInfo); + Map writeBarrierControlBarrierCommandCloseEventsCommandParams = + new LinkedHashMap(); + CommandParameterInfo barrierControlbarrierCommandCloseEventsCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeBarrierControlBarrierCommandCloseEventsCommandParams.put( + "value", barrierControlbarrierCommandCloseEventsCommandParameterInfo); + InteractionInfo writeBarrierControlBarrierCommandCloseEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .writeBarrierCommandCloseEventsAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBarrierControlBarrierCommandCloseEventsCommandParams); + writeBarrierControlInteractionInfo.put( + "writeBarrierCommandCloseEventsAttribute", + writeBarrierControlBarrierCommandCloseEventsAttributeInteractionInfo); + Map writeBarrierControlBarrierOpenPeriodCommandParams = + new LinkedHashMap(); + CommandParameterInfo barrierControlbarrierOpenPeriodCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeBarrierControlBarrierOpenPeriodCommandParams.put( + "value", barrierControlbarrierOpenPeriodCommandParameterInfo); + InteractionInfo writeBarrierControlBarrierOpenPeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .writeBarrierOpenPeriodAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBarrierControlBarrierOpenPeriodCommandParams); + writeBarrierControlInteractionInfo.put( + "writeBarrierOpenPeriodAttribute", + writeBarrierControlBarrierOpenPeriodAttributeInteractionInfo); + Map writeBarrierControlBarrierClosePeriodCommandParams = + new LinkedHashMap(); + CommandParameterInfo barrierControlbarrierClosePeriodCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeBarrierControlBarrierClosePeriodCommandParams.put( + "value", barrierControlbarrierClosePeriodCommandParameterInfo); + InteractionInfo writeBarrierControlBarrierClosePeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .writeBarrierClosePeriodAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBarrierControlBarrierClosePeriodCommandParams); + writeBarrierControlInteractionInfo.put( + "writeBarrierClosePeriodAttribute", + writeBarrierControlBarrierClosePeriodAttributeInteractionInfo); writeAttributeMap.put("barrierControl", writeBarrierControlInteractionInfo); Map writePumpConfigurationAndControlInteractionInfo = new LinkedHashMap<>(); @@ -1877,6 +2208,193 @@ public Map> getWriteAttributeMap() { writeAttributeMap.put( "relativeHumidityMeasurement", writeRelativeHumidityMeasurementInteractionInfo); Map writeOccupancySensingInteractionInfo = new LinkedHashMap<>(); + Map + writeOccupancySensingPIROccupiedToUnoccupiedDelayCommandParams = + new LinkedHashMap(); + CommandParameterInfo occupancySensingPIROccupiedToUnoccupiedDelayCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeOccupancySensingPIROccupiedToUnoccupiedDelayCommandParams.put( + "value", occupancySensingPIROccupiedToUnoccupiedDelayCommandParameterInfo); + InteractionInfo writeOccupancySensingPIROccupiedToUnoccupiedDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .writePIROccupiedToUnoccupiedDelayAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeOccupancySensingPIROccupiedToUnoccupiedDelayCommandParams); + writeOccupancySensingInteractionInfo.put( + "writePIROccupiedToUnoccupiedDelayAttribute", + writeOccupancySensingPIROccupiedToUnoccupiedDelayAttributeInteractionInfo); + Map + writeOccupancySensingPIRUnoccupiedToOccupiedDelayCommandParams = + new LinkedHashMap(); + CommandParameterInfo occupancySensingPIRUnoccupiedToOccupiedDelayCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeOccupancySensingPIRUnoccupiedToOccupiedDelayCommandParams.put( + "value", occupancySensingPIRUnoccupiedToOccupiedDelayCommandParameterInfo); + InteractionInfo writeOccupancySensingPIRUnoccupiedToOccupiedDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .writePIRUnoccupiedToOccupiedDelayAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeOccupancySensingPIRUnoccupiedToOccupiedDelayCommandParams); + writeOccupancySensingInteractionInfo.put( + "writePIRUnoccupiedToOccupiedDelayAttribute", + writeOccupancySensingPIRUnoccupiedToOccupiedDelayAttributeInteractionInfo); + Map + writeOccupancySensingPIRUnoccupiedToOccupiedThresholdCommandParams = + new LinkedHashMap(); + CommandParameterInfo occupancySensingPIRUnoccupiedToOccupiedThresholdCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeOccupancySensingPIRUnoccupiedToOccupiedThresholdCommandParams.put( + "value", occupancySensingPIRUnoccupiedToOccupiedThresholdCommandParameterInfo); + InteractionInfo writeOccupancySensingPIRUnoccupiedToOccupiedThresholdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .writePIRUnoccupiedToOccupiedThresholdAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeOccupancySensingPIRUnoccupiedToOccupiedThresholdCommandParams); + writeOccupancySensingInteractionInfo.put( + "writePIRUnoccupiedToOccupiedThresholdAttribute", + writeOccupancySensingPIRUnoccupiedToOccupiedThresholdAttributeInteractionInfo); + Map + writeOccupancySensingUltrasonicOccupiedToUnoccupiedDelayCommandParams = + new LinkedHashMap(); + CommandParameterInfo occupancySensingultrasonicOccupiedToUnoccupiedDelayCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeOccupancySensingUltrasonicOccupiedToUnoccupiedDelayCommandParams.put( + "value", occupancySensingultrasonicOccupiedToUnoccupiedDelayCommandParameterInfo); + InteractionInfo + writeOccupancySensingUltrasonicOccupiedToUnoccupiedDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .writeUltrasonicOccupiedToUnoccupiedDelayAttribute( + (DefaultClusterCallback) callback, + (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeOccupancySensingUltrasonicOccupiedToUnoccupiedDelayCommandParams); + writeOccupancySensingInteractionInfo.put( + "writeUltrasonicOccupiedToUnoccupiedDelayAttribute", + writeOccupancySensingUltrasonicOccupiedToUnoccupiedDelayAttributeInteractionInfo); + Map + writeOccupancySensingUltrasonicUnoccupiedToOccupiedDelayCommandParams = + new LinkedHashMap(); + CommandParameterInfo occupancySensingultrasonicUnoccupiedToOccupiedDelayCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeOccupancySensingUltrasonicUnoccupiedToOccupiedDelayCommandParams.put( + "value", occupancySensingultrasonicUnoccupiedToOccupiedDelayCommandParameterInfo); + InteractionInfo + writeOccupancySensingUltrasonicUnoccupiedToOccupiedDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .writeUltrasonicUnoccupiedToOccupiedDelayAttribute( + (DefaultClusterCallback) callback, + (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeOccupancySensingUltrasonicUnoccupiedToOccupiedDelayCommandParams); + writeOccupancySensingInteractionInfo.put( + "writeUltrasonicUnoccupiedToOccupiedDelayAttribute", + writeOccupancySensingUltrasonicUnoccupiedToOccupiedDelayAttributeInteractionInfo); + Map + writeOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdCommandParams = + new LinkedHashMap(); + CommandParameterInfo + occupancySensingultrasonicUnoccupiedToOccupiedThresholdCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdCommandParams.put( + "value", occupancySensingultrasonicUnoccupiedToOccupiedThresholdCommandParameterInfo); + InteractionInfo + writeOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .writeUltrasonicUnoccupiedToOccupiedThresholdAttribute( + (DefaultClusterCallback) callback, + (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdCommandParams); + writeOccupancySensingInteractionInfo.put( + "writeUltrasonicUnoccupiedToOccupiedThresholdAttribute", + writeOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdAttributeInteractionInfo); + Map + writeOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayCommandParams = + new LinkedHashMap(); + CommandParameterInfo + occupancySensingphysicalContactOccupiedToUnoccupiedDelayCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayCommandParams.put( + "value", occupancySensingphysicalContactOccupiedToUnoccupiedDelayCommandParameterInfo); + InteractionInfo + writeOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .writePhysicalContactOccupiedToUnoccupiedDelayAttribute( + (DefaultClusterCallback) callback, + (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayCommandParams); + writeOccupancySensingInteractionInfo.put( + "writePhysicalContactOccupiedToUnoccupiedDelayAttribute", + writeOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayAttributeInteractionInfo); + Map + writeOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayCommandParams = + new LinkedHashMap(); + CommandParameterInfo + occupancySensingphysicalContactUnoccupiedToOccupiedDelayCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayCommandParams.put( + "value", occupancySensingphysicalContactUnoccupiedToOccupiedDelayCommandParameterInfo); + InteractionInfo + writeOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .writePhysicalContactUnoccupiedToOccupiedDelayAttribute( + (DefaultClusterCallback) callback, + (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayCommandParams); + writeOccupancySensingInteractionInfo.put( + "writePhysicalContactUnoccupiedToOccupiedDelayAttribute", + writeOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayAttributeInteractionInfo); + Map + writeOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdCommandParams = + new LinkedHashMap(); + CommandParameterInfo + occupancySensingphysicalContactUnoccupiedToOccupiedThresholdCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdCommandParams.put( + "value", occupancySensingphysicalContactUnoccupiedToOccupiedThresholdCommandParameterInfo); + InteractionInfo + writeOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .writePhysicalContactUnoccupiedToOccupiedThresholdAttribute( + (DefaultClusterCallback) callback, + (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdCommandParams); + writeOccupancySensingInteractionInfo.put( + "writePhysicalContactUnoccupiedToOccupiedThresholdAttribute", + writeOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdAttributeInteractionInfo); writeAttributeMap.put("occupancySensing", writeOccupancySensingInteractionInfo); Map writeWakeOnLanInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("wakeOnLan", writeWakeOnLanInteractionInfo); @@ -1921,6 +2439,159 @@ public Map> getWriteAttributeMap() { Map writeAccountLoginInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("accountLogin", writeAccountLoginInteractionInfo); Map writeElectricalMeasurementInteractionInfo = new LinkedHashMap<>(); + Map + writeElectricalMeasurementAverageRmsVoltageMeasurementPeriodCommandParams = + new LinkedHashMap(); + CommandParameterInfo + electricalMeasurementaverageRmsVoltageMeasurementPeriodCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeElectricalMeasurementAverageRmsVoltageMeasurementPeriodCommandParams.put( + "value", electricalMeasurementaverageRmsVoltageMeasurementPeriodCommandParameterInfo); + InteractionInfo + writeElectricalMeasurementAverageRmsVoltageMeasurementPeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .writeAverageRmsVoltageMeasurementPeriodAttribute( + (DefaultClusterCallback) callback, + (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeElectricalMeasurementAverageRmsVoltageMeasurementPeriodCommandParams); + writeElectricalMeasurementInteractionInfo.put( + "writeAverageRmsVoltageMeasurementPeriodAttribute", + writeElectricalMeasurementAverageRmsVoltageMeasurementPeriodAttributeInteractionInfo); + Map + writeElectricalMeasurementAverageRmsUnderVoltageCounterCommandParams = + new LinkedHashMap(); + CommandParameterInfo electricalMeasurementaverageRmsUnderVoltageCounterCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeElectricalMeasurementAverageRmsUnderVoltageCounterCommandParams.put( + "value", electricalMeasurementaverageRmsUnderVoltageCounterCommandParameterInfo); + InteractionInfo + writeElectricalMeasurementAverageRmsUnderVoltageCounterAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .writeAverageRmsUnderVoltageCounterAttribute( + (DefaultClusterCallback) callback, + (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeElectricalMeasurementAverageRmsUnderVoltageCounterCommandParams); + writeElectricalMeasurementInteractionInfo.put( + "writeAverageRmsUnderVoltageCounterAttribute", + writeElectricalMeasurementAverageRmsUnderVoltageCounterAttributeInteractionInfo); + Map + writeElectricalMeasurementRmsExtremeOverVoltagePeriodCommandParams = + new LinkedHashMap(); + CommandParameterInfo electricalMeasurementrmsExtremeOverVoltagePeriodCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeElectricalMeasurementRmsExtremeOverVoltagePeriodCommandParams.put( + "value", electricalMeasurementrmsExtremeOverVoltagePeriodCommandParameterInfo); + InteractionInfo writeElectricalMeasurementRmsExtremeOverVoltagePeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .writeRmsExtremeOverVoltagePeriodAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeElectricalMeasurementRmsExtremeOverVoltagePeriodCommandParams); + writeElectricalMeasurementInteractionInfo.put( + "writeRmsExtremeOverVoltagePeriodAttribute", + writeElectricalMeasurementRmsExtremeOverVoltagePeriodAttributeInteractionInfo); + Map + writeElectricalMeasurementRmsExtremeUnderVoltagePeriodCommandParams = + new LinkedHashMap(); + CommandParameterInfo electricalMeasurementrmsExtremeUnderVoltagePeriodCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeElectricalMeasurementRmsExtremeUnderVoltagePeriodCommandParams.put( + "value", electricalMeasurementrmsExtremeUnderVoltagePeriodCommandParameterInfo); + InteractionInfo writeElectricalMeasurementRmsExtremeUnderVoltagePeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .writeRmsExtremeUnderVoltagePeriodAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeElectricalMeasurementRmsExtremeUnderVoltagePeriodCommandParams); + writeElectricalMeasurementInteractionInfo.put( + "writeRmsExtremeUnderVoltagePeriodAttribute", + writeElectricalMeasurementRmsExtremeUnderVoltagePeriodAttributeInteractionInfo); + Map writeElectricalMeasurementRmsVoltageSagPeriodCommandParams = + new LinkedHashMap(); + CommandParameterInfo electricalMeasurementrmsVoltageSagPeriodCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeElectricalMeasurementRmsVoltageSagPeriodCommandParams.put( + "value", electricalMeasurementrmsVoltageSagPeriodCommandParameterInfo); + InteractionInfo writeElectricalMeasurementRmsVoltageSagPeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .writeRmsVoltageSagPeriodAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeElectricalMeasurementRmsVoltageSagPeriodCommandParams); + writeElectricalMeasurementInteractionInfo.put( + "writeRmsVoltageSagPeriodAttribute", + writeElectricalMeasurementRmsVoltageSagPeriodAttributeInteractionInfo); + Map writeElectricalMeasurementRmsVoltageSwellPeriodCommandParams = + new LinkedHashMap(); + CommandParameterInfo electricalMeasurementrmsVoltageSwellPeriodCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeElectricalMeasurementRmsVoltageSwellPeriodCommandParams.put( + "value", electricalMeasurementrmsVoltageSwellPeriodCommandParameterInfo); + InteractionInfo writeElectricalMeasurementRmsVoltageSwellPeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .writeRmsVoltageSwellPeriodAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeElectricalMeasurementRmsVoltageSwellPeriodCommandParams); + writeElectricalMeasurementInteractionInfo.put( + "writeRmsVoltageSwellPeriodAttribute", + writeElectricalMeasurementRmsVoltageSwellPeriodAttributeInteractionInfo); + Map writeElectricalMeasurementOverloadAlarmsMaskCommandParams = + new LinkedHashMap(); + CommandParameterInfo electricalMeasurementoverloadAlarmsMaskCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeElectricalMeasurementOverloadAlarmsMaskCommandParams.put( + "value", electricalMeasurementoverloadAlarmsMaskCommandParameterInfo); + InteractionInfo writeElectricalMeasurementOverloadAlarmsMaskAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .writeOverloadAlarmsMaskAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeElectricalMeasurementOverloadAlarmsMaskCommandParams); + writeElectricalMeasurementInteractionInfo.put( + "writeOverloadAlarmsMaskAttribute", + writeElectricalMeasurementOverloadAlarmsMaskAttributeInteractionInfo); + Map writeElectricalMeasurementAcOverloadAlarmsMaskCommandParams = + new LinkedHashMap(); + CommandParameterInfo electricalMeasurementacOverloadAlarmsMaskCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeElectricalMeasurementAcOverloadAlarmsMaskCommandParams.put( + "value", electricalMeasurementacOverloadAlarmsMaskCommandParameterInfo); + InteractionInfo writeElectricalMeasurementAcOverloadAlarmsMaskAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .writeAcOverloadAlarmsMaskAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeElectricalMeasurementAcOverloadAlarmsMaskCommandParams); + writeElectricalMeasurementInteractionInfo.put( + "writeAcOverloadAlarmsMaskAttribute", + writeElectricalMeasurementAcOverloadAlarmsMaskAttributeInteractionInfo); writeAttributeMap.put("electricalMeasurement", writeElectricalMeasurementInteractionInfo); Map writeClientMonitoringInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("clientMonitoring", writeClientMonitoringInteractionInfo); @@ -3155,6 +3826,23 @@ public Map> getWriteAttributeMap() { writeUnitTestingInteractionInfo.put( "writeNullableRangeRestrictedInt16sAttribute", writeUnitTestingNullableRangeRestrictedInt16sAttributeInteractionInfo); + Map writeUnitTestingWriteOnlyInt8uCommandParams = + new LinkedHashMap(); + CommandParameterInfo unitTestingwriteOnlyInt8uCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeUnitTestingWriteOnlyInt8uCommandParams.put( + "value", unitTestingwriteOnlyInt8uCommandParameterInfo); + InteractionInfo writeUnitTestingWriteOnlyInt8uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeWriteOnlyInt8uAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingWriteOnlyInt8uCommandParams); + writeUnitTestingInteractionInfo.put( + "writeWriteOnlyInt8uAttribute", writeUnitTestingWriteOnlyInt8uAttributeInteractionInfo); writeAttributeMap.put("unitTesting", writeUnitTestingInteractionInfo); return writeAttributeMap; } diff --git a/src/controller/java/templates/CHIPAttributeTLVValueDecoder-src.zapt b/src/controller/java/templates/CHIPAttributeTLVValueDecoder-src.zapt index b8bbcfddd7737f..ce559b045f635e 100644 --- a/src/controller/java/templates/CHIPAttributeTLVValueDecoder-src.zapt +++ b/src/controller/java/templates/CHIPAttributeTLVValueDecoder-src.zapt @@ -42,7 +42,7 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR using namespace app::Clusters::{{asUpperCamelCase name}}; switch (aPath.mAttributeId) { - {{#chip_server_cluster_attributes}} + {{#zcl_attributes_server removeKeys='isOptional'}} case Attributes::{{asUpperCamelCase name}}::Id: { using TypeInfo = Attributes::{{asUpperCamelCase name}}::TypeInfo; TypeInfo::DecodableType cppValue; @@ -54,7 +54,7 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR {{>decode_value target="value" source="cppValue" cluster=(asUpperCamelCase parent.name) depth=0 earlyReturn="nullptr"}} return value; } - {{/chip_server_cluster_attributes}} + {{/zcl_attributes_server}} default: *aError = CHIP_ERROR_IM_MALFORMED_ATTRIBUTE_PATH_IB; break; diff --git a/src/controller/java/templates/CHIPCallbackTypes.zapt b/src/controller/java/templates/CHIPCallbackTypes.zapt index a45b446c2295aa..f527268f99d9fc 100644 --- a/src/controller/java/templates/CHIPCallbackTypes.zapt +++ b/src/controller/java/templates/CHIPCallbackTypes.zapt @@ -14,12 +14,12 @@ typedef void (*CHIP{{asUpperCamelCase parent.name}}Cluster{{asUpperCamelCase nam {{! TODO: global response types?}} -{{#chip_server_cluster_attributes}} +{{#zcl_attributes_server}} {{#if isArray}} typedef void (*CHIP{{asUpperCamelCase parent.name}}Cluster{{asUpperCamelCase name}}AttributeCallbackType)(void *, const chip::app::Clusters::{{asUpperCamelCase parent.name}}::Attributes::{{asUpperCamelCase name}}::TypeInfo::DecodableType &); {{else}} typedef void (*CHIP{{asUpperCamelCase parent.name}}Cluster{{asUpperCamelCase name}}AttributeCallbackType)(void *, chip::app::Clusters::{{asUpperCamelCase parent.name}}::Attributes::{{asUpperCamelCase name}}::TypeInfo::DecodableArgType); {{/if}} -{{/chip_server_cluster_attributes}} +{{/zcl_attributes_server}} {{/chip_client_clusters}} {{/if}} \ No newline at end of file diff --git a/src/controller/java/templates/CHIPClustersWrite-JNI.zapt b/src/controller/java/templates/CHIPClustersWrite-JNI.zapt index adc12fd9eb6c0b..aefa9b9dc19711 100644 --- a/src/controller/java/templates/CHIPClustersWrite-JNI.zapt +++ b/src/controller/java/templates/CHIPClustersWrite-JNI.zapt @@ -30,8 +30,9 @@ using namespace chip; using namespace chip::Controller; {{#chip_client_clusters}} -{{#chip_server_cluster_attributes}} -{{#unless (isStrEqual chipCallback.name "Unsupported")}} +{{#zcl_attributes_server removeKeys='isOptional'}} +{{#if_unsupported_attribute_callback type isArray ../id}} +{{else}} {{#if isWritableAttribute}} JNI_METHOD(void, {{asUpperCamelCase ../name}}Cluster, write{{asUpperCamelCase name}}Attribute)(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, {{asJniBasicType type true}} value, jobject timedWriteTimeoutMs) @@ -74,8 +75,8 @@ JNI_METHOD(void, {{asUpperCamelCase ../name}}Cluster, write{{asUpperCamelCase na onFailure.release(); } {{/if}} -{{/unless}} -{{/chip_server_cluster_attributes}} +{{/if_unsupported_attribute_callback}} +{{/zcl_attributes_server}} {{/chip_client_clusters}} {{/if}} diff --git a/src/controller/java/templates/CHIPReadCallbacks-src.zapt b/src/controller/java/templates/CHIPReadCallbacks-src.zapt index d3c446e81e9910..2d1b9deb520827 100644 --- a/src/controller/java/templates/CHIPReadCallbacks-src.zapt +++ b/src/controller/java/templates/CHIPReadCallbacks-src.zapt @@ -86,11 +86,12 @@ void CHIP{{chipCallback.name}}AttributeCallback::CallbackFn(void * context, {{ch {{/chip_server_global_responses}} {{#chip_client_clusters}} -{{#chip_server_cluster_attributes}} +{{#zcl_attributes_server removeKeys='isOptional'}} {{! TODO: Add support for struct-typed attributes }} -{{#unless (isStrEqual chipCallback.name "Unsupported")}} +{{#if_unsupported_attribute_callback type isArray ../id}} +{{else}} -{{#if_basic_global_response}} +{{#if_basic_attribute type ../id}} {{else}} CHIP{{asUpperCamelCase parent.name}}{{asUpperCamelCase name}}AttributeCallback::CHIP{{asUpperCamelCase parent.name}}{{asUpperCamelCase name}}AttributeCallback(jobject javaCallback, bool keepAlive) : chip::Callback::Callback(CallbackFn, this), keepAlive(keepAlive) @@ -116,7 +117,7 @@ CHIP{{asUpperCamelCase parent.name}}{{asUpperCamelCase name}}AttributeCallback:: } env->DeleteGlobalRef(javaCallbackRef); } -{{/if_basic_global_response}} +{{/if_basic_attribute}} {{#if isArray}} void CHIP{{asUpperCamelCase parent.name}}{{asUpperCamelCase name}}AttributeCallback::CallbackFn(void * context, {{zapTypeToDecodableClusterObjectType type ns=parent.name isArgument=true}} list) @@ -144,7 +145,7 @@ void CHIP{{asUpperCamelCase parent.name}}{{asUpperCamelCase name}}AttributeCallb env->CallVoidMethod(javaCallbackRef, javaMethod, arrayListObj); } {{else}} - {{#if_basic_global_response}} + {{#if_basic_attribute type ../id}} {{else}} void CHIP{{asUpperCamelCase parent.name}}{{asUpperCamelCase name}}AttributeCallback::CallbackFn(void * context, {{zapTypeToDecodableClusterObjectType type ns=parent.name isArgument=true}} value) { @@ -168,10 +169,10 @@ void CHIP{{asUpperCamelCase parent.name}}{{asUpperCamelCase name}}AttributeCallb env->CallVoidMethod(javaCallbackRef, javaMethod, javaValue); } - {{/if_basic_global_response}} + {{/if_basic_attribute}} {{/if}} -{{/unless}} -{{/chip_server_cluster_attributes}} +{{/if_unsupported_attribute_callback}} +{{/zcl_attributes_server}} {{/chip_client_clusters}} {{/if}} diff --git a/src/controller/java/templates/CHIPReadCallbacks.zapt b/src/controller/java/templates/CHIPReadCallbacks.zapt index 056f7a85a24a56..3b87cd783f82ee 100644 --- a/src/controller/java/templates/CHIPReadCallbacks.zapt +++ b/src/controller/java/templates/CHIPReadCallbacks.zapt @@ -37,9 +37,10 @@ private: {{/chip_server_global_responses}} {{#chip_client_clusters}} -{{#chip_server_cluster_attributes}} -{{#unless (isStrEqual chipCallback.name "Unsupported")}} -{{#if_basic_global_response}} +{{#zcl_attributes_server removeKeys='isOptional'}} +{{#if_unsupported_attribute_callback type isArray ../id}} +{{else}} +{{#if_basic_attribute type ../id}} {{else}} class CHIP{{asUpperCamelCase parent.name}}{{asUpperCamelCase name}}AttributeCallback : public chip::Callback::Callback { @@ -65,10 +66,10 @@ private: jobject javaCallbackRef; bool keepAlive; }; -{{/if_basic_global_response}} +{{/if_basic_attribute}} -{{/unless}} -{{/chip_server_cluster_attributes}} +{{/if_unsupported_attribute_callback}} +{{/zcl_attributes_server}} {{/chip_client_clusters}} {{/if}} \ No newline at end of file diff --git a/src/controller/java/templates/ChipClusters-java.zapt b/src/controller/java/templates/ChipClusters-java.zapt index 56f6eacaf00ac9..6737840347b615 100644 --- a/src/controller/java/templates/ChipClusters-java.zapt +++ b/src/controller/java/templates/ChipClusters-java.zapt @@ -141,9 +141,10 @@ public class ChipClusters { {{/chip_cluster_responses}} - {{#chip_server_cluster_attributes}} - {{#unless (isStrEqual chipCallback.name "Unsupported")}} - {{#if_basic_global_response}} + {{#zcl_attributes_server removeKeys='isOptional'}} + {{#if_unsupported_attribute_callback type isArray ../id}} + {{else}} + {{#if_basic_attribute type ../id}} {{else}} {{! NOTE: asJavaType ends up sniffing for isArray on the context. Since we want the type of our _entry_, force isArray to false. }} @@ -161,19 +162,20 @@ public class ChipClusters { default void onSubscriptionEstablished(long subscriptionId) {} } {{/if}} - {{/if_basic_global_response}} - {{/unless}} - {{/chip_server_cluster_attributes}} - {{#chip_server_cluster_attributes}} + {{/if_basic_attribute}} + {{/if_unsupported_attribute_callback}} + {{/zcl_attributes_server}} + {{#zcl_attributes_server removeKeys='isOptional'}} {{! TODO: Add support for struct-typed attributes }} - {{#unless (isStrEqual chipCallback.name "Unsupported")}} + {{#if_unsupported_attribute_callback type isArray ../id}} + {{else}} public void read{{asUpperCamelCase name}}Attribute( - {{#if_basic_global_response}} - {{convertAttributeCallbackTypeToJavaName chipCallback.type}}AttributeCallback callback + {{#if_basic_attribute type ../id}} + {{as_underlying_java_zcl_type type ../id boolean="Boolean"}}AttributeCallback callback {{else}} {{asUpperCamelCase name}}AttributeCallback callback - {{/if_basic_global_response}} + {{/if_basic_attribute}} ) { read{{asUpperCamelCase name}}Attribute(chipClusterPtr, callback); } @@ -190,27 +192,28 @@ public class ChipClusters { {{/if}} {{#if isReportableAttribute}} public void subscribe{{asCamelCased name false}}Attribute( - {{#if_basic_global_response}} - {{convertAttributeCallbackTypeToJavaName chipCallback.type}}AttributeCallback callback + {{#if_basic_attribute type ../id}} + {{as_underlying_java_zcl_type type ../id boolean="Boolean"}}AttributeCallback callback {{else}} {{asUpperCamelCase name}}AttributeCallback callback - {{/if_basic_global_response}}, + {{/if_basic_attribute}}, int minInterval, int maxInterval) { subscribe{{asCamelCased name false}}Attribute(chipClusterPtr, callback, minInterval, maxInterval); } {{/if}} - {{/unless}} - {{/chip_server_cluster_attributes}} - {{#chip_server_cluster_attributes}} + {{/if_unsupported_attribute_callback}} + {{/zcl_attributes_server}} + {{#zcl_attributes_server removeKeys='isOptional'}} {{! TODO: Add support for struct-typed attributes }} - {{#unless (isStrEqual chipCallback.name "Unsupported")}} + {{#if_unsupported_attribute_callback type isArray ../id }} + {{else}} private native void read{{asUpperCamelCase name}}Attribute(long chipClusterPtr, - {{#if_basic_global_response}} - {{convertAttributeCallbackTypeToJavaName chipCallback.type}}AttributeCallback callback + {{#if_basic_attribute type ../id}} + {{as_underlying_java_zcl_type type ../id boolean="Boolean"}}AttributeCallback callback {{else}} {{asUpperCamelCase name}}AttributeCallback callback - {{/if_basic_global_response}} + {{/if_basic_attribute}} ); {{#if isWritableAttribute}} @@ -218,14 +221,14 @@ public class ChipClusters { {{/if}} {{#if isReportableAttribute}} private native void subscribe{{asCamelCased name false}}Attribute(long chipClusterPtr, - {{#if_basic_global_response}} - {{convertAttributeCallbackTypeToJavaName chipCallback.type}}AttributeCallback callback + {{#if_basic_attribute type ../id}} + {{as_underlying_java_zcl_type type ../id boolean="Boolean"}}AttributeCallback callback {{else}} {{asUpperCamelCase name}}AttributeCallback callback - {{/if_basic_global_response}}, int minInterval, int maxInterval); + {{/if_basic_attribute}}, int minInterval, int maxInterval); {{/if}} - {{/unless}} - {{/chip_server_cluster_attributes}} + {{/if_unsupported_attribute_callback}} + {{/zcl_attributes_server}} } {{#not_last}} diff --git a/src/controller/java/templates/ChipIdLookup-java.zapt b/src/controller/java/templates/ChipIdLookup-java.zapt index 10dd829a18c611..bfcb2c84c7c342 100644 --- a/src/controller/java/templates/ChipIdLookup-java.zapt +++ b/src/controller/java/templates/ChipIdLookup-java.zapt @@ -24,11 +24,11 @@ public final class ChipIdLookup { public static String attributeIdToName(long clusterId, long attributeId) { {{#chip_client_clusters}} if (clusterId == {{code}}L) { - {{#chip_server_cluster_attributes}} + {{#zcl_attributes_server}} if (attributeId == {{code}}L) { return "{{asUpperCamelCase name}}"; } - {{/chip_server_cluster_attributes}} + {{/zcl_attributes_server}} return ""; } {{/chip_client_clusters}} diff --git a/src/controller/java/templates/ClusterInfo-java.zapt b/src/controller/java/templates/ClusterInfo-java.zapt index c9772c493e8438..1c18a3923438ca 100644 --- a/src/controller/java/templates/ClusterInfo-java.zapt +++ b/src/controller/java/templates/ClusterInfo-java.zapt @@ -235,9 +235,10 @@ public class ClusterInfoMapping { } {{/chip_cluster_responses}} - {{#chip_server_cluster_attributes}} - {{#unless (isStrEqual chipCallback.name "Unsupported")}} - {{#if_basic_global_response}} + {{#zcl_attributes_server removeKeys='isOptional'}} + {{#if_unsupported_attribute_callback type isArray ../id}} + {{else}} + {{#if_basic_attribute type ../id}} {{else}} public static class Delegated{{asUpperCamelCase parent.name}}Cluster{{asUpperCamelCase name}}AttributeCallback implements ChipClusters.{{asUpperCamelCase ../name}}Cluster.{{asUpperCamelCase name}}AttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -270,9 +271,9 @@ public class ClusterInfoMapping { callback.onFailure(ex); } } - {{/if_basic_global_response}} - {{/unless}} - {{/chip_server_cluster_attributes}} + {{/if_basic_attribute}} + {{/if_unsupported_attribute_callback}} + {{/zcl_attributes_server}} {{/chip_client_clusters}} diff --git a/src/controller/java/templates/ClusterInfo-read-interaction.zapt b/src/controller/java/templates/ClusterInfo-read-interaction.zapt index 9bac61771b93da..94710e5ce9d7f3 100644 --- a/src/controller/java/templates/ClusterInfo-read-interaction.zapt +++ b/src/controller/java/templates/ClusterInfo-read-interaction.zapt @@ -15,30 +15,31 @@ public class ClusterReadMapping { Map> readAttributeMap = new HashMap<>(); {{#chip_client_clusters}} Map read{{asUpperCamelCase name}}InteractionInfo = new LinkedHashMap<>(); - {{#chip_server_cluster_attributes}} + {{#zcl_attributes_server removeKeys='isOptional'}} {{! TODO: Add support for struct-typed attributes }} - {{#unless (isStrEqual chipCallback.name "Unsupported")}} + {{#if_unsupported_attribute_callback type isArray ../id}} + {{else}} Map read{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}CommandParams = new LinkedHashMap(); InteractionInfo read{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}AttributeInteractionInfo = new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.{{asUpperCamelCase ../name}}Cluster) cluster).read{{asUpperCamelCase name}}Attribute( - ({{#if_basic_global_response}} - ChipClusters.{{convertAttributeCallbackTypeToJavaName chipCallback.type}}AttributeCallback + ({{#if_basic_attribute type ../id}} + ChipClusters.{{as_underlying_java_zcl_type type ../id boolean="Boolean"}}AttributeCallback {{else}} ChipClusters.{{asUpperCamelCase ../name}}Cluster.{{asUpperCamelCase name}}AttributeCallback - {{/if_basic_global_response}}) callback + {{/if_basic_attribute}}) callback ); }, - {{#if_basic_global_response}} - () -> new ClusterInfoMapping.Delegated{{convertAttributeCallbackTypeToJavaName chipCallback.type}}AttributeCallback(), + {{#if_basic_attribute type ../id}} + () -> new ClusterInfoMapping.Delegated{{as_underlying_java_zcl_type type ../id boolean="Boolean"}}AttributeCallback(), {{else}} () -> new ClusterInfoMapping.Delegated{{asUpperCamelCase parent.name}}Cluster{{asUpperCamelCase name}}AttributeCallback(), - {{/if_basic_global_response}} + {{/if_basic_attribute}} read{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}CommandParams ); read{{asUpperCamelCase ../name}}InteractionInfo.put("read{{asUpperCamelCase name}}Attribute", read{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}AttributeInteractionInfo); - {{/unless}} - {{/chip_server_cluster_attributes}} + {{/if_unsupported_attribute_callback}} + {{/zcl_attributes_server}} readAttributeMap.put("{{asLowerCamelCase name}}", read{{asUpperCamelCase name}}InteractionInfo); {{/chip_client_clusters}} return readAttributeMap; diff --git a/src/controller/java/templates/ClusterInfo-write-interaction.zapt b/src/controller/java/templates/ClusterInfo-write-interaction.zapt new file mode 100644 index 00000000000000..73bfb943c64873 --- /dev/null +++ b/src/controller/java/templates/ClusterInfo-write-interaction.zapt @@ -0,0 +1,50 @@ +{{> header}} +{{#if (chip_has_client_clusters)}} + +package chip.devicecontroller; + +import chip.clusterinfo.CommandParameterInfo; +import chip.clusterinfo.InteractionInfo; +import chip.devicecontroller.ChipClusters.DefaultClusterCallback; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.Map; + +public class ClusterWriteMapping { + public Map> getWriteAttributeMap() { + Map> writeAttributeMap = new HashMap<>(); + {{#chip_client_clusters}} + Map write{{asUpperCamelCase name}}InteractionInfo = new LinkedHashMap<>(); + {{#zcl_attributes_server removeKeys='isOptional'}} + {{! TODO: Add support for struct-typed attributes }} + {{#if_unsupported_attribute_callback type isArray ../id}} + {{else}} + {{#if isWritableAttribute}} + {{#unless isArray}} + Map write{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}CommandParams = new LinkedHashMap(); + CommandParameterInfo {{asLowerCamelCase ../name}}{{asLowerCamelCase name}}CommandParameterInfo = new CommandParameterInfo("value", {{asJavaType type null parent.parent.name removeGenericType=true}}.class, {{asJavaType type null parent.parent.name underlyingType=true}}.class); + write{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}CommandParams.put("value",{{asLowerCamelCase ../name}}{{asLowerCamelCase name}}CommandParameterInfo); + InteractionInfo write{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}AttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.{{asUpperCamelCase ../name}}Cluster) cluster).write{{asUpperCamelCase name}}Attribute( + (DefaultClusterCallback) callback, + ({{as_underlying_java_zcl_type type ../id boolean="Boolean" isBoxedJavaType=true}}) + commandArguments.get("value") + {{#if mustUseTimedWrite}}, 10000{{/if}} + ); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + write{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}CommandParams + ); + write{{asUpperCamelCase ../name}}InteractionInfo.put("write{{asUpperCamelCase name}}Attribute", write{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}AttributeInteractionInfo); + {{/unless}} + {{/if}} + {{/if_unsupported_attribute_callback}} + {{/zcl_attributes_server}} + writeAttributeMap.put("{{asLowerCamelCase name}}", write{{asUpperCamelCase name}}InteractionInfo); + {{/chip_client_clusters}} + return writeAttributeMap; + } +} + +{{/if}} \ No newline at end of file diff --git a/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp b/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp index c58f7ab0e26bbf..f435fdbdf3cc66 100644 --- a/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp +++ b/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp @@ -433,6 +433,28 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR cppValue, value); return value; } + case Attributes::LastConfiguredBy::Id: { + using TypeInfo = Attributes::LastConfiguredBy::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + if (cppValue.IsNull()) + { + value = nullptr; + } + else + { + std::string valueClassName = "java/lang/Long"; + std::string valueCtorSignature = "(J)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue.Value(), value); + } + return value; + } case Attributes::GeneratedCommandList::Id: { using TypeInfo = Attributes::GeneratedCommandList::TypeInfo; TypeInfo::DecodableType cppValue; @@ -1341,6 +1363,42 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR using namespace app::Clusters::BinaryInputBasic; switch (aPath.mAttributeId) { + case Attributes::ActiveText::Id: { + using TypeInfo = Attributes::ActiveText::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + value = env->NewStringUTF(std::string(cppValue.data(), cppValue.size()).c_str()); + return value; + } + case Attributes::Description::Id: { + using TypeInfo = Attributes::Description::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + value = env->NewStringUTF(std::string(cppValue.data(), cppValue.size()).c_str()); + return value; + } + case Attributes::InactiveText::Id: { + using TypeInfo = Attributes::InactiveText::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + value = env->NewStringUTF(std::string(cppValue.data(), cppValue.size()).c_str()); + return value; + } case Attributes::OutOfService::Id: { using TypeInfo = Attributes::OutOfService::TypeInfo; TypeInfo::DecodableType cppValue; @@ -1356,6 +1414,21 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR value); return value; } + case Attributes::Polarity::Id: { + using TypeInfo = Attributes::Polarity::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } case Attributes::PresentValue::Id: { using TypeInfo = Attributes::PresentValue::TypeInfo; TypeInfo::DecodableType cppValue; @@ -1371,6 +1444,21 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR value); return value; } + case Attributes::Reliability::Id: { + using TypeInfo = Attributes::Reliability::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } case Attributes::StatusFlags::Id: { using TypeInfo = Attributes::StatusFlags::TypeInfo; TypeInfo::DecodableType cppValue; @@ -1386,6 +1474,21 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR cppValue, value); return value; } + case Attributes::ApplicationType::Id: { + using TypeInfo = Attributes::ApplicationType::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Long"; + std::string valueCtorSignature = "(J)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } case Attributes::GeneratedCommandList::Id: { using TypeInfo = Attributes::GeneratedCommandList::TypeInfo; TypeInfo::DecodableType cppValue; @@ -10741,6 +10844,51 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR } return value; } + case Attributes::DoorOpenEvents::Id: { + using TypeInfo = Attributes::DoorOpenEvents::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Long"; + std::string valueCtorSignature = "(J)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::DoorClosedEvents::Id: { + using TypeInfo = Attributes::DoorClosedEvents::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Long"; + std::string valueCtorSignature = "(J)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::OpenPeriod::Id: { + using TypeInfo = Attributes::OpenPeriod::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } case Attributes::NumberOfTotalUsersSupported::Id: { using TypeInfo = Attributes::NumberOfTotalUsersSupported::TypeInfo; TypeInfo::DecodableType cppValue; @@ -10891,6 +11039,21 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR cppValue, value); return value; } + case Attributes::CredentialRulesSupport::Id: { + using TypeInfo = Attributes::CredentialRulesSupport::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue.Raw(), value); + return value; + } case Attributes::NumberOfCredentialsSupportedPerUser::Id: { using TypeInfo = Attributes::NumberOfCredentialsSupportedPerUser::TypeInfo; TypeInfo::DecodableType cppValue; @@ -10918,6 +11081,21 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR value = env->NewStringUTF(std::string(cppValue.data(), cppValue.size()).c_str()); return value; } + case Attributes::LEDSettings::Id: { + using TypeInfo = Attributes::LEDSettings::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } case Attributes::AutoRelockTime::Id: { using TypeInfo = Attributes::AutoRelockTime::TypeInfo; TypeInfo::DecodableType cppValue; @@ -10978,6 +11156,36 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR cppValue.Raw(), value); return value; } + case Attributes::DefaultConfigurationRegister::Id: { + using TypeInfo = Attributes::DefaultConfigurationRegister::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue.Raw(), value); + return value; + } + case Attributes::EnableLocalProgramming::Id: { + using TypeInfo = Attributes::EnableLocalProgramming::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Boolean"; + std::string valueCtorSignature = "(Z)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), cppValue, + value); + return value; + } case Attributes::EnableOneTouchLocking::Id: { using TypeInfo = Attributes::EnableOneTouchLocking::TypeInfo; TypeInfo::DecodableType cppValue; @@ -10993,6 +11201,21 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR value); return value; } + case Attributes::EnableInsideStatusLED::Id: { + using TypeInfo = Attributes::EnableInsideStatusLED::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Boolean"; + std::string valueCtorSignature = "(Z)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), cppValue, + value); + return value; + } case Attributes::EnablePrivacyModeButton::Id: { using TypeInfo = Attributes::EnablePrivacyModeButton::TypeInfo; TypeInfo::DecodableType cppValue; @@ -11008,6 +11231,21 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR value); return value; } + case Attributes::LocalProgrammingFeatures::Id: { + using TypeInfo = Attributes::LocalProgrammingFeatures::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue.Raw(), value); + return value; + } case Attributes::WrongCodeEntryLimit::Id: { using TypeInfo = Attributes::WrongCodeEntryLimit::TypeInfo; TypeInfo::DecodableType cppValue; @@ -11038,6 +11276,21 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR cppValue, value); return value; } + case Attributes::SendPINOverTheAir::Id: { + using TypeInfo = Attributes::SendPINOverTheAir::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Boolean"; + std::string valueCtorSignature = "(Z)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), cppValue, + value); + return value; + } case Attributes::RequirePINforRemoteOperation::Id: { using TypeInfo = Attributes::RequirePINforRemoteOperation::TypeInfo; TypeInfo::DecodableType cppValue; @@ -11053,6 +11306,21 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR value); return value; } + case Attributes::ExpiringUserTimeout::Id: { + using TypeInfo = Attributes::ExpiringUserTimeout::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } case Attributes::GeneratedCommandList::Id: { using TypeInfo = Attributes::GeneratedCommandList::TypeInfo; TypeInfo::DecodableType cppValue; @@ -11756,8 +12024,8 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR cppValue, value); return value; } - case Attributes::BarrierPosition::Id: { - using TypeInfo = Attributes::BarrierPosition::TypeInfo; + case Attributes::BarrierOpenEvents::Id: { + using TypeInfo = Attributes::BarrierOpenEvents::TypeInfo; TypeInfo::DecodableType cppValue; *aError = app::DataModel::Decode(aReader, cppValue); if (*aError != CHIP_NO_ERROR) @@ -11767,12 +12035,12 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR jobject value; std::string valueClassName = "java/lang/Integer"; std::string valueCtorSignature = "(I)V"; - chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), - cppValue, value); + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); return value; } - case Attributes::GeneratedCommandList::Id: { - using TypeInfo = Attributes::GeneratedCommandList::TypeInfo; + case Attributes::BarrierCloseEvents::Id: { + using TypeInfo = Attributes::BarrierCloseEvents::TypeInfo; TypeInfo::DecodableType cppValue; *aError = app::DataModel::Decode(aReader, cppValue); if (*aError != CHIP_NO_ERROR) @@ -11780,12 +12048,102 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR return nullptr; } jobject value; - chip::JniReferences::GetInstance().CreateArrayList(value); - - auto iter_value_0 = cppValue.begin(); - while (iter_value_0.Next()) + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::BarrierCommandOpenEvents::Id: { + using TypeInfo = Attributes::BarrierCommandOpenEvents::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) { - auto & entry_0 = iter_value_0.GetValue(); + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::BarrierCommandCloseEvents::Id: { + using TypeInfo = Attributes::BarrierCommandCloseEvents::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::BarrierOpenPeriod::Id: { + using TypeInfo = Attributes::BarrierOpenPeriod::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::BarrierClosePeriod::Id: { + using TypeInfo = Attributes::BarrierClosePeriod::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::BarrierPosition::Id: { + using TypeInfo = Attributes::BarrierPosition::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::GeneratedCommandList::Id: { + using TypeInfo = Attributes::GeneratedCommandList::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + chip::JniReferences::GetInstance().CreateArrayList(value); + + auto iter_value_0 = cppValue.begin(); + while (iter_value_0.Next()) + { + auto & entry_0 = iter_value_0.GetValue(); jobject newElement_0; std::string newElement_0ClassName = "java/lang/Long"; std::string newElement_0CtorSignature = "(J)V"; @@ -16571,6 +16929,141 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR cppValue.Raw(), value); return value; } + case Attributes::PIROccupiedToUnoccupiedDelay::Id: { + using TypeInfo = Attributes::PIROccupiedToUnoccupiedDelay::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::PIRUnoccupiedToOccupiedDelay::Id: { + using TypeInfo = Attributes::PIRUnoccupiedToOccupiedDelay::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::PIRUnoccupiedToOccupiedThreshold::Id: { + using TypeInfo = Attributes::PIRUnoccupiedToOccupiedThreshold::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::UltrasonicOccupiedToUnoccupiedDelay::Id: { + using TypeInfo = Attributes::UltrasonicOccupiedToUnoccupiedDelay::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::UltrasonicUnoccupiedToOccupiedDelay::Id: { + using TypeInfo = Attributes::UltrasonicUnoccupiedToOccupiedDelay::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::UltrasonicUnoccupiedToOccupiedThreshold::Id: { + using TypeInfo = Attributes::UltrasonicUnoccupiedToOccupiedThreshold::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::PhysicalContactOccupiedToUnoccupiedDelay::Id: { + using TypeInfo = Attributes::PhysicalContactOccupiedToUnoccupiedDelay::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::PhysicalContactUnoccupiedToOccupiedDelay::Id: { + using TypeInfo = Attributes::PhysicalContactUnoccupiedToOccupiedDelay::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::PhysicalContactUnoccupiedToOccupiedThreshold::Id: { + using TypeInfo = Attributes::PhysicalContactUnoccupiedToOccupiedThreshold::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } case Attributes::GeneratedCommandList::Id: { using TypeInfo = Attributes::GeneratedCommandList::TypeInfo; TypeInfo::DecodableType cppValue; @@ -19284,8 +19777,8 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR cppValue, value); return value; } - case Attributes::TotalActivePower::Id: { - using TypeInfo = Attributes::TotalActivePower::TypeInfo; + case Attributes::DcVoltage::Id: { + using TypeInfo = Attributes::DcVoltage::TypeInfo; TypeInfo::DecodableType cppValue; *aError = app::DataModel::Decode(aReader, cppValue); if (*aError != CHIP_NO_ERROR) @@ -19293,14 +19786,14 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR return nullptr; } jobject value; - std::string valueClassName = "java/lang/Long"; - std::string valueCtorSignature = "(J)V"; - chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), cppValue, value); return value; } - case Attributes::RmsVoltage::Id: { - using TypeInfo = Attributes::RmsVoltage::TypeInfo; + case Attributes::DcVoltageMin::Id: { + using TypeInfo = Attributes::DcVoltageMin::TypeInfo; TypeInfo::DecodableType cppValue; *aError = app::DataModel::Decode(aReader, cppValue); if (*aError != CHIP_NO_ERROR) @@ -19310,12 +19803,12 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR jobject value; std::string valueClassName = "java/lang/Integer"; std::string valueCtorSignature = "(I)V"; - chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), - cppValue, value); + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); return value; } - case Attributes::RmsVoltageMin::Id: { - using TypeInfo = Attributes::RmsVoltageMin::TypeInfo; + case Attributes::DcVoltageMax::Id: { + using TypeInfo = Attributes::DcVoltageMax::TypeInfo; TypeInfo::DecodableType cppValue; *aError = app::DataModel::Decode(aReader, cppValue); if (*aError != CHIP_NO_ERROR) @@ -19325,12 +19818,12 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR jobject value; std::string valueClassName = "java/lang/Integer"; std::string valueCtorSignature = "(I)V"; - chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), - cppValue, value); + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); return value; } - case Attributes::RmsVoltageMax::Id: { - using TypeInfo = Attributes::RmsVoltageMax::TypeInfo; + case Attributes::DcCurrent::Id: { + using TypeInfo = Attributes::DcCurrent::TypeInfo; TypeInfo::DecodableType cppValue; *aError = app::DataModel::Decode(aReader, cppValue); if (*aError != CHIP_NO_ERROR) @@ -19340,12 +19833,12 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR jobject value; std::string valueClassName = "java/lang/Integer"; std::string valueCtorSignature = "(I)V"; - chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), - cppValue, value); + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); return value; } - case Attributes::RmsCurrent::Id: { - using TypeInfo = Attributes::RmsCurrent::TypeInfo; + case Attributes::DcCurrentMin::Id: { + using TypeInfo = Attributes::DcCurrentMin::TypeInfo; TypeInfo::DecodableType cppValue; *aError = app::DataModel::Decode(aReader, cppValue); if (*aError != CHIP_NO_ERROR) @@ -19355,12 +19848,12 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR jobject value; std::string valueClassName = "java/lang/Integer"; std::string valueCtorSignature = "(I)V"; - chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), - cppValue, value); + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); return value; } - case Attributes::RmsCurrentMin::Id: { - using TypeInfo = Attributes::RmsCurrentMin::TypeInfo; + case Attributes::DcCurrentMax::Id: { + using TypeInfo = Attributes::DcCurrentMax::TypeInfo; TypeInfo::DecodableType cppValue; *aError = app::DataModel::Decode(aReader, cppValue); if (*aError != CHIP_NO_ERROR) @@ -19370,12 +19863,12 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR jobject value; std::string valueClassName = "java/lang/Integer"; std::string valueCtorSignature = "(I)V"; - chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), - cppValue, value); + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); return value; } - case Attributes::RmsCurrentMax::Id: { - using TypeInfo = Attributes::RmsCurrentMax::TypeInfo; + case Attributes::DcPower::Id: { + using TypeInfo = Attributes::DcPower::TypeInfo; TypeInfo::DecodableType cppValue; *aError = app::DataModel::Decode(aReader, cppValue); if (*aError != CHIP_NO_ERROR) @@ -19385,12 +19878,12 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR jobject value; std::string valueClassName = "java/lang/Integer"; std::string valueCtorSignature = "(I)V"; - chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), - cppValue, value); + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); return value; } - case Attributes::ActivePower::Id: { - using TypeInfo = Attributes::ActivePower::TypeInfo; + case Attributes::DcPowerMin::Id: { + using TypeInfo = Attributes::DcPowerMin::TypeInfo; TypeInfo::DecodableType cppValue; *aError = app::DataModel::Decode(aReader, cppValue); if (*aError != CHIP_NO_ERROR) @@ -19404,8 +19897,8 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR cppValue, value); return value; } - case Attributes::ActivePowerMin::Id: { - using TypeInfo = Attributes::ActivePowerMin::TypeInfo; + case Attributes::DcPowerMax::Id: { + using TypeInfo = Attributes::DcPowerMax::TypeInfo; TypeInfo::DecodableType cppValue; *aError = app::DataModel::Decode(aReader, cppValue); if (*aError != CHIP_NO_ERROR) @@ -19419,8 +19912,8 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR cppValue, value); return value; } - case Attributes::ActivePowerMax::Id: { - using TypeInfo = Attributes::ActivePowerMax::TypeInfo; + case Attributes::DcVoltageMultiplier::Id: { + using TypeInfo = Attributes::DcVoltageMultiplier::TypeInfo; TypeInfo::DecodableType cppValue; *aError = app::DataModel::Decode(aReader, cppValue); if (*aError != CHIP_NO_ERROR) @@ -19430,12 +19923,12 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR jobject value; std::string valueClassName = "java/lang/Integer"; std::string valueCtorSignature = "(I)V"; - chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), - cppValue, value); + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); return value; } - case Attributes::GeneratedCommandList::Id: { - using TypeInfo = Attributes::GeneratedCommandList::TypeInfo; + case Attributes::DcVoltageDivisor::Id: { + using TypeInfo = Attributes::DcVoltageDivisor::TypeInfo; TypeInfo::DecodableType cppValue; *aError = app::DataModel::Decode(aReader, cppValue); if (*aError != CHIP_NO_ERROR) @@ -19443,11 +19936,1766 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR return nullptr; } jobject value; - chip::JniReferences::GetInstance().CreateArrayList(value); - - auto iter_value_0 = cppValue.begin(); - while (iter_value_0.Next()) - { + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::DcCurrentMultiplier::Id: { + using TypeInfo = Attributes::DcCurrentMultiplier::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::DcCurrentDivisor::Id: { + using TypeInfo = Attributes::DcCurrentDivisor::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::DcPowerMultiplier::Id: { + using TypeInfo = Attributes::DcPowerMultiplier::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::DcPowerDivisor::Id: { + using TypeInfo = Attributes::DcPowerDivisor::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AcFrequency::Id: { + using TypeInfo = Attributes::AcFrequency::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AcFrequencyMin::Id: { + using TypeInfo = Attributes::AcFrequencyMin::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AcFrequencyMax::Id: { + using TypeInfo = Attributes::AcFrequencyMax::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::NeutralCurrent::Id: { + using TypeInfo = Attributes::NeutralCurrent::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::TotalActivePower::Id: { + using TypeInfo = Attributes::TotalActivePower::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Long"; + std::string valueCtorSignature = "(J)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::TotalReactivePower::Id: { + using TypeInfo = Attributes::TotalReactivePower::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Long"; + std::string valueCtorSignature = "(J)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::TotalApparentPower::Id: { + using TypeInfo = Attributes::TotalApparentPower::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Long"; + std::string valueCtorSignature = "(J)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::Measured1stHarmonicCurrent::Id: { + using TypeInfo = Attributes::Measured1stHarmonicCurrent::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::Measured3rdHarmonicCurrent::Id: { + using TypeInfo = Attributes::Measured3rdHarmonicCurrent::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::Measured5thHarmonicCurrent::Id: { + using TypeInfo = Attributes::Measured5thHarmonicCurrent::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::Measured7thHarmonicCurrent::Id: { + using TypeInfo = Attributes::Measured7thHarmonicCurrent::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::Measured9thHarmonicCurrent::Id: { + using TypeInfo = Attributes::Measured9thHarmonicCurrent::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::Measured11thHarmonicCurrent::Id: { + using TypeInfo = Attributes::Measured11thHarmonicCurrent::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::MeasuredPhase1stHarmonicCurrent::Id: { + using TypeInfo = Attributes::MeasuredPhase1stHarmonicCurrent::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::MeasuredPhase3rdHarmonicCurrent::Id: { + using TypeInfo = Attributes::MeasuredPhase3rdHarmonicCurrent::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::MeasuredPhase5thHarmonicCurrent::Id: { + using TypeInfo = Attributes::MeasuredPhase5thHarmonicCurrent::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::MeasuredPhase7thHarmonicCurrent::Id: { + using TypeInfo = Attributes::MeasuredPhase7thHarmonicCurrent::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::MeasuredPhase9thHarmonicCurrent::Id: { + using TypeInfo = Attributes::MeasuredPhase9thHarmonicCurrent::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::MeasuredPhase11thHarmonicCurrent::Id: { + using TypeInfo = Attributes::MeasuredPhase11thHarmonicCurrent::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AcFrequencyMultiplier::Id: { + using TypeInfo = Attributes::AcFrequencyMultiplier::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AcFrequencyDivisor::Id: { + using TypeInfo = Attributes::AcFrequencyDivisor::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::PowerMultiplier::Id: { + using TypeInfo = Attributes::PowerMultiplier::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Long"; + std::string valueCtorSignature = "(J)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::PowerDivisor::Id: { + using TypeInfo = Attributes::PowerDivisor::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Long"; + std::string valueCtorSignature = "(J)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::HarmonicCurrentMultiplier::Id: { + using TypeInfo = Attributes::HarmonicCurrentMultiplier::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::PhaseHarmonicCurrentMultiplier::Id: { + using TypeInfo = Attributes::PhaseHarmonicCurrentMultiplier::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::InstantaneousVoltage::Id: { + using TypeInfo = Attributes::InstantaneousVoltage::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::InstantaneousLineCurrent::Id: { + using TypeInfo = Attributes::InstantaneousLineCurrent::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::InstantaneousActiveCurrent::Id: { + using TypeInfo = Attributes::InstantaneousActiveCurrent::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::InstantaneousReactiveCurrent::Id: { + using TypeInfo = Attributes::InstantaneousReactiveCurrent::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::InstantaneousPower::Id: { + using TypeInfo = Attributes::InstantaneousPower::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsVoltage::Id: { + using TypeInfo = Attributes::RmsVoltage::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsVoltageMin::Id: { + using TypeInfo = Attributes::RmsVoltageMin::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsVoltageMax::Id: { + using TypeInfo = Attributes::RmsVoltageMax::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsCurrent::Id: { + using TypeInfo = Attributes::RmsCurrent::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsCurrentMin::Id: { + using TypeInfo = Attributes::RmsCurrentMin::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsCurrentMax::Id: { + using TypeInfo = Attributes::RmsCurrentMax::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::ActivePower::Id: { + using TypeInfo = Attributes::ActivePower::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::ActivePowerMin::Id: { + using TypeInfo = Attributes::ActivePowerMin::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::ActivePowerMax::Id: { + using TypeInfo = Attributes::ActivePowerMax::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::ReactivePower::Id: { + using TypeInfo = Attributes::ReactivePower::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::ApparentPower::Id: { + using TypeInfo = Attributes::ApparentPower::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::PowerFactor::Id: { + using TypeInfo = Attributes::PowerFactor::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AverageRmsVoltageMeasurementPeriod::Id: { + using TypeInfo = Attributes::AverageRmsVoltageMeasurementPeriod::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AverageRmsUnderVoltageCounter::Id: { + using TypeInfo = Attributes::AverageRmsUnderVoltageCounter::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsExtremeOverVoltagePeriod::Id: { + using TypeInfo = Attributes::RmsExtremeOverVoltagePeriod::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsExtremeUnderVoltagePeriod::Id: { + using TypeInfo = Attributes::RmsExtremeUnderVoltagePeriod::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsVoltageSagPeriod::Id: { + using TypeInfo = Attributes::RmsVoltageSagPeriod::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsVoltageSwellPeriod::Id: { + using TypeInfo = Attributes::RmsVoltageSwellPeriod::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AcVoltageMultiplier::Id: { + using TypeInfo = Attributes::AcVoltageMultiplier::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AcVoltageDivisor::Id: { + using TypeInfo = Attributes::AcVoltageDivisor::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AcCurrentMultiplier::Id: { + using TypeInfo = Attributes::AcCurrentMultiplier::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AcCurrentDivisor::Id: { + using TypeInfo = Attributes::AcCurrentDivisor::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AcPowerMultiplier::Id: { + using TypeInfo = Attributes::AcPowerMultiplier::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AcPowerDivisor::Id: { + using TypeInfo = Attributes::AcPowerDivisor::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::OverloadAlarmsMask::Id: { + using TypeInfo = Attributes::OverloadAlarmsMask::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::VoltageOverload::Id: { + using TypeInfo = Attributes::VoltageOverload::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::CurrentOverload::Id: { + using TypeInfo = Attributes::CurrentOverload::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AcOverloadAlarmsMask::Id: { + using TypeInfo = Attributes::AcOverloadAlarmsMask::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AcVoltageOverload::Id: { + using TypeInfo = Attributes::AcVoltageOverload::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AcCurrentOverload::Id: { + using TypeInfo = Attributes::AcCurrentOverload::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AcActivePowerOverload::Id: { + using TypeInfo = Attributes::AcActivePowerOverload::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AcReactivePowerOverload::Id: { + using TypeInfo = Attributes::AcReactivePowerOverload::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AverageRmsOverVoltage::Id: { + using TypeInfo = Attributes::AverageRmsOverVoltage::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AverageRmsUnderVoltage::Id: { + using TypeInfo = Attributes::AverageRmsUnderVoltage::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsExtremeOverVoltage::Id: { + using TypeInfo = Attributes::RmsExtremeOverVoltage::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsExtremeUnderVoltage::Id: { + using TypeInfo = Attributes::RmsExtremeUnderVoltage::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsVoltageSag::Id: { + using TypeInfo = Attributes::RmsVoltageSag::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsVoltageSwell::Id: { + using TypeInfo = Attributes::RmsVoltageSwell::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::LineCurrentPhaseB::Id: { + using TypeInfo = Attributes::LineCurrentPhaseB::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::ActiveCurrentPhaseB::Id: { + using TypeInfo = Attributes::ActiveCurrentPhaseB::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::ReactiveCurrentPhaseB::Id: { + using TypeInfo = Attributes::ReactiveCurrentPhaseB::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsVoltagePhaseB::Id: { + using TypeInfo = Attributes::RmsVoltagePhaseB::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsVoltageMinPhaseB::Id: { + using TypeInfo = Attributes::RmsVoltageMinPhaseB::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsVoltageMaxPhaseB::Id: { + using TypeInfo = Attributes::RmsVoltageMaxPhaseB::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsCurrentPhaseB::Id: { + using TypeInfo = Attributes::RmsCurrentPhaseB::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsCurrentMinPhaseB::Id: { + using TypeInfo = Attributes::RmsCurrentMinPhaseB::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsCurrentMaxPhaseB::Id: { + using TypeInfo = Attributes::RmsCurrentMaxPhaseB::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::ActivePowerPhaseB::Id: { + using TypeInfo = Attributes::ActivePowerPhaseB::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::ActivePowerMinPhaseB::Id: { + using TypeInfo = Attributes::ActivePowerMinPhaseB::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::ActivePowerMaxPhaseB::Id: { + using TypeInfo = Attributes::ActivePowerMaxPhaseB::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::ReactivePowerPhaseB::Id: { + using TypeInfo = Attributes::ReactivePowerPhaseB::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::ApparentPowerPhaseB::Id: { + using TypeInfo = Attributes::ApparentPowerPhaseB::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::PowerFactorPhaseB::Id: { + using TypeInfo = Attributes::PowerFactorPhaseB::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AverageRmsVoltageMeasurementPeriodPhaseB::Id: { + using TypeInfo = Attributes::AverageRmsVoltageMeasurementPeriodPhaseB::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AverageRmsOverVoltageCounterPhaseB::Id: { + using TypeInfo = Attributes::AverageRmsOverVoltageCounterPhaseB::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AverageRmsUnderVoltageCounterPhaseB::Id: { + using TypeInfo = Attributes::AverageRmsUnderVoltageCounterPhaseB::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsExtremeOverVoltagePeriodPhaseB::Id: { + using TypeInfo = Attributes::RmsExtremeOverVoltagePeriodPhaseB::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsExtremeUnderVoltagePeriodPhaseB::Id: { + using TypeInfo = Attributes::RmsExtremeUnderVoltagePeriodPhaseB::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsVoltageSagPeriodPhaseB::Id: { + using TypeInfo = Attributes::RmsVoltageSagPeriodPhaseB::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsVoltageSwellPeriodPhaseB::Id: { + using TypeInfo = Attributes::RmsVoltageSwellPeriodPhaseB::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::LineCurrentPhaseC::Id: { + using TypeInfo = Attributes::LineCurrentPhaseC::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::ActiveCurrentPhaseC::Id: { + using TypeInfo = Attributes::ActiveCurrentPhaseC::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::ReactiveCurrentPhaseC::Id: { + using TypeInfo = Attributes::ReactiveCurrentPhaseC::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsVoltagePhaseC::Id: { + using TypeInfo = Attributes::RmsVoltagePhaseC::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsVoltageMinPhaseC::Id: { + using TypeInfo = Attributes::RmsVoltageMinPhaseC::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsVoltageMaxPhaseC::Id: { + using TypeInfo = Attributes::RmsVoltageMaxPhaseC::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsCurrentPhaseC::Id: { + using TypeInfo = Attributes::RmsCurrentPhaseC::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsCurrentMinPhaseC::Id: { + using TypeInfo = Attributes::RmsCurrentMinPhaseC::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsCurrentMaxPhaseC::Id: { + using TypeInfo = Attributes::RmsCurrentMaxPhaseC::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::ActivePowerPhaseC::Id: { + using TypeInfo = Attributes::ActivePowerPhaseC::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::ActivePowerMinPhaseC::Id: { + using TypeInfo = Attributes::ActivePowerMinPhaseC::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::ActivePowerMaxPhaseC::Id: { + using TypeInfo = Attributes::ActivePowerMaxPhaseC::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::ReactivePowerPhaseC::Id: { + using TypeInfo = Attributes::ReactivePowerPhaseC::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::ApparentPowerPhaseC::Id: { + using TypeInfo = Attributes::ApparentPowerPhaseC::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::PowerFactorPhaseC::Id: { + using TypeInfo = Attributes::PowerFactorPhaseC::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AverageRmsVoltageMeasurementPeriodPhaseC::Id: { + using TypeInfo = Attributes::AverageRmsVoltageMeasurementPeriodPhaseC::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AverageRmsOverVoltageCounterPhaseC::Id: { + using TypeInfo = Attributes::AverageRmsOverVoltageCounterPhaseC::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::AverageRmsUnderVoltageCounterPhaseC::Id: { + using TypeInfo = Attributes::AverageRmsUnderVoltageCounterPhaseC::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsExtremeOverVoltagePeriodPhaseC::Id: { + using TypeInfo = Attributes::RmsExtremeOverVoltagePeriodPhaseC::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsExtremeUnderVoltagePeriodPhaseC::Id: { + using TypeInfo = Attributes::RmsExtremeUnderVoltagePeriodPhaseC::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsVoltageSagPeriodPhaseC::Id: { + using TypeInfo = Attributes::RmsVoltageSagPeriodPhaseC::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::RmsVoltageSwellPeriodPhaseC::Id: { + using TypeInfo = Attributes::RmsVoltageSwellPeriodPhaseC::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } + case Attributes::GeneratedCommandList::Id: { + using TypeInfo = Attributes::GeneratedCommandList::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + chip::JniReferences::GetInstance().CreateArrayList(value); + + auto iter_value_0 = cppValue.begin(); + while (iter_value_0.Next()) + { auto & entry_0 = iter_value_0.GetValue(); jobject newElement_0; std::string newElement_0ClassName = "java/lang/Long"; @@ -22092,6 +24340,21 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR } return value; } + case Attributes::WriteOnlyInt8u::Id: { + using TypeInfo = Attributes::WriteOnlyInt8u::TypeInfo; + TypeInfo::DecodableType cppValue; + *aError = app::DataModel::Decode(aReader, cppValue); + if (*aError != CHIP_NO_ERROR) + { + return nullptr; + } + jobject value; + std::string valueClassName = "java/lang/Integer"; + std::string valueCtorSignature = "(I)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), + cppValue, value); + return value; + } case Attributes::GeneratedCommandList::Id: { using TypeInfo = Attributes::GeneratedCommandList::TypeInfo; TypeInfo::DecodableType cppValue; diff --git a/src/controller/java/zap-generated/CHIPCallbackTypes.h b/src/controller/java/zap-generated/CHIPCallbackTypes.h index dd8c901e3afa27..0a5b77268f5013 100644 --- a/src/controller/java/zap-generated/CHIPCallbackTypes.h +++ b/src/controller/java/zap-generated/CHIPCallbackTypes.h @@ -85,6 +85,8 @@ typedef void (*CHIPScenesClusterSceneValidAttributeCallbackType)( void *, chip::app::Clusters::Scenes::Attributes::SceneValid::TypeInfo::DecodableArgType); typedef void (*CHIPScenesClusterNameSupportAttributeCallbackType)( void *, chip::app::Clusters::Scenes::Attributes::NameSupport::TypeInfo::DecodableArgType); +typedef void (*CHIPScenesClusterLastConfiguredByAttributeCallbackType)( + void *, chip::app::Clusters::Scenes::Attributes::LastConfiguredBy::TypeInfo::DecodableArgType); typedef void (*CHIPScenesClusterGeneratedCommandListAttributeCallbackType)( void *, const chip::app::Clusters::Scenes::Attributes::GeneratedCommandList::TypeInfo::DecodableType &); typedef void (*CHIPScenesClusterAcceptedCommandListAttributeCallbackType)( @@ -179,12 +181,24 @@ typedef void (*CHIPLevelControlClusterFeatureMapAttributeCallbackType)( typedef void (*CHIPLevelControlClusterClusterRevisionAttributeCallbackType)( void *, chip::app::Clusters::LevelControl::Attributes::ClusterRevision::TypeInfo::DecodableArgType); +typedef void (*CHIPBinaryInputBasicClusterActiveTextAttributeCallbackType)( + void *, chip::app::Clusters::BinaryInputBasic::Attributes::ActiveText::TypeInfo::DecodableArgType); +typedef void (*CHIPBinaryInputBasicClusterDescriptionAttributeCallbackType)( + void *, chip::app::Clusters::BinaryInputBasic::Attributes::Description::TypeInfo::DecodableArgType); +typedef void (*CHIPBinaryInputBasicClusterInactiveTextAttributeCallbackType)( + void *, chip::app::Clusters::BinaryInputBasic::Attributes::InactiveText::TypeInfo::DecodableArgType); typedef void (*CHIPBinaryInputBasicClusterOutOfServiceAttributeCallbackType)( void *, chip::app::Clusters::BinaryInputBasic::Attributes::OutOfService::TypeInfo::DecodableArgType); +typedef void (*CHIPBinaryInputBasicClusterPolarityAttributeCallbackType)( + void *, chip::app::Clusters::BinaryInputBasic::Attributes::Polarity::TypeInfo::DecodableArgType); typedef void (*CHIPBinaryInputBasicClusterPresentValueAttributeCallbackType)( void *, chip::app::Clusters::BinaryInputBasic::Attributes::PresentValue::TypeInfo::DecodableArgType); +typedef void (*CHIPBinaryInputBasicClusterReliabilityAttributeCallbackType)( + void *, chip::app::Clusters::BinaryInputBasic::Attributes::Reliability::TypeInfo::DecodableArgType); typedef void (*CHIPBinaryInputBasicClusterStatusFlagsAttributeCallbackType)( void *, chip::app::Clusters::BinaryInputBasic::Attributes::StatusFlags::TypeInfo::DecodableArgType); +typedef void (*CHIPBinaryInputBasicClusterApplicationTypeAttributeCallbackType)( + void *, chip::app::Clusters::BinaryInputBasic::Attributes::ApplicationType::TypeInfo::DecodableArgType); typedef void (*CHIPBinaryInputBasicClusterGeneratedCommandListAttributeCallbackType)( void *, const chip::app::Clusters::BinaryInputBasic::Attributes::GeneratedCommandList::TypeInfo::DecodableType &); typedef void (*CHIPBinaryInputBasicClusterAcceptedCommandListAttributeCallbackType)( @@ -1078,6 +1092,12 @@ typedef void (*CHIPDoorLockClusterActuatorEnabledAttributeCallbackType)( void *, chip::app::Clusters::DoorLock::Attributes::ActuatorEnabled::TypeInfo::DecodableArgType); typedef void (*CHIPDoorLockClusterDoorStateAttributeCallbackType)( void *, chip::app::Clusters::DoorLock::Attributes::DoorState::TypeInfo::DecodableArgType); +typedef void (*CHIPDoorLockClusterDoorOpenEventsAttributeCallbackType)( + void *, chip::app::Clusters::DoorLock::Attributes::DoorOpenEvents::TypeInfo::DecodableArgType); +typedef void (*CHIPDoorLockClusterDoorClosedEventsAttributeCallbackType)( + void *, chip::app::Clusters::DoorLock::Attributes::DoorClosedEvents::TypeInfo::DecodableArgType); +typedef void (*CHIPDoorLockClusterOpenPeriodAttributeCallbackType)( + void *, chip::app::Clusters::DoorLock::Attributes::OpenPeriod::TypeInfo::DecodableArgType); typedef void (*CHIPDoorLockClusterNumberOfTotalUsersSupportedAttributeCallbackType)( void *, chip::app::Clusters::DoorLock::Attributes::NumberOfTotalUsersSupported::TypeInfo::DecodableArgType); typedef void (*CHIPDoorLockClusterNumberOfPINUsersSupportedAttributeCallbackType)( @@ -1098,10 +1118,14 @@ typedef void (*CHIPDoorLockClusterMaxRFIDCodeLengthAttributeCallbackType)( void *, chip::app::Clusters::DoorLock::Attributes::MaxRFIDCodeLength::TypeInfo::DecodableArgType); typedef void (*CHIPDoorLockClusterMinRFIDCodeLengthAttributeCallbackType)( void *, chip::app::Clusters::DoorLock::Attributes::MinRFIDCodeLength::TypeInfo::DecodableArgType); +typedef void (*CHIPDoorLockClusterCredentialRulesSupportAttributeCallbackType)( + void *, chip::app::Clusters::DoorLock::Attributes::CredentialRulesSupport::TypeInfo::DecodableArgType); typedef void (*CHIPDoorLockClusterNumberOfCredentialsSupportedPerUserAttributeCallbackType)( void *, chip::app::Clusters::DoorLock::Attributes::NumberOfCredentialsSupportedPerUser::TypeInfo::DecodableArgType); typedef void (*CHIPDoorLockClusterLanguageAttributeCallbackType)( void *, chip::app::Clusters::DoorLock::Attributes::Language::TypeInfo::DecodableArgType); +typedef void (*CHIPDoorLockClusterLEDSettingsAttributeCallbackType)( + void *, chip::app::Clusters::DoorLock::Attributes::LEDSettings::TypeInfo::DecodableArgType); typedef void (*CHIPDoorLockClusterAutoRelockTimeAttributeCallbackType)( void *, chip::app::Clusters::DoorLock::Attributes::AutoRelockTime::TypeInfo::DecodableArgType); typedef void (*CHIPDoorLockClusterSoundVolumeAttributeCallbackType)( @@ -1110,16 +1134,28 @@ typedef void (*CHIPDoorLockClusterOperatingModeAttributeCallbackType)( void *, chip::app::Clusters::DoorLock::Attributes::OperatingMode::TypeInfo::DecodableArgType); typedef void (*CHIPDoorLockClusterSupportedOperatingModesAttributeCallbackType)( void *, chip::app::Clusters::DoorLock::Attributes::SupportedOperatingModes::TypeInfo::DecodableArgType); +typedef void (*CHIPDoorLockClusterDefaultConfigurationRegisterAttributeCallbackType)( + void *, chip::app::Clusters::DoorLock::Attributes::DefaultConfigurationRegister::TypeInfo::DecodableArgType); +typedef void (*CHIPDoorLockClusterEnableLocalProgrammingAttributeCallbackType)( + void *, chip::app::Clusters::DoorLock::Attributes::EnableLocalProgramming::TypeInfo::DecodableArgType); typedef void (*CHIPDoorLockClusterEnableOneTouchLockingAttributeCallbackType)( void *, chip::app::Clusters::DoorLock::Attributes::EnableOneTouchLocking::TypeInfo::DecodableArgType); +typedef void (*CHIPDoorLockClusterEnableInsideStatusLEDAttributeCallbackType)( + void *, chip::app::Clusters::DoorLock::Attributes::EnableInsideStatusLED::TypeInfo::DecodableArgType); typedef void (*CHIPDoorLockClusterEnablePrivacyModeButtonAttributeCallbackType)( void *, chip::app::Clusters::DoorLock::Attributes::EnablePrivacyModeButton::TypeInfo::DecodableArgType); +typedef void (*CHIPDoorLockClusterLocalProgrammingFeaturesAttributeCallbackType)( + void *, chip::app::Clusters::DoorLock::Attributes::LocalProgrammingFeatures::TypeInfo::DecodableArgType); typedef void (*CHIPDoorLockClusterWrongCodeEntryLimitAttributeCallbackType)( void *, chip::app::Clusters::DoorLock::Attributes::WrongCodeEntryLimit::TypeInfo::DecodableArgType); typedef void (*CHIPDoorLockClusterUserCodeTemporaryDisableTimeAttributeCallbackType)( void *, chip::app::Clusters::DoorLock::Attributes::UserCodeTemporaryDisableTime::TypeInfo::DecodableArgType); +typedef void (*CHIPDoorLockClusterSendPINOverTheAirAttributeCallbackType)( + void *, chip::app::Clusters::DoorLock::Attributes::SendPINOverTheAir::TypeInfo::DecodableArgType); typedef void (*CHIPDoorLockClusterRequirePINforRemoteOperationAttributeCallbackType)( void *, chip::app::Clusters::DoorLock::Attributes::RequirePINforRemoteOperation::TypeInfo::DecodableArgType); +typedef void (*CHIPDoorLockClusterExpiringUserTimeoutAttributeCallbackType)( + void *, chip::app::Clusters::DoorLock::Attributes::ExpiringUserTimeout::TypeInfo::DecodableArgType); typedef void (*CHIPDoorLockClusterGeneratedCommandListAttributeCallbackType)( void *, const chip::app::Clusters::DoorLock::Attributes::GeneratedCommandList::TypeInfo::DecodableType &); typedef void (*CHIPDoorLockClusterAcceptedCommandListAttributeCallbackType)( @@ -1196,6 +1232,18 @@ typedef void (*CHIPBarrierControlClusterBarrierSafetyStatusAttributeCallbackType void *, chip::app::Clusters::BarrierControl::Attributes::BarrierSafetyStatus::TypeInfo::DecodableArgType); typedef void (*CHIPBarrierControlClusterBarrierCapabilitiesAttributeCallbackType)( void *, chip::app::Clusters::BarrierControl::Attributes::BarrierCapabilities::TypeInfo::DecodableArgType); +typedef void (*CHIPBarrierControlClusterBarrierOpenEventsAttributeCallbackType)( + void *, chip::app::Clusters::BarrierControl::Attributes::BarrierOpenEvents::TypeInfo::DecodableArgType); +typedef void (*CHIPBarrierControlClusterBarrierCloseEventsAttributeCallbackType)( + void *, chip::app::Clusters::BarrierControl::Attributes::BarrierCloseEvents::TypeInfo::DecodableArgType); +typedef void (*CHIPBarrierControlClusterBarrierCommandOpenEventsAttributeCallbackType)( + void *, chip::app::Clusters::BarrierControl::Attributes::BarrierCommandOpenEvents::TypeInfo::DecodableArgType); +typedef void (*CHIPBarrierControlClusterBarrierCommandCloseEventsAttributeCallbackType)( + void *, chip::app::Clusters::BarrierControl::Attributes::BarrierCommandCloseEvents::TypeInfo::DecodableArgType); +typedef void (*CHIPBarrierControlClusterBarrierOpenPeriodAttributeCallbackType)( + void *, chip::app::Clusters::BarrierControl::Attributes::BarrierOpenPeriod::TypeInfo::DecodableArgType); +typedef void (*CHIPBarrierControlClusterBarrierClosePeriodAttributeCallbackType)( + void *, chip::app::Clusters::BarrierControl::Attributes::BarrierClosePeriod::TypeInfo::DecodableArgType); typedef void (*CHIPBarrierControlClusterBarrierPositionAttributeCallbackType)( void *, chip::app::Clusters::BarrierControl::Attributes::BarrierPosition::TypeInfo::DecodableArgType); typedef void (*CHIPBarrierControlClusterGeneratedCommandListAttributeCallbackType)( @@ -1723,6 +1771,27 @@ typedef void (*CHIPOccupancySensingClusterOccupancySensorTypeAttributeCallbackTy void *, chip::app::Clusters::OccupancySensing::Attributes::OccupancySensorType::TypeInfo::DecodableArgType); typedef void (*CHIPOccupancySensingClusterOccupancySensorTypeBitmapAttributeCallbackType)( void *, chip::app::Clusters::OccupancySensing::Attributes::OccupancySensorTypeBitmap::TypeInfo::DecodableArgType); +typedef void (*CHIPOccupancySensingClusterPIROccupiedToUnoccupiedDelayAttributeCallbackType)( + void *, chip::app::Clusters::OccupancySensing::Attributes::PIROccupiedToUnoccupiedDelay::TypeInfo::DecodableArgType); +typedef void (*CHIPOccupancySensingClusterPIRUnoccupiedToOccupiedDelayAttributeCallbackType)( + void *, chip::app::Clusters::OccupancySensing::Attributes::PIRUnoccupiedToOccupiedDelay::TypeInfo::DecodableArgType); +typedef void (*CHIPOccupancySensingClusterPIRUnoccupiedToOccupiedThresholdAttributeCallbackType)( + void *, chip::app::Clusters::OccupancySensing::Attributes::PIRUnoccupiedToOccupiedThreshold::TypeInfo::DecodableArgType); +typedef void (*CHIPOccupancySensingClusterUltrasonicOccupiedToUnoccupiedDelayAttributeCallbackType)( + void *, chip::app::Clusters::OccupancySensing::Attributes::UltrasonicOccupiedToUnoccupiedDelay::TypeInfo::DecodableArgType); +typedef void (*CHIPOccupancySensingClusterUltrasonicUnoccupiedToOccupiedDelayAttributeCallbackType)( + void *, chip::app::Clusters::OccupancySensing::Attributes::UltrasonicUnoccupiedToOccupiedDelay::TypeInfo::DecodableArgType); +typedef void (*CHIPOccupancySensingClusterUltrasonicUnoccupiedToOccupiedThresholdAttributeCallbackType)( + void *, chip::app::Clusters::OccupancySensing::Attributes::UltrasonicUnoccupiedToOccupiedThreshold::TypeInfo::DecodableArgType); +typedef void (*CHIPOccupancySensingClusterPhysicalContactOccupiedToUnoccupiedDelayAttributeCallbackType)( + void *, + chip::app::Clusters::OccupancySensing::Attributes::PhysicalContactOccupiedToUnoccupiedDelay::TypeInfo::DecodableArgType); +typedef void (*CHIPOccupancySensingClusterPhysicalContactUnoccupiedToOccupiedDelayAttributeCallbackType)( + void *, + chip::app::Clusters::OccupancySensing::Attributes::PhysicalContactUnoccupiedToOccupiedDelay::TypeInfo::DecodableArgType); +typedef void (*CHIPOccupancySensingClusterPhysicalContactUnoccupiedToOccupiedThresholdAttributeCallbackType)( + void *, + chip::app::Clusters::OccupancySensing::Attributes::PhysicalContactUnoccupiedToOccupiedThreshold::TypeInfo::DecodableArgType); typedef void (*CHIPOccupancySensingClusterGeneratedCommandListAttributeCallbackType)( void *, const chip::app::Clusters::OccupancySensing::Attributes::GeneratedCommandList::TypeInfo::DecodableType &); typedef void (*CHIPOccupancySensingClusterAcceptedCommandListAttributeCallbackType)( @@ -1966,8 +2035,96 @@ typedef void (*CHIPAccountLoginClusterClusterRevisionAttributeCallbackType)( typedef void (*CHIPElectricalMeasurementClusterMeasurementTypeAttributeCallbackType)( void *, chip::app::Clusters::ElectricalMeasurement::Attributes::MeasurementType::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterDcVoltageAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::DcVoltage::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterDcVoltageMinAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::DcVoltageMin::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterDcVoltageMaxAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::DcVoltageMax::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterDcCurrentAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::DcCurrent::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterDcCurrentMinAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::DcCurrentMin::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterDcCurrentMaxAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::DcCurrentMax::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterDcPowerAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::DcPower::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterDcPowerMinAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::DcPowerMin::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterDcPowerMaxAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::DcPowerMax::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterDcVoltageMultiplierAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::DcVoltageMultiplier::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterDcVoltageDivisorAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::DcVoltageDivisor::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterDcCurrentMultiplierAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::DcCurrentMultiplier::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterDcCurrentDivisorAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::DcCurrentDivisor::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterDcPowerMultiplierAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::DcPowerMultiplier::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterDcPowerDivisorAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::DcPowerDivisor::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAcFrequencyAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::AcFrequency::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAcFrequencyMinAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::AcFrequencyMin::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAcFrequencyMaxAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::AcFrequencyMax::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterNeutralCurrentAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::NeutralCurrent::TypeInfo::DecodableArgType); typedef void (*CHIPElectricalMeasurementClusterTotalActivePowerAttributeCallbackType)( void *, chip::app::Clusters::ElectricalMeasurement::Attributes::TotalActivePower::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterTotalReactivePowerAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::TotalReactivePower::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterTotalApparentPowerAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::TotalApparentPower::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterMeasured1stHarmonicCurrentAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::Measured1stHarmonicCurrent::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterMeasured3rdHarmonicCurrentAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::Measured3rdHarmonicCurrent::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterMeasured5thHarmonicCurrentAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::Measured5thHarmonicCurrent::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterMeasured7thHarmonicCurrentAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::Measured7thHarmonicCurrent::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterMeasured9thHarmonicCurrentAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::Measured9thHarmonicCurrent::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterMeasured11thHarmonicCurrentAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::Measured11thHarmonicCurrent::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterMeasuredPhase1stHarmonicCurrentAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::MeasuredPhase1stHarmonicCurrent::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterMeasuredPhase3rdHarmonicCurrentAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::MeasuredPhase3rdHarmonicCurrent::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterMeasuredPhase5thHarmonicCurrentAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::MeasuredPhase5thHarmonicCurrent::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterMeasuredPhase7thHarmonicCurrentAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::MeasuredPhase7thHarmonicCurrent::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterMeasuredPhase9thHarmonicCurrentAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::MeasuredPhase9thHarmonicCurrent::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterMeasuredPhase11thHarmonicCurrentAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::MeasuredPhase11thHarmonicCurrent::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAcFrequencyMultiplierAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::AcFrequencyMultiplier::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAcFrequencyDivisorAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::AcFrequencyDivisor::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterPowerMultiplierAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::PowerMultiplier::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterPowerDivisorAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::PowerDivisor::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterHarmonicCurrentMultiplierAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::HarmonicCurrentMultiplier::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterPhaseHarmonicCurrentMultiplierAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::PhaseHarmonicCurrentMultiplier::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterInstantaneousVoltageAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::InstantaneousVoltage::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterInstantaneousLineCurrentAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::InstantaneousLineCurrent::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterInstantaneousActiveCurrentAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::InstantaneousActiveCurrent::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterInstantaneousReactiveCurrentAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::InstantaneousReactiveCurrent::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterInstantaneousPowerAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::InstantaneousPower::TypeInfo::DecodableArgType); typedef void (*CHIPElectricalMeasurementClusterRmsVoltageAttributeCallbackType)( void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsVoltage::TypeInfo::DecodableArgType); typedef void (*CHIPElectricalMeasurementClusterRmsVoltageMinAttributeCallbackType)( @@ -1986,6 +2143,156 @@ typedef void (*CHIPElectricalMeasurementClusterActivePowerMinAttributeCallbackTy void *, chip::app::Clusters::ElectricalMeasurement::Attributes::ActivePowerMin::TypeInfo::DecodableArgType); typedef void (*CHIPElectricalMeasurementClusterActivePowerMaxAttributeCallbackType)( void *, chip::app::Clusters::ElectricalMeasurement::Attributes::ActivePowerMax::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterReactivePowerAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::ReactivePower::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterApparentPowerAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::ApparentPower::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterPowerFactorAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::PowerFactor::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAverageRmsVoltageMeasurementPeriodAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::AverageRmsVoltageMeasurementPeriod::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAverageRmsUnderVoltageCounterAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::AverageRmsUnderVoltageCounter::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsExtremeOverVoltagePeriodAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsExtremeOverVoltagePeriod::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsExtremeUnderVoltagePeriodAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsExtremeUnderVoltagePeriod::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsVoltageSagPeriodAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsVoltageSagPeriod::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsVoltageSwellPeriodAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsVoltageSwellPeriod::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAcVoltageMultiplierAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::AcVoltageMultiplier::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAcVoltageDivisorAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::AcVoltageDivisor::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAcCurrentMultiplierAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::AcCurrentMultiplier::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAcCurrentDivisorAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::AcCurrentDivisor::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAcPowerMultiplierAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::AcPowerMultiplier::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAcPowerDivisorAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::AcPowerDivisor::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterOverloadAlarmsMaskAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::OverloadAlarmsMask::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterVoltageOverloadAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::VoltageOverload::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterCurrentOverloadAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::CurrentOverload::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAcOverloadAlarmsMaskAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::AcOverloadAlarmsMask::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAcVoltageOverloadAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::AcVoltageOverload::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAcCurrentOverloadAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::AcCurrentOverload::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAcActivePowerOverloadAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::AcActivePowerOverload::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAcReactivePowerOverloadAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::AcReactivePowerOverload::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAverageRmsOverVoltageAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::AverageRmsOverVoltage::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAverageRmsUnderVoltageAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::AverageRmsUnderVoltage::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsExtremeOverVoltageAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsExtremeOverVoltage::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsExtremeUnderVoltageAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsExtremeUnderVoltage::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsVoltageSagAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsVoltageSag::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsVoltageSwellAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsVoltageSwell::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterLineCurrentPhaseBAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::LineCurrentPhaseB::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterActiveCurrentPhaseBAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::ActiveCurrentPhaseB::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterReactiveCurrentPhaseBAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::ReactiveCurrentPhaseB::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsVoltagePhaseBAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsVoltagePhaseB::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsVoltageMinPhaseBAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsVoltageMinPhaseB::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsVoltageMaxPhaseBAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsVoltageMaxPhaseB::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsCurrentPhaseBAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsCurrentPhaseB::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsCurrentMinPhaseBAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsCurrentMinPhaseB::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsCurrentMaxPhaseBAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsCurrentMaxPhaseB::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterActivePowerPhaseBAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::ActivePowerPhaseB::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterActivePowerMinPhaseBAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::ActivePowerMinPhaseB::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterActivePowerMaxPhaseBAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::ActivePowerMaxPhaseB::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterReactivePowerPhaseBAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::ReactivePowerPhaseB::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterApparentPowerPhaseBAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::ApparentPowerPhaseB::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterPowerFactorPhaseBAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::PowerFactorPhaseB::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAverageRmsVoltageMeasurementPeriodPhaseBAttributeCallbackType)( + void *, + chip::app::Clusters::ElectricalMeasurement::Attributes::AverageRmsVoltageMeasurementPeriodPhaseB::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAverageRmsOverVoltageCounterPhaseBAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::AverageRmsOverVoltageCounterPhaseB::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAverageRmsUnderVoltageCounterPhaseBAttributeCallbackType)( + void *, + chip::app::Clusters::ElectricalMeasurement::Attributes::AverageRmsUnderVoltageCounterPhaseB::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsExtremeOverVoltagePeriodPhaseBAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsExtremeOverVoltagePeriodPhaseB::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsExtremeUnderVoltagePeriodPhaseBAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsExtremeUnderVoltagePeriodPhaseB::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsVoltageSagPeriodPhaseBAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsVoltageSagPeriodPhaseB::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsVoltageSwellPeriodPhaseBAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsVoltageSwellPeriodPhaseB::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterLineCurrentPhaseCAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::LineCurrentPhaseC::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterActiveCurrentPhaseCAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::ActiveCurrentPhaseC::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterReactiveCurrentPhaseCAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::ReactiveCurrentPhaseC::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsVoltagePhaseCAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsVoltagePhaseC::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsVoltageMinPhaseCAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsVoltageMinPhaseC::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsVoltageMaxPhaseCAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsVoltageMaxPhaseC::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsCurrentPhaseCAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsCurrentPhaseC::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsCurrentMinPhaseCAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsCurrentMinPhaseC::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsCurrentMaxPhaseCAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsCurrentMaxPhaseC::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterActivePowerPhaseCAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::ActivePowerPhaseC::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterActivePowerMinPhaseCAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::ActivePowerMinPhaseC::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterActivePowerMaxPhaseCAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::ActivePowerMaxPhaseC::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterReactivePowerPhaseCAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::ReactivePowerPhaseC::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterApparentPowerPhaseCAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::ApparentPowerPhaseC::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterPowerFactorPhaseCAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::PowerFactorPhaseC::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAverageRmsVoltageMeasurementPeriodPhaseCAttributeCallbackType)( + void *, + chip::app::Clusters::ElectricalMeasurement::Attributes::AverageRmsVoltageMeasurementPeriodPhaseC::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAverageRmsOverVoltageCounterPhaseCAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::AverageRmsOverVoltageCounterPhaseC::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterAverageRmsUnderVoltageCounterPhaseCAttributeCallbackType)( + void *, + chip::app::Clusters::ElectricalMeasurement::Attributes::AverageRmsUnderVoltageCounterPhaseC::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsExtremeOverVoltagePeriodPhaseCAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsExtremeOverVoltagePeriodPhaseC::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsExtremeUnderVoltagePeriodPhaseCAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsExtremeUnderVoltagePeriodPhaseC::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsVoltageSagPeriodPhaseCAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsVoltageSagPeriodPhaseC::TypeInfo::DecodableArgType); +typedef void (*CHIPElectricalMeasurementClusterRmsVoltageSwellPeriodPhaseCAttributeCallbackType)( + void *, chip::app::Clusters::ElectricalMeasurement::Attributes::RmsVoltageSwellPeriodPhaseC::TypeInfo::DecodableArgType); typedef void (*CHIPElectricalMeasurementClusterGeneratedCommandListAttributeCallbackType)( void *, const chip::app::Clusters::ElectricalMeasurement::Attributes::GeneratedCommandList::TypeInfo::DecodableType &); typedef void (*CHIPElectricalMeasurementClusterAcceptedCommandListAttributeCallbackType)( @@ -2198,6 +2505,8 @@ typedef void (*CHIPUnitTestingClusterNullableRangeRestrictedInt16uAttributeCallb void *, chip::app::Clusters::UnitTesting::Attributes::NullableRangeRestrictedInt16u::TypeInfo::DecodableArgType); typedef void (*CHIPUnitTestingClusterNullableRangeRestrictedInt16sAttributeCallbackType)( void *, chip::app::Clusters::UnitTesting::Attributes::NullableRangeRestrictedInt16s::TypeInfo::DecodableArgType); +typedef void (*CHIPUnitTestingClusterWriteOnlyInt8uAttributeCallbackType)( + void *, chip::app::Clusters::UnitTesting::Attributes::WriteOnlyInt8u::TypeInfo::DecodableArgType); typedef void (*CHIPUnitTestingClusterGeneratedCommandListAttributeCallbackType)( void *, const chip::app::Clusters::UnitTesting::Attributes::GeneratedCommandList::TypeInfo::DecodableType &); typedef void (*CHIPUnitTestingClusterAcceptedCommandListAttributeCallbackType)( diff --git a/src/controller/java/zap-generated/CHIPClustersWrite-JNI.cpp b/src/controller/java/zap-generated/CHIPClustersWrite-JNI.cpp index 581c721f43c10c..620daa671207c7 100644 --- a/src/controller/java/zap-generated/CHIPClustersWrite-JNI.cpp +++ b/src/controller/java/zap-generated/CHIPClustersWrite-JNI.cpp @@ -717,6 +717,162 @@ JNI_METHOD(void, LevelControlCluster, writeStartUpCurrentLevelAttribute) onFailure.release(); } +JNI_METHOD(void, BinaryInputBasicCluster, writeActiveTextAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jstring value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::BinaryInputBasic::Attributes::ActiveText::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cleanupStrings.push_back(chip::Platform::MakeUnique(env, static_cast(value))); + cppValue = cleanupStrings.back()->charSpan(); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + BinaryInputBasicCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, BinaryInputBasicCluster, writeDescriptionAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jstring value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::BinaryInputBasic::Attributes::Description::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cleanupStrings.push_back(chip::Platform::MakeUnique(env, static_cast(value))); + cppValue = cleanupStrings.back()->charSpan(); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + BinaryInputBasicCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, BinaryInputBasicCluster, writeInactiveTextAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jstring value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::BinaryInputBasic::Attributes::InactiveText::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cleanupStrings.push_back(chip::Platform::MakeUnique(env, static_cast(value))); + cppValue = cleanupStrings.back()->charSpan(); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + BinaryInputBasicCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + JNI_METHOD(void, BinaryInputBasicCluster, writeOutOfServiceAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { @@ -821,6 +977,58 @@ JNI_METHOD(void, BinaryInputBasicCluster, writePresentValueAttribute) onFailure.release(); } +JNI_METHOD(void, BinaryInputBasicCluster, writeReliabilityAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::BinaryInputBasic::Attributes::Reliability::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + BinaryInputBasicCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + JNI_METHOD(void, BindingCluster, writeBindingAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { @@ -2134,19 +2342,18 @@ JNI_METHOD(void, ModeSelectCluster, writeOnModeAttribute) onFailure.release(); } -JNI_METHOD(void, DoorLockCluster, writeLanguageAttribute) -(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jstring value, jobject timedWriteTimeoutMs) +JNI_METHOD(void, DoorLockCluster, writeDoorOpenEventsAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::DoorLock::Attributes::Language::TypeInfo; + using TypeInfo = chip::app::Clusters::DoorLock::Attributes::DoorOpenEvents::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - cleanupStrings.push_back(chip::Platform::MakeUnique(env, static_cast(value))); - cppValue = cleanupStrings.back()->charSpan(); + cppValue = static_cast>(chip::JniReferences::GetInstance().LongToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -2186,12 +2393,12 @@ JNI_METHOD(void, DoorLockCluster, writeLanguageAttribute) onFailure.release(); } -JNI_METHOD(void, DoorLockCluster, writeAutoRelockTimeAttribute) +JNI_METHOD(void, DoorLockCluster, writeDoorClosedEventsAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::DoorLock::Attributes::AutoRelockTime::TypeInfo; + using TypeInfo = chip::app::Clusters::DoorLock::Attributes::DoorClosedEvents::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -2237,12 +2444,12 @@ JNI_METHOD(void, DoorLockCluster, writeAutoRelockTimeAttribute) onFailure.release(); } -JNI_METHOD(void, DoorLockCluster, writeSoundVolumeAttribute) +JNI_METHOD(void, DoorLockCluster, writeOpenPeriodAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::DoorLock::Attributes::SoundVolume::TypeInfo; + using TypeInfo = chip::app::Clusters::DoorLock::Attributes::OpenPeriod::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -2289,19 +2496,19 @@ JNI_METHOD(void, DoorLockCluster, writeSoundVolumeAttribute) onFailure.release(); } -JNI_METHOD(void, DoorLockCluster, writeOperatingModeAttribute) -(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +JNI_METHOD(void, DoorLockCluster, writeLanguageAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jstring value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::DoorLock::Attributes::OperatingMode::TypeInfo; + using TypeInfo = chip::app::Clusters::DoorLock::Attributes::Language::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - cppValue = - static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + cleanupStrings.push_back(chip::Platform::MakeUnique(env, static_cast(value))); + cppValue = cleanupStrings.back()->charSpan(); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -2341,19 +2548,19 @@ JNI_METHOD(void, DoorLockCluster, writeOperatingModeAttribute) onFailure.release(); } -JNI_METHOD(void, DoorLockCluster, writeEnableOneTouchLockingAttribute) +JNI_METHOD(void, DoorLockCluster, writeLEDSettingsAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::DoorLock::Attributes::EnableOneTouchLocking::TypeInfo; + using TypeInfo = chip::app::Clusters::DoorLock::Attributes::LEDSettings::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; cppValue = - static_cast>(chip::JniReferences::GetInstance().BooleanToPrimitive(value)); + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -2393,19 +2600,18 @@ JNI_METHOD(void, DoorLockCluster, writeEnableOneTouchLockingAttribute) onFailure.release(); } -JNI_METHOD(void, DoorLockCluster, writeEnablePrivacyModeButtonAttribute) +JNI_METHOD(void, DoorLockCluster, writeAutoRelockTimeAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::DoorLock::Attributes::EnablePrivacyModeButton::TypeInfo; + using TypeInfo = chip::app::Clusters::DoorLock::Attributes::AutoRelockTime::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - cppValue = - static_cast>(chip::JniReferences::GetInstance().BooleanToPrimitive(value)); + cppValue = static_cast>(chip::JniReferences::GetInstance().LongToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -2445,12 +2651,12 @@ JNI_METHOD(void, DoorLockCluster, writeEnablePrivacyModeButtonAttribute) onFailure.release(); } -JNI_METHOD(void, DoorLockCluster, writeWrongCodeEntryLimitAttribute) +JNI_METHOD(void, DoorLockCluster, writeSoundVolumeAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::DoorLock::Attributes::WrongCodeEntryLimit::TypeInfo; + using TypeInfo = chip::app::Clusters::DoorLock::Attributes::SoundVolume::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -2497,12 +2703,12 @@ JNI_METHOD(void, DoorLockCluster, writeWrongCodeEntryLimitAttribute) onFailure.release(); } -JNI_METHOD(void, DoorLockCluster, writeUserCodeTemporaryDisableTimeAttribute) +JNI_METHOD(void, DoorLockCluster, writeOperatingModeAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::DoorLock::Attributes::UserCodeTemporaryDisableTime::TypeInfo; + using TypeInfo = chip::app::Clusters::DoorLock::Attributes::OperatingMode::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -2549,12 +2755,12 @@ JNI_METHOD(void, DoorLockCluster, writeUserCodeTemporaryDisableTimeAttribute) onFailure.release(); } -JNI_METHOD(void, DoorLockCluster, writeRequirePINforRemoteOperationAttribute) +JNI_METHOD(void, DoorLockCluster, writeEnableLocalProgrammingAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::DoorLock::Attributes::RequirePINforRemoteOperation::TypeInfo; + using TypeInfo = chip::app::Clusters::DoorLock::Attributes::EnableLocalProgramming::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -2601,19 +2807,19 @@ JNI_METHOD(void, DoorLockCluster, writeRequirePINforRemoteOperationAttribute) onFailure.release(); } -JNI_METHOD(void, WindowCoveringCluster, writeModeAttribute) +JNI_METHOD(void, DoorLockCluster, writeEnableOneTouchLockingAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::WindowCovering::Attributes::Mode::TypeInfo; + using TypeInfo = chip::app::Clusters::DoorLock::Attributes::EnableOneTouchLocking::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; cppValue = - static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + static_cast>(chip::JniReferences::GetInstance().BooleanToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -2627,8 +2833,8 @@ JNI_METHOD(void, WindowCoveringCluster, writeModeAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - WindowCoveringCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + DoorLockCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -2653,27 +2859,19 @@ JNI_METHOD(void, WindowCoveringCluster, writeModeAttribute) onFailure.release(); } -JNI_METHOD(void, PumpConfigurationAndControlCluster, writeLifetimeRunningHoursAttribute) +JNI_METHOD(void, DoorLockCluster, writeEnableInsideStatusLEDAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::PumpConfigurationAndControl::Attributes::LifetimeRunningHours::TypeInfo; + using TypeInfo = chip::app::Clusters::DoorLock::Attributes::EnableInsideStatusLED::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - if (value == nullptr) - { - cppValue.SetNull(); - } - else - { - auto & nonNullValue_0 = cppValue.SetNonNull(); - nonNullValue_0 = static_cast>( - chip::JniReferences::GetInstance().LongToPrimitive(value)); - } + cppValue = + static_cast>(chip::JniReferences::GetInstance().BooleanToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -2687,8 +2885,8 @@ JNI_METHOD(void, PumpConfigurationAndControlCluster, writeLifetimeRunningHoursAt chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - PumpConfigurationAndControlCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + DoorLockCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -2713,27 +2911,19 @@ JNI_METHOD(void, PumpConfigurationAndControlCluster, writeLifetimeRunningHoursAt onFailure.release(); } -JNI_METHOD(void, PumpConfigurationAndControlCluster, writeLifetimeEnergyConsumedAttribute) +JNI_METHOD(void, DoorLockCluster, writeEnablePrivacyModeButtonAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::PumpConfigurationAndControl::Attributes::LifetimeEnergyConsumed::TypeInfo; + using TypeInfo = chip::app::Clusters::DoorLock::Attributes::EnablePrivacyModeButton::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - if (value == nullptr) - { - cppValue.SetNull(); - } - else - { - auto & nonNullValue_0 = cppValue.SetNonNull(); - nonNullValue_0 = static_cast>( - chip::JniReferences::GetInstance().LongToPrimitive(value)); - } + cppValue = + static_cast>(chip::JniReferences::GetInstance().BooleanToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -2747,8 +2937,8 @@ JNI_METHOD(void, PumpConfigurationAndControlCluster, writeLifetimeEnergyConsumed chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - PumpConfigurationAndControlCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + DoorLockCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -2773,12 +2963,12 @@ JNI_METHOD(void, PumpConfigurationAndControlCluster, writeLifetimeEnergyConsumed onFailure.release(); } -JNI_METHOD(void, PumpConfigurationAndControlCluster, writeOperationModeAttribute) +JNI_METHOD(void, DoorLockCluster, writeLocalProgrammingFeaturesAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::PumpConfigurationAndControl::Attributes::OperationMode::TypeInfo; + using TypeInfo = chip::app::Clusters::DoorLock::Attributes::LocalProgrammingFeatures::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -2799,8 +2989,8 @@ JNI_METHOD(void, PumpConfigurationAndControlCluster, writeOperationModeAttribute chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - PumpConfigurationAndControlCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + DoorLockCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -2825,12 +3015,12 @@ JNI_METHOD(void, PumpConfigurationAndControlCluster, writeOperationModeAttribute onFailure.release(); } -JNI_METHOD(void, PumpConfigurationAndControlCluster, writeControlModeAttribute) +JNI_METHOD(void, DoorLockCluster, writeWrongCodeEntryLimitAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::PumpConfigurationAndControl::Attributes::ControlMode::TypeInfo; + using TypeInfo = chip::app::Clusters::DoorLock::Attributes::WrongCodeEntryLimit::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -2851,8 +3041,8 @@ JNI_METHOD(void, PumpConfigurationAndControlCluster, writeControlModeAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - PumpConfigurationAndControlCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + DoorLockCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -2877,12 +3067,12 @@ JNI_METHOD(void, PumpConfigurationAndControlCluster, writeControlModeAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeHVACSystemTypeConfigurationAttribute) +JNI_METHOD(void, DoorLockCluster, writeUserCodeTemporaryDisableTimeAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::HVACSystemTypeConfiguration::TypeInfo; + using TypeInfo = chip::app::Clusters::DoorLock::Attributes::UserCodeTemporaryDisableTime::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -2903,8 +3093,8 @@ JNI_METHOD(void, ThermostatCluster, writeHVACSystemTypeConfigurationAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + DoorLockCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -2929,19 +3119,19 @@ JNI_METHOD(void, ThermostatCluster, writeHVACSystemTypeConfigurationAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeLocalTemperatureCalibrationAttribute) +JNI_METHOD(void, DoorLockCluster, writeSendPINOverTheAirAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::LocalTemperatureCalibration::TypeInfo; + using TypeInfo = chip::app::Clusters::DoorLock::Attributes::SendPINOverTheAir::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; cppValue = - static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + static_cast>(chip::JniReferences::GetInstance().BooleanToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -2955,8 +3145,8 @@ JNI_METHOD(void, ThermostatCluster, writeLocalTemperatureCalibrationAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + DoorLockCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -2981,19 +3171,19 @@ JNI_METHOD(void, ThermostatCluster, writeLocalTemperatureCalibrationAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeOccupiedCoolingSetpointAttribute) +JNI_METHOD(void, DoorLockCluster, writeRequirePINforRemoteOperationAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::OccupiedCoolingSetpoint::TypeInfo; + using TypeInfo = chip::app::Clusters::DoorLock::Attributes::RequirePINforRemoteOperation::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; cppValue = - static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + static_cast>(chip::JniReferences::GetInstance().BooleanToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -3007,8 +3197,8 @@ JNI_METHOD(void, ThermostatCluster, writeOccupiedCoolingSetpointAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + DoorLockCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -3033,12 +3223,12 @@ JNI_METHOD(void, ThermostatCluster, writeOccupiedCoolingSetpointAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeOccupiedHeatingSetpointAttribute) +JNI_METHOD(void, DoorLockCluster, writeExpiringUserTimeoutAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::OccupiedHeatingSetpoint::TypeInfo; + using TypeInfo = chip::app::Clusters::DoorLock::Attributes::ExpiringUserTimeout::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -3059,8 +3249,8 @@ JNI_METHOD(void, ThermostatCluster, writeOccupiedHeatingSetpointAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + DoorLockCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -3085,12 +3275,12 @@ JNI_METHOD(void, ThermostatCluster, writeOccupiedHeatingSetpointAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeUnoccupiedCoolingSetpointAttribute) +JNI_METHOD(void, WindowCoveringCluster, writeModeAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::UnoccupiedCoolingSetpoint::TypeInfo; + using TypeInfo = chip::app::Clusters::WindowCovering::Attributes::Mode::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -3111,8 +3301,8 @@ JNI_METHOD(void, ThermostatCluster, writeUnoccupiedCoolingSetpointAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + WindowCoveringCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -3137,12 +3327,12 @@ JNI_METHOD(void, ThermostatCluster, writeUnoccupiedCoolingSetpointAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeUnoccupiedHeatingSetpointAttribute) +JNI_METHOD(void, BarrierControlCluster, writeBarrierOpenEventsAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::UnoccupiedHeatingSetpoint::TypeInfo; + using TypeInfo = chip::app::Clusters::BarrierControl::Attributes::BarrierOpenEvents::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -3163,8 +3353,8 @@ JNI_METHOD(void, ThermostatCluster, writeUnoccupiedHeatingSetpointAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + BarrierControlCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -3189,12 +3379,12 @@ JNI_METHOD(void, ThermostatCluster, writeUnoccupiedHeatingSetpointAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeMinHeatSetpointLimitAttribute) +JNI_METHOD(void, BarrierControlCluster, writeBarrierCloseEventsAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::MinHeatSetpointLimit::TypeInfo; + using TypeInfo = chip::app::Clusters::BarrierControl::Attributes::BarrierCloseEvents::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -3215,8 +3405,8 @@ JNI_METHOD(void, ThermostatCluster, writeMinHeatSetpointLimitAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + BarrierControlCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -3241,12 +3431,12 @@ JNI_METHOD(void, ThermostatCluster, writeMinHeatSetpointLimitAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeMaxHeatSetpointLimitAttribute) +JNI_METHOD(void, BarrierControlCluster, writeBarrierCommandOpenEventsAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::MaxHeatSetpointLimit::TypeInfo; + using TypeInfo = chip::app::Clusters::BarrierControl::Attributes::BarrierCommandOpenEvents::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -3267,8 +3457,8 @@ JNI_METHOD(void, ThermostatCluster, writeMaxHeatSetpointLimitAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + BarrierControlCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -3293,12 +3483,12 @@ JNI_METHOD(void, ThermostatCluster, writeMaxHeatSetpointLimitAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeMinCoolSetpointLimitAttribute) +JNI_METHOD(void, BarrierControlCluster, writeBarrierCommandCloseEventsAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::MinCoolSetpointLimit::TypeInfo; + using TypeInfo = chip::app::Clusters::BarrierControl::Attributes::BarrierCommandCloseEvents::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -3319,8 +3509,8 @@ JNI_METHOD(void, ThermostatCluster, writeMinCoolSetpointLimitAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + BarrierControlCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -3345,12 +3535,12 @@ JNI_METHOD(void, ThermostatCluster, writeMinCoolSetpointLimitAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeMaxCoolSetpointLimitAttribute) +JNI_METHOD(void, BarrierControlCluster, writeBarrierOpenPeriodAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::MaxCoolSetpointLimit::TypeInfo; + using TypeInfo = chip::app::Clusters::BarrierControl::Attributes::BarrierOpenPeriod::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -3371,8 +3561,8 @@ JNI_METHOD(void, ThermostatCluster, writeMaxCoolSetpointLimitAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + BarrierControlCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -3397,12 +3587,12 @@ JNI_METHOD(void, ThermostatCluster, writeMaxCoolSetpointLimitAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeMinSetpointDeadBandAttribute) +JNI_METHOD(void, BarrierControlCluster, writeBarrierClosePeriodAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::MinSetpointDeadBand::TypeInfo; + using TypeInfo = chip::app::Clusters::BarrierControl::Attributes::BarrierClosePeriod::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -3423,8 +3613,8 @@ JNI_METHOD(void, ThermostatCluster, writeMinSetpointDeadBandAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + BarrierControlCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -3449,19 +3639,27 @@ JNI_METHOD(void, ThermostatCluster, writeMinSetpointDeadBandAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeRemoteSensingAttribute) +JNI_METHOD(void, PumpConfigurationAndControlCluster, writeLifetimeRunningHoursAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::RemoteSensing::TypeInfo; + using TypeInfo = chip::app::Clusters::PumpConfigurationAndControl::Attributes::LifetimeRunningHours::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - cppValue = - static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + if (value == nullptr) + { + cppValue.SetNull(); + } + else + { + auto & nonNullValue_0 = cppValue.SetNonNull(); + nonNullValue_0 = static_cast>( + chip::JniReferences::GetInstance().LongToPrimitive(value)); + } std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -3475,8 +3673,8 @@ JNI_METHOD(void, ThermostatCluster, writeRemoteSensingAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + PumpConfigurationAndControlCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -3501,19 +3699,27 @@ JNI_METHOD(void, ThermostatCluster, writeRemoteSensingAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeControlSequenceOfOperationAttribute) +JNI_METHOD(void, PumpConfigurationAndControlCluster, writeLifetimeEnergyConsumedAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::ControlSequenceOfOperation::TypeInfo; + using TypeInfo = chip::app::Clusters::PumpConfigurationAndControl::Attributes::LifetimeEnergyConsumed::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - cppValue = - static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + if (value == nullptr) + { + cppValue.SetNull(); + } + else + { + auto & nonNullValue_0 = cppValue.SetNonNull(); + nonNullValue_0 = static_cast>( + chip::JniReferences::GetInstance().LongToPrimitive(value)); + } std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -3527,8 +3733,8 @@ JNI_METHOD(void, ThermostatCluster, writeControlSequenceOfOperationAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + PumpConfigurationAndControlCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -3553,12 +3759,12 @@ JNI_METHOD(void, ThermostatCluster, writeControlSequenceOfOperationAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeSystemModeAttribute) +JNI_METHOD(void, PumpConfigurationAndControlCluster, writeOperationModeAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::SystemMode::TypeInfo; + using TypeInfo = chip::app::Clusters::PumpConfigurationAndControl::Attributes::OperationMode::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -3579,8 +3785,8 @@ JNI_METHOD(void, ThermostatCluster, writeSystemModeAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + PumpConfigurationAndControlCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -3605,12 +3811,12 @@ JNI_METHOD(void, ThermostatCluster, writeSystemModeAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeTemperatureSetpointHoldAttribute) +JNI_METHOD(void, PumpConfigurationAndControlCluster, writeControlModeAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::TemperatureSetpointHold::TypeInfo; + using TypeInfo = chip::app::Clusters::PumpConfigurationAndControl::Attributes::ControlMode::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -3631,8 +3837,8 @@ JNI_METHOD(void, ThermostatCluster, writeTemperatureSetpointHoldAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + PumpConfigurationAndControlCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -3657,27 +3863,19 @@ JNI_METHOD(void, ThermostatCluster, writeTemperatureSetpointHoldAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeTemperatureSetpointHoldDurationAttribute) +JNI_METHOD(void, ThermostatCluster, writeHVACSystemTypeConfigurationAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::TemperatureSetpointHoldDuration::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::HVACSystemTypeConfiguration::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - if (value == nullptr) - { - cppValue.SetNull(); - } - else - { - auto & nonNullValue_0 = cppValue.SetNonNull(); - nonNullValue_0 = static_cast>( - chip::JniReferences::GetInstance().IntegerToPrimitive(value)); - } + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -3717,12 +3915,12 @@ JNI_METHOD(void, ThermostatCluster, writeTemperatureSetpointHoldDurationAttribut onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeThermostatProgrammingOperationModeAttribute) +JNI_METHOD(void, ThermostatCluster, writeLocalTemperatureCalibrationAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::ThermostatProgrammingOperationMode::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::LocalTemperatureCalibration::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -3769,27 +3967,19 @@ JNI_METHOD(void, ThermostatCluster, writeThermostatProgrammingOperationModeAttri onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeOccupiedSetbackAttribute) +JNI_METHOD(void, ThermostatCluster, writeOccupiedCoolingSetpointAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::OccupiedSetback::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::OccupiedCoolingSetpoint::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - if (value == nullptr) - { - cppValue.SetNull(); - } - else - { - auto & nonNullValue_0 = cppValue.SetNonNull(); - nonNullValue_0 = static_cast>( - chip::JniReferences::GetInstance().IntegerToPrimitive(value)); - } + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -3829,27 +4019,19 @@ JNI_METHOD(void, ThermostatCluster, writeOccupiedSetbackAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeUnoccupiedSetbackAttribute) +JNI_METHOD(void, ThermostatCluster, writeOccupiedHeatingSetpointAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::UnoccupiedSetback::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::OccupiedHeatingSetpoint::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - if (value == nullptr) - { - cppValue.SetNull(); - } - else - { - auto & nonNullValue_0 = cppValue.SetNonNull(); - nonNullValue_0 = static_cast>( - chip::JniReferences::GetInstance().IntegerToPrimitive(value)); - } + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -3889,12 +4071,12 @@ JNI_METHOD(void, ThermostatCluster, writeUnoccupiedSetbackAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeEmergencyHeatDeltaAttribute) +JNI_METHOD(void, ThermostatCluster, writeUnoccupiedCoolingSetpointAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::EmergencyHeatDelta::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::UnoccupiedCoolingSetpoint::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -3941,12 +4123,12 @@ JNI_METHOD(void, ThermostatCluster, writeEmergencyHeatDeltaAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeACTypeAttribute) +JNI_METHOD(void, ThermostatCluster, writeUnoccupiedHeatingSetpointAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::ACType::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::UnoccupiedHeatingSetpoint::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -3993,12 +4175,12 @@ JNI_METHOD(void, ThermostatCluster, writeACTypeAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeACCapacityAttribute) +JNI_METHOD(void, ThermostatCluster, writeMinHeatSetpointLimitAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::ACCapacity::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::MinHeatSetpointLimit::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -4045,12 +4227,12 @@ JNI_METHOD(void, ThermostatCluster, writeACCapacityAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeACRefrigerantTypeAttribute) +JNI_METHOD(void, ThermostatCluster, writeMaxHeatSetpointLimitAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::ACRefrigerantType::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::MaxHeatSetpointLimit::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -4097,12 +4279,12 @@ JNI_METHOD(void, ThermostatCluster, writeACRefrigerantTypeAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeACCompressorTypeAttribute) +JNI_METHOD(void, ThermostatCluster, writeMinCoolSetpointLimitAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::ACCompressorType::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::MinCoolSetpointLimit::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -4149,18 +4331,19 @@ JNI_METHOD(void, ThermostatCluster, writeACCompressorTypeAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeACErrorCodeAttribute) +JNI_METHOD(void, ThermostatCluster, writeMaxCoolSetpointLimitAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::ACErrorCode::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::MaxCoolSetpointLimit::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - cppValue = static_cast>(chip::JniReferences::GetInstance().LongToPrimitive(value)); + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -4200,12 +4383,12 @@ JNI_METHOD(void, ThermostatCluster, writeACErrorCodeAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeACLouverPositionAttribute) +JNI_METHOD(void, ThermostatCluster, writeMinSetpointDeadBandAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::ACLouverPosition::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::MinSetpointDeadBand::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -4252,12 +4435,12 @@ JNI_METHOD(void, ThermostatCluster, writeACLouverPositionAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatCluster, writeACCapacityformatAttribute) +JNI_METHOD(void, ThermostatCluster, writeRemoteSensingAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::Thermostat::Attributes::ACCapacityformat::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::RemoteSensing::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -4304,12 +4487,12 @@ JNI_METHOD(void, ThermostatCluster, writeACCapacityformatAttribute) onFailure.release(); } -JNI_METHOD(void, FanControlCluster, writeFanModeAttribute) +JNI_METHOD(void, ThermostatCluster, writeControlSequenceOfOperationAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::FanControl::Attributes::FanMode::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::ControlSequenceOfOperation::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -4331,7 +4514,7 @@ JNI_METHOD(void, FanControlCluster, writeFanModeAttribute) env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); CHIP_ERROR err = CHIP_NO_ERROR; - FanControlCluster * cppCluster = reinterpret_cast(clusterPtr); + ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -4356,12 +4539,12 @@ JNI_METHOD(void, FanControlCluster, writeFanModeAttribute) onFailure.release(); } -JNI_METHOD(void, FanControlCluster, writeFanModeSequenceAttribute) +JNI_METHOD(void, ThermostatCluster, writeSystemModeAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::FanControl::Attributes::FanModeSequence::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::SystemMode::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -4383,7 +4566,7 @@ JNI_METHOD(void, FanControlCluster, writeFanModeSequenceAttribute) env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); CHIP_ERROR err = CHIP_NO_ERROR; - FanControlCluster * cppCluster = reinterpret_cast(clusterPtr); + ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -4408,12 +4591,64 @@ JNI_METHOD(void, FanControlCluster, writeFanModeSequenceAttribute) onFailure.release(); } -JNI_METHOD(void, FanControlCluster, writePercentSettingAttribute) +JNI_METHOD(void, ThermostatCluster, writeTemperatureSetpointHoldAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::FanControl::Attributes::PercentSetting::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::TemperatureSetpointHold::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ThermostatCluster, writeTemperatureSetpointHoldDurationAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::TemperatureSetpointHoldDuration::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -4443,7 +4678,7 @@ JNI_METHOD(void, FanControlCluster, writePercentSettingAttribute) env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); CHIP_ERROR err = CHIP_NO_ERROR; - FanControlCluster * cppCluster = reinterpret_cast(clusterPtr); + ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -4468,12 +4703,64 @@ JNI_METHOD(void, FanControlCluster, writePercentSettingAttribute) onFailure.release(); } -JNI_METHOD(void, FanControlCluster, writeSpeedSettingAttribute) +JNI_METHOD(void, ThermostatCluster, writeThermostatProgrammingOperationModeAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::FanControl::Attributes::SpeedSetting::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::ThermostatProgrammingOperationMode::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ThermostatCluster, writeOccupiedSetbackAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::OccupiedSetback::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -4503,7 +4790,7 @@ JNI_METHOD(void, FanControlCluster, writeSpeedSettingAttribute) env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); CHIP_ERROR err = CHIP_NO_ERROR; - FanControlCluster * cppCluster = reinterpret_cast(clusterPtr); + ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -4528,19 +4815,27 @@ JNI_METHOD(void, FanControlCluster, writeSpeedSettingAttribute) onFailure.release(); } -JNI_METHOD(void, FanControlCluster, writeRockSettingAttribute) +JNI_METHOD(void, ThermostatCluster, writeUnoccupiedSetbackAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::FanControl::Attributes::RockSetting::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::UnoccupiedSetback::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - cppValue = - static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + if (value == nullptr) + { + cppValue.SetNull(); + } + else + { + auto & nonNullValue_0 = cppValue.SetNonNull(); + nonNullValue_0 = static_cast>( + chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + } std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -4555,7 +4850,7 @@ JNI_METHOD(void, FanControlCluster, writeRockSettingAttribute) env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); CHIP_ERROR err = CHIP_NO_ERROR; - FanControlCluster * cppCluster = reinterpret_cast(clusterPtr); + ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -4580,12 +4875,12 @@ JNI_METHOD(void, FanControlCluster, writeRockSettingAttribute) onFailure.release(); } -JNI_METHOD(void, FanControlCluster, writeWindSettingAttribute) +JNI_METHOD(void, ThermostatCluster, writeEmergencyHeatDeltaAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::FanControl::Attributes::WindSetting::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::EmergencyHeatDelta::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -4607,7 +4902,7 @@ JNI_METHOD(void, FanControlCluster, writeWindSettingAttribute) env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); CHIP_ERROR err = CHIP_NO_ERROR; - FanControlCluster * cppCluster = reinterpret_cast(clusterPtr); + ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -4632,12 +4927,12 @@ JNI_METHOD(void, FanControlCluster, writeWindSettingAttribute) onFailure.release(); } -JNI_METHOD(void, ThermostatUserInterfaceConfigurationCluster, writeTemperatureDisplayModeAttribute) +JNI_METHOD(void, ThermostatCluster, writeACTypeAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::ThermostatUserInterfaceConfiguration::Attributes::TemperatureDisplayMode::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::ACType::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -4658,9 +4953,8 @@ JNI_METHOD(void, ThermostatUserInterfaceConfigurationCluster, writeTemperatureDi chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ThermostatUserInterfaceConfigurationCluster * cppCluster = - reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -4685,12 +4979,12 @@ JNI_METHOD(void, ThermostatUserInterfaceConfigurationCluster, writeTemperatureDi onFailure.release(); } -JNI_METHOD(void, ThermostatUserInterfaceConfigurationCluster, writeKeypadLockoutAttribute) +JNI_METHOD(void, ThermostatCluster, writeACCapacityAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::ThermostatUserInterfaceConfiguration::Attributes::KeypadLockout::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::ACCapacity::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -4711,9 +5005,8 @@ JNI_METHOD(void, ThermostatUserInterfaceConfigurationCluster, writeKeypadLockout chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ThermostatUserInterfaceConfigurationCluster * cppCluster = - reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -4738,12 +5031,12 @@ JNI_METHOD(void, ThermostatUserInterfaceConfigurationCluster, writeKeypadLockout onFailure.release(); } -JNI_METHOD(void, ThermostatUserInterfaceConfigurationCluster, writeScheduleProgrammingVisibilityAttribute) +JNI_METHOD(void, ThermostatCluster, writeACRefrigerantTypeAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::ThermostatUserInterfaceConfiguration::Attributes::ScheduleProgrammingVisibility::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::ACRefrigerantType::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -4764,9 +5057,8 @@ JNI_METHOD(void, ThermostatUserInterfaceConfigurationCluster, writeScheduleProgr chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ThermostatUserInterfaceConfigurationCluster * cppCluster = - reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -4791,12 +5083,12 @@ JNI_METHOD(void, ThermostatUserInterfaceConfigurationCluster, writeScheduleProgr onFailure.release(); } -JNI_METHOD(void, ColorControlCluster, writeOptionsAttribute) +JNI_METHOD(void, ThermostatCluster, writeACCompressorTypeAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::ColorControl::Attributes::Options::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::ACCompressorType::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -4817,8 +5109,8 @@ JNI_METHOD(void, ColorControlCluster, writeOptionsAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -4843,19 +5135,18 @@ JNI_METHOD(void, ColorControlCluster, writeOptionsAttribute) onFailure.release(); } -JNI_METHOD(void, ColorControlCluster, writeWhitePointXAttribute) +JNI_METHOD(void, ThermostatCluster, writeACErrorCodeAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::ColorControl::Attributes::WhitePointX::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::ACErrorCode::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - cppValue = - static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + cppValue = static_cast>(chip::JniReferences::GetInstance().LongToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -4869,8 +5160,8 @@ JNI_METHOD(void, ColorControlCluster, writeWhitePointXAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -4895,12 +5186,12 @@ JNI_METHOD(void, ColorControlCluster, writeWhitePointXAttribute) onFailure.release(); } -JNI_METHOD(void, ColorControlCluster, writeWhitePointYAttribute) +JNI_METHOD(void, ThermostatCluster, writeACLouverPositionAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::ColorControl::Attributes::WhitePointY::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::ACLouverPosition::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -4921,8 +5212,8 @@ JNI_METHOD(void, ColorControlCluster, writeWhitePointYAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -4947,12 +5238,12 @@ JNI_METHOD(void, ColorControlCluster, writeWhitePointYAttribute) onFailure.release(); } -JNI_METHOD(void, ColorControlCluster, writeColorPointRXAttribute) +JNI_METHOD(void, ThermostatCluster, writeACCapacityformatAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::ColorControl::Attributes::ColorPointRX::TypeInfo; + using TypeInfo = chip::app::Clusters::Thermostat::Attributes::ACCapacityformat::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -4973,8 +5264,8 @@ JNI_METHOD(void, ColorControlCluster, writeColorPointRXAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + ThermostatCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -4999,12 +5290,12 @@ JNI_METHOD(void, ColorControlCluster, writeColorPointRXAttribute) onFailure.release(); } -JNI_METHOD(void, ColorControlCluster, writeColorPointRYAttribute) +JNI_METHOD(void, FanControlCluster, writeFanModeAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::ColorControl::Attributes::ColorPointRY::TypeInfo; + using TypeInfo = chip::app::Clusters::FanControl::Attributes::FanMode::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -5025,8 +5316,1651 @@ JNI_METHOD(void, ColorControlCluster, writeColorPointRYAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + FanControlCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, FanControlCluster, writeFanModeSequenceAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::FanControl::Attributes::FanModeSequence::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + FanControlCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, FanControlCluster, writePercentSettingAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::FanControl::Attributes::PercentSetting::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + if (value == nullptr) + { + cppValue.SetNull(); + } + else + { + auto & nonNullValue_0 = cppValue.SetNonNull(); + nonNullValue_0 = static_cast>( + chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + } + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + FanControlCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, FanControlCluster, writeSpeedSettingAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::FanControl::Attributes::SpeedSetting::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + if (value == nullptr) + { + cppValue.SetNull(); + } + else + { + auto & nonNullValue_0 = cppValue.SetNonNull(); + nonNullValue_0 = static_cast>( + chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + } + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + FanControlCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, FanControlCluster, writeRockSettingAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::FanControl::Attributes::RockSetting::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + FanControlCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, FanControlCluster, writeWindSettingAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::FanControl::Attributes::WindSetting::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + FanControlCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ThermostatUserInterfaceConfigurationCluster, writeTemperatureDisplayModeAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::ThermostatUserInterfaceConfiguration::Attributes::TemperatureDisplayMode::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ThermostatUserInterfaceConfigurationCluster * cppCluster = + reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ThermostatUserInterfaceConfigurationCluster, writeKeypadLockoutAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::ThermostatUserInterfaceConfiguration::Attributes::KeypadLockout::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ThermostatUserInterfaceConfigurationCluster * cppCluster = + reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ThermostatUserInterfaceConfigurationCluster, writeScheduleProgrammingVisibilityAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::ThermostatUserInterfaceConfiguration::Attributes::ScheduleProgrammingVisibility::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ThermostatUserInterfaceConfigurationCluster * cppCluster = + reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ColorControlCluster, writeOptionsAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::ColorControl::Attributes::Options::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ColorControlCluster, writeWhitePointXAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::ColorControl::Attributes::WhitePointX::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ColorControlCluster, writeWhitePointYAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::ColorControl::Attributes::WhitePointY::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ColorControlCluster, writeColorPointRXAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::ColorControl::Attributes::ColorPointRX::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ColorControlCluster, writeColorPointRYAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::ColorControl::Attributes::ColorPointRY::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ColorControlCluster, writeColorPointRIntensityAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::ColorControl::Attributes::ColorPointRIntensity::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + if (value == nullptr) + { + cppValue.SetNull(); + } + else + { + auto & nonNullValue_0 = cppValue.SetNonNull(); + nonNullValue_0 = static_cast>( + chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + } + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ColorControlCluster, writeColorPointGXAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::ColorControl::Attributes::ColorPointGX::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ColorControlCluster, writeColorPointGYAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::ColorControl::Attributes::ColorPointGY::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ColorControlCluster, writeColorPointGIntensityAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::ColorControl::Attributes::ColorPointGIntensity::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + if (value == nullptr) + { + cppValue.SetNull(); + } + else + { + auto & nonNullValue_0 = cppValue.SetNonNull(); + nonNullValue_0 = static_cast>( + chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + } + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ColorControlCluster, writeColorPointBXAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::ColorControl::Attributes::ColorPointBX::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ColorControlCluster, writeColorPointBYAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::ColorControl::Attributes::ColorPointBY::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ColorControlCluster, writeColorPointBIntensityAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::ColorControl::Attributes::ColorPointBIntensity::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + if (value == nullptr) + { + cppValue.SetNull(); + } + else + { + auto & nonNullValue_0 = cppValue.SetNonNull(); + nonNullValue_0 = static_cast>( + chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + } + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ColorControlCluster, writeStartUpColorTemperatureMiredsAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::ColorControl::Attributes::StartUpColorTemperatureMireds::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + if (value == nullptr) + { + cppValue.SetNull(); + } + else + { + auto & nonNullValue_0 = cppValue.SetNonNull(); + nonNullValue_0 = static_cast>( + chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + } + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, BallastConfigurationCluster, writeMinLevelAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::BallastConfiguration::Attributes::MinLevel::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + BallastConfigurationCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, BallastConfigurationCluster, writeMaxLevelAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::BallastConfiguration::Attributes::MaxLevel::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + BallastConfigurationCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, BallastConfigurationCluster, writeIntrinsicBallastFactorAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::BallastConfiguration::Attributes::IntrinsicBallastFactor::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + if (value == nullptr) + { + cppValue.SetNull(); + } + else + { + auto & nonNullValue_0 = cppValue.SetNonNull(); + nonNullValue_0 = static_cast>( + chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + } + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + BallastConfigurationCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, BallastConfigurationCluster, writeBallastFactorAdjustmentAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::BallastConfiguration::Attributes::BallastFactorAdjustment::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + if (value == nullptr) + { + cppValue.SetNull(); + } + else + { + auto & nonNullValue_0 = cppValue.SetNonNull(); + nonNullValue_0 = static_cast>( + chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + } + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + BallastConfigurationCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, BallastConfigurationCluster, writeLampTypeAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jstring value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::BallastConfiguration::Attributes::LampType::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cleanupStrings.push_back(chip::Platform::MakeUnique(env, static_cast(value))); + cppValue = cleanupStrings.back()->charSpan(); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + BallastConfigurationCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, BallastConfigurationCluster, writeLampManufacturerAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jstring value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::BallastConfiguration::Attributes::LampManufacturer::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cleanupStrings.push_back(chip::Platform::MakeUnique(env, static_cast(value))); + cppValue = cleanupStrings.back()->charSpan(); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + BallastConfigurationCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, BallastConfigurationCluster, writeLampRatedHoursAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::BallastConfiguration::Attributes::LampRatedHours::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + if (value == nullptr) + { + cppValue.SetNull(); + } + else + { + auto & nonNullValue_0 = cppValue.SetNonNull(); + nonNullValue_0 = static_cast>( + chip::JniReferences::GetInstance().LongToPrimitive(value)); + } + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + BallastConfigurationCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, BallastConfigurationCluster, writeLampBurnHoursAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::BallastConfiguration::Attributes::LampBurnHours::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + if (value == nullptr) + { + cppValue.SetNull(); + } + else + { + auto & nonNullValue_0 = cppValue.SetNonNull(); + nonNullValue_0 = static_cast>( + chip::JniReferences::GetInstance().LongToPrimitive(value)); + } + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + BallastConfigurationCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, BallastConfigurationCluster, writeLampAlarmModeAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::BallastConfiguration::Attributes::LampAlarmMode::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + BallastConfigurationCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -5051,12 +6985,12 @@ JNI_METHOD(void, ColorControlCluster, writeColorPointRYAttribute) onFailure.release(); } -JNI_METHOD(void, ColorControlCluster, writeColorPointRIntensityAttribute) +JNI_METHOD(void, BallastConfigurationCluster, writeLampBurnHoursTripPointAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::ColorControl::Attributes::ColorPointRIntensity::TypeInfo; + using TypeInfo = chip::app::Clusters::BallastConfiguration::Attributes::LampBurnHoursTripPoint::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -5070,7 +7004,7 @@ JNI_METHOD(void, ColorControlCluster, writeColorPointRIntensityAttribute) { auto & nonNullValue_0 = cppValue.SetNonNull(); nonNullValue_0 = static_cast>( - chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + chip::JniReferences::GetInstance().LongToPrimitive(value)); } std::unique_ptr onSuccess( @@ -5085,8 +7019,8 @@ JNI_METHOD(void, ColorControlCluster, writeColorPointRIntensityAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + BallastConfigurationCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -5111,12 +7045,12 @@ JNI_METHOD(void, ColorControlCluster, writeColorPointRIntensityAttribute) onFailure.release(); } -JNI_METHOD(void, ColorControlCluster, writeColorPointGXAttribute) +JNI_METHOD(void, OccupancySensingCluster, writePIROccupiedToUnoccupiedDelayAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::ColorControl::Attributes::ColorPointGX::TypeInfo; + using TypeInfo = chip::app::Clusters::OccupancySensing::Attributes::PIROccupiedToUnoccupiedDelay::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -5137,8 +7071,8 @@ JNI_METHOD(void, ColorControlCluster, writeColorPointGXAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + OccupancySensingCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -5163,12 +7097,12 @@ JNI_METHOD(void, ColorControlCluster, writeColorPointGXAttribute) onFailure.release(); } -JNI_METHOD(void, ColorControlCluster, writeColorPointGYAttribute) +JNI_METHOD(void, OccupancySensingCluster, writePIRUnoccupiedToOccupiedDelayAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::ColorControl::Attributes::ColorPointGY::TypeInfo; + using TypeInfo = chip::app::Clusters::OccupancySensing::Attributes::PIRUnoccupiedToOccupiedDelay::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -5189,8 +7123,8 @@ JNI_METHOD(void, ColorControlCluster, writeColorPointGYAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + OccupancySensingCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -5215,27 +7149,19 @@ JNI_METHOD(void, ColorControlCluster, writeColorPointGYAttribute) onFailure.release(); } -JNI_METHOD(void, ColorControlCluster, writeColorPointGIntensityAttribute) +JNI_METHOD(void, OccupancySensingCluster, writePIRUnoccupiedToOccupiedThresholdAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::ColorControl::Attributes::ColorPointGIntensity::TypeInfo; + using TypeInfo = chip::app::Clusters::OccupancySensing::Attributes::PIRUnoccupiedToOccupiedThreshold::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - if (value == nullptr) - { - cppValue.SetNull(); - } - else - { - auto & nonNullValue_0 = cppValue.SetNonNull(); - nonNullValue_0 = static_cast>( - chip::JniReferences::GetInstance().IntegerToPrimitive(value)); - } + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -5249,8 +7175,8 @@ JNI_METHOD(void, ColorControlCluster, writeColorPointGIntensityAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + OccupancySensingCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -5275,12 +7201,12 @@ JNI_METHOD(void, ColorControlCluster, writeColorPointGIntensityAttribute) onFailure.release(); } -JNI_METHOD(void, ColorControlCluster, writeColorPointBXAttribute) +JNI_METHOD(void, OccupancySensingCluster, writeUltrasonicOccupiedToUnoccupiedDelayAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::ColorControl::Attributes::ColorPointBX::TypeInfo; + using TypeInfo = chip::app::Clusters::OccupancySensing::Attributes::UltrasonicOccupiedToUnoccupiedDelay::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -5301,8 +7227,8 @@ JNI_METHOD(void, ColorControlCluster, writeColorPointBXAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + OccupancySensingCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -5327,12 +7253,12 @@ JNI_METHOD(void, ColorControlCluster, writeColorPointBXAttribute) onFailure.release(); } -JNI_METHOD(void, ColorControlCluster, writeColorPointBYAttribute) +JNI_METHOD(void, OccupancySensingCluster, writeUltrasonicUnoccupiedToOccupiedDelayAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::ColorControl::Attributes::ColorPointBY::TypeInfo; + using TypeInfo = chip::app::Clusters::OccupancySensing::Attributes::UltrasonicUnoccupiedToOccupiedDelay::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -5353,8 +7279,8 @@ JNI_METHOD(void, ColorControlCluster, writeColorPointBYAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + OccupancySensingCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -5379,27 +7305,19 @@ JNI_METHOD(void, ColorControlCluster, writeColorPointBYAttribute) onFailure.release(); } -JNI_METHOD(void, ColorControlCluster, writeColorPointBIntensityAttribute) +JNI_METHOD(void, OccupancySensingCluster, writeUltrasonicUnoccupiedToOccupiedThresholdAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::ColorControl::Attributes::ColorPointBIntensity::TypeInfo; + using TypeInfo = chip::app::Clusters::OccupancySensing::Attributes::UltrasonicUnoccupiedToOccupiedThreshold::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - if (value == nullptr) - { - cppValue.SetNull(); - } - else - { - auto & nonNullValue_0 = cppValue.SetNonNull(); - nonNullValue_0 = static_cast>( - chip::JniReferences::GetInstance().IntegerToPrimitive(value)); - } + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -5413,8 +7331,8 @@ JNI_METHOD(void, ColorControlCluster, writeColorPointBIntensityAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + OccupancySensingCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -5439,27 +7357,19 @@ JNI_METHOD(void, ColorControlCluster, writeColorPointBIntensityAttribute) onFailure.release(); } -JNI_METHOD(void, ColorControlCluster, writeStartUpColorTemperatureMiredsAttribute) +JNI_METHOD(void, OccupancySensingCluster, writePhysicalContactOccupiedToUnoccupiedDelayAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::ColorControl::Attributes::StartUpColorTemperatureMireds::TypeInfo; + using TypeInfo = chip::app::Clusters::OccupancySensing::Attributes::PhysicalContactOccupiedToUnoccupiedDelay::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - if (value == nullptr) - { - cppValue.SetNull(); - } - else - { - auto & nonNullValue_0 = cppValue.SetNonNull(); - nonNullValue_0 = static_cast>( - chip::JniReferences::GetInstance().IntegerToPrimitive(value)); - } + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -5473,8 +7383,8 @@ JNI_METHOD(void, ColorControlCluster, writeStartUpColorTemperatureMiredsAttribut chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ColorControlCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + OccupancySensingCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -5499,12 +7409,12 @@ JNI_METHOD(void, ColorControlCluster, writeStartUpColorTemperatureMiredsAttribut onFailure.release(); } -JNI_METHOD(void, BallastConfigurationCluster, writeMinLevelAttribute) +JNI_METHOD(void, OccupancySensingCluster, writePhysicalContactUnoccupiedToOccupiedDelayAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::BallastConfiguration::Attributes::MinLevel::TypeInfo; + using TypeInfo = chip::app::Clusters::OccupancySensing::Attributes::PhysicalContactUnoccupiedToOccupiedDelay::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -5525,8 +7435,8 @@ JNI_METHOD(void, BallastConfigurationCluster, writeMinLevelAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - BallastConfigurationCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + OccupancySensingCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -5551,12 +7461,12 @@ JNI_METHOD(void, BallastConfigurationCluster, writeMinLevelAttribute) onFailure.release(); } -JNI_METHOD(void, BallastConfigurationCluster, writeMaxLevelAttribute) +JNI_METHOD(void, OccupancySensingCluster, writePhysicalContactUnoccupiedToOccupiedThresholdAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::BallastConfiguration::Attributes::MaxLevel::TypeInfo; + using TypeInfo = chip::app::Clusters::OccupancySensing::Attributes::PhysicalContactUnoccupiedToOccupiedThreshold::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -5577,8 +7487,8 @@ JNI_METHOD(void, BallastConfigurationCluster, writeMaxLevelAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - BallastConfigurationCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + OccupancySensingCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -5603,27 +7513,18 @@ JNI_METHOD(void, BallastConfigurationCluster, writeMaxLevelAttribute) onFailure.release(); } -JNI_METHOD(void, BallastConfigurationCluster, writeIntrinsicBallastFactorAttribute) +JNI_METHOD(void, ContentLauncherCluster, writeSupportedStreamingProtocolsAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::BallastConfiguration::Attributes::IntrinsicBallastFactor::TypeInfo; + using TypeInfo = chip::app::Clusters::ContentLauncher::Attributes::SupportedStreamingProtocols::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - if (value == nullptr) - { - cppValue.SetNull(); - } - else - { - auto & nonNullValue_0 = cppValue.SetNonNull(); - nonNullValue_0 = static_cast>( - chip::JniReferences::GetInstance().IntegerToPrimitive(value)); - } + cppValue = static_cast>(chip::JniReferences::GetInstance().LongToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -5637,8 +7538,8 @@ JNI_METHOD(void, BallastConfigurationCluster, writeIntrinsicBallastFactorAttribu chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - BallastConfigurationCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + ContentLauncherCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -5663,27 +7564,19 @@ JNI_METHOD(void, BallastConfigurationCluster, writeIntrinsicBallastFactorAttribu onFailure.release(); } -JNI_METHOD(void, BallastConfigurationCluster, writeBallastFactorAdjustmentAttribute) +JNI_METHOD(void, ElectricalMeasurementCluster, writeAverageRmsVoltageMeasurementPeriodAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::BallastConfiguration::Attributes::BallastFactorAdjustment::TypeInfo; + using TypeInfo = chip::app::Clusters::ElectricalMeasurement::Attributes::AverageRmsVoltageMeasurementPeriod::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - if (value == nullptr) - { - cppValue.SetNull(); - } - else - { - auto & nonNullValue_0 = cppValue.SetNonNull(); - nonNullValue_0 = static_cast>( - chip::JniReferences::GetInstance().IntegerToPrimitive(value)); - } + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -5697,8 +7590,8 @@ JNI_METHOD(void, BallastConfigurationCluster, writeBallastFactorAdjustmentAttrib chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - BallastConfigurationCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + ElectricalMeasurementCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -5723,19 +7616,19 @@ JNI_METHOD(void, BallastConfigurationCluster, writeBallastFactorAdjustmentAttrib onFailure.release(); } -JNI_METHOD(void, BallastConfigurationCluster, writeLampTypeAttribute) -(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jstring value, jobject timedWriteTimeoutMs) +JNI_METHOD(void, ElectricalMeasurementCluster, writeAverageRmsUnderVoltageCounterAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::BallastConfiguration::Attributes::LampType::TypeInfo; + using TypeInfo = chip::app::Clusters::ElectricalMeasurement::Attributes::AverageRmsUnderVoltageCounter::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - cleanupStrings.push_back(chip::Platform::MakeUnique(env, static_cast(value))); - cppValue = cleanupStrings.back()->charSpan(); + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -5749,8 +7642,8 @@ JNI_METHOD(void, BallastConfigurationCluster, writeLampTypeAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - BallastConfigurationCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + ElectricalMeasurementCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -5775,19 +7668,19 @@ JNI_METHOD(void, BallastConfigurationCluster, writeLampTypeAttribute) onFailure.release(); } -JNI_METHOD(void, BallastConfigurationCluster, writeLampManufacturerAttribute) -(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jstring value, jobject timedWriteTimeoutMs) +JNI_METHOD(void, ElectricalMeasurementCluster, writeRmsExtremeOverVoltagePeriodAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::BallastConfiguration::Attributes::LampManufacturer::TypeInfo; + using TypeInfo = chip::app::Clusters::ElectricalMeasurement::Attributes::RmsExtremeOverVoltagePeriod::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - cleanupStrings.push_back(chip::Platform::MakeUnique(env, static_cast(value))); - cppValue = cleanupStrings.back()->charSpan(); + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -5801,8 +7694,8 @@ JNI_METHOD(void, BallastConfigurationCluster, writeLampManufacturerAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - BallastConfigurationCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + ElectricalMeasurementCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -5827,27 +7720,19 @@ JNI_METHOD(void, BallastConfigurationCluster, writeLampManufacturerAttribute) onFailure.release(); } -JNI_METHOD(void, BallastConfigurationCluster, writeLampRatedHoursAttribute) +JNI_METHOD(void, ElectricalMeasurementCluster, writeRmsExtremeUnderVoltagePeriodAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::BallastConfiguration::Attributes::LampRatedHours::TypeInfo; + using TypeInfo = chip::app::Clusters::ElectricalMeasurement::Attributes::RmsExtremeUnderVoltagePeriod::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - if (value == nullptr) - { - cppValue.SetNull(); - } - else - { - auto & nonNullValue_0 = cppValue.SetNonNull(); - nonNullValue_0 = static_cast>( - chip::JniReferences::GetInstance().LongToPrimitive(value)); - } + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -5861,8 +7746,8 @@ JNI_METHOD(void, BallastConfigurationCluster, writeLampRatedHoursAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - BallastConfigurationCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + ElectricalMeasurementCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -5887,27 +7772,19 @@ JNI_METHOD(void, BallastConfigurationCluster, writeLampRatedHoursAttribute) onFailure.release(); } -JNI_METHOD(void, BallastConfigurationCluster, writeLampBurnHoursAttribute) +JNI_METHOD(void, ElectricalMeasurementCluster, writeRmsVoltageSagPeriodAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::BallastConfiguration::Attributes::LampBurnHours::TypeInfo; + using TypeInfo = chip::app::Clusters::ElectricalMeasurement::Attributes::RmsVoltageSagPeriod::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - if (value == nullptr) - { - cppValue.SetNull(); - } - else - { - auto & nonNullValue_0 = cppValue.SetNonNull(); - nonNullValue_0 = static_cast>( - chip::JniReferences::GetInstance().LongToPrimitive(value)); - } + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -5921,8 +7798,8 @@ JNI_METHOD(void, BallastConfigurationCluster, writeLampBurnHoursAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - BallastConfigurationCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + ElectricalMeasurementCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -5947,12 +7824,12 @@ JNI_METHOD(void, BallastConfigurationCluster, writeLampBurnHoursAttribute) onFailure.release(); } -JNI_METHOD(void, BallastConfigurationCluster, writeLampAlarmModeAttribute) +JNI_METHOD(void, ElectricalMeasurementCluster, writeRmsVoltageSwellPeriodAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::BallastConfiguration::Attributes::LampAlarmMode::TypeInfo; + using TypeInfo = chip::app::Clusters::ElectricalMeasurement::Attributes::RmsVoltageSwellPeriod::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; @@ -5973,8 +7850,8 @@ JNI_METHOD(void, BallastConfigurationCluster, writeLampAlarmModeAttribute) chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - BallastConfigurationCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + ElectricalMeasurementCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -5999,27 +7876,19 @@ JNI_METHOD(void, BallastConfigurationCluster, writeLampAlarmModeAttribute) onFailure.release(); } -JNI_METHOD(void, BallastConfigurationCluster, writeLampBurnHoursTripPointAttribute) +JNI_METHOD(void, ElectricalMeasurementCluster, writeOverloadAlarmsMaskAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::BallastConfiguration::Attributes::LampBurnHoursTripPoint::TypeInfo; + using TypeInfo = chip::app::Clusters::ElectricalMeasurement::Attributes::OverloadAlarmsMask::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - if (value == nullptr) - { - cppValue.SetNull(); - } - else - { - auto & nonNullValue_0 = cppValue.SetNonNull(); - nonNullValue_0 = static_cast>( - chip::JniReferences::GetInstance().LongToPrimitive(value)); - } + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -6033,8 +7902,8 @@ JNI_METHOD(void, BallastConfigurationCluster, writeLampBurnHoursTripPointAttribu chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - BallastConfigurationCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + ElectricalMeasurementCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -6059,18 +7928,19 @@ JNI_METHOD(void, BallastConfigurationCluster, writeLampBurnHoursTripPointAttribu onFailure.release(); } -JNI_METHOD(void, ContentLauncherCluster, writeSupportedStreamingProtocolsAttribute) +JNI_METHOD(void, ElectricalMeasurementCluster, writeAcOverloadAlarmsMaskAttribute) (JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) { chip::DeviceLayer::StackLock lock; ListFreer listFreer; - using TypeInfo = chip::app::Clusters::ContentLauncher::Attributes::SupportedStreamingProtocols::TypeInfo; + using TypeInfo = chip::app::Clusters::ElectricalMeasurement::Attributes::AcOverloadAlarmsMask::TypeInfo; TypeInfo::Type cppValue; std::vector> cleanupByteArrays; std::vector> cleanupStrings; - cppValue = static_cast>(chip::JniReferences::GetInstance().LongToPrimitive(value)); + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); std::unique_ptr onSuccess( Platform::New(callback), Platform::Delete); @@ -6084,8 +7954,8 @@ JNI_METHOD(void, ContentLauncherCluster, writeSupportedStreamingProtocolsAttribu chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); - CHIP_ERROR err = CHIP_NO_ERROR; - ContentLauncherCluster * cppCluster = reinterpret_cast(clusterPtr); + CHIP_ERROR err = CHIP_NO_ERROR; + ElectricalMeasurementCluster * cppCluster = reinterpret_cast(clusterPtr); VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); @@ -11127,4 +12997,56 @@ JNI_METHOD(void, UnitTestingCluster, writeNullableRangeRestrictedInt16sAttribute onFailure.release(); } +JNI_METHOD(void, UnitTestingCluster, writeWriteOnlyInt8uAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs) +{ + chip::DeviceLayer::StackLock lock; + ListFreer listFreer; + using TypeInfo = chip::app::Clusters::UnitTesting::Attributes::WriteOnlyInt8u::TypeInfo; + TypeInfo::Type cppValue; + + std::vector> cleanupByteArrays; + std::vector> cleanupStrings; + + cppValue = + static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value)); + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + UnitTestingCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException( + env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel()); + auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel()); + + if (timedWriteTimeoutMs == nullptr) + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall); + } + else + { + err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall, + chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs)); + } + VerifyOrReturn( + err == CHIP_NO_ERROR, + chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + #pragma clang diagnostic pop diff --git a/src/controller/java/zap-generated/CHIPReadCallbacks.cpp b/src/controller/java/zap-generated/CHIPReadCallbacks.cpp index c18d259c722f14..df497ef2dae1ad 100644 --- a/src/controller/java/zap-generated/CHIPReadCallbacks.cpp +++ b/src/controller/java/zap-generated/CHIPReadCallbacks.cpp @@ -1234,8 +1234,8 @@ void CHIPGroupsAttributeListAttributeCallback::CallbackFn(void * context, env->CallVoidMethod(javaCallbackRef, javaMethod, arrayListObj); } -CHIPScenesCurrentGroupAttributeCallback::CHIPScenesCurrentGroupAttributeCallback(jobject javaCallback, bool keepAlive) : - chip::Callback::Callback(CallbackFn, this), keepAlive(keepAlive) +CHIPScenesLastConfiguredByAttributeCallback::CHIPScenesLastConfiguredByAttributeCallback(jobject javaCallback, bool keepAlive) : + chip::Callback::Callback(CallbackFn, this), keepAlive(keepAlive) { JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread(); if (env == nullptr) @@ -1251,7 +1251,7 @@ CHIPScenesCurrentGroupAttributeCallback::CHIPScenesCurrentGroupAttributeCallback } } -CHIPScenesCurrentGroupAttributeCallback::~CHIPScenesCurrentGroupAttributeCallback() +CHIPScenesLastConfiguredByAttributeCallback::~CHIPScenesLastConfiguredByAttributeCallback() { JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread(); if (env == nullptr) @@ -1262,7 +1262,8 @@ CHIPScenesCurrentGroupAttributeCallback::~CHIPScenesCurrentGroupAttributeCallbac env->DeleteGlobalRef(javaCallbackRef); } -void CHIPScenesCurrentGroupAttributeCallback::CallbackFn(void * context, chip::GroupId value) +void CHIPScenesLastConfiguredByAttributeCallback::CallbackFn(void * context, + const chip::app::DataModel::Nullable & value) { chip::DeviceLayer::StackUnlock unlock; CHIP_ERROR err = CHIP_NO_ERROR; @@ -1270,8 +1271,8 @@ void CHIPScenesCurrentGroupAttributeCallback::CallbackFn(void * context, chip::G jobject javaCallbackRef; VerifyOrReturn(env != nullptr, ChipLogError(Zcl, "Could not get JNI env")); - std::unique_ptr cppCallback( - reinterpret_cast(context), maybeDestroy); + std::unique_ptr cppCallback( + reinterpret_cast(context), maybeDestroy); // It's valid for javaCallbackRef to be nullptr if the Java code passed in a null callback. javaCallbackRef = cppCallback.get()->javaCallbackRef; @@ -1279,14 +1280,21 @@ void CHIPScenesCurrentGroupAttributeCallback::CallbackFn(void * context, chip::G ChipLogProgress(Zcl, "Early return from attribute callback since Java callback is null")); jmethodID javaMethod; - err = chip::JniReferences::GetInstance().FindMethod(env, javaCallbackRef, "onSuccess", "(Ljava/lang/Integer;)V", &javaMethod); + err = chip::JniReferences::GetInstance().FindMethod(env, javaCallbackRef, "onSuccess", "(Ljava/lang/Long;)V", &javaMethod); VerifyOrReturn(err == CHIP_NO_ERROR, ChipLogError(Zcl, "Could not find onSuccess() method")); jobject javaValue; - std::string javaValueClassName = "java/lang/Integer"; - std::string javaValueCtorSignature = "(I)V"; - chip::JniReferences::GetInstance().CreateBoxedObject(javaValueClassName.c_str(), javaValueCtorSignature.c_str(), - value, javaValue); + if (value.IsNull()) + { + javaValue = nullptr; + } + else + { + std::string javaValueClassName = "java/lang/Long"; + std::string javaValueCtorSignature = "(J)V"; + chip::JniReferences::GetInstance().CreateBoxedObject(javaValueClassName.c_str(), javaValueCtorSignature.c_str(), + value.Value(), javaValue); + } env->CallVoidMethod(javaCallbackRef, javaMethod, javaValue); } diff --git a/src/controller/java/zap-generated/CHIPReadCallbacks.h b/src/controller/java/zap-generated/CHIPReadCallbacks.h index d775d78b98b981..4b7b4759b4af7a 100644 --- a/src/controller/java/zap-generated/CHIPReadCallbacks.h +++ b/src/controller/java/zap-generated/CHIPReadCallbacks.h @@ -627,27 +627,28 @@ class CHIPGroupsAttributeListAttributeCallback bool keepAlive; }; -class CHIPScenesCurrentGroupAttributeCallback : public chip::Callback::Callback +class CHIPScenesLastConfiguredByAttributeCallback + : public chip::Callback::Callback { public: - CHIPScenesCurrentGroupAttributeCallback(jobject javaCallback, bool keepAlive = false); + CHIPScenesLastConfiguredByAttributeCallback(jobject javaCallback, bool keepAlive = false); - ~CHIPScenesCurrentGroupAttributeCallback(); + ~CHIPScenesLastConfiguredByAttributeCallback(); - static void maybeDestroy(CHIPScenesCurrentGroupAttributeCallback * callback) + static void maybeDestroy(CHIPScenesLastConfiguredByAttributeCallback * callback) { if (!callback->keepAlive) { callback->Cancel(); - chip::Platform::Delete(callback); + chip::Platform::Delete(callback); } } - static void CallbackFn(void * context, chip::GroupId value); + static void CallbackFn(void * context, const chip::app::DataModel::Nullable & value); static void OnSubscriptionEstablished(void * context, chip::SubscriptionId subscriptionId) { CHIP_ERROR err = chip::JniReferences::GetInstance().CallSubscriptionEstablished( - reinterpret_cast(context)->javaCallbackRef, subscriptionId); + reinterpret_cast(context)->javaCallbackRef, subscriptionId); VerifyOrReturn(err == CHIP_NO_ERROR, ChipLogError(Zcl, "Error calling onSubscriptionEstablished: %s", ErrorStr(err))); }; diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java b/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java index 124f92fb8ed419..4e2ba92b3566e3 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java @@ -852,8 +852,8 @@ void onSuccess( void onError(Exception error); } - public interface CurrentGroupAttributeCallback { - void onSuccess(Integer value); + public interface LastConfiguredByAttributeCallback { + void onSuccess(@Nullable Long value); void onError(Exception ex); @@ -910,12 +910,12 @@ public void subscribeCurrentSceneAttribute( subscribeCurrentSceneAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCurrentGroupAttribute(CurrentGroupAttributeCallback callback) { + public void readCurrentGroupAttribute(IntegerAttributeCallback callback) { readCurrentGroupAttribute(chipClusterPtr, callback); } public void subscribeCurrentGroupAttribute( - CurrentGroupAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback, int minInterval, int maxInterval) { subscribeCurrentGroupAttribute(chipClusterPtr, callback, minInterval, maxInterval); } @@ -937,6 +937,15 @@ public void subscribeNameSupportAttribute( subscribeNameSupportAttribute(chipClusterPtr, callback, minInterval, maxInterval); } + public void readLastConfiguredByAttribute(LastConfiguredByAttributeCallback callback) { + readLastConfiguredByAttribute(chipClusterPtr, callback); + } + + public void subscribeLastConfiguredByAttribute( + LastConfiguredByAttributeCallback callback, int minInterval, int maxInterval) { + subscribeLastConfiguredByAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } @@ -1004,13 +1013,10 @@ private native void subscribeCurrentSceneAttribute( long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); private native void readCurrentGroupAttribute( - long chipClusterPtr, CurrentGroupAttributeCallback callback); + long chipClusterPtr, IntegerAttributeCallback callback); private native void subscribeCurrentGroupAttribute( - long chipClusterPtr, - CurrentGroupAttributeCallback callback, - int minInterval, - int maxInterval); + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); private native void readSceneValidAttribute( long chipClusterPtr, BooleanAttributeCallback callback); @@ -1024,6 +1030,15 @@ private native void readNameSupportAttribute( 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 readGeneratedCommandListAttribute( long chipClusterPtr, GeneratedCommandListAttributeCallback callback); @@ -2469,6 +2484,60 @@ public interface AttributeListAttributeCallback { default void onSubscriptionEstablished(long subscriptionId) {} } + 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) { + writeActiveTextAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + + public void subscribeActiveTextAttribute( + CharStringAttributeCallback callback, int minInterval, int maxInterval) { + subscribeActiveTextAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + + 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) { + writeDescriptionAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + + public void subscribeDescriptionAttribute( + CharStringAttributeCallback callback, int minInterval, int maxInterval) { + subscribeDescriptionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + + 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) { + writeInactiveTextAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + + public void subscribeInactiveTextAttribute( + CharStringAttributeCallback callback, int minInterval, int maxInterval) { + subscribeInactiveTextAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + public void readOutOfServiceAttribute(BooleanAttributeCallback callback) { readOutOfServiceAttribute(chipClusterPtr, callback); } @@ -2487,6 +2556,15 @@ public void subscribeOutOfServiceAttribute( subscribeOutOfServiceAttribute(chipClusterPtr, callback, minInterval, maxInterval); } + public void readPolarityAttribute(IntegerAttributeCallback callback) { + readPolarityAttribute(chipClusterPtr, callback); + } + + public void subscribePolarityAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePolarityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + public void readPresentValueAttribute(BooleanAttributeCallback callback) { readPresentValueAttribute(chipClusterPtr, callback); } @@ -2505,6 +2583,24 @@ public void subscribePresentValueAttribute( subscribePresentValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } + 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) { + writeReliabilityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + + public void subscribeReliabilityAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeReliabilityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + public void readStatusFlagsAttribute(IntegerAttributeCallback callback) { readStatusFlagsAttribute(chipClusterPtr, callback); } @@ -2514,6 +2610,15 @@ public void subscribeStatusFlagsAttribute( subscribeStatusFlagsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } + public void readApplicationTypeAttribute(LongAttributeCallback callback) { + readApplicationTypeAttribute(chipClusterPtr, callback); + } + + public void subscribeApplicationTypeAttribute( + LongAttributeCallback callback, int minInterval, int maxInterval) { + subscribeApplicationTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } @@ -2568,6 +2673,51 @@ public void subscribeClusterRevisionAttribute( 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); @@ -2580,6 +2730,12 @@ private native void writeOutOfServiceAttribute( 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); @@ -2592,12 +2748,30 @@ private native void writePresentValueAttribute( 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); @@ -13046,6 +13220,60 @@ public void subscribeDoorStateAttribute( subscribeDoorStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } + public void readDoorOpenEventsAttribute(LongAttributeCallback callback) { + readDoorOpenEventsAttribute(chipClusterPtr, callback); + } + + public void writeDoorOpenEventsAttribute(DefaultClusterCallback callback, Long value) { + writeDoorOpenEventsAttribute(chipClusterPtr, callback, value, null); + } + + public void writeDoorOpenEventsAttribute( + DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeDoorOpenEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + + public void subscribeDoorOpenEventsAttribute( + LongAttributeCallback callback, int minInterval, int maxInterval) { + subscribeDoorOpenEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readDoorClosedEventsAttribute(LongAttributeCallback callback) { + readDoorClosedEventsAttribute(chipClusterPtr, callback); + } + + public void writeDoorClosedEventsAttribute(DefaultClusterCallback callback, Long value) { + writeDoorClosedEventsAttribute(chipClusterPtr, callback, value, null); + } + + public void writeDoorClosedEventsAttribute( + DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeDoorClosedEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + + public void subscribeDoorClosedEventsAttribute( + LongAttributeCallback callback, int minInterval, int maxInterval) { + subscribeDoorClosedEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readOpenPeriodAttribute(IntegerAttributeCallback callback) { + readOpenPeriodAttribute(chipClusterPtr, callback); + } + + public void writeOpenPeriodAttribute(DefaultClusterCallback callback, Integer value) { + writeOpenPeriodAttribute(chipClusterPtr, callback, value, null); + } + + public void writeOpenPeriodAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOpenPeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + + public void subscribeOpenPeriodAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeOpenPeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + public void readNumberOfTotalUsersSupportedAttribute(IntegerAttributeCallback callback) { readNumberOfTotalUsersSupportedAttribute(chipClusterPtr, callback); } @@ -13144,6 +13372,15 @@ public void subscribeMinRFIDCodeLengthAttribute( subscribeMinRFIDCodeLengthAttribute(chipClusterPtr, callback, minInterval, maxInterval); } + public void readCredentialRulesSupportAttribute(IntegerAttributeCallback callback) { + readCredentialRulesSupportAttribute(chipClusterPtr, callback); + } + + public void subscribeCredentialRulesSupportAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeCredentialRulesSupportAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + public void readNumberOfCredentialsSupportedPerUserAttribute( IntegerAttributeCallback callback) { readNumberOfCredentialsSupportedPerUserAttribute(chipClusterPtr, callback); @@ -13173,6 +13410,24 @@ public void subscribeLanguageAttribute( subscribeLanguageAttribute(chipClusterPtr, callback, minInterval, maxInterval); } + public void readLEDSettingsAttribute(IntegerAttributeCallback callback) { + readLEDSettingsAttribute(chipClusterPtr, callback); + } + + public void writeLEDSettingsAttribute(DefaultClusterCallback callback, Integer value) { + writeLEDSettingsAttribute(chipClusterPtr, callback, value, null); + } + + 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); + } + public void readAutoRelockTimeAttribute(LongAttributeCallback callback) { readAutoRelockTimeAttribute(chipClusterPtr, callback); } @@ -13236,6 +13491,35 @@ public void subscribeSupportedOperatingModesAttribute( subscribeSupportedOperatingModesAttribute(chipClusterPtr, callback, minInterval, maxInterval); } + public void readDefaultConfigurationRegisterAttribute(IntegerAttributeCallback callback) { + readDefaultConfigurationRegisterAttribute(chipClusterPtr, callback); + } + + public void subscribeDefaultConfigurationRegisterAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeDefaultConfigurationRegisterAttribute( + chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readEnableLocalProgrammingAttribute(BooleanAttributeCallback callback) { + readEnableLocalProgrammingAttribute(chipClusterPtr, callback); + } + + public void writeEnableLocalProgrammingAttribute( + DefaultClusterCallback callback, Boolean value) { + writeEnableLocalProgrammingAttribute(chipClusterPtr, callback, value, null); + } + + 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); + } + public void readEnableOneTouchLockingAttribute(BooleanAttributeCallback callback) { readEnableOneTouchLockingAttribute(chipClusterPtr, callback); } @@ -13255,6 +13539,25 @@ public void subscribeEnableOneTouchLockingAttribute( subscribeEnableOneTouchLockingAttribute(chipClusterPtr, callback, minInterval, maxInterval); } + public void readEnableInsideStatusLEDAttribute(BooleanAttributeCallback callback) { + readEnableInsideStatusLEDAttribute(chipClusterPtr, callback); + } + + public void writeEnableInsideStatusLEDAttribute( + DefaultClusterCallback callback, Boolean value) { + writeEnableInsideStatusLEDAttribute(chipClusterPtr, callback, value, null); + } + + 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 void readEnablePrivacyModeButtonAttribute(BooleanAttributeCallback callback) { readEnablePrivacyModeButtonAttribute(chipClusterPtr, callback); } @@ -13274,6 +13577,26 @@ public void subscribeEnablePrivacyModeButtonAttribute( subscribeEnablePrivacyModeButtonAttribute(chipClusterPtr, callback, minInterval, maxInterval); } + public void readLocalProgrammingFeaturesAttribute(IntegerAttributeCallback callback) { + readLocalProgrammingFeaturesAttribute(chipClusterPtr, callback); + } + + public void writeLocalProgrammingFeaturesAttribute( + DefaultClusterCallback callback, Integer value) { + writeLocalProgrammingFeaturesAttribute(chipClusterPtr, callback, value, null); + } + + 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); + } + public void readWrongCodeEntryLimitAttribute(IntegerAttributeCallback callback) { readWrongCodeEntryLimitAttribute(chipClusterPtr, callback); } @@ -13313,6 +13636,24 @@ public void subscribeUserCodeTemporaryDisableTimeAttribute( chipClusterPtr, callback, minInterval, maxInterval); } + public void readSendPINOverTheAirAttribute(BooleanAttributeCallback callback) { + readSendPINOverTheAirAttribute(chipClusterPtr, callback); + } + + public void writeSendPINOverTheAirAttribute(DefaultClusterCallback callback, Boolean value) { + writeSendPINOverTheAirAttribute(chipClusterPtr, callback, value, null); + } + + 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 readRequirePINforRemoteOperationAttribute(BooleanAttributeCallback callback) { readRequirePINforRemoteOperationAttribute(chipClusterPtr, callback); } @@ -13334,6 +13675,24 @@ public void subscribeRequirePINforRemoteOperationAttribute( chipClusterPtr, callback, minInterval, maxInterval); } + public void readExpiringUserTimeoutAttribute(IntegerAttributeCallback callback) { + readExpiringUserTimeoutAttribute(chipClusterPtr, callback); + } + + public void writeExpiringUserTimeoutAttribute(DefaultClusterCallback callback, Integer value) { + writeExpiringUserTimeoutAttribute(chipClusterPtr, callback, value, null); + } + + 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) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } @@ -13412,25 +13771,61 @@ private native void readDoorStateAttribute( private native void subscribeDoorStateAttribute( long chipClusterPtr, DoorStateAttributeCallback callback, int minInterval, int maxInterval); - private native void readNumberOfTotalUsersSupportedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + private native void readDoorOpenEventsAttribute( + long chipClusterPtr, LongAttributeCallback callback); - private native void subscribeNumberOfTotalUsersSupportedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void writeDoorOpenEventsAttribute( + long chipClusterPtr, + DefaultClusterCallback callback, + Long value, + @Nullable Integer timedWriteTimeoutMs); - private native void readNumberOfPINUsersSupportedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + private native void subscribeDoorOpenEventsAttribute( + long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - private native void subscribeNumberOfPINUsersSupportedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readDoorClosedEventsAttribute( + long chipClusterPtr, LongAttributeCallback callback); - private native void readNumberOfRFIDUsersSupportedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + private native void writeDoorClosedEventsAttribute( + long chipClusterPtr, + DefaultClusterCallback callback, + Long value, + @Nullable Integer timedWriteTimeoutMs); - private native void subscribeNumberOfRFIDUsersSupportedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void subscribeDoorClosedEventsAttribute( + long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - private native void readNumberOfWeekDaySchedulesSupportedPerUserAttribute( + 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( @@ -13472,6 +13867,12 @@ private native void readMinRFIDCodeLengthAttribute( 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); @@ -13493,6 +13894,18 @@ private native void subscribeLanguageAttribute( 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); @@ -13535,6 +13948,24 @@ private native void readSupportedOperatingModesAttribute( 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); @@ -13547,6 +13978,18 @@ private native void writeEnableOneTouchLockingAttribute( 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); @@ -13559,6 +14002,18 @@ private native void writeEnablePrivacyModeButtonAttribute( 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); @@ -13583,6 +14038,18 @@ private native void writeUserCodeTemporaryDisableTimeAttribute( 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); @@ -13595,6 +14062,18 @@ private native void writeRequirePINforRemoteOperationAttribute( 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); @@ -14438,6 +14917,118 @@ public void subscribeBarrierCapabilitiesAttribute( subscribeBarrierCapabilitiesAttribute(chipClusterPtr, callback, minInterval, maxInterval); } + public void readBarrierOpenEventsAttribute(IntegerAttributeCallback callback) { + readBarrierOpenEventsAttribute(chipClusterPtr, callback); + } + + public void writeBarrierOpenEventsAttribute(DefaultClusterCallback callback, Integer value) { + writeBarrierOpenEventsAttribute(chipClusterPtr, callback, value, null); + } + + public void writeBarrierOpenEventsAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierOpenEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + + public void subscribeBarrierOpenEventsAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeBarrierOpenEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readBarrierCloseEventsAttribute(IntegerAttributeCallback callback) { + readBarrierCloseEventsAttribute(chipClusterPtr, callback); + } + + public void writeBarrierCloseEventsAttribute(DefaultClusterCallback callback, Integer value) { + writeBarrierCloseEventsAttribute(chipClusterPtr, callback, value, null); + } + + public void writeBarrierCloseEventsAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierCloseEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + + public void subscribeBarrierCloseEventsAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeBarrierCloseEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readBarrierCommandOpenEventsAttribute(IntegerAttributeCallback callback) { + readBarrierCommandOpenEventsAttribute(chipClusterPtr, callback); + } + + public void writeBarrierCommandOpenEventsAttribute( + DefaultClusterCallback callback, Integer value) { + writeBarrierCommandOpenEventsAttribute(chipClusterPtr, callback, value, null); + } + + public void writeBarrierCommandOpenEventsAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierCommandOpenEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + + public void subscribeBarrierCommandOpenEventsAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeBarrierCommandOpenEventsAttribute( + chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readBarrierCommandCloseEventsAttribute(IntegerAttributeCallback callback) { + readBarrierCommandCloseEventsAttribute(chipClusterPtr, callback); + } + + public void writeBarrierCommandCloseEventsAttribute( + DefaultClusterCallback callback, Integer value) { + writeBarrierCommandCloseEventsAttribute(chipClusterPtr, callback, value, null); + } + + public void writeBarrierCommandCloseEventsAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierCommandCloseEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + + public void subscribeBarrierCommandCloseEventsAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeBarrierCommandCloseEventsAttribute( + chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readBarrierOpenPeriodAttribute(IntegerAttributeCallback callback) { + readBarrierOpenPeriodAttribute(chipClusterPtr, callback); + } + + public void writeBarrierOpenPeriodAttribute(DefaultClusterCallback callback, Integer value) { + writeBarrierOpenPeriodAttribute(chipClusterPtr, callback, value, null); + } + + public void writeBarrierOpenPeriodAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierOpenPeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + + public void subscribeBarrierOpenPeriodAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeBarrierOpenPeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readBarrierClosePeriodAttribute(IntegerAttributeCallback callback) { + readBarrierClosePeriodAttribute(chipClusterPtr, callback); + } + + public void writeBarrierClosePeriodAttribute(DefaultClusterCallback callback, Integer value) { + writeBarrierClosePeriodAttribute(chipClusterPtr, callback, value, null); + } + + public void writeBarrierClosePeriodAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierClosePeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + + public void subscribeBarrierClosePeriodAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeBarrierClosePeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + public void readBarrierPositionAttribute(IntegerAttributeCallback callback) { readBarrierPositionAttribute(chipClusterPtr, callback); } @@ -14519,6 +15110,78 @@ private native void readBarrierCapabilitiesAttribute( 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); @@ -21510,64 +22173,260 @@ public void subscribeOccupancySensorTypeBitmapAttribute( chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void readPIROccupiedToUnoccupiedDelayAttribute(IntegerAttributeCallback callback) { + readPIROccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writePIROccupiedToUnoccupiedDelayAttribute( + DefaultClusterCallback callback, Integer value) { + writePIROccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, null); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void writePIROccupiedToUnoccupiedDelayAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writePIROccupiedToUnoccupiedDelayAttribute( + chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePIROccupiedToUnoccupiedDelayAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePIROccupiedToUnoccupiedDelayAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + public void readPIRUnoccupiedToOccupiedDelayAttribute(IntegerAttributeCallback callback) { + readPIRUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writePIRUnoccupiedToOccupiedDelayAttribute( + DefaultClusterCallback callback, Integer value) { + writePIRUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, null); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void writePIRUnoccupiedToOccupiedDelayAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writePIRUnoccupiedToOccupiedDelayAttribute( + chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePIRUnoccupiedToOccupiedDelayAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePIRUnoccupiedToOccupiedDelayAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void readPIRUnoccupiedToOccupiedThresholdAttribute(IntegerAttributeCallback callback) { + readPIRUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writePIRUnoccupiedToOccupiedThresholdAttribute( + DefaultClusterCallback callback, Integer value) { + writePIRUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, null); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void writePIRUnoccupiedToOccupiedThresholdAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writePIRUnoccupiedToOccupiedThresholdAttribute( + chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeClusterRevisionAttribute( + public void subscribePIRUnoccupiedToOccupiedThresholdAttribute( IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + subscribePIRUnoccupiedToOccupiedThresholdAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - private native void readOccupancyAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readUltrasonicOccupiedToUnoccupiedDelayAttribute( + IntegerAttributeCallback callback) { + readUltrasonicOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback); + } - private native void subscribeOccupancyAttribute( + 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 writeUltrasonicUnoccupiedToOccupiedDelayAttribute( + DefaultClusterCallback callback, Integer value) { + writeUltrasonicUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, null); + } + + public void writeUltrasonicUnoccupiedToOccupiedDelayAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeUltrasonicUnoccupiedToOccupiedDelayAttribute( + chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + + public void subscribeUltrasonicUnoccupiedToOccupiedDelayAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeUltrasonicUnoccupiedToOccupiedDelayAttribute( + chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readUltrasonicUnoccupiedToOccupiedThresholdAttribute( + IntegerAttributeCallback callback) { + readUltrasonicUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback); + } + + public void writeUltrasonicUnoccupiedToOccupiedThresholdAttribute( + DefaultClusterCallback callback, Integer value) { + writeUltrasonicUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, null); + } + + public void writeUltrasonicUnoccupiedToOccupiedThresholdAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeUltrasonicUnoccupiedToOccupiedThresholdAttribute( + chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + + public void subscribeUltrasonicUnoccupiedToOccupiedThresholdAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeUltrasonicUnoccupiedToOccupiedThresholdAttribute( + chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readPhysicalContactOccupiedToUnoccupiedDelayAttribute( + IntegerAttributeCallback callback) { + readPhysicalContactOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback); + } + + public void writePhysicalContactOccupiedToUnoccupiedDelayAttribute( + DefaultClusterCallback callback, Integer value) { + writePhysicalContactOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, null); + } + + public void writePhysicalContactOccupiedToUnoccupiedDelayAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writePhysicalContactOccupiedToUnoccupiedDelayAttribute( + chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + + public void subscribePhysicalContactOccupiedToUnoccupiedDelayAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePhysicalContactOccupiedToUnoccupiedDelayAttribute( + chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readPhysicalContactUnoccupiedToOccupiedDelayAttribute( + IntegerAttributeCallback callback) { + readPhysicalContactUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback); + } + + public void writePhysicalContactUnoccupiedToOccupiedDelayAttribute( + DefaultClusterCallback callback, Integer value) { + writePhysicalContactUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, null); + } + + 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 readPhysicalContactUnoccupiedToOccupiedThresholdAttribute( + IntegerAttributeCallback callback) { + readPhysicalContactUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback); + } + + public void writePhysicalContactUnoccupiedToOccupiedThresholdAttribute( + DefaultClusterCallback callback, Integer value) { + writePhysicalContactUnoccupiedToOccupiedThresholdAttribute( + chipClusterPtr, callback, value, null); + } + + 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) { + 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 readOccupancyAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); + + private native void subscribeOccupancyAttribute( long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); private native void readOccupancySensorTypeAttribute( @@ -21582,6 +22441,114 @@ private native void readOccupancySensorTypeBitmapAttribute( 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); @@ -24374,278 +25341,2201 @@ private native void subscribeAttributeListAttribute( int minInterval, int maxInterval); - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); + 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 subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + private native void subscribeRmsCurrentPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - private native void readClusterRevisionAttribute( + private native void readRmsCurrentMinPhaseBAttribute( long chipClusterPtr, IntegerAttributeCallback callback); - private native void subscribeClusterRevisionAttribute( + private native void subscribeRmsCurrentMinPhaseBAttribute( long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - public static class ElectricalMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 2820L; + private native void readRmsCurrentMaxPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public ElectricalMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } + private native void subscribeRmsCurrentMaxPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - @Override - public native long initWithDevice(long devicePtr, int endpointId); + private native void readActivePowerPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); + private native void subscribeActivePowerPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - void onError(Exception ex); + private native void readActivePowerMinPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - default void onSubscriptionEstablished(long subscriptionId) {} - } + private native void subscribeActivePowerMinPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); + private native void readActivePowerMaxPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - void onError(Exception ex); + private native void subscribeActivePowerMaxPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - default void onSubscriptionEstablished(long subscriptionId) {} - } + private native void readReactivePowerPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public interface EventListAttributeCallback { - void onSuccess(List valueList); + private native void subscribeReactivePowerPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - void onError(Exception ex); + private native void readApparentPowerPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - default void onSubscriptionEstablished(long subscriptionId) {} - } + private native void subscribeApparentPowerPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); + private native void readPowerFactorPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - void onError(Exception ex); + private native void subscribePowerFactorPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - default void onSubscriptionEstablished(long subscriptionId) {} - } + private native void readAverageRmsVoltageMeasurementPeriodPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readMeasurementTypeAttribute(LongAttributeCallback callback) { - readMeasurementTypeAttribute(chipClusterPtr, callback); - } + private native void subscribeAverageRmsVoltageMeasurementPeriodPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void subscribeMeasurementTypeAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readAverageRmsOverVoltageCounterPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readTotalActivePowerAttribute(LongAttributeCallback callback) { - readTotalActivePowerAttribute(chipClusterPtr, callback); - } + private native void subscribeAverageRmsOverVoltageCounterPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void subscribeTotalActivePowerAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTotalActivePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readAverageRmsUnderVoltageCounterPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readRmsVoltageAttribute(IntegerAttributeCallback callback) { - readRmsVoltageAttribute(chipClusterPtr, callback); - } + private native void subscribeAverageRmsUnderVoltageCounterPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void subscribeRmsVoltageAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readRmsExtremeOverVoltagePeriodPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readRmsVoltageMinAttribute(IntegerAttributeCallback callback) { - readRmsVoltageMinAttribute(chipClusterPtr, callback); - } + private native void subscribeRmsExtremeOverVoltagePeriodPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void subscribeRmsVoltageMinAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsVoltageMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readRmsExtremeUnderVoltagePeriodPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readRmsVoltageMaxAttribute(IntegerAttributeCallback callback) { - readRmsVoltageMaxAttribute(chipClusterPtr, callback); - } + private native void subscribeRmsExtremeUnderVoltagePeriodPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void subscribeRmsVoltageMaxAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsVoltageMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readRmsVoltageSagPeriodPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readRmsCurrentAttribute(IntegerAttributeCallback callback) { - readRmsCurrentAttribute(chipClusterPtr, callback); - } + private native void subscribeRmsVoltageSagPeriodPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void subscribeRmsCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readRmsVoltageSwellPeriodPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readRmsCurrentMinAttribute(IntegerAttributeCallback callback) { - readRmsCurrentMinAttribute(chipClusterPtr, callback); - } + private native void subscribeRmsVoltageSwellPeriodPhaseBAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void subscribeRmsCurrentMinAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsCurrentMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readLineCurrentPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readRmsCurrentMaxAttribute(IntegerAttributeCallback callback) { - readRmsCurrentMaxAttribute(chipClusterPtr, callback); - } + private native void subscribeLineCurrentPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void subscribeRmsCurrentMaxAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsCurrentMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readActiveCurrentPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readActivePowerAttribute(IntegerAttributeCallback callback) { - readActivePowerAttribute(chipClusterPtr, callback); - } + private native void subscribeActiveCurrentPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void subscribeActivePowerAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeActivePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readReactiveCurrentPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readActivePowerMinAttribute(IntegerAttributeCallback callback) { - readActivePowerMinAttribute(chipClusterPtr, callback); - } + private native void subscribeReactiveCurrentPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void subscribeActivePowerMinAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeActivePowerMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readRmsVoltagePhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readActivePowerMaxAttribute(IntegerAttributeCallback callback) { - readActivePowerMaxAttribute(chipClusterPtr, callback); - } + private native void subscribeRmsVoltagePhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void subscribeActivePowerMaxAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeActivePowerMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readRmsVoltageMinPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } + private native void subscribeRmsVoltageMinPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readRmsVoltageMaxPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } + private native void subscribeRmsVoltageMaxPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readRmsCurrentPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } + private native void subscribeRmsCurrentPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readRmsCurrentMinPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } + private native void subscribeRmsCurrentMinPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readRmsCurrentMaxPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } + private native void subscribeRmsCurrentMaxPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readActivePowerPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } + private native void subscribeActivePowerPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readActivePowerMinPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - private native void readMeasurementTypeAttribute( - long chipClusterPtr, LongAttributeCallback callback); + private native void subscribeActivePowerMinPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - private native void subscribeMeasurementTypeAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + private native void readActivePowerMaxPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - private native void readTotalActivePowerAttribute( - long chipClusterPtr, LongAttributeCallback callback); + private native void subscribeActivePowerMaxPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - private native void subscribeTotalActivePowerAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + private native void readReactivePowerPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - private native void readRmsVoltageAttribute( + private native void subscribeReactivePowerPhaseCAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + + private native void readApparentPowerPhaseCAttribute( long chipClusterPtr, IntegerAttributeCallback callback); - private native void subscribeRmsVoltageAttribute( + private native void subscribeApparentPowerPhaseCAttribute( long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - private native void readRmsVoltageMinAttribute( + private native void readPowerFactorPhaseCAttribute( long chipClusterPtr, IntegerAttributeCallback callback); - private native void subscribeRmsVoltageMinAttribute( + private native void subscribePowerFactorPhaseCAttribute( long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - private native void readRmsVoltageMaxAttribute( + private native void readAverageRmsVoltageMeasurementPeriodPhaseCAttribute( long chipClusterPtr, IntegerAttributeCallback callback); - private native void subscribeRmsVoltageMaxAttribute( + private native void subscribeAverageRmsVoltageMeasurementPeriodPhaseCAttribute( long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - private native void readRmsCurrentAttribute( + private native void readAverageRmsOverVoltageCounterPhaseCAttribute( long chipClusterPtr, IntegerAttributeCallback callback); - private native void subscribeRmsCurrentAttribute( + private native void subscribeAverageRmsOverVoltageCounterPhaseCAttribute( long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - private native void readRmsCurrentMinAttribute( + private native void readAverageRmsUnderVoltageCounterPhaseCAttribute( long chipClusterPtr, IntegerAttributeCallback callback); - private native void subscribeRmsCurrentMinAttribute( + private native void subscribeAverageRmsUnderVoltageCounterPhaseCAttribute( long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - private native void readRmsCurrentMaxAttribute( + private native void readRmsExtremeOverVoltagePeriodPhaseCAttribute( long chipClusterPtr, IntegerAttributeCallback callback); - private native void subscribeRmsCurrentMaxAttribute( + private native void subscribeRmsExtremeOverVoltagePeriodPhaseCAttribute( long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - private native void readActivePowerAttribute( + private native void readRmsExtremeUnderVoltagePeriodPhaseCAttribute( long chipClusterPtr, IntegerAttributeCallback callback); - private native void subscribeActivePowerAttribute( + private native void subscribeRmsExtremeUnderVoltagePeriodPhaseCAttribute( long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - private native void readActivePowerMinAttribute( + private native void readRmsVoltageSagPeriodPhaseCAttribute( long chipClusterPtr, IntegerAttributeCallback callback); - private native void subscribeActivePowerMinAttribute( + private native void subscribeRmsVoltageSagPeriodPhaseCAttribute( long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - private native void readActivePowerMaxAttribute( + private native void readRmsVoltageSwellPeriodPhaseCAttribute( long chipClusterPtr, IntegerAttributeCallback callback); - private native void subscribeActivePowerMaxAttribute( + private native void subscribeRmsVoltageSwellPeriodPhaseCAttribute( long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); private native void readGeneratedCommandListAttribute( @@ -26122,12 +29012,12 @@ public void readListInt8uAttribute(ListInt8uAttributeCallback callback) { readListInt8uAttribute(chipClusterPtr, callback); } - public void writeListInt8uAttribute(DefaultClusterCallback callback, ArrayList value) { + public void writeListInt8uAttribute(DefaultClusterCallback callback, ArrayList value) { writeListInt8uAttribute(chipClusterPtr, callback, value, null); } public void writeListInt8uAttribute( - DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) { + DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) { writeListInt8uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } @@ -27106,6 +29996,24 @@ public void subscribeNullableRangeRestrictedInt16sAttribute( chipClusterPtr, callback, minInterval, maxInterval); } + 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) { + writeWriteOnlyInt8uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + + public void subscribeWriteOnlyInt8uAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeWriteOnlyInt8uAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } @@ -27461,7 +30369,7 @@ private native void readListInt8uAttribute( private native void writeListInt8uAttribute( long chipClusterPtr, DefaultClusterCallback callback, - ArrayList value, + ArrayList value, @Nullable Integer timedWriteTimeoutMs); private native void subscribeListInt8uAttribute( @@ -28209,6 +31117,18 @@ private native void subscribeNullableRangeRestrictedInt16sAttribute( 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); diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ChipIdLookup.java b/src/controller/java/zap-generated/chip/devicecontroller/ChipIdLookup.java index 980c4607f533af..3ec024468a2f3d 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ChipIdLookup.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ChipIdLookup.java @@ -298,6 +298,9 @@ public static String attributeIdToName(long clusterId, long attributeId) { if (attributeId == 4L) { return "NameSupport"; } + if (attributeId == 5L) { + return "LastConfiguredBy"; + } if (attributeId == 65528L) { return "GeneratedCommandList"; } @@ -445,15 +448,33 @@ public static String attributeIdToName(long clusterId, long attributeId) { return ""; } if (clusterId == 15L) { + if (attributeId == 4L) { + return "ActiveText"; + } + if (attributeId == 28L) { + return "Description"; + } + if (attributeId == 46L) { + return "InactiveText"; + } if (attributeId == 81L) { return "OutOfService"; } + if (attributeId == 84L) { + return "Polarity"; + } if (attributeId == 85L) { return "PresentValue"; } + if (attributeId == 103L) { + return "Reliability"; + } if (attributeId == 111L) { return "StatusFlags"; } + if (attributeId == 256L) { + return "ApplicationType"; + } if (attributeId == 65528L) { return "GeneratedCommandList"; } @@ -1774,6 +1795,15 @@ public static String attributeIdToName(long clusterId, long attributeId) { if (attributeId == 3L) { return "DoorState"; } + if (attributeId == 4L) { + return "DoorOpenEvents"; + } + if (attributeId == 5L) { + return "DoorClosedEvents"; + } + if (attributeId == 6L) { + return "OpenPeriod"; + } if (attributeId == 17L) { return "NumberOfTotalUsersSupported"; } @@ -1804,12 +1834,18 @@ public static String attributeIdToName(long clusterId, long attributeId) { if (attributeId == 26L) { return "MinRFIDCodeLength"; } + if (attributeId == 27L) { + return "CredentialRulesSupport"; + } if (attributeId == 28L) { return "NumberOfCredentialsSupportedPerUser"; } if (attributeId == 33L) { return "Language"; } + if (attributeId == 34L) { + return "LEDSettings"; + } if (attributeId == 35L) { return "AutoRelockTime"; } @@ -1822,21 +1858,39 @@ public static String attributeIdToName(long clusterId, long attributeId) { if (attributeId == 38L) { return "SupportedOperatingModes"; } + if (attributeId == 39L) { + return "DefaultConfigurationRegister"; + } + if (attributeId == 40L) { + return "EnableLocalProgramming"; + } if (attributeId == 41L) { return "EnableOneTouchLocking"; } + if (attributeId == 42L) { + return "EnableInsideStatusLED"; + } if (attributeId == 43L) { return "EnablePrivacyModeButton"; } + if (attributeId == 44L) { + return "LocalProgrammingFeatures"; + } if (attributeId == 48L) { return "WrongCodeEntryLimit"; } if (attributeId == 49L) { return "UserCodeTemporaryDisableTime"; } + if (attributeId == 50L) { + return "SendPINOverTheAir"; + } if (attributeId == 51L) { return "RequirePINforRemoteOperation"; } + if (attributeId == 53L) { + return "ExpiringUserTimeout"; + } if (attributeId == 65528L) { return "GeneratedCommandList"; } @@ -1954,6 +2008,24 @@ public static String attributeIdToName(long clusterId, long attributeId) { if (attributeId == 3L) { return "BarrierCapabilities"; } + if (attributeId == 4L) { + return "BarrierOpenEvents"; + } + if (attributeId == 5L) { + return "BarrierCloseEvents"; + } + if (attributeId == 6L) { + return "BarrierCommandOpenEvents"; + } + if (attributeId == 7L) { + return "BarrierCommandCloseEvents"; + } + if (attributeId == 8L) { + return "BarrierOpenPeriod"; + } + if (attributeId == 9L) { + return "BarrierClosePeriod"; + } if (attributeId == 10L) { return "BarrierPosition"; } @@ -2752,6 +2824,33 @@ public static String attributeIdToName(long clusterId, long attributeId) { if (attributeId == 2L) { return "OccupancySensorTypeBitmap"; } + if (attributeId == 16L) { + return "PIROccupiedToUnoccupiedDelay"; + } + if (attributeId == 17L) { + return "PIRUnoccupiedToOccupiedDelay"; + } + if (attributeId == 18L) { + return "PIRUnoccupiedToOccupiedThreshold"; + } + if (attributeId == 32L) { + return "UltrasonicOccupiedToUnoccupiedDelay"; + } + if (attributeId == 33L) { + return "UltrasonicUnoccupiedToOccupiedDelay"; + } + if (attributeId == 34L) { + return "UltrasonicUnoccupiedToOccupiedThreshold"; + } + if (attributeId == 48L) { + return "PhysicalContactOccupiedToUnoccupiedDelay"; + } + if (attributeId == 49L) { + return "PhysicalContactUnoccupiedToOccupiedDelay"; + } + if (attributeId == 50L) { + return "PhysicalContactUnoccupiedToOccupiedThreshold"; + } if (attributeId == 65528L) { return "GeneratedCommandList"; } @@ -3115,9 +3214,141 @@ public static String attributeIdToName(long clusterId, long attributeId) { if (attributeId == 0L) { return "MeasurementType"; } + if (attributeId == 256L) { + return "DcVoltage"; + } + if (attributeId == 257L) { + return "DcVoltageMin"; + } + if (attributeId == 258L) { + return "DcVoltageMax"; + } + if (attributeId == 259L) { + return "DcCurrent"; + } + if (attributeId == 260L) { + return "DcCurrentMin"; + } + if (attributeId == 261L) { + return "DcCurrentMax"; + } + if (attributeId == 262L) { + return "DcPower"; + } + if (attributeId == 263L) { + return "DcPowerMin"; + } + if (attributeId == 264L) { + return "DcPowerMax"; + } + if (attributeId == 512L) { + return "DcVoltageMultiplier"; + } + if (attributeId == 513L) { + return "DcVoltageDivisor"; + } + if (attributeId == 514L) { + return "DcCurrentMultiplier"; + } + if (attributeId == 515L) { + return "DcCurrentDivisor"; + } + if (attributeId == 516L) { + return "DcPowerMultiplier"; + } + if (attributeId == 517L) { + return "DcPowerDivisor"; + } + if (attributeId == 768L) { + return "AcFrequency"; + } + if (attributeId == 769L) { + return "AcFrequencyMin"; + } + if (attributeId == 770L) { + return "AcFrequencyMax"; + } + if (attributeId == 771L) { + return "NeutralCurrent"; + } if (attributeId == 772L) { return "TotalActivePower"; } + if (attributeId == 773L) { + return "TotalReactivePower"; + } + if (attributeId == 774L) { + return "TotalApparentPower"; + } + if (attributeId == 775L) { + return "Measured1stHarmonicCurrent"; + } + if (attributeId == 776L) { + return "Measured3rdHarmonicCurrent"; + } + if (attributeId == 777L) { + return "Measured5thHarmonicCurrent"; + } + if (attributeId == 778L) { + return "Measured7thHarmonicCurrent"; + } + if (attributeId == 779L) { + return "Measured9thHarmonicCurrent"; + } + if (attributeId == 780L) { + return "Measured11thHarmonicCurrent"; + } + if (attributeId == 781L) { + return "MeasuredPhase1stHarmonicCurrent"; + } + if (attributeId == 782L) { + return "MeasuredPhase3rdHarmonicCurrent"; + } + if (attributeId == 783L) { + return "MeasuredPhase5thHarmonicCurrent"; + } + if (attributeId == 784L) { + return "MeasuredPhase7thHarmonicCurrent"; + } + if (attributeId == 785L) { + return "MeasuredPhase9thHarmonicCurrent"; + } + if (attributeId == 786L) { + return "MeasuredPhase11thHarmonicCurrent"; + } + if (attributeId == 1024L) { + return "AcFrequencyMultiplier"; + } + if (attributeId == 1025L) { + return "AcFrequencyDivisor"; + } + if (attributeId == 1026L) { + return "PowerMultiplier"; + } + if (attributeId == 1027L) { + return "PowerDivisor"; + } + if (attributeId == 1028L) { + return "HarmonicCurrentMultiplier"; + } + if (attributeId == 1029L) { + return "PhaseHarmonicCurrentMultiplier"; + } + if (attributeId == 1280L) { + return "InstantaneousVoltage"; + } + if (attributeId == 1281L) { + return "InstantaneousLineCurrent"; + } + if (attributeId == 1282L) { + return "InstantaneousActiveCurrent"; + } + if (attributeId == 1283L) { + return "InstantaneousReactiveCurrent"; + } + if (attributeId == 1284L) { + return "InstantaneousPower"; + } if (attributeId == 1285L) { return "RmsVoltage"; } @@ -3145,6 +3376,225 @@ public static String attributeIdToName(long clusterId, long attributeId) { if (attributeId == 1293L) { return "ActivePowerMax"; } + if (attributeId == 1294L) { + return "ReactivePower"; + } + if (attributeId == 1295L) { + return "ApparentPower"; + } + if (attributeId == 1296L) { + return "PowerFactor"; + } + if (attributeId == 1297L) { + return "AverageRmsVoltageMeasurementPeriod"; + } + if (attributeId == 1299L) { + return "AverageRmsUnderVoltageCounter"; + } + if (attributeId == 1300L) { + return "RmsExtremeOverVoltagePeriod"; + } + if (attributeId == 1301L) { + return "RmsExtremeUnderVoltagePeriod"; + } + if (attributeId == 1302L) { + return "RmsVoltageSagPeriod"; + } + if (attributeId == 1303L) { + return "RmsVoltageSwellPeriod"; + } + if (attributeId == 1536L) { + return "AcVoltageMultiplier"; + } + if (attributeId == 1537L) { + return "AcVoltageDivisor"; + } + if (attributeId == 1538L) { + return "AcCurrentMultiplier"; + } + if (attributeId == 1539L) { + return "AcCurrentDivisor"; + } + if (attributeId == 1540L) { + return "AcPowerMultiplier"; + } + if (attributeId == 1541L) { + return "AcPowerDivisor"; + } + if (attributeId == 1792L) { + return "OverloadAlarmsMask"; + } + if (attributeId == 1793L) { + return "VoltageOverload"; + } + if (attributeId == 1794L) { + return "CurrentOverload"; + } + if (attributeId == 2048L) { + return "AcOverloadAlarmsMask"; + } + if (attributeId == 2049L) { + return "AcVoltageOverload"; + } + if (attributeId == 2050L) { + return "AcCurrentOverload"; + } + if (attributeId == 2051L) { + return "AcActivePowerOverload"; + } + if (attributeId == 2052L) { + return "AcReactivePowerOverload"; + } + if (attributeId == 2053L) { + return "AverageRmsOverVoltage"; + } + if (attributeId == 2054L) { + return "AverageRmsUnderVoltage"; + } + if (attributeId == 2055L) { + return "RmsExtremeOverVoltage"; + } + if (attributeId == 2056L) { + return "RmsExtremeUnderVoltage"; + } + if (attributeId == 2057L) { + return "RmsVoltageSag"; + } + if (attributeId == 2058L) { + return "RmsVoltageSwell"; + } + if (attributeId == 2305L) { + return "LineCurrentPhaseB"; + } + if (attributeId == 2306L) { + return "ActiveCurrentPhaseB"; + } + if (attributeId == 2307L) { + return "ReactiveCurrentPhaseB"; + } + if (attributeId == 2309L) { + return "RmsVoltagePhaseB"; + } + if (attributeId == 2310L) { + return "RmsVoltageMinPhaseB"; + } + if (attributeId == 2311L) { + return "RmsVoltageMaxPhaseB"; + } + if (attributeId == 2312L) { + return "RmsCurrentPhaseB"; + } + if (attributeId == 2313L) { + return "RmsCurrentMinPhaseB"; + } + if (attributeId == 2314L) { + return "RmsCurrentMaxPhaseB"; + } + if (attributeId == 2315L) { + return "ActivePowerPhaseB"; + } + if (attributeId == 2316L) { + return "ActivePowerMinPhaseB"; + } + if (attributeId == 2317L) { + return "ActivePowerMaxPhaseB"; + } + if (attributeId == 2318L) { + return "ReactivePowerPhaseB"; + } + if (attributeId == 2319L) { + return "ApparentPowerPhaseB"; + } + if (attributeId == 2320L) { + return "PowerFactorPhaseB"; + } + if (attributeId == 2321L) { + return "AverageRmsVoltageMeasurementPeriodPhaseB"; + } + if (attributeId == 2322L) { + return "AverageRmsOverVoltageCounterPhaseB"; + } + if (attributeId == 2323L) { + return "AverageRmsUnderVoltageCounterPhaseB"; + } + if (attributeId == 2324L) { + return "RmsExtremeOverVoltagePeriodPhaseB"; + } + if (attributeId == 2325L) { + return "RmsExtremeUnderVoltagePeriodPhaseB"; + } + if (attributeId == 2326L) { + return "RmsVoltageSagPeriodPhaseB"; + } + if (attributeId == 2327L) { + return "RmsVoltageSwellPeriodPhaseB"; + } + if (attributeId == 2561L) { + return "LineCurrentPhaseC"; + } + if (attributeId == 2562L) { + return "ActiveCurrentPhaseC"; + } + if (attributeId == 2563L) { + return "ReactiveCurrentPhaseC"; + } + if (attributeId == 2565L) { + return "RmsVoltagePhaseC"; + } + if (attributeId == 2566L) { + return "RmsVoltageMinPhaseC"; + } + if (attributeId == 2567L) { + return "RmsVoltageMaxPhaseC"; + } + if (attributeId == 2568L) { + return "RmsCurrentPhaseC"; + } + if (attributeId == 2569L) { + return "RmsCurrentMinPhaseC"; + } + if (attributeId == 2570L) { + return "RmsCurrentMaxPhaseC"; + } + if (attributeId == 2571L) { + return "ActivePowerPhaseC"; + } + if (attributeId == 2572L) { + return "ActivePowerMinPhaseC"; + } + if (attributeId == 2573L) { + return "ActivePowerMaxPhaseC"; + } + if (attributeId == 2574L) { + return "ReactivePowerPhaseC"; + } + if (attributeId == 2575L) { + return "ApparentPowerPhaseC"; + } + if (attributeId == 2576L) { + return "PowerFactorPhaseC"; + } + if (attributeId == 2577L) { + return "AverageRmsVoltageMeasurementPeriodPhaseC"; + } + if (attributeId == 2578L) { + return "AverageRmsOverVoltageCounterPhaseC"; + } + if (attributeId == 2579L) { + return "AverageRmsUnderVoltageCounterPhaseC"; + } + if (attributeId == 2580L) { + return "RmsExtremeOverVoltagePeriodPhaseC"; + } + if (attributeId == 2581L) { + return "RmsExtremeUnderVoltagePeriodPhaseC"; + } + if (attributeId == 2582L) { + return "RmsVoltageSagPeriodPhaseC"; + } + if (attributeId == 2583L) { + return "RmsVoltageSwellPeriodPhaseC"; + } if (attributeId == 65528L) { return "GeneratedCommandList"; } @@ -3442,6 +3892,9 @@ public static String attributeIdToName(long clusterId, long attributeId) { if (attributeId == 16425L) { return "NullableRangeRestrictedInt16s"; } + if (attributeId == 16426L) { + return "WriteOnlyInt8u"; + } if (attributeId == 65528L) { return "GeneratedCommandList"; } diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java b/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java index 3911d9f067b7f4..875e2c00a4a256 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java @@ -697,8 +697,8 @@ public void onError(Exception error) { } } - public static class DelegatedScenesClusterCurrentGroupAttributeCallback - implements ChipClusters.ScenesCluster.CurrentGroupAttributeCallback, + public static class DelegatedScenesClusterLastConfiguredByAttributeCallback + implements ChipClusters.ScenesCluster.LastConfiguredByAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @@ -708,9 +708,9 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { } @Override - public void onSuccess(Integer value) { + public void onSuccess(@Nullable Long value) { Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer"); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); responseValues.put(commandResponseInfo, value); callback.onSuccess(responseValues); } diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java b/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java index b8fd297d5c53e6..516d196dd5e122 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java @@ -263,10 +263,9 @@ public Map> getReadAttributeMap() { new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.ScenesCluster) cluster) - .readCurrentGroupAttribute( - (ChipClusters.ScenesCluster.CurrentGroupAttributeCallback) callback); + .readCurrentGroupAttribute((ChipClusters.IntegerAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedScenesClusterCurrentGroupAttributeCallback(), + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), readScenesCurrentGroupCommandParams); readScenesInteractionInfo.put( "readCurrentGroupAttribute", readScenesCurrentGroupAttributeInteractionInfo); @@ -294,6 +293,19 @@ public Map> getReadAttributeMap() { readScenesNameSupportCommandParams); readScenesInteractionInfo.put( "readNameSupportAttribute", readScenesNameSupportAttributeInteractionInfo); + Map readScenesLastConfiguredByCommandParams = + new LinkedHashMap(); + InteractionInfo readScenesLastConfiguredByAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .readLastConfiguredByAttribute( + (ChipClusters.ScenesCluster.LastConfiguredByAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedScenesClusterLastConfiguredByAttributeCallback(), + readScenesLastConfiguredByCommandParams); + readScenesInteractionInfo.put( + "readLastConfiguredByAttribute", readScenesLastConfiguredByAttributeInteractionInfo); Map readScenesGeneratedCommandListCommandParams = new LinkedHashMap(); InteractionInfo readScenesGeneratedCommandListAttributeInteractionInfo = @@ -916,6 +928,42 @@ public Map> getReadAttributeMap() { "readClusterRevisionAttribute", readLevelControlClusterRevisionAttributeInteractionInfo); readAttributeMap.put("levelControl", readLevelControlInteractionInfo); Map readBinaryInputBasicInteractionInfo = new LinkedHashMap<>(); + Map readBinaryInputBasicActiveTextCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicActiveTextAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readActiveTextAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), + readBinaryInputBasicActiveTextCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readActiveTextAttribute", readBinaryInputBasicActiveTextAttributeInteractionInfo); + Map readBinaryInputBasicDescriptionCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicDescriptionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readDescriptionAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), + readBinaryInputBasicDescriptionCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readDescriptionAttribute", readBinaryInputBasicDescriptionAttributeInteractionInfo); + Map readBinaryInputBasicInactiveTextCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicInactiveTextAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readInactiveTextAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), + readBinaryInputBasicInactiveTextCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readInactiveTextAttribute", readBinaryInputBasicInactiveTextAttributeInteractionInfo); Map readBinaryInputBasicOutOfServiceCommandParams = new LinkedHashMap(); InteractionInfo readBinaryInputBasicOutOfServiceAttributeInteractionInfo = @@ -928,6 +976,18 @@ public Map> getReadAttributeMap() { readBinaryInputBasicOutOfServiceCommandParams); readBinaryInputBasicInteractionInfo.put( "readOutOfServiceAttribute", readBinaryInputBasicOutOfServiceAttributeInteractionInfo); + Map readBinaryInputBasicPolarityCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicPolarityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readPolarityAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBinaryInputBasicPolarityCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readPolarityAttribute", readBinaryInputBasicPolarityAttributeInteractionInfo); Map readBinaryInputBasicPresentValueCommandParams = new LinkedHashMap(); InteractionInfo readBinaryInputBasicPresentValueAttributeInteractionInfo = @@ -940,6 +1000,18 @@ public Map> getReadAttributeMap() { readBinaryInputBasicPresentValueCommandParams); readBinaryInputBasicInteractionInfo.put( "readPresentValueAttribute", readBinaryInputBasicPresentValueAttributeInteractionInfo); + Map readBinaryInputBasicReliabilityCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicReliabilityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readReliabilityAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBinaryInputBasicReliabilityCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readReliabilityAttribute", readBinaryInputBasicReliabilityAttributeInteractionInfo); Map readBinaryInputBasicStatusFlagsCommandParams = new LinkedHashMap(); InteractionInfo readBinaryInputBasicStatusFlagsAttributeInteractionInfo = @@ -952,6 +1024,19 @@ public Map> getReadAttributeMap() { readBinaryInputBasicStatusFlagsCommandParams); readBinaryInputBasicInteractionInfo.put( "readStatusFlagsAttribute", readBinaryInputBasicStatusFlagsAttributeInteractionInfo); + Map readBinaryInputBasicApplicationTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicApplicationTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readApplicationTypeAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readBinaryInputBasicApplicationTypeCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readApplicationTypeAttribute", + readBinaryInputBasicApplicationTypeAttributeInteractionInfo); Map readBinaryInputBasicGeneratedCommandListCommandParams = new LinkedHashMap(); InteractionInfo readBinaryInputBasicGeneratedCommandListAttributeInteractionInfo = @@ -6960,6 +7045,42 @@ public Map> getReadAttributeMap() { readDoorLockDoorStateCommandParams); readDoorLockInteractionInfo.put( "readDoorStateAttribute", readDoorLockDoorStateAttributeInteractionInfo); + Map readDoorLockDoorOpenEventsCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockDoorOpenEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readDoorOpenEventsAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readDoorLockDoorOpenEventsCommandParams); + readDoorLockInteractionInfo.put( + "readDoorOpenEventsAttribute", readDoorLockDoorOpenEventsAttributeInteractionInfo); + Map readDoorLockDoorClosedEventsCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockDoorClosedEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readDoorClosedEventsAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readDoorLockDoorClosedEventsCommandParams); + readDoorLockInteractionInfo.put( + "readDoorClosedEventsAttribute", readDoorLockDoorClosedEventsAttributeInteractionInfo); + Map readDoorLockOpenPeriodCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockOpenPeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readOpenPeriodAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockOpenPeriodCommandParams); + readDoorLockInteractionInfo.put( + "readOpenPeriodAttribute", readDoorLockOpenPeriodAttributeInteractionInfo); Map readDoorLockNumberOfTotalUsersSupportedCommandParams = new LinkedHashMap(); InteractionInfo readDoorLockNumberOfTotalUsersSupportedAttributeInteractionInfo = @@ -7094,6 +7215,20 @@ public Map> getReadAttributeMap() { readDoorLockMinRFIDCodeLengthCommandParams); readDoorLockInteractionInfo.put( "readMinRFIDCodeLengthAttribute", readDoorLockMinRFIDCodeLengthAttributeInteractionInfo); + Map readDoorLockCredentialRulesSupportCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockCredentialRulesSupportAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readCredentialRulesSupportAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockCredentialRulesSupportCommandParams); + readDoorLockInteractionInfo.put( + "readCredentialRulesSupportAttribute", + readDoorLockCredentialRulesSupportAttributeInteractionInfo); Map readDoorLockNumberOfCredentialsSupportedPerUserCommandParams = new LinkedHashMap(); InteractionInfo readDoorLockNumberOfCredentialsSupportedPerUserAttributeInteractionInfo = @@ -7120,6 +7255,18 @@ public Map> getReadAttributeMap() { readDoorLockLanguageCommandParams); readDoorLockInteractionInfo.put( "readLanguageAttribute", readDoorLockLanguageAttributeInteractionInfo); + Map readDoorLockLEDSettingsCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockLEDSettingsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readLEDSettingsAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockLEDSettingsCommandParams); + readDoorLockInteractionInfo.put( + "readLEDSettingsAttribute", readDoorLockLEDSettingsAttributeInteractionInfo); Map readDoorLockAutoRelockTimeCommandParams = new LinkedHashMap(); InteractionInfo readDoorLockAutoRelockTimeAttributeInteractionInfo = @@ -7170,6 +7317,34 @@ public Map> getReadAttributeMap() { readDoorLockInteractionInfo.put( "readSupportedOperatingModesAttribute", readDoorLockSupportedOperatingModesAttributeInteractionInfo); + Map readDoorLockDefaultConfigurationRegisterCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockDefaultConfigurationRegisterAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readDefaultConfigurationRegisterAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockDefaultConfigurationRegisterCommandParams); + readDoorLockInteractionInfo.put( + "readDefaultConfigurationRegisterAttribute", + readDoorLockDefaultConfigurationRegisterAttributeInteractionInfo); + Map readDoorLockEnableLocalProgrammingCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockEnableLocalProgrammingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readEnableLocalProgrammingAttribute( + (ChipClusters.BooleanAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), + readDoorLockEnableLocalProgrammingCommandParams); + readDoorLockInteractionInfo.put( + "readEnableLocalProgrammingAttribute", + readDoorLockEnableLocalProgrammingAttributeInteractionInfo); Map readDoorLockEnableOneTouchLockingCommandParams = new LinkedHashMap(); InteractionInfo readDoorLockEnableOneTouchLockingAttributeInteractionInfo = @@ -7184,6 +7359,20 @@ public Map> getReadAttributeMap() { readDoorLockInteractionInfo.put( "readEnableOneTouchLockingAttribute", readDoorLockEnableOneTouchLockingAttributeInteractionInfo); + Map readDoorLockEnableInsideStatusLEDCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockEnableInsideStatusLEDAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readEnableInsideStatusLEDAttribute( + (ChipClusters.BooleanAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), + readDoorLockEnableInsideStatusLEDCommandParams); + readDoorLockInteractionInfo.put( + "readEnableInsideStatusLEDAttribute", + readDoorLockEnableInsideStatusLEDAttributeInteractionInfo); Map readDoorLockEnablePrivacyModeButtonCommandParams = new LinkedHashMap(); InteractionInfo readDoorLockEnablePrivacyModeButtonAttributeInteractionInfo = @@ -7198,6 +7387,20 @@ public Map> getReadAttributeMap() { readDoorLockInteractionInfo.put( "readEnablePrivacyModeButtonAttribute", readDoorLockEnablePrivacyModeButtonAttributeInteractionInfo); + Map readDoorLockLocalProgrammingFeaturesCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockLocalProgrammingFeaturesAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readLocalProgrammingFeaturesAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockLocalProgrammingFeaturesCommandParams); + readDoorLockInteractionInfo.put( + "readLocalProgrammingFeaturesAttribute", + readDoorLockLocalProgrammingFeaturesAttributeInteractionInfo); Map readDoorLockWrongCodeEntryLimitCommandParams = new LinkedHashMap(); InteractionInfo readDoorLockWrongCodeEntryLimitAttributeInteractionInfo = @@ -7226,6 +7429,18 @@ public Map> getReadAttributeMap() { readDoorLockInteractionInfo.put( "readUserCodeTemporaryDisableTimeAttribute", readDoorLockUserCodeTemporaryDisableTimeAttributeInteractionInfo); + Map readDoorLockSendPINOverTheAirCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockSendPINOverTheAirAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readSendPINOverTheAirAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), + readDoorLockSendPINOverTheAirCommandParams); + readDoorLockInteractionInfo.put( + "readSendPINOverTheAirAttribute", readDoorLockSendPINOverTheAirAttributeInteractionInfo); Map readDoorLockRequirePINforRemoteOperationCommandParams = new LinkedHashMap(); InteractionInfo readDoorLockRequirePINforRemoteOperationAttributeInteractionInfo = @@ -7240,6 +7455,20 @@ public Map> getReadAttributeMap() { readDoorLockInteractionInfo.put( "readRequirePINforRemoteOperationAttribute", readDoorLockRequirePINforRemoteOperationAttributeInteractionInfo); + Map readDoorLockExpiringUserTimeoutCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockExpiringUserTimeoutAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readExpiringUserTimeoutAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockExpiringUserTimeoutCommandParams); + readDoorLockInteractionInfo.put( + "readExpiringUserTimeoutAttribute", + readDoorLockExpiringUserTimeoutAttributeInteractionInfo); Map readDoorLockGeneratedCommandListCommandParams = new LinkedHashMap(); InteractionInfo readDoorLockGeneratedCommandListAttributeInteractionInfo = @@ -7786,6 +8015,88 @@ public Map> getReadAttributeMap() { readBarrierControlInteractionInfo.put( "readBarrierCapabilitiesAttribute", readBarrierControlBarrierCapabilitiesAttributeInteractionInfo); + Map readBarrierControlBarrierOpenEventsCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierOpenEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readBarrierOpenEventsAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierOpenEventsCommandParams); + readBarrierControlInteractionInfo.put( + "readBarrierOpenEventsAttribute", + readBarrierControlBarrierOpenEventsAttributeInteractionInfo); + Map readBarrierControlBarrierCloseEventsCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierCloseEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readBarrierCloseEventsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierCloseEventsCommandParams); + readBarrierControlInteractionInfo.put( + "readBarrierCloseEventsAttribute", + readBarrierControlBarrierCloseEventsAttributeInteractionInfo); + Map readBarrierControlBarrierCommandOpenEventsCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierCommandOpenEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readBarrierCommandOpenEventsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierCommandOpenEventsCommandParams); + readBarrierControlInteractionInfo.put( + "readBarrierCommandOpenEventsAttribute", + readBarrierControlBarrierCommandOpenEventsAttributeInteractionInfo); + Map readBarrierControlBarrierCommandCloseEventsCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierCommandCloseEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readBarrierCommandCloseEventsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierCommandCloseEventsCommandParams); + readBarrierControlInteractionInfo.put( + "readBarrierCommandCloseEventsAttribute", + readBarrierControlBarrierCommandCloseEventsAttributeInteractionInfo); + Map readBarrierControlBarrierOpenPeriodCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierOpenPeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readBarrierOpenPeriodAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierOpenPeriodCommandParams); + readBarrierControlInteractionInfo.put( + "readBarrierOpenPeriodAttribute", + readBarrierControlBarrierOpenPeriodAttributeInteractionInfo); + Map readBarrierControlBarrierClosePeriodCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierClosePeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readBarrierClosePeriodAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierClosePeriodCommandParams); + readBarrierControlInteractionInfo.put( + "readBarrierClosePeriodAttribute", + readBarrierControlBarrierClosePeriodAttributeInteractionInfo); Map readBarrierControlBarrierPositionCommandParams = new LinkedHashMap(); InteractionInfo readBarrierControlBarrierPositionAttributeInteractionInfo = @@ -11536,79 +11847,220 @@ public Map> getReadAttributeMap() { readOccupancySensingInteractionInfo.put( "readOccupancySensorTypeBitmapAttribute", readOccupancySensingOccupancySensorTypeBitmapAttributeInteractionInfo); - Map readOccupancySensingGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readOccupancySensingGeneratedCommandListAttributeInteractionInfo = + Map + readOccupancySensingPIROccupiedToUnoccupiedDelayCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingPIROccupiedToUnoccupiedDelayAttributeInteractionInfo = new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.OccupancySensingCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.OccupancySensingCluster.GeneratedCommandListAttributeCallback) - callback); + .readPIROccupiedToUnoccupiedDelayAttribute( + (ChipClusters.IntegerAttributeCallback) callback); }, - () -> - new ClusterInfoMapping - .DelegatedOccupancySensingClusterGeneratedCommandListAttributeCallback(), - readOccupancySensingGeneratedCommandListCommandParams); + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingPIROccupiedToUnoccupiedDelayCommandParams); readOccupancySensingInteractionInfo.put( - "readGeneratedCommandListAttribute", - readOccupancySensingGeneratedCommandListAttributeInteractionInfo); - Map readOccupancySensingAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readOccupancySensingAcceptedCommandListAttributeInteractionInfo = + "readPIROccupiedToUnoccupiedDelayAttribute", + readOccupancySensingPIROccupiedToUnoccupiedDelayAttributeInteractionInfo); + Map + readOccupancySensingPIRUnoccupiedToOccupiedDelayCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingPIRUnoccupiedToOccupiedDelayAttributeInteractionInfo = new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.OccupancySensingCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.OccupancySensingCluster.AcceptedCommandListAttributeCallback) - callback); + .readPIRUnoccupiedToOccupiedDelayAttribute( + (ChipClusters.IntegerAttributeCallback) callback); }, - () -> - new ClusterInfoMapping - .DelegatedOccupancySensingClusterAcceptedCommandListAttributeCallback(), - readOccupancySensingAcceptedCommandListCommandParams); + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingPIRUnoccupiedToOccupiedDelayCommandParams); readOccupancySensingInteractionInfo.put( - "readAcceptedCommandListAttribute", - readOccupancySensingAcceptedCommandListAttributeInteractionInfo); - Map readOccupancySensingEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readOccupancySensingEventListAttributeInteractionInfo = + "readPIRUnoccupiedToOccupiedDelayAttribute", + readOccupancySensingPIRUnoccupiedToOccupiedDelayAttributeInteractionInfo); + Map + readOccupancySensingPIRUnoccupiedToOccupiedThresholdCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingPIRUnoccupiedToOccupiedThresholdAttributeInteractionInfo = new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.OccupancySensingCluster) cluster) - .readEventListAttribute( - (ChipClusters.OccupancySensingCluster.EventListAttributeCallback) callback); + .readPIRUnoccupiedToOccupiedThresholdAttribute( + (ChipClusters.IntegerAttributeCallback) callback); }, - () -> - new ClusterInfoMapping.DelegatedOccupancySensingClusterEventListAttributeCallback(), - readOccupancySensingEventListCommandParams); + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingPIRUnoccupiedToOccupiedThresholdCommandParams); readOccupancySensingInteractionInfo.put( - "readEventListAttribute", readOccupancySensingEventListAttributeInteractionInfo); - Map readOccupancySensingAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readOccupancySensingAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.OccupancySensingCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOccupancySensingClusterAttributeListAttributeCallback(), - readOccupancySensingAttributeListCommandParams); + "readPIRUnoccupiedToOccupiedThresholdAttribute", + readOccupancySensingPIRUnoccupiedToOccupiedThresholdAttributeInteractionInfo); + Map + readOccupancySensingUltrasonicOccupiedToUnoccupiedDelayCommandParams = + new LinkedHashMap(); + InteractionInfo + readOccupancySensingUltrasonicOccupiedToUnoccupiedDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readUltrasonicOccupiedToUnoccupiedDelayAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingUltrasonicOccupiedToUnoccupiedDelayCommandParams); readOccupancySensingInteractionInfo.put( - "readAttributeListAttribute", readOccupancySensingAttributeListAttributeInteractionInfo); - Map readOccupancySensingFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readOccupancySensingFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + "readUltrasonicOccupiedToUnoccupiedDelayAttribute", + readOccupancySensingUltrasonicOccupiedToUnoccupiedDelayAttributeInteractionInfo); + Map + readOccupancySensingUltrasonicUnoccupiedToOccupiedDelayCommandParams = + new LinkedHashMap(); + InteractionInfo + readOccupancySensingUltrasonicUnoccupiedToOccupiedDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readUltrasonicUnoccupiedToOccupiedDelayAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingUltrasonicUnoccupiedToOccupiedDelayCommandParams); + readOccupancySensingInteractionInfo.put( + "readUltrasonicUnoccupiedToOccupiedDelayAttribute", + readOccupancySensingUltrasonicUnoccupiedToOccupiedDelayAttributeInteractionInfo); + Map + readOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdCommandParams = + new LinkedHashMap(); + InteractionInfo + readOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readUltrasonicUnoccupiedToOccupiedThresholdAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdCommandParams); + readOccupancySensingInteractionInfo.put( + "readUltrasonicUnoccupiedToOccupiedThresholdAttribute", + readOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdAttributeInteractionInfo); + Map + readOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayCommandParams = + new LinkedHashMap(); + InteractionInfo + readOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readPhysicalContactOccupiedToUnoccupiedDelayAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayCommandParams); + readOccupancySensingInteractionInfo.put( + "readPhysicalContactOccupiedToUnoccupiedDelayAttribute", + readOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayAttributeInteractionInfo); + Map + readOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayCommandParams = + new LinkedHashMap(); + InteractionInfo + readOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readPhysicalContactUnoccupiedToOccupiedDelayAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayCommandParams); + readOccupancySensingInteractionInfo.put( + "readPhysicalContactUnoccupiedToOccupiedDelayAttribute", + readOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayAttributeInteractionInfo); + Map + readOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdCommandParams = + new LinkedHashMap(); + InteractionInfo + readOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readPhysicalContactUnoccupiedToOccupiedThresholdAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdCommandParams); + readOccupancySensingInteractionInfo.put( + "readPhysicalContactUnoccupiedToOccupiedThresholdAttribute", + readOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdAttributeInteractionInfo); + Map readOccupancySensingGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.OccupancySensingCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOccupancySensingClusterGeneratedCommandListAttributeCallback(), + readOccupancySensingGeneratedCommandListCommandParams); + readOccupancySensingInteractionInfo.put( + "readGeneratedCommandListAttribute", + readOccupancySensingGeneratedCommandListAttributeInteractionInfo); + Map readOccupancySensingAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.OccupancySensingCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOccupancySensingClusterAcceptedCommandListAttributeCallback(), + readOccupancySensingAcceptedCommandListCommandParams); + readOccupancySensingInteractionInfo.put( + "readAcceptedCommandListAttribute", + readOccupancySensingAcceptedCommandListAttributeInteractionInfo); + Map readOccupancySensingEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readEventListAttribute( + (ChipClusters.OccupancySensingCluster.EventListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedOccupancySensingClusterEventListAttributeCallback(), + readOccupancySensingEventListCommandParams); + readOccupancySensingInteractionInfo.put( + "readEventListAttribute", readOccupancySensingEventListAttributeInteractionInfo); + Map readOccupancySensingAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.OccupancySensingCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOccupancySensingClusterAttributeListAttributeCallback(), + readOccupancySensingAttributeListCommandParams); + readOccupancySensingInteractionInfo.put( + "readAttributeListAttribute", readOccupancySensingAttributeListAttributeInteractionInfo); + Map readOccupancySensingFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), readOccupancySensingFeatureMapCommandParams); readOccupancySensingInteractionInfo.put( "readFeatureMapAttribute", readOccupancySensingFeatureMapAttributeInteractionInfo); @@ -13014,243 +13466,1879 @@ public Map> getReadAttributeMap() { readElectricalMeasurementInteractionInfo.put( "readMeasurementTypeAttribute", readElectricalMeasurementMeasurementTypeAttributeInteractionInfo); - Map readElectricalMeasurementTotalActivePowerCommandParams = + Map readElectricalMeasurementDcVoltageCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementTotalActivePowerAttributeInteractionInfo = + InteractionInfo readElectricalMeasurementDcVoltageAttributeInteractionInfo = new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readTotalActivePowerAttribute((ChipClusters.LongAttributeCallback) callback); + .readDcVoltageAttribute((ChipClusters.IntegerAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readElectricalMeasurementTotalActivePowerCommandParams); + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcVoltageCommandParams); readElectricalMeasurementInteractionInfo.put( - "readTotalActivePowerAttribute", - readElectricalMeasurementTotalActivePowerAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageCommandParams = + "readDcVoltageAttribute", readElectricalMeasurementDcVoltageAttributeInteractionInfo); + Map readElectricalMeasurementDcVoltageMinCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageAttributeInteractionInfo = + InteractionInfo readElectricalMeasurementDcVoltageMinAttributeInteractionInfo = new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltageAttribute((ChipClusters.IntegerAttributeCallback) callback); + .readDcVoltageMinAttribute((ChipClusters.IntegerAttributeCallback) callback); }, () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageCommandParams); + readElectricalMeasurementDcVoltageMinCommandParams); readElectricalMeasurementInteractionInfo.put( - "readRmsVoltageAttribute", readElectricalMeasurementRmsVoltageAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageMinCommandParams = + "readDcVoltageMinAttribute", readElectricalMeasurementDcVoltageMinAttributeInteractionInfo); + Map readElectricalMeasurementDcVoltageMaxCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageMinAttributeInteractionInfo = + InteractionInfo readElectricalMeasurementDcVoltageMaxAttributeInteractionInfo = new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltageMinAttribute((ChipClusters.IntegerAttributeCallback) callback); + .readDcVoltageMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); }, () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageMinCommandParams); + readElectricalMeasurementDcVoltageMaxCommandParams); readElectricalMeasurementInteractionInfo.put( - "readRmsVoltageMinAttribute", - readElectricalMeasurementRmsVoltageMinAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageMaxCommandParams = + "readDcVoltageMaxAttribute", readElectricalMeasurementDcVoltageMaxAttributeInteractionInfo); + Map readElectricalMeasurementDcCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageMaxAttributeInteractionInfo = + InteractionInfo readElectricalMeasurementDcCurrentAttributeInteractionInfo = new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltageMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); + .readDcCurrentAttribute((ChipClusters.IntegerAttributeCallback) callback); }, () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageMaxCommandParams); + readElectricalMeasurementDcCurrentCommandParams); readElectricalMeasurementInteractionInfo.put( - "readRmsVoltageMaxAttribute", - readElectricalMeasurementRmsVoltageMaxAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentCommandParams = + "readDcCurrentAttribute", readElectricalMeasurementDcCurrentAttributeInteractionInfo); + Map readElectricalMeasurementDcCurrentMinCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentAttributeInteractionInfo = + InteractionInfo readElectricalMeasurementDcCurrentMinAttributeInteractionInfo = new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsCurrentAttribute((ChipClusters.IntegerAttributeCallback) callback); + .readDcCurrentMinAttribute((ChipClusters.IntegerAttributeCallback) callback); }, () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentCommandParams); + readElectricalMeasurementDcCurrentMinCommandParams); readElectricalMeasurementInteractionInfo.put( - "readRmsCurrentAttribute", readElectricalMeasurementRmsCurrentAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentMinCommandParams = + "readDcCurrentMinAttribute", readElectricalMeasurementDcCurrentMinAttributeInteractionInfo); + Map readElectricalMeasurementDcCurrentMaxCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentMinAttributeInteractionInfo = + InteractionInfo readElectricalMeasurementDcCurrentMaxAttributeInteractionInfo = new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsCurrentMinAttribute((ChipClusters.IntegerAttributeCallback) callback); + .readDcCurrentMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); }, () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentMinCommandParams); + readElectricalMeasurementDcCurrentMaxCommandParams); readElectricalMeasurementInteractionInfo.put( - "readRmsCurrentMinAttribute", - readElectricalMeasurementRmsCurrentMinAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentMaxCommandParams = + "readDcCurrentMaxAttribute", readElectricalMeasurementDcCurrentMaxAttributeInteractionInfo); + Map readElectricalMeasurementDcPowerCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentMaxAttributeInteractionInfo = + InteractionInfo readElectricalMeasurementDcPowerAttributeInteractionInfo = new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsCurrentMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); + .readDcPowerAttribute((ChipClusters.IntegerAttributeCallback) callback); }, () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentMaxCommandParams); + readElectricalMeasurementDcPowerCommandParams); readElectricalMeasurementInteractionInfo.put( - "readRmsCurrentMaxAttribute", - readElectricalMeasurementRmsCurrentMaxAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerCommandParams = + "readDcPowerAttribute", readElectricalMeasurementDcPowerAttributeInteractionInfo); + Map readElectricalMeasurementDcPowerMinCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerAttributeInteractionInfo = + InteractionInfo readElectricalMeasurementDcPowerMinAttributeInteractionInfo = new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readActivePowerAttribute((ChipClusters.IntegerAttributeCallback) callback); + .readDcPowerMinAttribute((ChipClusters.IntegerAttributeCallback) callback); }, () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerCommandParams); + readElectricalMeasurementDcPowerMinCommandParams); readElectricalMeasurementInteractionInfo.put( - "readActivePowerAttribute", readElectricalMeasurementActivePowerAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerMinCommandParams = + "readDcPowerMinAttribute", readElectricalMeasurementDcPowerMinAttributeInteractionInfo); + Map readElectricalMeasurementDcPowerMaxCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerMinAttributeInteractionInfo = + InteractionInfo readElectricalMeasurementDcPowerMaxAttributeInteractionInfo = new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readActivePowerMinAttribute((ChipClusters.IntegerAttributeCallback) callback); + .readDcPowerMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); }, () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerMinCommandParams); + readElectricalMeasurementDcPowerMaxCommandParams); readElectricalMeasurementInteractionInfo.put( - "readActivePowerMinAttribute", - readElectricalMeasurementActivePowerMinAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerMaxCommandParams = + "readDcPowerMaxAttribute", readElectricalMeasurementDcPowerMaxAttributeInteractionInfo); + Map readElectricalMeasurementDcVoltageMultiplierCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerMaxAttributeInteractionInfo = + InteractionInfo readElectricalMeasurementDcVoltageMultiplierAttributeInteractionInfo = new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readActivePowerMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); + .readDcVoltageMultiplierAttribute( + (ChipClusters.IntegerAttributeCallback) callback); }, () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerMaxCommandParams); + readElectricalMeasurementDcVoltageMultiplierCommandParams); readElectricalMeasurementInteractionInfo.put( - "readActivePowerMaxAttribute", - readElectricalMeasurementActivePowerMaxAttributeInteractionInfo); - Map readElectricalMeasurementGeneratedCommandListCommandParams = + "readDcVoltageMultiplierAttribute", + readElectricalMeasurementDcVoltageMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementDcVoltageDivisorCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementGeneratedCommandListAttributeInteractionInfo = + InteractionInfo readElectricalMeasurementDcVoltageDivisorAttributeInteractionInfo = new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.ElectricalMeasurementCluster - .GeneratedCommandListAttributeCallback) - callback); + .readDcVoltageDivisorAttribute((ChipClusters.IntegerAttributeCallback) callback); }, - () -> - new ClusterInfoMapping - .DelegatedElectricalMeasurementClusterGeneratedCommandListAttributeCallback(), - readElectricalMeasurementGeneratedCommandListCommandParams); + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcVoltageDivisorCommandParams); readElectricalMeasurementInteractionInfo.put( - "readGeneratedCommandListAttribute", - readElectricalMeasurementGeneratedCommandListAttributeInteractionInfo); - Map readElectricalMeasurementAcceptedCommandListCommandParams = + "readDcVoltageDivisorAttribute", + readElectricalMeasurementDcVoltageDivisorAttributeInteractionInfo); + Map readElectricalMeasurementDcCurrentMultiplierCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcceptedCommandListAttributeInteractionInfo = + InteractionInfo readElectricalMeasurementDcCurrentMultiplierAttributeInteractionInfo = new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.ElectricalMeasurementCluster - .AcceptedCommandListAttributeCallback) - callback); + .readDcCurrentMultiplierAttribute( + (ChipClusters.IntegerAttributeCallback) callback); }, - () -> - new ClusterInfoMapping - .DelegatedElectricalMeasurementClusterAcceptedCommandListAttributeCallback(), - readElectricalMeasurementAcceptedCommandListCommandParams); + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcCurrentMultiplierCommandParams); readElectricalMeasurementInteractionInfo.put( - "readAcceptedCommandListAttribute", - readElectricalMeasurementAcceptedCommandListAttributeInteractionInfo); - Map readElectricalMeasurementEventListCommandParams = + "readDcCurrentMultiplierAttribute", + readElectricalMeasurementDcCurrentMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementDcCurrentDivisorCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementEventListAttributeInteractionInfo = + InteractionInfo readElectricalMeasurementDcCurrentDivisorAttributeInteractionInfo = new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readEventListAttribute( - (ChipClusters.ElectricalMeasurementCluster.EventListAttributeCallback) - callback); + .readDcCurrentDivisorAttribute((ChipClusters.IntegerAttributeCallback) callback); }, - () -> - new ClusterInfoMapping - .DelegatedElectricalMeasurementClusterEventListAttributeCallback(), - readElectricalMeasurementEventListCommandParams); + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcCurrentDivisorCommandParams); readElectricalMeasurementInteractionInfo.put( - "readEventListAttribute", readElectricalMeasurementEventListAttributeInteractionInfo); - Map readElectricalMeasurementAttributeListCommandParams = + "readDcCurrentDivisorAttribute", + readElectricalMeasurementDcCurrentDivisorAttributeInteractionInfo); + Map readElectricalMeasurementDcPowerMultiplierCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAttributeListAttributeInteractionInfo = + InteractionInfo readElectricalMeasurementDcPowerMultiplierAttributeInteractionInfo = new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.ElectricalMeasurementCluster.AttributeListAttributeCallback) - callback); + .readDcPowerMultiplierAttribute((ChipClusters.IntegerAttributeCallback) callback); }, - () -> - new ClusterInfoMapping - .DelegatedElectricalMeasurementClusterAttributeListAttributeCallback(), - readElectricalMeasurementAttributeListCommandParams); + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcPowerMultiplierCommandParams); readElectricalMeasurementInteractionInfo.put( - "readAttributeListAttribute", - readElectricalMeasurementAttributeListAttributeInteractionInfo); - Map readElectricalMeasurementFeatureMapCommandParams = + "readDcPowerMultiplierAttribute", + readElectricalMeasurementDcPowerMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementDcPowerDivisorCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementFeatureMapAttributeInteractionInfo = + InteractionInfo readElectricalMeasurementDcPowerDivisorAttributeInteractionInfo = new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + .readDcPowerDivisorAttribute((ChipClusters.IntegerAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readElectricalMeasurementFeatureMapCommandParams); + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcPowerDivisorCommandParams); readElectricalMeasurementInteractionInfo.put( - "readFeatureMapAttribute", readElectricalMeasurementFeatureMapAttributeInteractionInfo); - Map readElectricalMeasurementClusterRevisionCommandParams = + "readDcPowerDivisorAttribute", + readElectricalMeasurementDcPowerDivisorAttributeInteractionInfo); + Map readElectricalMeasurementAcFrequencyCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementClusterRevisionAttributeInteractionInfo = + InteractionInfo readElectricalMeasurementAcFrequencyAttributeInteractionInfo = new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + .readAcFrequencyAttribute((ChipClusters.IntegerAttributeCallback) callback); }, () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementClusterRevisionCommandParams); + readElectricalMeasurementAcFrequencyCommandParams); readElectricalMeasurementInteractionInfo.put( - "readClusterRevisionAttribute", - readElectricalMeasurementClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("electricalMeasurement", readElectricalMeasurementInteractionInfo); - Map readClientMonitoringInteractionInfo = new LinkedHashMap<>(); - Map readClientMonitoringIdleModeIntervalCommandParams = + "readAcFrequencyAttribute", readElectricalMeasurementAcFrequencyAttributeInteractionInfo); + Map readElectricalMeasurementAcFrequencyMinCommandParams = new LinkedHashMap(); - InteractionInfo readClientMonitoringIdleModeIntervalAttributeInteractionInfo = + InteractionInfo readElectricalMeasurementAcFrequencyMinAttributeInteractionInfo = new InteractionInfo( (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster) - .readIdleModeIntervalAttribute((ChipClusters.LongAttributeCallback) callback); + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcFrequencyMinAttribute((ChipClusters.IntegerAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readClientMonitoringIdleModeIntervalCommandParams); - readClientMonitoringInteractionInfo.put( - "readIdleModeIntervalAttribute", - readClientMonitoringIdleModeIntervalAttributeInteractionInfo); - Map readClientMonitoringActiveModeIntervalCommandParams = + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcFrequencyMinCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcFrequencyMinAttribute", + readElectricalMeasurementAcFrequencyMinAttributeInteractionInfo); + Map readElectricalMeasurementAcFrequencyMaxCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcFrequencyMaxAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcFrequencyMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcFrequencyMaxCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcFrequencyMaxAttribute", + readElectricalMeasurementAcFrequencyMaxAttributeInteractionInfo); + Map readElectricalMeasurementNeutralCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementNeutralCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readNeutralCurrentAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementNeutralCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readNeutralCurrentAttribute", + readElectricalMeasurementNeutralCurrentAttributeInteractionInfo); + Map readElectricalMeasurementTotalActivePowerCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementTotalActivePowerAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readTotalActivePowerAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readElectricalMeasurementTotalActivePowerCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readTotalActivePowerAttribute", + readElectricalMeasurementTotalActivePowerAttributeInteractionInfo); + Map readElectricalMeasurementTotalReactivePowerCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementTotalReactivePowerAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readTotalReactivePowerAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readElectricalMeasurementTotalReactivePowerCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readTotalReactivePowerAttribute", + readElectricalMeasurementTotalReactivePowerAttributeInteractionInfo); + Map readElectricalMeasurementTotalApparentPowerCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementTotalApparentPowerAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readTotalApparentPowerAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readElectricalMeasurementTotalApparentPowerCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readTotalApparentPowerAttribute", + readElectricalMeasurementTotalApparentPowerAttributeInteractionInfo); + Map + readElectricalMeasurementMeasured1stHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasured1stHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasured1stHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasured1stHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasured1stHarmonicCurrentAttribute", + readElectricalMeasurementMeasured1stHarmonicCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementMeasured3rdHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasured3rdHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasured3rdHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasured3rdHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasured3rdHarmonicCurrentAttribute", + readElectricalMeasurementMeasured3rdHarmonicCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementMeasured5thHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasured5thHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasured5thHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasured5thHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasured5thHarmonicCurrentAttribute", + readElectricalMeasurementMeasured5thHarmonicCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementMeasured7thHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasured7thHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasured7thHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasured7thHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasured7thHarmonicCurrentAttribute", + readElectricalMeasurementMeasured7thHarmonicCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementMeasured9thHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasured9thHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasured9thHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasured9thHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasured9thHarmonicCurrentAttribute", + readElectricalMeasurementMeasured9thHarmonicCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementMeasured11thHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasured11thHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasured11thHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasured11thHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasured11thHarmonicCurrentAttribute", + readElectricalMeasurementMeasured11thHarmonicCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementMeasuredPhase1stHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementMeasuredPhase1stHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasuredPhase1stHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasuredPhase1stHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasuredPhase1stHarmonicCurrentAttribute", + readElectricalMeasurementMeasuredPhase1stHarmonicCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementMeasuredPhase3rdHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementMeasuredPhase3rdHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasuredPhase3rdHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasuredPhase3rdHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasuredPhase3rdHarmonicCurrentAttribute", + readElectricalMeasurementMeasuredPhase3rdHarmonicCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementMeasuredPhase5thHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementMeasuredPhase5thHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasuredPhase5thHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasuredPhase5thHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasuredPhase5thHarmonicCurrentAttribute", + readElectricalMeasurementMeasuredPhase5thHarmonicCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementMeasuredPhase7thHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementMeasuredPhase7thHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasuredPhase7thHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasuredPhase7thHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasuredPhase7thHarmonicCurrentAttribute", + readElectricalMeasurementMeasuredPhase7thHarmonicCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementMeasuredPhase9thHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementMeasuredPhase9thHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasuredPhase9thHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasuredPhase9thHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasuredPhase9thHarmonicCurrentAttribute", + readElectricalMeasurementMeasuredPhase9thHarmonicCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementMeasuredPhase11thHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementMeasuredPhase11thHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasuredPhase11thHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasuredPhase11thHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasuredPhase11thHarmonicCurrentAttribute", + readElectricalMeasurementMeasuredPhase11thHarmonicCurrentAttributeInteractionInfo); + Map readElectricalMeasurementAcFrequencyMultiplierCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcFrequencyMultiplierAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcFrequencyMultiplierAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcFrequencyMultiplierCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcFrequencyMultiplierAttribute", + readElectricalMeasurementAcFrequencyMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementAcFrequencyDivisorCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcFrequencyDivisorAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcFrequencyDivisorAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcFrequencyDivisorCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcFrequencyDivisorAttribute", + readElectricalMeasurementAcFrequencyDivisorAttributeInteractionInfo); + Map readElectricalMeasurementPowerMultiplierCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementPowerMultiplierAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readPowerMultiplierAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readElectricalMeasurementPowerMultiplierCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readPowerMultiplierAttribute", + readElectricalMeasurementPowerMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementPowerDivisorCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementPowerDivisorAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readPowerDivisorAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readElectricalMeasurementPowerDivisorCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readPowerDivisorAttribute", readElectricalMeasurementPowerDivisorAttributeInteractionInfo); + Map + readElectricalMeasurementHarmonicCurrentMultiplierCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementHarmonicCurrentMultiplierAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readHarmonicCurrentMultiplierAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementHarmonicCurrentMultiplierCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readHarmonicCurrentMultiplierAttribute", + readElectricalMeasurementHarmonicCurrentMultiplierAttributeInteractionInfo); + Map + readElectricalMeasurementPhaseHarmonicCurrentMultiplierCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementPhaseHarmonicCurrentMultiplierAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readPhaseHarmonicCurrentMultiplierAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementPhaseHarmonicCurrentMultiplierCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readPhaseHarmonicCurrentMultiplierAttribute", + readElectricalMeasurementPhaseHarmonicCurrentMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementInstantaneousVoltageCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementInstantaneousVoltageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readInstantaneousVoltageAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementInstantaneousVoltageCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readInstantaneousVoltageAttribute", + readElectricalMeasurementInstantaneousVoltageAttributeInteractionInfo); + Map + readElectricalMeasurementInstantaneousLineCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementInstantaneousLineCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readInstantaneousLineCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementInstantaneousLineCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readInstantaneousLineCurrentAttribute", + readElectricalMeasurementInstantaneousLineCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementInstantaneousActiveCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementInstantaneousActiveCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readInstantaneousActiveCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementInstantaneousActiveCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readInstantaneousActiveCurrentAttribute", + readElectricalMeasurementInstantaneousActiveCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementInstantaneousReactiveCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementInstantaneousReactiveCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readInstantaneousReactiveCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementInstantaneousReactiveCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readInstantaneousReactiveCurrentAttribute", + readElectricalMeasurementInstantaneousReactiveCurrentAttributeInteractionInfo); + Map readElectricalMeasurementInstantaneousPowerCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementInstantaneousPowerAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readInstantaneousPowerAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementInstantaneousPowerCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readInstantaneousPowerAttribute", + readElectricalMeasurementInstantaneousPowerAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageAttribute", readElectricalMeasurementRmsVoltageAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageMinCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageMinAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageMinAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageMinCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageMinAttribute", + readElectricalMeasurementRmsVoltageMinAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageMaxCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageMaxAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageMaxCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageMaxAttribute", + readElectricalMeasurementRmsVoltageMaxAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsCurrentAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsCurrentAttribute", readElectricalMeasurementRmsCurrentAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentMinCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentMinAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsCurrentMinAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentMinCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsCurrentMinAttribute", + readElectricalMeasurementRmsCurrentMinAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentMaxCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentMaxAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsCurrentMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentMaxCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsCurrentMaxAttribute", + readElectricalMeasurementRmsCurrentMaxAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActivePowerAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActivePowerAttribute", readElectricalMeasurementActivePowerAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerMinCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerMinAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActivePowerMinAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerMinCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActivePowerMinAttribute", + readElectricalMeasurementActivePowerMinAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerMaxCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerMaxAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActivePowerMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerMaxCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActivePowerMaxAttribute", + readElectricalMeasurementActivePowerMaxAttributeInteractionInfo); + Map readElectricalMeasurementReactivePowerCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementReactivePowerAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readReactivePowerAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementReactivePowerCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readReactivePowerAttribute", + readElectricalMeasurementReactivePowerAttributeInteractionInfo); + Map readElectricalMeasurementApparentPowerCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementApparentPowerAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readApparentPowerAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementApparentPowerCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readApparentPowerAttribute", + readElectricalMeasurementApparentPowerAttributeInteractionInfo); + Map readElectricalMeasurementPowerFactorCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementPowerFactorAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readPowerFactorAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementPowerFactorCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readPowerFactorAttribute", readElectricalMeasurementPowerFactorAttributeInteractionInfo); + Map + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAverageRmsVoltageMeasurementPeriodAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAverageRmsVoltageMeasurementPeriodAttribute", + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodAttributeInteractionInfo); + Map + readElectricalMeasurementAverageRmsUnderVoltageCounterCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAverageRmsUnderVoltageCounterAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAverageRmsUnderVoltageCounterAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsUnderVoltageCounterCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAverageRmsUnderVoltageCounterAttribute", + readElectricalMeasurementAverageRmsUnderVoltageCounterAttributeInteractionInfo); + Map + readElectricalMeasurementRmsExtremeOverVoltagePeriodCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsExtremeOverVoltagePeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsExtremeOverVoltagePeriodAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeOverVoltagePeriodCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsExtremeOverVoltagePeriodAttribute", + readElectricalMeasurementRmsExtremeOverVoltagePeriodAttributeInteractionInfo); + Map + readElectricalMeasurementRmsExtremeUnderVoltagePeriodCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsExtremeUnderVoltagePeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsExtremeUnderVoltagePeriodAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeUnderVoltagePeriodCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsExtremeUnderVoltagePeriodAttribute", + readElectricalMeasurementRmsExtremeUnderVoltagePeriodAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageSagPeriodCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSagPeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageSagPeriodAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSagPeriodCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageSagPeriodAttribute", + readElectricalMeasurementRmsVoltageSagPeriodAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageSwellPeriodCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSwellPeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageSwellPeriodAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSwellPeriodCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageSwellPeriodAttribute", + readElectricalMeasurementRmsVoltageSwellPeriodAttributeInteractionInfo); + Map readElectricalMeasurementAcVoltageMultiplierCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcVoltageMultiplierAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcVoltageMultiplierAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcVoltageMultiplierCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcVoltageMultiplierAttribute", + readElectricalMeasurementAcVoltageMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementAcVoltageDivisorCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcVoltageDivisorAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcVoltageDivisorAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcVoltageDivisorCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcVoltageDivisorAttribute", + readElectricalMeasurementAcVoltageDivisorAttributeInteractionInfo); + Map readElectricalMeasurementAcCurrentMultiplierCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcCurrentMultiplierAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcCurrentMultiplierAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcCurrentMultiplierCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcCurrentMultiplierAttribute", + readElectricalMeasurementAcCurrentMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementAcCurrentDivisorCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcCurrentDivisorAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcCurrentDivisorAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcCurrentDivisorCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcCurrentDivisorAttribute", + readElectricalMeasurementAcCurrentDivisorAttributeInteractionInfo); + Map readElectricalMeasurementAcPowerMultiplierCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcPowerMultiplierAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcPowerMultiplierAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcPowerMultiplierCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcPowerMultiplierAttribute", + readElectricalMeasurementAcPowerMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementAcPowerDivisorCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcPowerDivisorAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcPowerDivisorAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcPowerDivisorCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcPowerDivisorAttribute", + readElectricalMeasurementAcPowerDivisorAttributeInteractionInfo); + Map readElectricalMeasurementOverloadAlarmsMaskCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementOverloadAlarmsMaskAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readOverloadAlarmsMaskAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementOverloadAlarmsMaskCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readOverloadAlarmsMaskAttribute", + readElectricalMeasurementOverloadAlarmsMaskAttributeInteractionInfo); + Map readElectricalMeasurementVoltageOverloadCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementVoltageOverloadAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readVoltageOverloadAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementVoltageOverloadCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readVoltageOverloadAttribute", + readElectricalMeasurementVoltageOverloadAttributeInteractionInfo); + Map readElectricalMeasurementCurrentOverloadCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementCurrentOverloadAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readCurrentOverloadAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementCurrentOverloadCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readCurrentOverloadAttribute", + readElectricalMeasurementCurrentOverloadAttributeInteractionInfo); + Map readElectricalMeasurementAcOverloadAlarmsMaskCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcOverloadAlarmsMaskAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcOverloadAlarmsMaskAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcOverloadAlarmsMaskCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcOverloadAlarmsMaskAttribute", + readElectricalMeasurementAcOverloadAlarmsMaskAttributeInteractionInfo); + Map readElectricalMeasurementAcVoltageOverloadCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcVoltageOverloadAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcVoltageOverloadAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcVoltageOverloadCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcVoltageOverloadAttribute", + readElectricalMeasurementAcVoltageOverloadAttributeInteractionInfo); + Map readElectricalMeasurementAcCurrentOverloadCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcCurrentOverloadAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcCurrentOverloadAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcCurrentOverloadCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcCurrentOverloadAttribute", + readElectricalMeasurementAcCurrentOverloadAttributeInteractionInfo); + Map readElectricalMeasurementAcActivePowerOverloadCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcActivePowerOverloadAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcActivePowerOverloadAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcActivePowerOverloadCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcActivePowerOverloadAttribute", + readElectricalMeasurementAcActivePowerOverloadAttributeInteractionInfo); + Map + readElectricalMeasurementAcReactivePowerOverloadCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcReactivePowerOverloadAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcReactivePowerOverloadAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcReactivePowerOverloadCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcReactivePowerOverloadAttribute", + readElectricalMeasurementAcReactivePowerOverloadAttributeInteractionInfo); + Map readElectricalMeasurementAverageRmsOverVoltageCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAverageRmsOverVoltageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAverageRmsOverVoltageAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsOverVoltageCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAverageRmsOverVoltageAttribute", + readElectricalMeasurementAverageRmsOverVoltageAttributeInteractionInfo); + Map readElectricalMeasurementAverageRmsUnderVoltageCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAverageRmsUnderVoltageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAverageRmsUnderVoltageAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsUnderVoltageCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAverageRmsUnderVoltageAttribute", + readElectricalMeasurementAverageRmsUnderVoltageAttributeInteractionInfo); + Map readElectricalMeasurementRmsExtremeOverVoltageCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsExtremeOverVoltageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsExtremeOverVoltageAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeOverVoltageCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsExtremeOverVoltageAttribute", + readElectricalMeasurementRmsExtremeOverVoltageAttributeInteractionInfo); + Map readElectricalMeasurementRmsExtremeUnderVoltageCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsExtremeUnderVoltageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsExtremeUnderVoltageAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeUnderVoltageCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsExtremeUnderVoltageAttribute", + readElectricalMeasurementRmsExtremeUnderVoltageAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageSagCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSagAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageSagAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSagCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageSagAttribute", + readElectricalMeasurementRmsVoltageSagAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageSwellCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSwellAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageSwellAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSwellCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageSwellAttribute", + readElectricalMeasurementRmsVoltageSwellAttributeInteractionInfo); + Map readElectricalMeasurementLineCurrentPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementLineCurrentPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readLineCurrentPhaseBAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementLineCurrentPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readLineCurrentPhaseBAttribute", + readElectricalMeasurementLineCurrentPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementActiveCurrentPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActiveCurrentPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActiveCurrentPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActiveCurrentPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActiveCurrentPhaseBAttribute", + readElectricalMeasurementActiveCurrentPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementReactiveCurrentPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementReactiveCurrentPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readReactiveCurrentPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementReactiveCurrentPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readReactiveCurrentPhaseBAttribute", + readElectricalMeasurementReactiveCurrentPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltagePhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltagePhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltagePhaseBAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltagePhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltagePhaseBAttribute", + readElectricalMeasurementRmsVoltagePhaseBAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageMinPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageMinPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageMinPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageMinPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageMinPhaseBAttribute", + readElectricalMeasurementRmsVoltageMinPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageMaxPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageMaxPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageMaxPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageMaxPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageMaxPhaseBAttribute", + readElectricalMeasurementRmsVoltageMaxPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsCurrentPhaseBAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsCurrentPhaseBAttribute", + readElectricalMeasurementRmsCurrentPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentMinPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentMinPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsCurrentMinPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentMinPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsCurrentMinPhaseBAttribute", + readElectricalMeasurementRmsCurrentMinPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentMaxPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentMaxPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsCurrentMaxPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentMaxPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsCurrentMaxPhaseBAttribute", + readElectricalMeasurementRmsCurrentMaxPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActivePowerPhaseBAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActivePowerPhaseBAttribute", + readElectricalMeasurementActivePowerPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerMinPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerMinPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActivePowerMinPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerMinPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActivePowerMinPhaseBAttribute", + readElectricalMeasurementActivePowerMinPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerMaxPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerMaxPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActivePowerMaxPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerMaxPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActivePowerMaxPhaseBAttribute", + readElectricalMeasurementActivePowerMaxPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementReactivePowerPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementReactivePowerPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readReactivePowerPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementReactivePowerPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readReactivePowerPhaseBAttribute", + readElectricalMeasurementReactivePowerPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementApparentPowerPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementApparentPowerPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readApparentPowerPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementApparentPowerPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readApparentPowerPhaseBAttribute", + readElectricalMeasurementApparentPowerPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementPowerFactorPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementPowerFactorPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readPowerFactorPhaseBAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementPowerFactorPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readPowerFactorPhaseBAttribute", + readElectricalMeasurementPowerFactorPhaseBAttributeInteractionInfo); + Map + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAverageRmsVoltageMeasurementPeriodPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAverageRmsVoltageMeasurementPeriodPhaseBAttribute", + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseBAttributeInteractionInfo); + Map + readElectricalMeasurementAverageRmsOverVoltageCounterPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementAverageRmsOverVoltageCounterPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAverageRmsOverVoltageCounterPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsOverVoltageCounterPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAverageRmsOverVoltageCounterPhaseBAttribute", + readElectricalMeasurementAverageRmsOverVoltageCounterPhaseBAttributeInteractionInfo); + Map + readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAverageRmsUnderVoltageCounterPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAverageRmsUnderVoltageCounterPhaseBAttribute", + readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseBAttributeInteractionInfo); + Map + readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsExtremeOverVoltagePeriodPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsExtremeOverVoltagePeriodPhaseBAttribute", + readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseBAttributeInteractionInfo); + Map + readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsExtremeUnderVoltagePeriodPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsExtremeUnderVoltagePeriodPhaseBAttribute", + readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseBAttributeInteractionInfo); + Map + readElectricalMeasurementRmsVoltageSagPeriodPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSagPeriodPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageSagPeriodPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSagPeriodPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageSagPeriodPhaseBAttribute", + readElectricalMeasurementRmsVoltageSagPeriodPhaseBAttributeInteractionInfo); + Map + readElectricalMeasurementRmsVoltageSwellPeriodPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSwellPeriodPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageSwellPeriodPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSwellPeriodPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageSwellPeriodPhaseBAttribute", + readElectricalMeasurementRmsVoltageSwellPeriodPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementLineCurrentPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementLineCurrentPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readLineCurrentPhaseCAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementLineCurrentPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readLineCurrentPhaseCAttribute", + readElectricalMeasurementLineCurrentPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementActiveCurrentPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActiveCurrentPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActiveCurrentPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActiveCurrentPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActiveCurrentPhaseCAttribute", + readElectricalMeasurementActiveCurrentPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementReactiveCurrentPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementReactiveCurrentPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readReactiveCurrentPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementReactiveCurrentPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readReactiveCurrentPhaseCAttribute", + readElectricalMeasurementReactiveCurrentPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltagePhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltagePhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltagePhaseCAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltagePhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltagePhaseCAttribute", + readElectricalMeasurementRmsVoltagePhaseCAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageMinPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageMinPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageMinPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageMinPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageMinPhaseCAttribute", + readElectricalMeasurementRmsVoltageMinPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageMaxPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageMaxPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageMaxPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageMaxPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageMaxPhaseCAttribute", + readElectricalMeasurementRmsVoltageMaxPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsCurrentPhaseCAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsCurrentPhaseCAttribute", + readElectricalMeasurementRmsCurrentPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentMinPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentMinPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsCurrentMinPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentMinPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsCurrentMinPhaseCAttribute", + readElectricalMeasurementRmsCurrentMinPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentMaxPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentMaxPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsCurrentMaxPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentMaxPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsCurrentMaxPhaseCAttribute", + readElectricalMeasurementRmsCurrentMaxPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActivePowerPhaseCAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActivePowerPhaseCAttribute", + readElectricalMeasurementActivePowerPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerMinPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerMinPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActivePowerMinPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerMinPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActivePowerMinPhaseCAttribute", + readElectricalMeasurementActivePowerMinPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerMaxPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerMaxPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActivePowerMaxPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerMaxPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActivePowerMaxPhaseCAttribute", + readElectricalMeasurementActivePowerMaxPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementReactivePowerPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementReactivePowerPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readReactivePowerPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementReactivePowerPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readReactivePowerPhaseCAttribute", + readElectricalMeasurementReactivePowerPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementApparentPowerPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementApparentPowerPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readApparentPowerPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementApparentPowerPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readApparentPowerPhaseCAttribute", + readElectricalMeasurementApparentPowerPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementPowerFactorPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementPowerFactorPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readPowerFactorPhaseCAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementPowerFactorPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readPowerFactorPhaseCAttribute", + readElectricalMeasurementPowerFactorPhaseCAttributeInteractionInfo); + Map + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAverageRmsVoltageMeasurementPeriodPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAverageRmsVoltageMeasurementPeriodPhaseCAttribute", + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseCAttributeInteractionInfo); + Map + readElectricalMeasurementAverageRmsOverVoltageCounterPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementAverageRmsOverVoltageCounterPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAverageRmsOverVoltageCounterPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsOverVoltageCounterPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAverageRmsOverVoltageCounterPhaseCAttribute", + readElectricalMeasurementAverageRmsOverVoltageCounterPhaseCAttributeInteractionInfo); + Map + readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAverageRmsUnderVoltageCounterPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAverageRmsUnderVoltageCounterPhaseCAttribute", + readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseCAttributeInteractionInfo); + Map + readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsExtremeOverVoltagePeriodPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsExtremeOverVoltagePeriodPhaseCAttribute", + readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseCAttributeInteractionInfo); + Map + readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsExtremeUnderVoltagePeriodPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsExtremeUnderVoltagePeriodPhaseCAttribute", + readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseCAttributeInteractionInfo); + Map + readElectricalMeasurementRmsVoltageSagPeriodPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSagPeriodPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageSagPeriodPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSagPeriodPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageSagPeriodPhaseCAttribute", + readElectricalMeasurementRmsVoltageSagPeriodPhaseCAttributeInteractionInfo); + Map + readElectricalMeasurementRmsVoltageSwellPeriodPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSwellPeriodPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageSwellPeriodPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSwellPeriodPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageSwellPeriodPhaseCAttribute", + readElectricalMeasurementRmsVoltageSwellPeriodPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.ElectricalMeasurementCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedElectricalMeasurementClusterGeneratedCommandListAttributeCallback(), + readElectricalMeasurementGeneratedCommandListCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readGeneratedCommandListAttribute", + readElectricalMeasurementGeneratedCommandListAttributeInteractionInfo); + Map readElectricalMeasurementAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.ElectricalMeasurementCluster + .AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedElectricalMeasurementClusterAcceptedCommandListAttributeCallback(), + readElectricalMeasurementAcceptedCommandListCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcceptedCommandListAttribute", + readElectricalMeasurementAcceptedCommandListAttributeInteractionInfo); + Map readElectricalMeasurementEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readEventListAttribute( + (ChipClusters.ElectricalMeasurementCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedElectricalMeasurementClusterEventListAttributeCallback(), + readElectricalMeasurementEventListCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readEventListAttribute", readElectricalMeasurementEventListAttributeInteractionInfo); + Map readElectricalMeasurementAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.ElectricalMeasurementCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedElectricalMeasurementClusterAttributeListAttributeCallback(), + readElectricalMeasurementAttributeListCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAttributeListAttribute", + readElectricalMeasurementAttributeListAttributeInteractionInfo); + Map readElectricalMeasurementFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readElectricalMeasurementFeatureMapCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readFeatureMapAttribute", readElectricalMeasurementFeatureMapAttributeInteractionInfo); + Map readElectricalMeasurementClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementClusterRevisionCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readClusterRevisionAttribute", + readElectricalMeasurementClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("electricalMeasurement", readElectricalMeasurementInteractionInfo); + Map readClientMonitoringInteractionInfo = new LinkedHashMap<>(); + Map readClientMonitoringIdleModeIntervalCommandParams = + new LinkedHashMap(); + InteractionInfo readClientMonitoringIdleModeIntervalAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster) + .readIdleModeIntervalAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readClientMonitoringIdleModeIntervalCommandParams); + readClientMonitoringInteractionInfo.put( + "readIdleModeIntervalAttribute", + readClientMonitoringIdleModeIntervalAttributeInteractionInfo); + Map readClientMonitoringActiveModeIntervalCommandParams = new LinkedHashMap(); InteractionInfo readClientMonitoringActiveModeIntervalAttributeInteractionInfo = new InteractionInfo( @@ -14468,6 +16556,18 @@ public Map> getReadAttributeMap() { readUnitTestingInteractionInfo.put( "readNullableRangeRestrictedInt16sAttribute", readUnitTestingNullableRangeRestrictedInt16sAttributeInteractionInfo); + Map readUnitTestingWriteOnlyInt8uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingWriteOnlyInt8uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readWriteOnlyInt8uAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingWriteOnlyInt8uCommandParams); + readUnitTestingInteractionInfo.put( + "readWriteOnlyInt8uAttribute", readUnitTestingWriteOnlyInt8uAttributeInteractionInfo); Map readUnitTestingGeneratedCommandListCommandParams = new LinkedHashMap(); InteractionInfo readUnitTestingGeneratedCommandListAttributeInteractionInfo = diff --git a/src/controller/python/chip/clusters/CHIPClusters.py b/src/controller/python/chip/clusters/CHIPClusters.py index b643ddef10f3f1..63da4fe4764472 100644 --- a/src/controller/python/chip/clusters/CHIPClusters.py +++ b/src/controller/python/chip/clusters/CHIPClusters.py @@ -290,6 +290,12 @@ class ChipClusters: "type": "int", "reportable": True, }, + 0x00000005: { + "attributeName": "LastConfiguredBy", + "attributeId": 0x00000005, + "type": "int", + "reportable": True, + }, 0x0000FFF8: { "attributeName": "GeneratedCommandList", "attributeId": 0x0000FFF8, @@ -722,6 +728,27 @@ class ChipClusters: "commands": { }, "attributes": { + 0x00000004: { + "attributeName": "ActiveText", + "attributeId": 0x00000004, + "type": "str", + "reportable": True, + "writable": True, + }, + 0x0000001C: { + "attributeName": "Description", + "attributeId": 0x0000001C, + "type": "str", + "reportable": True, + "writable": True, + }, + 0x0000002E: { + "attributeName": "InactiveText", + "attributeId": 0x0000002E, + "type": "str", + "reportable": True, + "writable": True, + }, 0x00000051: { "attributeName": "OutOfService", "attributeId": 0x00000051, @@ -729,6 +756,12 @@ class ChipClusters: "reportable": True, "writable": True, }, + 0x00000054: { + "attributeName": "Polarity", + "attributeId": 0x00000054, + "type": "int", + "reportable": True, + }, 0x00000055: { "attributeName": "PresentValue", "attributeId": 0x00000055, @@ -736,12 +769,25 @@ class ChipClusters: "reportable": True, "writable": True, }, + 0x00000067: { + "attributeName": "Reliability", + "attributeId": 0x00000067, + "type": "int", + "reportable": True, + "writable": True, + }, 0x0000006F: { "attributeName": "StatusFlags", "attributeId": 0x0000006F, "type": "int", "reportable": True, }, + 0x00000100: { + "attributeName": "ApplicationType", + "attributeId": 0x00000100, + "type": "int", + "reportable": True, + }, 0x0000FFF8: { "attributeName": "GeneratedCommandList", "attributeId": 0x0000FFF8, @@ -4001,6 +4047,27 @@ class ChipClusters: "type": "int", "reportable": True, }, + 0x00000004: { + "attributeName": "DoorOpenEvents", + "attributeId": 0x00000004, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000005: { + "attributeName": "DoorClosedEvents", + "attributeId": 0x00000005, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000006: { + "attributeName": "OpenPeriod", + "attributeId": 0x00000006, + "type": "int", + "reportable": True, + "writable": True, + }, 0x00000011: { "attributeName": "NumberOfTotalUsersSupported", "attributeId": 0x00000011, @@ -4061,6 +4128,12 @@ class ChipClusters: "type": "int", "reportable": True, }, + 0x0000001B: { + "attributeName": "CredentialRulesSupport", + "attributeId": 0x0000001B, + "type": "int", + "reportable": True, + }, 0x0000001C: { "attributeName": "NumberOfCredentialsSupportedPerUser", "attributeId": 0x0000001C, @@ -4074,6 +4147,13 @@ class ChipClusters: "reportable": True, "writable": True, }, + 0x00000022: { + "attributeName": "LEDSettings", + "attributeId": 0x00000022, + "type": "int", + "reportable": True, + "writable": True, + }, 0x00000023: { "attributeName": "AutoRelockTime", "attributeId": 0x00000023, @@ -4101,6 +4181,19 @@ class ChipClusters: "type": "int", "reportable": True, }, + 0x00000027: { + "attributeName": "DefaultConfigurationRegister", + "attributeId": 0x00000027, + "type": "int", + "reportable": True, + }, + 0x00000028: { + "attributeName": "EnableLocalProgramming", + "attributeId": 0x00000028, + "type": "bool", + "reportable": True, + "writable": True, + }, 0x00000029: { "attributeName": "EnableOneTouchLocking", "attributeId": 0x00000029, @@ -4108,6 +4201,13 @@ class ChipClusters: "reportable": True, "writable": True, }, + 0x0000002A: { + "attributeName": "EnableInsideStatusLED", + "attributeId": 0x0000002A, + "type": "bool", + "reportable": True, + "writable": True, + }, 0x0000002B: { "attributeName": "EnablePrivacyModeButton", "attributeId": 0x0000002B, @@ -4115,6 +4215,13 @@ class ChipClusters: "reportable": True, "writable": True, }, + 0x0000002C: { + "attributeName": "LocalProgrammingFeatures", + "attributeId": 0x0000002C, + "type": "int", + "reportable": True, + "writable": True, + }, 0x00000030: { "attributeName": "WrongCodeEntryLimit", "attributeId": 0x00000030, @@ -4129,6 +4236,13 @@ class ChipClusters: "reportable": True, "writable": True, }, + 0x00000032: { + "attributeName": "SendPINOverTheAir", + "attributeId": 0x00000032, + "type": "bool", + "reportable": True, + "writable": True, + }, 0x00000033: { "attributeName": "RequirePINforRemoteOperation", "attributeId": 0x00000033, @@ -4136,6 +4250,13 @@ class ChipClusters: "reportable": True, "writable": True, }, + 0x00000035: { + "attributeName": "ExpiringUserTimeout", + "attributeId": 0x00000035, + "type": "int", + "reportable": True, + "writable": True, + }, 0x0000FFF8: { "attributeName": "GeneratedCommandList", "attributeId": 0x0000FFF8, @@ -4434,6 +4555,48 @@ class ChipClusters: "type": "int", "reportable": True, }, + 0x00000004: { + "attributeName": "BarrierOpenEvents", + "attributeId": 0x00000004, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000005: { + "attributeName": "BarrierCloseEvents", + "attributeId": 0x00000005, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000006: { + "attributeName": "BarrierCommandOpenEvents", + "attributeId": 0x00000006, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000007: { + "attributeName": "BarrierCommandCloseEvents", + "attributeId": 0x00000007, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000008: { + "attributeName": "BarrierOpenPeriod", + "attributeId": 0x00000008, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000009: { + "attributeName": "BarrierClosePeriod", + "attributeId": 0x00000009, + "type": "int", + "reportable": True, + "writable": True, + }, 0x0000000A: { "attributeName": "BarrierPosition", "attributeId": 0x0000000A, @@ -6356,6 +6519,69 @@ class ChipClusters: "type": "int", "reportable": True, }, + 0x00000010: { + "attributeName": "PIROccupiedToUnoccupiedDelay", + "attributeId": 0x00000010, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000011: { + "attributeName": "PIRUnoccupiedToOccupiedDelay", + "attributeId": 0x00000011, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000012: { + "attributeName": "PIRUnoccupiedToOccupiedThreshold", + "attributeId": 0x00000012, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000020: { + "attributeName": "UltrasonicOccupiedToUnoccupiedDelay", + "attributeId": 0x00000020, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000021: { + "attributeName": "UltrasonicUnoccupiedToOccupiedDelay", + "attributeId": 0x00000021, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000022: { + "attributeName": "UltrasonicUnoccupiedToOccupiedThreshold", + "attributeId": 0x00000022, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000030: { + "attributeName": "PhysicalContactOccupiedToUnoccupiedDelay", + "attributeId": 0x00000030, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000031: { + "attributeName": "PhysicalContactUnoccupiedToOccupiedDelay", + "attributeId": 0x00000031, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000032: { + "attributeName": "PhysicalContactUnoccupiedToOccupiedThreshold", + "attributeId": 0x00000032, + "type": "int", + "reportable": True, + "writable": True, + }, 0x0000FFF8: { "attributeName": "GeneratedCommandList", "attributeId": 0x0000FFF8, @@ -7333,121 +7559,831 @@ class ChipClusters: "type": "int", "reportable": True, }, - 0x00000304: { - "attributeName": "TotalActivePower", - "attributeId": 0x00000304, + 0x00000100: { + "attributeName": "DcVoltage", + "attributeId": 0x00000100, "type": "int", "reportable": True, }, - 0x00000505: { - "attributeName": "RmsVoltage", - "attributeId": 0x00000505, + 0x00000101: { + "attributeName": "DcVoltageMin", + "attributeId": 0x00000101, "type": "int", "reportable": True, }, - 0x00000506: { - "attributeName": "RmsVoltageMin", - "attributeId": 0x00000506, + 0x00000102: { + "attributeName": "DcVoltageMax", + "attributeId": 0x00000102, "type": "int", "reportable": True, }, - 0x00000507: { - "attributeName": "RmsVoltageMax", - "attributeId": 0x00000507, + 0x00000103: { + "attributeName": "DcCurrent", + "attributeId": 0x00000103, "type": "int", "reportable": True, }, - 0x00000508: { - "attributeName": "RmsCurrent", - "attributeId": 0x00000508, + 0x00000104: { + "attributeName": "DcCurrentMin", + "attributeId": 0x00000104, "type": "int", "reportable": True, }, - 0x00000509: { - "attributeName": "RmsCurrentMin", - "attributeId": 0x00000509, + 0x00000105: { + "attributeName": "DcCurrentMax", + "attributeId": 0x00000105, "type": "int", "reportable": True, }, - 0x0000050A: { - "attributeName": "RmsCurrentMax", - "attributeId": 0x0000050A, + 0x00000106: { + "attributeName": "DcPower", + "attributeId": 0x00000106, "type": "int", "reportable": True, }, - 0x0000050B: { - "attributeName": "ActivePower", - "attributeId": 0x0000050B, + 0x00000107: { + "attributeName": "DcPowerMin", + "attributeId": 0x00000107, "type": "int", "reportable": True, }, - 0x0000050C: { - "attributeName": "ActivePowerMin", - "attributeId": 0x0000050C, + 0x00000108: { + "attributeName": "DcPowerMax", + "attributeId": 0x00000108, "type": "int", "reportable": True, }, - 0x0000050D: { - "attributeName": "ActivePowerMax", - "attributeId": 0x0000050D, + 0x00000200: { + "attributeName": "DcVoltageMultiplier", + "attributeId": 0x00000200, "type": "int", "reportable": True, }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, + 0x00000201: { + "attributeName": "DcVoltageDivisor", + "attributeId": 0x00000201, "type": "int", "reportable": True, }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, + 0x00000202: { + "attributeName": "DcCurrentMultiplier", + "attributeId": 0x00000202, "type": "int", "reportable": True, }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, + 0x00000203: { + "attributeName": "DcCurrentDivisor", + "attributeId": 0x00000203, "type": "int", "reportable": True, }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, + 0x00000204: { + "attributeName": "DcPowerMultiplier", + "attributeId": 0x00000204, "type": "int", "reportable": True, }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, + 0x00000205: { + "attributeName": "DcPowerDivisor", + "attributeId": 0x00000205, "type": "int", "reportable": True, }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, + 0x00000300: { + "attributeName": "AcFrequency", + "attributeId": 0x00000300, "type": "int", "reportable": True, }, - }, - } - _CLIENT_MONITORING_CLUSTER_INFO = { - "clusterName": "ClientMonitoring", - "clusterId": 0x00001046, - "commands": { - 0x00000000: { - "commandId": 0x00000000, - "commandName": "RegisterClientMonitoring", - "args": { - "clientNodeId": "int", - "ICid": "int", - }, + 0x00000301: { + "attributeName": "AcFrequencyMin", + "attributeId": 0x00000301, + "type": "int", + "reportable": True, }, - 0x00000001: { - "commandId": 0x00000001, - "commandName": "UnregisterClientMonitoring", - "args": { - "clientNodeId": "int", + 0x00000302: { + "attributeName": "AcFrequencyMax", + "attributeId": 0x00000302, + "type": "int", + "reportable": True, + }, + 0x00000303: { + "attributeName": "NeutralCurrent", + "attributeId": 0x00000303, + "type": "int", + "reportable": True, + }, + 0x00000304: { + "attributeName": "TotalActivePower", + "attributeId": 0x00000304, + "type": "int", + "reportable": True, + }, + 0x00000305: { + "attributeName": "TotalReactivePower", + "attributeId": 0x00000305, + "type": "int", + "reportable": True, + }, + 0x00000306: { + "attributeName": "TotalApparentPower", + "attributeId": 0x00000306, + "type": "int", + "reportable": True, + }, + 0x00000307: { + "attributeName": "Measured1stHarmonicCurrent", + "attributeId": 0x00000307, + "type": "int", + "reportable": True, + }, + 0x00000308: { + "attributeName": "Measured3rdHarmonicCurrent", + "attributeId": 0x00000308, + "type": "int", + "reportable": True, + }, + 0x00000309: { + "attributeName": "Measured5thHarmonicCurrent", + "attributeId": 0x00000309, + "type": "int", + "reportable": True, + }, + 0x0000030A: { + "attributeName": "Measured7thHarmonicCurrent", + "attributeId": 0x0000030A, + "type": "int", + "reportable": True, + }, + 0x0000030B: { + "attributeName": "Measured9thHarmonicCurrent", + "attributeId": 0x0000030B, + "type": "int", + "reportable": True, + }, + 0x0000030C: { + "attributeName": "Measured11thHarmonicCurrent", + "attributeId": 0x0000030C, + "type": "int", + "reportable": True, + }, + 0x0000030D: { + "attributeName": "MeasuredPhase1stHarmonicCurrent", + "attributeId": 0x0000030D, + "type": "int", + "reportable": True, + }, + 0x0000030E: { + "attributeName": "MeasuredPhase3rdHarmonicCurrent", + "attributeId": 0x0000030E, + "type": "int", + "reportable": True, + }, + 0x0000030F: { + "attributeName": "MeasuredPhase5thHarmonicCurrent", + "attributeId": 0x0000030F, + "type": "int", + "reportable": True, + }, + 0x00000310: { + "attributeName": "MeasuredPhase7thHarmonicCurrent", + "attributeId": 0x00000310, + "type": "int", + "reportable": True, + }, + 0x00000311: { + "attributeName": "MeasuredPhase9thHarmonicCurrent", + "attributeId": 0x00000311, + "type": "int", + "reportable": True, + }, + 0x00000312: { + "attributeName": "MeasuredPhase11thHarmonicCurrent", + "attributeId": 0x00000312, + "type": "int", + "reportable": True, + }, + 0x00000400: { + "attributeName": "AcFrequencyMultiplier", + "attributeId": 0x00000400, + "type": "int", + "reportable": True, + }, + 0x00000401: { + "attributeName": "AcFrequencyDivisor", + "attributeId": 0x00000401, + "type": "int", + "reportable": True, + }, + 0x00000402: { + "attributeName": "PowerMultiplier", + "attributeId": 0x00000402, + "type": "int", + "reportable": True, + }, + 0x00000403: { + "attributeName": "PowerDivisor", + "attributeId": 0x00000403, + "type": "int", + "reportable": True, + }, + 0x00000404: { + "attributeName": "HarmonicCurrentMultiplier", + "attributeId": 0x00000404, + "type": "int", + "reportable": True, + }, + 0x00000405: { + "attributeName": "PhaseHarmonicCurrentMultiplier", + "attributeId": 0x00000405, + "type": "int", + "reportable": True, + }, + 0x00000500: { + "attributeName": "InstantaneousVoltage", + "attributeId": 0x00000500, + "type": "int", + "reportable": True, + }, + 0x00000501: { + "attributeName": "InstantaneousLineCurrent", + "attributeId": 0x00000501, + "type": "int", + "reportable": True, + }, + 0x00000502: { + "attributeName": "InstantaneousActiveCurrent", + "attributeId": 0x00000502, + "type": "int", + "reportable": True, + }, + 0x00000503: { + "attributeName": "InstantaneousReactiveCurrent", + "attributeId": 0x00000503, + "type": "int", + "reportable": True, + }, + 0x00000504: { + "attributeName": "InstantaneousPower", + "attributeId": 0x00000504, + "type": "int", + "reportable": True, + }, + 0x00000505: { + "attributeName": "RmsVoltage", + "attributeId": 0x00000505, + "type": "int", + "reportable": True, + }, + 0x00000506: { + "attributeName": "RmsVoltageMin", + "attributeId": 0x00000506, + "type": "int", + "reportable": True, + }, + 0x00000507: { + "attributeName": "RmsVoltageMax", + "attributeId": 0x00000507, + "type": "int", + "reportable": True, + }, + 0x00000508: { + "attributeName": "RmsCurrent", + "attributeId": 0x00000508, + "type": "int", + "reportable": True, + }, + 0x00000509: { + "attributeName": "RmsCurrentMin", + "attributeId": 0x00000509, + "type": "int", + "reportable": True, + }, + 0x0000050A: { + "attributeName": "RmsCurrentMax", + "attributeId": 0x0000050A, + "type": "int", + "reportable": True, + }, + 0x0000050B: { + "attributeName": "ActivePower", + "attributeId": 0x0000050B, + "type": "int", + "reportable": True, + }, + 0x0000050C: { + "attributeName": "ActivePowerMin", + "attributeId": 0x0000050C, + "type": "int", + "reportable": True, + }, + 0x0000050D: { + "attributeName": "ActivePowerMax", + "attributeId": 0x0000050D, + "type": "int", + "reportable": True, + }, + 0x0000050E: { + "attributeName": "ReactivePower", + "attributeId": 0x0000050E, + "type": "int", + "reportable": True, + }, + 0x0000050F: { + "attributeName": "ApparentPower", + "attributeId": 0x0000050F, + "type": "int", + "reportable": True, + }, + 0x00000510: { + "attributeName": "PowerFactor", + "attributeId": 0x00000510, + "type": "int", + "reportable": True, + }, + 0x00000511: { + "attributeName": "AverageRmsVoltageMeasurementPeriod", + "attributeId": 0x00000511, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000513: { + "attributeName": "AverageRmsUnderVoltageCounter", + "attributeId": 0x00000513, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000514: { + "attributeName": "RmsExtremeOverVoltagePeriod", + "attributeId": 0x00000514, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000515: { + "attributeName": "RmsExtremeUnderVoltagePeriod", + "attributeId": 0x00000515, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000516: { + "attributeName": "RmsVoltageSagPeriod", + "attributeId": 0x00000516, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000517: { + "attributeName": "RmsVoltageSwellPeriod", + "attributeId": 0x00000517, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000600: { + "attributeName": "AcVoltageMultiplier", + "attributeId": 0x00000600, + "type": "int", + "reportable": True, + }, + 0x00000601: { + "attributeName": "AcVoltageDivisor", + "attributeId": 0x00000601, + "type": "int", + "reportable": True, + }, + 0x00000602: { + "attributeName": "AcCurrentMultiplier", + "attributeId": 0x00000602, + "type": "int", + "reportable": True, + }, + 0x00000603: { + "attributeName": "AcCurrentDivisor", + "attributeId": 0x00000603, + "type": "int", + "reportable": True, + }, + 0x00000604: { + "attributeName": "AcPowerMultiplier", + "attributeId": 0x00000604, + "type": "int", + "reportable": True, + }, + 0x00000605: { + "attributeName": "AcPowerDivisor", + "attributeId": 0x00000605, + "type": "int", + "reportable": True, + }, + 0x00000700: { + "attributeName": "OverloadAlarmsMask", + "attributeId": 0x00000700, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000701: { + "attributeName": "VoltageOverload", + "attributeId": 0x00000701, + "type": "int", + "reportable": True, + }, + 0x00000702: { + "attributeName": "CurrentOverload", + "attributeId": 0x00000702, + "type": "int", + "reportable": True, + }, + 0x00000800: { + "attributeName": "AcOverloadAlarmsMask", + "attributeId": 0x00000800, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000801: { + "attributeName": "AcVoltageOverload", + "attributeId": 0x00000801, + "type": "int", + "reportable": True, + }, + 0x00000802: { + "attributeName": "AcCurrentOverload", + "attributeId": 0x00000802, + "type": "int", + "reportable": True, + }, + 0x00000803: { + "attributeName": "AcActivePowerOverload", + "attributeId": 0x00000803, + "type": "int", + "reportable": True, + }, + 0x00000804: { + "attributeName": "AcReactivePowerOverload", + "attributeId": 0x00000804, + "type": "int", + "reportable": True, + }, + 0x00000805: { + "attributeName": "AverageRmsOverVoltage", + "attributeId": 0x00000805, + "type": "int", + "reportable": True, + }, + 0x00000806: { + "attributeName": "AverageRmsUnderVoltage", + "attributeId": 0x00000806, + "type": "int", + "reportable": True, + }, + 0x00000807: { + "attributeName": "RmsExtremeOverVoltage", + "attributeId": 0x00000807, + "type": "int", + "reportable": True, + }, + 0x00000808: { + "attributeName": "RmsExtremeUnderVoltage", + "attributeId": 0x00000808, + "type": "int", + "reportable": True, + }, + 0x00000809: { + "attributeName": "RmsVoltageSag", + "attributeId": 0x00000809, + "type": "int", + "reportable": True, + }, + 0x0000080A: { + "attributeName": "RmsVoltageSwell", + "attributeId": 0x0000080A, + "type": "int", + "reportable": True, + }, + 0x00000901: { + "attributeName": "LineCurrentPhaseB", + "attributeId": 0x00000901, + "type": "int", + "reportable": True, + }, + 0x00000902: { + "attributeName": "ActiveCurrentPhaseB", + "attributeId": 0x00000902, + "type": "int", + "reportable": True, + }, + 0x00000903: { + "attributeName": "ReactiveCurrentPhaseB", + "attributeId": 0x00000903, + "type": "int", + "reportable": True, + }, + 0x00000905: { + "attributeName": "RmsVoltagePhaseB", + "attributeId": 0x00000905, + "type": "int", + "reportable": True, + }, + 0x00000906: { + "attributeName": "RmsVoltageMinPhaseB", + "attributeId": 0x00000906, + "type": "int", + "reportable": True, + }, + 0x00000907: { + "attributeName": "RmsVoltageMaxPhaseB", + "attributeId": 0x00000907, + "type": "int", + "reportable": True, + }, + 0x00000908: { + "attributeName": "RmsCurrentPhaseB", + "attributeId": 0x00000908, + "type": "int", + "reportable": True, + }, + 0x00000909: { + "attributeName": "RmsCurrentMinPhaseB", + "attributeId": 0x00000909, + "type": "int", + "reportable": True, + }, + 0x0000090A: { + "attributeName": "RmsCurrentMaxPhaseB", + "attributeId": 0x0000090A, + "type": "int", + "reportable": True, + }, + 0x0000090B: { + "attributeName": "ActivePowerPhaseB", + "attributeId": 0x0000090B, + "type": "int", + "reportable": True, + }, + 0x0000090C: { + "attributeName": "ActivePowerMinPhaseB", + "attributeId": 0x0000090C, + "type": "int", + "reportable": True, + }, + 0x0000090D: { + "attributeName": "ActivePowerMaxPhaseB", + "attributeId": 0x0000090D, + "type": "int", + "reportable": True, + }, + 0x0000090E: { + "attributeName": "ReactivePowerPhaseB", + "attributeId": 0x0000090E, + "type": "int", + "reportable": True, + }, + 0x0000090F: { + "attributeName": "ApparentPowerPhaseB", + "attributeId": 0x0000090F, + "type": "int", + "reportable": True, + }, + 0x00000910: { + "attributeName": "PowerFactorPhaseB", + "attributeId": 0x00000910, + "type": "int", + "reportable": True, + }, + 0x00000911: { + "attributeName": "AverageRmsVoltageMeasurementPeriodPhaseB", + "attributeId": 0x00000911, + "type": "int", + "reportable": True, + }, + 0x00000912: { + "attributeName": "AverageRmsOverVoltageCounterPhaseB", + "attributeId": 0x00000912, + "type": "int", + "reportable": True, + }, + 0x00000913: { + "attributeName": "AverageRmsUnderVoltageCounterPhaseB", + "attributeId": 0x00000913, + "type": "int", + "reportable": True, + }, + 0x00000914: { + "attributeName": "RmsExtremeOverVoltagePeriodPhaseB", + "attributeId": 0x00000914, + "type": "int", + "reportable": True, + }, + 0x00000915: { + "attributeName": "RmsExtremeUnderVoltagePeriodPhaseB", + "attributeId": 0x00000915, + "type": "int", + "reportable": True, + }, + 0x00000916: { + "attributeName": "RmsVoltageSagPeriodPhaseB", + "attributeId": 0x00000916, + "type": "int", + "reportable": True, + }, + 0x00000917: { + "attributeName": "RmsVoltageSwellPeriodPhaseB", + "attributeId": 0x00000917, + "type": "int", + "reportable": True, + }, + 0x00000A01: { + "attributeName": "LineCurrentPhaseC", + "attributeId": 0x00000A01, + "type": "int", + "reportable": True, + }, + 0x00000A02: { + "attributeName": "ActiveCurrentPhaseC", + "attributeId": 0x00000A02, + "type": "int", + "reportable": True, + }, + 0x00000A03: { + "attributeName": "ReactiveCurrentPhaseC", + "attributeId": 0x00000A03, + "type": "int", + "reportable": True, + }, + 0x00000A05: { + "attributeName": "RmsVoltagePhaseC", + "attributeId": 0x00000A05, + "type": "int", + "reportable": True, + }, + 0x00000A06: { + "attributeName": "RmsVoltageMinPhaseC", + "attributeId": 0x00000A06, + "type": "int", + "reportable": True, + }, + 0x00000A07: { + "attributeName": "RmsVoltageMaxPhaseC", + "attributeId": 0x00000A07, + "type": "int", + "reportable": True, + }, + 0x00000A08: { + "attributeName": "RmsCurrentPhaseC", + "attributeId": 0x00000A08, + "type": "int", + "reportable": True, + }, + 0x00000A09: { + "attributeName": "RmsCurrentMinPhaseC", + "attributeId": 0x00000A09, + "type": "int", + "reportable": True, + }, + 0x00000A0A: { + "attributeName": "RmsCurrentMaxPhaseC", + "attributeId": 0x00000A0A, + "type": "int", + "reportable": True, + }, + 0x00000A0B: { + "attributeName": "ActivePowerPhaseC", + "attributeId": 0x00000A0B, + "type": "int", + "reportable": True, + }, + 0x00000A0C: { + "attributeName": "ActivePowerMinPhaseC", + "attributeId": 0x00000A0C, + "type": "int", + "reportable": True, + }, + 0x00000A0D: { + "attributeName": "ActivePowerMaxPhaseC", + "attributeId": 0x00000A0D, + "type": "int", + "reportable": True, + }, + 0x00000A0E: { + "attributeName": "ReactivePowerPhaseC", + "attributeId": 0x00000A0E, + "type": "int", + "reportable": True, + }, + 0x00000A0F: { + "attributeName": "ApparentPowerPhaseC", + "attributeId": 0x00000A0F, + "type": "int", + "reportable": True, + }, + 0x00000A10: { + "attributeName": "PowerFactorPhaseC", + "attributeId": 0x00000A10, + "type": "int", + "reportable": True, + }, + 0x00000A11: { + "attributeName": "AverageRmsVoltageMeasurementPeriodPhaseC", + "attributeId": 0x00000A11, + "type": "int", + "reportable": True, + }, + 0x00000A12: { + "attributeName": "AverageRmsOverVoltageCounterPhaseC", + "attributeId": 0x00000A12, + "type": "int", + "reportable": True, + }, + 0x00000A13: { + "attributeName": "AverageRmsUnderVoltageCounterPhaseC", + "attributeId": 0x00000A13, + "type": "int", + "reportable": True, + }, + 0x00000A14: { + "attributeName": "RmsExtremeOverVoltagePeriodPhaseC", + "attributeId": 0x00000A14, + "type": "int", + "reportable": True, + }, + 0x00000A15: { + "attributeName": "RmsExtremeUnderVoltagePeriodPhaseC", + "attributeId": 0x00000A15, + "type": "int", + "reportable": True, + }, + 0x00000A16: { + "attributeName": "RmsVoltageSagPeriodPhaseC", + "attributeId": 0x00000A16, + "type": "int", + "reportable": True, + }, + 0x00000A17: { + "attributeName": "RmsVoltageSwellPeriodPhaseC", + "attributeId": 0x00000A17, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, + } + _CLIENT_MONITORING_CLUSTER_INFO = { + "clusterName": "ClientMonitoring", + "clusterId": 0x00001046, + "commands": { + 0x00000000: { + "commandId": 0x00000000, + "commandName": "RegisterClientMonitoring", + "args": { + "clientNodeId": "int", + "ICid": "int", + }, + }, + 0x00000001: { + "commandId": 0x00000001, + "commandName": "UnregisterClientMonitoring", + "args": { + "clientNodeId": "int", "ICid": "int", }, }, @@ -8248,6 +9184,13 @@ class ChipClusters: "reportable": True, "writable": True, }, + 0x0000402A: { + "attributeName": "WriteOnlyInt8u", + "attributeId": 0x0000402A, + "type": "int", + "reportable": True, + "writable": True, + }, 0x0000FFF8: { "attributeName": "GeneratedCommandList", "attributeId": 0x0000FFF8, diff --git a/src/controller/python/templates/python-CHIPClusters-py.zapt b/src/controller/python/templates/python-CHIPClusters-py.zapt index bf6c6aace13531..d7bc40131654cb 100644 --- a/src/controller/python/templates/python-CHIPClusters-py.zapt +++ b/src/controller/python/templates/python-CHIPClusters-py.zapt @@ -31,11 +31,11 @@ class ChipClusters: {{/chip_cluster_commands}} }, "attributes": { -{{#chip_server_cluster_attributes}} +{{#zcl_attributes_server removeKeys='isOptional'}} {{asHex code 8}}: { "attributeName": "{{asUpperCamelCase name}}", "attributeId": {{asHex code 8}}, - "type": "{{#if (isCharString type)}}str{{else}}{{asPythonType chipType}}{{/if}}", + "type": "{{as_underlying_python_zcl_type type ../id}}", {{#if isReportableAttribute}} "reportable": True, {{/if}} @@ -43,7 +43,7 @@ class ChipClusters: "writable": True, {{/if}} }, -{{/chip_server_cluster_attributes}} +{{/zcl_attributes_server}} }, } {{/chip_client_clusters}} From b7db17955adc8e8fe244a1b4894ffac016b1e537 Mon Sep 17 00:00:00 2001 From: Bharat Dandu Date: Wed, 22 Mar 2023 13:26:52 -0400 Subject: [PATCH 02/13] Updating min zap version to 2023-03-22 Github: ZAP#898 --- integrations/docker/images/chip-cert-bins/Dockerfile | 2 +- scripts/setup/zap.json | 2 +- scripts/tools/zap/zap_execution.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/integrations/docker/images/chip-cert-bins/Dockerfile b/integrations/docker/images/chip-cert-bins/Dockerfile index 215cf49e59a58c..9c34175ad35ada 100644 --- a/integrations/docker/images/chip-cert-bins/Dockerfile +++ b/integrations/docker/images/chip-cert-bins/Dockerfile @@ -7,7 +7,7 @@ ARG COMMITHASH=7b99e6399c6069037c613782d78132c69b9dcabb # ZAP Development install, so that it runs on both x64 and arm64 # Generally this should match with the ZAP version that is used for codegen within the # specified SHA -ARG ZAP_VERSION=v2023.03.17-nightly +ARG ZAP_VERSION=v2023.03.22-nightly # Ensure TARGETPLATFORM is set RUN case ${TARGETPLATFORM} in \ diff --git a/scripts/setup/zap.json b/scripts/setup/zap.json index 47ca7cdc8ce2b1..4c8307a2e32b57 100644 --- a/scripts/setup/zap.json +++ b/scripts/setup/zap.json @@ -8,7 +8,7 @@ "mac-arm64", "windows-amd64" ], - "tags": ["version:2@v2023.03.17-nightly.1"] + "tags": ["version:2@v2023.03.22-nightly.1"] } ] } diff --git a/scripts/tools/zap/zap_execution.py b/scripts/tools/zap/zap_execution.py index f22291262ba647..e6de3de37d80b6 100644 --- a/scripts/tools/zap/zap_execution.py +++ b/scripts/tools/zap/zap_execution.py @@ -23,7 +23,7 @@ # Use scripts/tools/zap/version_update.py to manage ZAP versioning as many # files may need updating for versions # -MIN_ZAP_VERSION = '2023.3.16' +MIN_ZAP_VERSION = '2023.3.22' class ZapTool: From 8e1419b9e11d70bbd1806735058e0db6461cc07f Mon Sep 17 00:00:00 2001 From: Bharat Dandu Date: Wed, 22 Mar 2023 13:32:58 -0400 Subject: [PATCH 03/13] Deleting the file which was deleted in the main chip repo. Added by mistake during rebase Github: ZAP#898 --- .../ClusterInfo-write-interaction.zapt | 50 ------------------- 1 file changed, 50 deletions(-) delete mode 100644 src/controller/java/templates/ClusterInfo-write-interaction.zapt diff --git a/src/controller/java/templates/ClusterInfo-write-interaction.zapt b/src/controller/java/templates/ClusterInfo-write-interaction.zapt deleted file mode 100644 index 73bfb943c64873..00000000000000 --- a/src/controller/java/templates/ClusterInfo-write-interaction.zapt +++ /dev/null @@ -1,50 +0,0 @@ -{{> header}} -{{#if (chip_has_client_clusters)}} - -package chip.devicecontroller; - -import chip.clusterinfo.CommandParameterInfo; -import chip.clusterinfo.InteractionInfo; -import chip.devicecontroller.ChipClusters.DefaultClusterCallback; -import java.util.HashMap; -import java.util.LinkedHashMap; -import java.util.Map; - -public class ClusterWriteMapping { - public Map> getWriteAttributeMap() { - Map> writeAttributeMap = new HashMap<>(); - {{#chip_client_clusters}} - Map write{{asUpperCamelCase name}}InteractionInfo = new LinkedHashMap<>(); - {{#zcl_attributes_server removeKeys='isOptional'}} - {{! TODO: Add support for struct-typed attributes }} - {{#if_unsupported_attribute_callback type isArray ../id}} - {{else}} - {{#if isWritableAttribute}} - {{#unless isArray}} - Map write{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}CommandParams = new LinkedHashMap(); - CommandParameterInfo {{asLowerCamelCase ../name}}{{asLowerCamelCase name}}CommandParameterInfo = new CommandParameterInfo("value", {{asJavaType type null parent.parent.name removeGenericType=true}}.class, {{asJavaType type null parent.parent.name underlyingType=true}}.class); - write{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}CommandParams.put("value",{{asLowerCamelCase ../name}}{{asLowerCamelCase name}}CommandParameterInfo); - InteractionInfo write{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.{{asUpperCamelCase ../name}}Cluster) cluster).write{{asUpperCamelCase name}}Attribute( - (DefaultClusterCallback) callback, - ({{as_underlying_java_zcl_type type ../id boolean="Boolean" isBoxedJavaType=true}}) - commandArguments.get("value") - {{#if mustUseTimedWrite}}, 10000{{/if}} - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - write{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}CommandParams - ); - write{{asUpperCamelCase ../name}}InteractionInfo.put("write{{asUpperCamelCase name}}Attribute", write{{asUpperCamelCase ../name}}{{asUpperCamelCase name}}AttributeInteractionInfo); - {{/unless}} - {{/if}} - {{/if_unsupported_attribute_callback}} - {{/zcl_attributes_server}} - writeAttributeMap.put("{{asLowerCamelCase name}}", write{{asUpperCamelCase name}}InteractionInfo); - {{/chip_client_clusters}} - return writeAttributeMap; - } -} - -{{/if}} \ No newline at end of file From 4819fda9c6bd7ba149ce75b69c9560c8979a2a47 Mon Sep 17 00:00:00 2001 From: Bharat Dandu Date: Wed, 22 Mar 2023 13:47:59 -0400 Subject: [PATCH 04/13] Regen after rebase Github: ZAP#898 --- .../devicecontroller/ClusterWriteMapping.java | 688 ------------------ 1 file changed, 688 deletions(-) diff --git a/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java b/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java index 2dce6dab7f0433..23a9b397567695 100644 --- a/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java +++ b/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java @@ -242,57 +242,6 @@ public Map> getWriteAttributeMap() { writeLevelControlStartUpCurrentLevelAttributeInteractionInfo); writeAttributeMap.put("levelControl", writeLevelControlInteractionInfo); Map writeBinaryInputBasicInteractionInfo = new LinkedHashMap<>(); - Map writeBinaryInputBasicActiveTextCommandParams = - new LinkedHashMap(); - CommandParameterInfo binaryInputBasicactiveTextCommandParameterInfo = - new CommandParameterInfo("value", String.class, String.class); - writeBinaryInputBasicActiveTextCommandParams.put( - "value", binaryInputBasicactiveTextCommandParameterInfo); - InteractionInfo writeBinaryInputBasicActiveTextAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .writeActiveTextAttribute( - (DefaultClusterCallback) callback, (String) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBinaryInputBasicActiveTextCommandParams); - writeBinaryInputBasicInteractionInfo.put( - "writeActiveTextAttribute", writeBinaryInputBasicActiveTextAttributeInteractionInfo); - Map writeBinaryInputBasicDescriptionCommandParams = - new LinkedHashMap(); - CommandParameterInfo binaryInputBasicdescriptionCommandParameterInfo = - new CommandParameterInfo("value", String.class, String.class); - writeBinaryInputBasicDescriptionCommandParams.put( - "value", binaryInputBasicdescriptionCommandParameterInfo); - InteractionInfo writeBinaryInputBasicDescriptionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .writeDescriptionAttribute( - (DefaultClusterCallback) callback, (String) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBinaryInputBasicDescriptionCommandParams); - writeBinaryInputBasicInteractionInfo.put( - "writeDescriptionAttribute", writeBinaryInputBasicDescriptionAttributeInteractionInfo); - Map writeBinaryInputBasicInactiveTextCommandParams = - new LinkedHashMap(); - CommandParameterInfo binaryInputBasicinactiveTextCommandParameterInfo = - new CommandParameterInfo("value", String.class, String.class); - writeBinaryInputBasicInactiveTextCommandParams.put( - "value", binaryInputBasicinactiveTextCommandParameterInfo); - InteractionInfo writeBinaryInputBasicInactiveTextAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .writeInactiveTextAttribute( - (DefaultClusterCallback) callback, (String) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBinaryInputBasicInactiveTextCommandParams); - writeBinaryInputBasicInteractionInfo.put( - "writeInactiveTextAttribute", writeBinaryInputBasicInactiveTextAttributeInteractionInfo); Map writeBinaryInputBasicOutOfServiceCommandParams = new LinkedHashMap(); CommandParameterInfo binaryInputBasicoutOfServiceCommandParameterInfo = @@ -327,23 +276,6 @@ public Map> getWriteAttributeMap() { writeBinaryInputBasicPresentValueCommandParams); writeBinaryInputBasicInteractionInfo.put( "writePresentValueAttribute", writeBinaryInputBasicPresentValueAttributeInteractionInfo); - Map writeBinaryInputBasicReliabilityCommandParams = - new LinkedHashMap(); - CommandParameterInfo binaryInputBasicreliabilityCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeBinaryInputBasicReliabilityCommandParams.put( - "value", binaryInputBasicreliabilityCommandParameterInfo); - InteractionInfo writeBinaryInputBasicReliabilityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .writeReliabilityAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBinaryInputBasicReliabilityCommandParams); - writeBinaryInputBasicInteractionInfo.put( - "writeReliabilityAttribute", writeBinaryInputBasicReliabilityAttributeInteractionInfo); writeAttributeMap.put("binaryInputBasic", writeBinaryInputBasicInteractionInfo); Map writeDescriptorInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("descriptor", writeDescriptorInteractionInfo); @@ -626,56 +558,6 @@ public Map> getWriteAttributeMap() { "writeOnModeAttribute", writeModeSelectOnModeAttributeInteractionInfo); writeAttributeMap.put("modeSelect", writeModeSelectInteractionInfo); Map writeDoorLockInteractionInfo = new LinkedHashMap<>(); - Map writeDoorLockDoorOpenEventsCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLockdoorOpenEventsCommandParameterInfo = - new CommandParameterInfo("value", Long.class, Long.class); - writeDoorLockDoorOpenEventsCommandParams.put( - "value", doorLockdoorOpenEventsCommandParameterInfo); - InteractionInfo writeDoorLockDoorOpenEventsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .writeDoorOpenEventsAttribute( - (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeDoorLockDoorOpenEventsCommandParams); - writeDoorLockInteractionInfo.put( - "writeDoorOpenEventsAttribute", writeDoorLockDoorOpenEventsAttributeInteractionInfo); - Map writeDoorLockDoorClosedEventsCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLockdoorClosedEventsCommandParameterInfo = - new CommandParameterInfo("value", Long.class, Long.class); - writeDoorLockDoorClosedEventsCommandParams.put( - "value", doorLockdoorClosedEventsCommandParameterInfo); - InteractionInfo writeDoorLockDoorClosedEventsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .writeDoorClosedEventsAttribute( - (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeDoorLockDoorClosedEventsCommandParams); - writeDoorLockInteractionInfo.put( - "writeDoorClosedEventsAttribute", writeDoorLockDoorClosedEventsAttributeInteractionInfo); - Map writeDoorLockOpenPeriodCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLockopenPeriodCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeDoorLockOpenPeriodCommandParams.put("value", doorLockopenPeriodCommandParameterInfo); - InteractionInfo writeDoorLockOpenPeriodAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .writeOpenPeriodAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeDoorLockOpenPeriodCommandParams); - writeDoorLockInteractionInfo.put( - "writeOpenPeriodAttribute", writeDoorLockOpenPeriodAttributeInteractionInfo); Map writeDoorLockLanguageCommandParams = new LinkedHashMap(); CommandParameterInfo doorLocklanguageCommandParameterInfo = @@ -692,22 +574,6 @@ public Map> getWriteAttributeMap() { writeDoorLockLanguageCommandParams); writeDoorLockInteractionInfo.put( "writeLanguageAttribute", writeDoorLockLanguageAttributeInteractionInfo); - Map writeDoorLockLEDSettingsCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLockLEDSettingsCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeDoorLockLEDSettingsCommandParams.put("value", doorLockLEDSettingsCommandParameterInfo); - InteractionInfo writeDoorLockLEDSettingsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .writeLEDSettingsAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeDoorLockLEDSettingsCommandParams); - writeDoorLockInteractionInfo.put( - "writeLEDSettingsAttribute", writeDoorLockLEDSettingsAttributeInteractionInfo); Map writeDoorLockAutoRelockTimeCommandParams = new LinkedHashMap(); CommandParameterInfo doorLockautoRelockTimeCommandParameterInfo = @@ -757,24 +623,6 @@ public Map> getWriteAttributeMap() { writeDoorLockOperatingModeCommandParams); writeDoorLockInteractionInfo.put( "writeOperatingModeAttribute", writeDoorLockOperatingModeAttributeInteractionInfo); - Map writeDoorLockEnableLocalProgrammingCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLockenableLocalProgrammingCommandParameterInfo = - new CommandParameterInfo("value", Boolean.class, Boolean.class); - writeDoorLockEnableLocalProgrammingCommandParams.put( - "value", doorLockenableLocalProgrammingCommandParameterInfo); - InteractionInfo writeDoorLockEnableLocalProgrammingAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .writeEnableLocalProgrammingAttribute( - (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeDoorLockEnableLocalProgrammingCommandParams); - writeDoorLockInteractionInfo.put( - "writeEnableLocalProgrammingAttribute", - writeDoorLockEnableLocalProgrammingAttributeInteractionInfo); Map writeDoorLockEnableOneTouchLockingCommandParams = new LinkedHashMap(); CommandParameterInfo doorLockenableOneTouchLockingCommandParameterInfo = @@ -793,24 +641,6 @@ public Map> getWriteAttributeMap() { writeDoorLockInteractionInfo.put( "writeEnableOneTouchLockingAttribute", writeDoorLockEnableOneTouchLockingAttributeInteractionInfo); - Map writeDoorLockEnableInsideStatusLEDCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLockenableInsideStatusLEDCommandParameterInfo = - new CommandParameterInfo("value", Boolean.class, Boolean.class); - writeDoorLockEnableInsideStatusLEDCommandParams.put( - "value", doorLockenableInsideStatusLEDCommandParameterInfo); - InteractionInfo writeDoorLockEnableInsideStatusLEDAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .writeEnableInsideStatusLEDAttribute( - (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeDoorLockEnableInsideStatusLEDCommandParams); - writeDoorLockInteractionInfo.put( - "writeEnableInsideStatusLEDAttribute", - writeDoorLockEnableInsideStatusLEDAttributeInteractionInfo); Map writeDoorLockEnablePrivacyModeButtonCommandParams = new LinkedHashMap(); CommandParameterInfo doorLockenablePrivacyModeButtonCommandParameterInfo = @@ -829,24 +659,6 @@ public Map> getWriteAttributeMap() { writeDoorLockInteractionInfo.put( "writeEnablePrivacyModeButtonAttribute", writeDoorLockEnablePrivacyModeButtonAttributeInteractionInfo); - Map writeDoorLockLocalProgrammingFeaturesCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLocklocalProgrammingFeaturesCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeDoorLockLocalProgrammingFeaturesCommandParams.put( - "value", doorLocklocalProgrammingFeaturesCommandParameterInfo); - InteractionInfo writeDoorLockLocalProgrammingFeaturesAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .writeLocalProgrammingFeaturesAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeDoorLockLocalProgrammingFeaturesCommandParams); - writeDoorLockInteractionInfo.put( - "writeLocalProgrammingFeaturesAttribute", - writeDoorLockLocalProgrammingFeaturesAttributeInteractionInfo); Map writeDoorLockWrongCodeEntryLimitCommandParams = new LinkedHashMap(); CommandParameterInfo doorLockwrongCodeEntryLimitCommandParameterInfo = @@ -883,23 +695,6 @@ public Map> getWriteAttributeMap() { writeDoorLockInteractionInfo.put( "writeUserCodeTemporaryDisableTimeAttribute", writeDoorLockUserCodeTemporaryDisableTimeAttributeInteractionInfo); - Map writeDoorLockSendPINOverTheAirCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLocksendPINOverTheAirCommandParameterInfo = - new CommandParameterInfo("value", Boolean.class, Boolean.class); - writeDoorLockSendPINOverTheAirCommandParams.put( - "value", doorLocksendPINOverTheAirCommandParameterInfo); - InteractionInfo writeDoorLockSendPINOverTheAirAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .writeSendPINOverTheAirAttribute( - (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeDoorLockSendPINOverTheAirCommandParams); - writeDoorLockInteractionInfo.put( - "writeSendPINOverTheAirAttribute", writeDoorLockSendPINOverTheAirAttributeInteractionInfo); Map writeDoorLockRequirePINforRemoteOperationCommandParams = new LinkedHashMap(); CommandParameterInfo doorLockrequirePINforRemoteOperationCommandParameterInfo = @@ -918,24 +713,6 @@ public Map> getWriteAttributeMap() { writeDoorLockInteractionInfo.put( "writeRequirePINforRemoteOperationAttribute", writeDoorLockRequirePINforRemoteOperationAttributeInteractionInfo); - Map writeDoorLockExpiringUserTimeoutCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLockexpiringUserTimeoutCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeDoorLockExpiringUserTimeoutCommandParams.put( - "value", doorLockexpiringUserTimeoutCommandParameterInfo); - InteractionInfo writeDoorLockExpiringUserTimeoutAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .writeExpiringUserTimeoutAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeDoorLockExpiringUserTimeoutCommandParams); - writeDoorLockInteractionInfo.put( - "writeExpiringUserTimeoutAttribute", - writeDoorLockExpiringUserTimeoutAttributeInteractionInfo); writeAttributeMap.put("doorLock", writeDoorLockInteractionInfo); Map writeWindowCoveringInteractionInfo = new LinkedHashMap<>(); Map writeWindowCoveringModeCommandParams = @@ -956,114 +733,6 @@ public Map> getWriteAttributeMap() { "writeModeAttribute", writeWindowCoveringModeAttributeInteractionInfo); writeAttributeMap.put("windowCovering", writeWindowCoveringInteractionInfo); Map writeBarrierControlInteractionInfo = new LinkedHashMap<>(); - Map writeBarrierControlBarrierOpenEventsCommandParams = - new LinkedHashMap(); - CommandParameterInfo barrierControlbarrierOpenEventsCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeBarrierControlBarrierOpenEventsCommandParams.put( - "value", barrierControlbarrierOpenEventsCommandParameterInfo); - InteractionInfo writeBarrierControlBarrierOpenEventsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .writeBarrierOpenEventsAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBarrierControlBarrierOpenEventsCommandParams); - writeBarrierControlInteractionInfo.put( - "writeBarrierOpenEventsAttribute", - writeBarrierControlBarrierOpenEventsAttributeInteractionInfo); - Map writeBarrierControlBarrierCloseEventsCommandParams = - new LinkedHashMap(); - CommandParameterInfo barrierControlbarrierCloseEventsCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeBarrierControlBarrierCloseEventsCommandParams.put( - "value", barrierControlbarrierCloseEventsCommandParameterInfo); - InteractionInfo writeBarrierControlBarrierCloseEventsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .writeBarrierCloseEventsAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBarrierControlBarrierCloseEventsCommandParams); - writeBarrierControlInteractionInfo.put( - "writeBarrierCloseEventsAttribute", - writeBarrierControlBarrierCloseEventsAttributeInteractionInfo); - Map writeBarrierControlBarrierCommandOpenEventsCommandParams = - new LinkedHashMap(); - CommandParameterInfo barrierControlbarrierCommandOpenEventsCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeBarrierControlBarrierCommandOpenEventsCommandParams.put( - "value", barrierControlbarrierCommandOpenEventsCommandParameterInfo); - InteractionInfo writeBarrierControlBarrierCommandOpenEventsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .writeBarrierCommandOpenEventsAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBarrierControlBarrierCommandOpenEventsCommandParams); - writeBarrierControlInteractionInfo.put( - "writeBarrierCommandOpenEventsAttribute", - writeBarrierControlBarrierCommandOpenEventsAttributeInteractionInfo); - Map writeBarrierControlBarrierCommandCloseEventsCommandParams = - new LinkedHashMap(); - CommandParameterInfo barrierControlbarrierCommandCloseEventsCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeBarrierControlBarrierCommandCloseEventsCommandParams.put( - "value", barrierControlbarrierCommandCloseEventsCommandParameterInfo); - InteractionInfo writeBarrierControlBarrierCommandCloseEventsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .writeBarrierCommandCloseEventsAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBarrierControlBarrierCommandCloseEventsCommandParams); - writeBarrierControlInteractionInfo.put( - "writeBarrierCommandCloseEventsAttribute", - writeBarrierControlBarrierCommandCloseEventsAttributeInteractionInfo); - Map writeBarrierControlBarrierOpenPeriodCommandParams = - new LinkedHashMap(); - CommandParameterInfo barrierControlbarrierOpenPeriodCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeBarrierControlBarrierOpenPeriodCommandParams.put( - "value", barrierControlbarrierOpenPeriodCommandParameterInfo); - InteractionInfo writeBarrierControlBarrierOpenPeriodAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .writeBarrierOpenPeriodAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBarrierControlBarrierOpenPeriodCommandParams); - writeBarrierControlInteractionInfo.put( - "writeBarrierOpenPeriodAttribute", - writeBarrierControlBarrierOpenPeriodAttributeInteractionInfo); - Map writeBarrierControlBarrierClosePeriodCommandParams = - new LinkedHashMap(); - CommandParameterInfo barrierControlbarrierClosePeriodCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeBarrierControlBarrierClosePeriodCommandParams.put( - "value", barrierControlbarrierClosePeriodCommandParameterInfo); - InteractionInfo writeBarrierControlBarrierClosePeriodAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .writeBarrierClosePeriodAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBarrierControlBarrierClosePeriodCommandParams); - writeBarrierControlInteractionInfo.put( - "writeBarrierClosePeriodAttribute", - writeBarrierControlBarrierClosePeriodAttributeInteractionInfo); writeAttributeMap.put("barrierControl", writeBarrierControlInteractionInfo); Map writePumpConfigurationAndControlInteractionInfo = new LinkedHashMap<>(); @@ -2208,193 +1877,6 @@ public Map> getWriteAttributeMap() { writeAttributeMap.put( "relativeHumidityMeasurement", writeRelativeHumidityMeasurementInteractionInfo); Map writeOccupancySensingInteractionInfo = new LinkedHashMap<>(); - Map - writeOccupancySensingPIROccupiedToUnoccupiedDelayCommandParams = - new LinkedHashMap(); - CommandParameterInfo occupancySensingPIROccupiedToUnoccupiedDelayCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeOccupancySensingPIROccupiedToUnoccupiedDelayCommandParams.put( - "value", occupancySensingPIROccupiedToUnoccupiedDelayCommandParameterInfo); - InteractionInfo writeOccupancySensingPIROccupiedToUnoccupiedDelayAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .writePIROccupiedToUnoccupiedDelayAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeOccupancySensingPIROccupiedToUnoccupiedDelayCommandParams); - writeOccupancySensingInteractionInfo.put( - "writePIROccupiedToUnoccupiedDelayAttribute", - writeOccupancySensingPIROccupiedToUnoccupiedDelayAttributeInteractionInfo); - Map - writeOccupancySensingPIRUnoccupiedToOccupiedDelayCommandParams = - new LinkedHashMap(); - CommandParameterInfo occupancySensingPIRUnoccupiedToOccupiedDelayCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeOccupancySensingPIRUnoccupiedToOccupiedDelayCommandParams.put( - "value", occupancySensingPIRUnoccupiedToOccupiedDelayCommandParameterInfo); - InteractionInfo writeOccupancySensingPIRUnoccupiedToOccupiedDelayAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .writePIRUnoccupiedToOccupiedDelayAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeOccupancySensingPIRUnoccupiedToOccupiedDelayCommandParams); - writeOccupancySensingInteractionInfo.put( - "writePIRUnoccupiedToOccupiedDelayAttribute", - writeOccupancySensingPIRUnoccupiedToOccupiedDelayAttributeInteractionInfo); - Map - writeOccupancySensingPIRUnoccupiedToOccupiedThresholdCommandParams = - new LinkedHashMap(); - CommandParameterInfo occupancySensingPIRUnoccupiedToOccupiedThresholdCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeOccupancySensingPIRUnoccupiedToOccupiedThresholdCommandParams.put( - "value", occupancySensingPIRUnoccupiedToOccupiedThresholdCommandParameterInfo); - InteractionInfo writeOccupancySensingPIRUnoccupiedToOccupiedThresholdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .writePIRUnoccupiedToOccupiedThresholdAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeOccupancySensingPIRUnoccupiedToOccupiedThresholdCommandParams); - writeOccupancySensingInteractionInfo.put( - "writePIRUnoccupiedToOccupiedThresholdAttribute", - writeOccupancySensingPIRUnoccupiedToOccupiedThresholdAttributeInteractionInfo); - Map - writeOccupancySensingUltrasonicOccupiedToUnoccupiedDelayCommandParams = - new LinkedHashMap(); - CommandParameterInfo occupancySensingultrasonicOccupiedToUnoccupiedDelayCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeOccupancySensingUltrasonicOccupiedToUnoccupiedDelayCommandParams.put( - "value", occupancySensingultrasonicOccupiedToUnoccupiedDelayCommandParameterInfo); - InteractionInfo - writeOccupancySensingUltrasonicOccupiedToUnoccupiedDelayAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .writeUltrasonicOccupiedToUnoccupiedDelayAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeOccupancySensingUltrasonicOccupiedToUnoccupiedDelayCommandParams); - writeOccupancySensingInteractionInfo.put( - "writeUltrasonicOccupiedToUnoccupiedDelayAttribute", - writeOccupancySensingUltrasonicOccupiedToUnoccupiedDelayAttributeInteractionInfo); - Map - writeOccupancySensingUltrasonicUnoccupiedToOccupiedDelayCommandParams = - new LinkedHashMap(); - CommandParameterInfo occupancySensingultrasonicUnoccupiedToOccupiedDelayCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeOccupancySensingUltrasonicUnoccupiedToOccupiedDelayCommandParams.put( - "value", occupancySensingultrasonicUnoccupiedToOccupiedDelayCommandParameterInfo); - InteractionInfo - writeOccupancySensingUltrasonicUnoccupiedToOccupiedDelayAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .writeUltrasonicUnoccupiedToOccupiedDelayAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeOccupancySensingUltrasonicUnoccupiedToOccupiedDelayCommandParams); - writeOccupancySensingInteractionInfo.put( - "writeUltrasonicUnoccupiedToOccupiedDelayAttribute", - writeOccupancySensingUltrasonicUnoccupiedToOccupiedDelayAttributeInteractionInfo); - Map - writeOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdCommandParams = - new LinkedHashMap(); - CommandParameterInfo - occupancySensingultrasonicUnoccupiedToOccupiedThresholdCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdCommandParams.put( - "value", occupancySensingultrasonicUnoccupiedToOccupiedThresholdCommandParameterInfo); - InteractionInfo - writeOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .writeUltrasonicUnoccupiedToOccupiedThresholdAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdCommandParams); - writeOccupancySensingInteractionInfo.put( - "writeUltrasonicUnoccupiedToOccupiedThresholdAttribute", - writeOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdAttributeInteractionInfo); - Map - writeOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayCommandParams = - new LinkedHashMap(); - CommandParameterInfo - occupancySensingphysicalContactOccupiedToUnoccupiedDelayCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayCommandParams.put( - "value", occupancySensingphysicalContactOccupiedToUnoccupiedDelayCommandParameterInfo); - InteractionInfo - writeOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .writePhysicalContactOccupiedToUnoccupiedDelayAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayCommandParams); - writeOccupancySensingInteractionInfo.put( - "writePhysicalContactOccupiedToUnoccupiedDelayAttribute", - writeOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayAttributeInteractionInfo); - Map - writeOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayCommandParams = - new LinkedHashMap(); - CommandParameterInfo - occupancySensingphysicalContactUnoccupiedToOccupiedDelayCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayCommandParams.put( - "value", occupancySensingphysicalContactUnoccupiedToOccupiedDelayCommandParameterInfo); - InteractionInfo - writeOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .writePhysicalContactUnoccupiedToOccupiedDelayAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayCommandParams); - writeOccupancySensingInteractionInfo.put( - "writePhysicalContactUnoccupiedToOccupiedDelayAttribute", - writeOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayAttributeInteractionInfo); - Map - writeOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdCommandParams = - new LinkedHashMap(); - CommandParameterInfo - occupancySensingphysicalContactUnoccupiedToOccupiedThresholdCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdCommandParams.put( - "value", occupancySensingphysicalContactUnoccupiedToOccupiedThresholdCommandParameterInfo); - InteractionInfo - writeOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .writePhysicalContactUnoccupiedToOccupiedThresholdAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdCommandParams); - writeOccupancySensingInteractionInfo.put( - "writePhysicalContactUnoccupiedToOccupiedThresholdAttribute", - writeOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdAttributeInteractionInfo); writeAttributeMap.put("occupancySensing", writeOccupancySensingInteractionInfo); Map writeWakeOnLanInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("wakeOnLan", writeWakeOnLanInteractionInfo); @@ -2439,159 +1921,6 @@ public Map> getWriteAttributeMap() { Map writeAccountLoginInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("accountLogin", writeAccountLoginInteractionInfo); Map writeElectricalMeasurementInteractionInfo = new LinkedHashMap<>(); - Map - writeElectricalMeasurementAverageRmsVoltageMeasurementPeriodCommandParams = - new LinkedHashMap(); - CommandParameterInfo - electricalMeasurementaverageRmsVoltageMeasurementPeriodCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeElectricalMeasurementAverageRmsVoltageMeasurementPeriodCommandParams.put( - "value", electricalMeasurementaverageRmsVoltageMeasurementPeriodCommandParameterInfo); - InteractionInfo - writeElectricalMeasurementAverageRmsVoltageMeasurementPeriodAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .writeAverageRmsVoltageMeasurementPeriodAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeElectricalMeasurementAverageRmsVoltageMeasurementPeriodCommandParams); - writeElectricalMeasurementInteractionInfo.put( - "writeAverageRmsVoltageMeasurementPeriodAttribute", - writeElectricalMeasurementAverageRmsVoltageMeasurementPeriodAttributeInteractionInfo); - Map - writeElectricalMeasurementAverageRmsUnderVoltageCounterCommandParams = - new LinkedHashMap(); - CommandParameterInfo electricalMeasurementaverageRmsUnderVoltageCounterCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeElectricalMeasurementAverageRmsUnderVoltageCounterCommandParams.put( - "value", electricalMeasurementaverageRmsUnderVoltageCounterCommandParameterInfo); - InteractionInfo - writeElectricalMeasurementAverageRmsUnderVoltageCounterAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .writeAverageRmsUnderVoltageCounterAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeElectricalMeasurementAverageRmsUnderVoltageCounterCommandParams); - writeElectricalMeasurementInteractionInfo.put( - "writeAverageRmsUnderVoltageCounterAttribute", - writeElectricalMeasurementAverageRmsUnderVoltageCounterAttributeInteractionInfo); - Map - writeElectricalMeasurementRmsExtremeOverVoltagePeriodCommandParams = - new LinkedHashMap(); - CommandParameterInfo electricalMeasurementrmsExtremeOverVoltagePeriodCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeElectricalMeasurementRmsExtremeOverVoltagePeriodCommandParams.put( - "value", electricalMeasurementrmsExtremeOverVoltagePeriodCommandParameterInfo); - InteractionInfo writeElectricalMeasurementRmsExtremeOverVoltagePeriodAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .writeRmsExtremeOverVoltagePeriodAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeElectricalMeasurementRmsExtremeOverVoltagePeriodCommandParams); - writeElectricalMeasurementInteractionInfo.put( - "writeRmsExtremeOverVoltagePeriodAttribute", - writeElectricalMeasurementRmsExtremeOverVoltagePeriodAttributeInteractionInfo); - Map - writeElectricalMeasurementRmsExtremeUnderVoltagePeriodCommandParams = - new LinkedHashMap(); - CommandParameterInfo electricalMeasurementrmsExtremeUnderVoltagePeriodCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeElectricalMeasurementRmsExtremeUnderVoltagePeriodCommandParams.put( - "value", electricalMeasurementrmsExtremeUnderVoltagePeriodCommandParameterInfo); - InteractionInfo writeElectricalMeasurementRmsExtremeUnderVoltagePeriodAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .writeRmsExtremeUnderVoltagePeriodAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeElectricalMeasurementRmsExtremeUnderVoltagePeriodCommandParams); - writeElectricalMeasurementInteractionInfo.put( - "writeRmsExtremeUnderVoltagePeriodAttribute", - writeElectricalMeasurementRmsExtremeUnderVoltagePeriodAttributeInteractionInfo); - Map writeElectricalMeasurementRmsVoltageSagPeriodCommandParams = - new LinkedHashMap(); - CommandParameterInfo electricalMeasurementrmsVoltageSagPeriodCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeElectricalMeasurementRmsVoltageSagPeriodCommandParams.put( - "value", electricalMeasurementrmsVoltageSagPeriodCommandParameterInfo); - InteractionInfo writeElectricalMeasurementRmsVoltageSagPeriodAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .writeRmsVoltageSagPeriodAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeElectricalMeasurementRmsVoltageSagPeriodCommandParams); - writeElectricalMeasurementInteractionInfo.put( - "writeRmsVoltageSagPeriodAttribute", - writeElectricalMeasurementRmsVoltageSagPeriodAttributeInteractionInfo); - Map writeElectricalMeasurementRmsVoltageSwellPeriodCommandParams = - new LinkedHashMap(); - CommandParameterInfo electricalMeasurementrmsVoltageSwellPeriodCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeElectricalMeasurementRmsVoltageSwellPeriodCommandParams.put( - "value", electricalMeasurementrmsVoltageSwellPeriodCommandParameterInfo); - InteractionInfo writeElectricalMeasurementRmsVoltageSwellPeriodAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .writeRmsVoltageSwellPeriodAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeElectricalMeasurementRmsVoltageSwellPeriodCommandParams); - writeElectricalMeasurementInteractionInfo.put( - "writeRmsVoltageSwellPeriodAttribute", - writeElectricalMeasurementRmsVoltageSwellPeriodAttributeInteractionInfo); - Map writeElectricalMeasurementOverloadAlarmsMaskCommandParams = - new LinkedHashMap(); - CommandParameterInfo electricalMeasurementoverloadAlarmsMaskCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeElectricalMeasurementOverloadAlarmsMaskCommandParams.put( - "value", electricalMeasurementoverloadAlarmsMaskCommandParameterInfo); - InteractionInfo writeElectricalMeasurementOverloadAlarmsMaskAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .writeOverloadAlarmsMaskAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeElectricalMeasurementOverloadAlarmsMaskCommandParams); - writeElectricalMeasurementInteractionInfo.put( - "writeOverloadAlarmsMaskAttribute", - writeElectricalMeasurementOverloadAlarmsMaskAttributeInteractionInfo); - Map writeElectricalMeasurementAcOverloadAlarmsMaskCommandParams = - new LinkedHashMap(); - CommandParameterInfo electricalMeasurementacOverloadAlarmsMaskCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeElectricalMeasurementAcOverloadAlarmsMaskCommandParams.put( - "value", electricalMeasurementacOverloadAlarmsMaskCommandParameterInfo); - InteractionInfo writeElectricalMeasurementAcOverloadAlarmsMaskAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .writeAcOverloadAlarmsMaskAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeElectricalMeasurementAcOverloadAlarmsMaskCommandParams); - writeElectricalMeasurementInteractionInfo.put( - "writeAcOverloadAlarmsMaskAttribute", - writeElectricalMeasurementAcOverloadAlarmsMaskAttributeInteractionInfo); writeAttributeMap.put("electricalMeasurement", writeElectricalMeasurementInteractionInfo); Map writeClientMonitoringInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("clientMonitoring", writeClientMonitoringInteractionInfo); @@ -3826,23 +3155,6 @@ public Map> getWriteAttributeMap() { writeUnitTestingInteractionInfo.put( "writeNullableRangeRestrictedInt16sAttribute", writeUnitTestingNullableRangeRestrictedInt16sAttributeInteractionInfo); - Map writeUnitTestingWriteOnlyInt8uCommandParams = - new LinkedHashMap(); - CommandParameterInfo unitTestingwriteOnlyInt8uCommandParameterInfo = - new CommandParameterInfo("value", Integer.class, Integer.class); - writeUnitTestingWriteOnlyInt8uCommandParams.put( - "value", unitTestingwriteOnlyInt8uCommandParameterInfo); - InteractionInfo writeUnitTestingWriteOnlyInt8uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .writeWriteOnlyInt8uAttribute( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingWriteOnlyInt8uCommandParams); - writeUnitTestingInteractionInfo.put( - "writeWriteOnlyInt8uAttribute", writeUnitTestingWriteOnlyInt8uAttributeInteractionInfo); writeAttributeMap.put("unitTesting", writeUnitTestingInteractionInfo); return writeAttributeMap; } From b0302fa90a465576fedaa761e1d8513aef60a45e Mon Sep 17 00:00:00 2001 From: Bharat Dandu Date: Thu, 23 Mar 2023 09:17:20 -0400 Subject: [PATCH 05/13] Making attributes of type vendor_id to be treated as basic types instead of an exception like it used to be in the past. Updating the min zap version Github: ZAP#898 --- .../docker/images/chip-cert-bins/Dockerfile | 2 +- scripts/setup/zap.json | 2 +- scripts/tools/zap/zap_execution.py | 2 +- .../java/zap-generated/CHIPReadCallbacks.cpp | 230 ------------------ .../java/zap-generated/CHIPReadCallbacks.h | 121 --------- .../chip/devicecontroller/ChipClusters.java | 64 ++--- .../devicecontroller/ClusterInfoMapping.java | 96 -------- .../devicecontroller/ClusterReadMapping.java | 25 +- 8 files changed, 27 insertions(+), 515 deletions(-) diff --git a/integrations/docker/images/chip-cert-bins/Dockerfile b/integrations/docker/images/chip-cert-bins/Dockerfile index 9c34175ad35ada..6ede00d1b0b33a 100644 --- a/integrations/docker/images/chip-cert-bins/Dockerfile +++ b/integrations/docker/images/chip-cert-bins/Dockerfile @@ -7,7 +7,7 @@ ARG COMMITHASH=7b99e6399c6069037c613782d78132c69b9dcabb # ZAP Development install, so that it runs on both x64 and arm64 # Generally this should match with the ZAP version that is used for codegen within the # specified SHA -ARG ZAP_VERSION=v2023.03.22-nightly +ARG ZAP_VERSION=v2023.03.23-nightly # Ensure TARGETPLATFORM is set RUN case ${TARGETPLATFORM} in \ diff --git a/scripts/setup/zap.json b/scripts/setup/zap.json index 4c8307a2e32b57..a6a2a4c7d16e95 100644 --- a/scripts/setup/zap.json +++ b/scripts/setup/zap.json @@ -8,7 +8,7 @@ "mac-arm64", "windows-amd64" ], - "tags": ["version:2@v2023.03.22-nightly.1"] + "tags": ["version:2@v2023.03.23-nightly.1"] } ] } diff --git a/scripts/tools/zap/zap_execution.py b/scripts/tools/zap/zap_execution.py index e6de3de37d80b6..0a47b95160cfc3 100644 --- a/scripts/tools/zap/zap_execution.py +++ b/scripts/tools/zap/zap_execution.py @@ -23,7 +23,7 @@ # Use scripts/tools/zap/version_update.py to manage ZAP versioning as many # files may need updating for versions # -MIN_ZAP_VERSION = '2023.3.22' +MIN_ZAP_VERSION = '2023.3.23' class ZapTool: diff --git a/src/controller/java/zap-generated/CHIPReadCallbacks.cpp b/src/controller/java/zap-generated/CHIPReadCallbacks.cpp index df497ef2dae1ad..652f8550370edb 100644 --- a/src/controller/java/zap-generated/CHIPReadCallbacks.cpp +++ b/src/controller/java/zap-generated/CHIPReadCallbacks.cpp @@ -5283,63 +5283,6 @@ void CHIPActionsAttributeListAttributeCallback::CallbackFn(void * context, env->CallVoidMethod(javaCallbackRef, javaMethod, arrayListObj); } -CHIPBasicInformationVendorIDAttributeCallback::CHIPBasicInformationVendorIDAttributeCallback(jobject javaCallback, bool keepAlive) : - chip::Callback::Callback(CallbackFn, this), keepAlive(keepAlive) -{ - JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread(); - if (env == nullptr) - { - ChipLogError(Zcl, "Could not create global reference for Java callback"); - return; - } - - javaCallbackRef = env->NewGlobalRef(javaCallback); - if (javaCallbackRef == nullptr) - { - ChipLogError(Zcl, "Could not create global reference for Java callback"); - } -} - -CHIPBasicInformationVendorIDAttributeCallback::~CHIPBasicInformationVendorIDAttributeCallback() -{ - JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread(); - if (env == nullptr) - { - ChipLogError(Zcl, "Could not delete global reference for Java callback"); - return; - } - env->DeleteGlobalRef(javaCallbackRef); -} - -void CHIPBasicInformationVendorIDAttributeCallback::CallbackFn(void * context, chip::VendorId value) -{ - chip::DeviceLayer::StackUnlock unlock; - CHIP_ERROR err = CHIP_NO_ERROR; - JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread(); - jobject javaCallbackRef; - - VerifyOrReturn(env != nullptr, ChipLogError(Zcl, "Could not get JNI env")); - std::unique_ptr cppCallback( - reinterpret_cast(context), maybeDestroy); - - // It's valid for javaCallbackRef to be nullptr if the Java code passed in a null callback. - javaCallbackRef = cppCallback.get()->javaCallbackRef; - VerifyOrReturn(javaCallbackRef != nullptr, - ChipLogProgress(Zcl, "Early return from attribute callback since Java callback is null")); - - jmethodID javaMethod; - err = chip::JniReferences::GetInstance().FindMethod(env, javaCallbackRef, "onSuccess", "(Ljava/lang/Integer;)V", &javaMethod); - VerifyOrReturn(err == CHIP_NO_ERROR, ChipLogError(Zcl, "Could not find onSuccess() method")); - - jobject javaValue; - std::string javaValueClassName = "java/lang/Integer"; - std::string javaValueCtorSignature = "(I)V"; - chip::JniReferences::GetInstance().CreateBoxedObject(javaValueClassName.c_str(), javaValueCtorSignature.c_str(), - static_cast(value), javaValue); - - env->CallVoidMethod(javaCallbackRef, javaMethod, javaValue); -} - CHIPBasicInformationGeneratedCommandListAttributeCallback::CHIPBasicInformationGeneratedCommandListAttributeCallback( jobject javaCallback, bool keepAlive) : chip::Callback::Callback(CallbackFn, this), @@ -14344,65 +14287,6 @@ void CHIPEthernetNetworkDiagnosticsAttributeListAttributeCallback::CallbackFn( env->CallVoidMethod(javaCallbackRef, javaMethod, arrayListObj); } -CHIPBridgedDeviceBasicInformationVendorIDAttributeCallback::CHIPBridgedDeviceBasicInformationVendorIDAttributeCallback( - jobject javaCallback, bool keepAlive) : - chip::Callback::Callback(CallbackFn, this), - keepAlive(keepAlive) -{ - JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread(); - if (env == nullptr) - { - ChipLogError(Zcl, "Could not create global reference for Java callback"); - return; - } - - javaCallbackRef = env->NewGlobalRef(javaCallback); - if (javaCallbackRef == nullptr) - { - ChipLogError(Zcl, "Could not create global reference for Java callback"); - } -} - -CHIPBridgedDeviceBasicInformationVendorIDAttributeCallback::~CHIPBridgedDeviceBasicInformationVendorIDAttributeCallback() -{ - JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread(); - if (env == nullptr) - { - ChipLogError(Zcl, "Could not delete global reference for Java callback"); - return; - } - env->DeleteGlobalRef(javaCallbackRef); -} - -void CHIPBridgedDeviceBasicInformationVendorIDAttributeCallback::CallbackFn(void * context, chip::VendorId value) -{ - chip::DeviceLayer::StackUnlock unlock; - CHIP_ERROR err = CHIP_NO_ERROR; - JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread(); - jobject javaCallbackRef; - - VerifyOrReturn(env != nullptr, ChipLogError(Zcl, "Could not get JNI env")); - std::unique_ptr cppCallback( - reinterpret_cast(context), maybeDestroy); - - // It's valid for javaCallbackRef to be nullptr if the Java code passed in a null callback. - javaCallbackRef = cppCallback.get()->javaCallbackRef; - VerifyOrReturn(javaCallbackRef != nullptr, - ChipLogProgress(Zcl, "Early return from attribute callback since Java callback is null")); - - jmethodID javaMethod; - err = chip::JniReferences::GetInstance().FindMethod(env, javaCallbackRef, "onSuccess", "(Ljava/lang/Integer;)V", &javaMethod); - VerifyOrReturn(err == CHIP_NO_ERROR, ChipLogError(Zcl, "Could not find onSuccess() method")); - - jobject javaValue; - std::string javaValueClassName = "java/lang/Integer"; - std::string javaValueCtorSignature = "(I)V"; - chip::JniReferences::GetInstance().CreateBoxedObject(javaValueClassName.c_str(), javaValueCtorSignature.c_str(), - static_cast(value), javaValue); - - env->CallVoidMethod(javaCallbackRef, javaMethod, javaValue); -} - CHIPBridgedDeviceBasicInformationGeneratedCommandListAttributeCallback:: CHIPBridgedDeviceBasicInformationGeneratedCommandListAttributeCallback(jobject javaCallback, bool keepAlive) : chip::Callback::Callback(CallbackFn, this), @@ -31108,63 +30992,6 @@ void CHIPApplicationLauncherAttributeListAttributeCallback::CallbackFn( env->CallVoidMethod(javaCallbackRef, javaMethod, arrayListObj); } -CHIPApplicationBasicVendorIDAttributeCallback::CHIPApplicationBasicVendorIDAttributeCallback(jobject javaCallback, bool keepAlive) : - chip::Callback::Callback(CallbackFn, this), keepAlive(keepAlive) -{ - JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread(); - if (env == nullptr) - { - ChipLogError(Zcl, "Could not create global reference for Java callback"); - return; - } - - javaCallbackRef = env->NewGlobalRef(javaCallback); - if (javaCallbackRef == nullptr) - { - ChipLogError(Zcl, "Could not create global reference for Java callback"); - } -} - -CHIPApplicationBasicVendorIDAttributeCallback::~CHIPApplicationBasicVendorIDAttributeCallback() -{ - JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread(); - if (env == nullptr) - { - ChipLogError(Zcl, "Could not delete global reference for Java callback"); - return; - } - env->DeleteGlobalRef(javaCallbackRef); -} - -void CHIPApplicationBasicVendorIDAttributeCallback::CallbackFn(void * context, chip::VendorId value) -{ - chip::DeviceLayer::StackUnlock unlock; - CHIP_ERROR err = CHIP_NO_ERROR; - JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread(); - jobject javaCallbackRef; - - VerifyOrReturn(env != nullptr, ChipLogError(Zcl, "Could not get JNI env")); - std::unique_ptr cppCallback( - reinterpret_cast(context), maybeDestroy); - - // It's valid for javaCallbackRef to be nullptr if the Java code passed in a null callback. - javaCallbackRef = cppCallback.get()->javaCallbackRef; - VerifyOrReturn(javaCallbackRef != nullptr, - ChipLogProgress(Zcl, "Early return from attribute callback since Java callback is null")); - - jmethodID javaMethod; - err = chip::JniReferences::GetInstance().FindMethod(env, javaCallbackRef, "onSuccess", "(Ljava/lang/Integer;)V", &javaMethod); - VerifyOrReturn(err == CHIP_NO_ERROR, ChipLogError(Zcl, "Could not find onSuccess() method")); - - jobject javaValue; - std::string javaValueClassName = "java/lang/Integer"; - std::string javaValueCtorSignature = "(I)V"; - chip::JniReferences::GetInstance().CreateBoxedObject(javaValueClassName.c_str(), javaValueCtorSignature.c_str(), - static_cast(value), javaValue); - - env->CallVoidMethod(javaCallbackRef, javaMethod, javaValue); -} - CHIPApplicationBasicAllowedVendorListAttributeCallback::CHIPApplicationBasicAllowedVendorListAttributeCallback(jobject javaCallback, bool keepAlive) : chip::Callback::Callback(CallbackFn, this), @@ -32714,63 +32541,6 @@ void CHIPUnitTestingListStructOctetStringAttributeCallback::CallbackFn( env->CallVoidMethod(javaCallbackRef, javaMethod, arrayListObj); } -CHIPUnitTestingVendorIdAttributeCallback::CHIPUnitTestingVendorIdAttributeCallback(jobject javaCallback, bool keepAlive) : - chip::Callback::Callback(CallbackFn, this), keepAlive(keepAlive) -{ - JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread(); - if (env == nullptr) - { - ChipLogError(Zcl, "Could not create global reference for Java callback"); - return; - } - - javaCallbackRef = env->NewGlobalRef(javaCallback); - if (javaCallbackRef == nullptr) - { - ChipLogError(Zcl, "Could not create global reference for Java callback"); - } -} - -CHIPUnitTestingVendorIdAttributeCallback::~CHIPUnitTestingVendorIdAttributeCallback() -{ - JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread(); - if (env == nullptr) - { - ChipLogError(Zcl, "Could not delete global reference for Java callback"); - return; - } - env->DeleteGlobalRef(javaCallbackRef); -} - -void CHIPUnitTestingVendorIdAttributeCallback::CallbackFn(void * context, chip::VendorId value) -{ - chip::DeviceLayer::StackUnlock unlock; - CHIP_ERROR err = CHIP_NO_ERROR; - JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread(); - jobject javaCallbackRef; - - VerifyOrReturn(env != nullptr, ChipLogError(Zcl, "Could not get JNI env")); - std::unique_ptr cppCallback( - reinterpret_cast(context), maybeDestroy); - - // It's valid for javaCallbackRef to be nullptr if the Java code passed in a null callback. - javaCallbackRef = cppCallback.get()->javaCallbackRef; - VerifyOrReturn(javaCallbackRef != nullptr, - ChipLogProgress(Zcl, "Early return from attribute callback since Java callback is null")); - - jmethodID javaMethod; - err = chip::JniReferences::GetInstance().FindMethod(env, javaCallbackRef, "onSuccess", "(Ljava/lang/Integer;)V", &javaMethod); - VerifyOrReturn(err == CHIP_NO_ERROR, ChipLogError(Zcl, "Could not find onSuccess() method")); - - jobject javaValue; - std::string javaValueClassName = "java/lang/Integer"; - std::string javaValueCtorSignature = "(I)V"; - chip::JniReferences::GetInstance().CreateBoxedObject(javaValueClassName.c_str(), javaValueCtorSignature.c_str(), - static_cast(value), javaValue); - - env->CallVoidMethod(javaCallbackRef, javaMethod, javaValue); -} - CHIPUnitTestingListNullablesAndOptionalsStructAttributeCallback::CHIPUnitTestingListNullablesAndOptionalsStructAttributeCallback( jobject javaCallback, bool keepAlive) : chip::Callback::Callback(CallbackFn, this), diff --git a/src/controller/java/zap-generated/CHIPReadCallbacks.h b/src/controller/java/zap-generated/CHIPReadCallbacks.h index 4b7b4759b4af7a..ff0eee8cb48e6c 100644 --- a/src/controller/java/zap-generated/CHIPReadCallbacks.h +++ b/src/controller/java/zap-generated/CHIPReadCallbacks.h @@ -2226,36 +2226,6 @@ class CHIPActionsAttributeListAttributeCallback bool keepAlive; }; -class CHIPBasicInformationVendorIDAttributeCallback - : public chip::Callback::Callback -{ -public: - CHIPBasicInformationVendorIDAttributeCallback(jobject javaCallback, bool keepAlive = false); - - ~CHIPBasicInformationVendorIDAttributeCallback(); - - static void maybeDestroy(CHIPBasicInformationVendorIDAttributeCallback * callback) - { - if (!callback->keepAlive) - { - callback->Cancel(); - chip::Platform::Delete(callback); - } - } - - static void CallbackFn(void * context, chip::VendorId value); - static void OnSubscriptionEstablished(void * context, chip::SubscriptionId subscriptionId) - { - CHIP_ERROR err = chip::JniReferences::GetInstance().CallSubscriptionEstablished( - reinterpret_cast(context)->javaCallbackRef, subscriptionId); - VerifyOrReturn(err == CHIP_NO_ERROR, ChipLogError(Zcl, "Error calling onSubscriptionEstablished: %s", ErrorStr(err))); - }; - -private: - jobject javaCallbackRef; - bool keepAlive; -}; - class CHIPBasicInformationGeneratedCommandListAttributeCallback : public chip::Callback::Callback { @@ -6041,37 +6011,6 @@ class CHIPEthernetNetworkDiagnosticsAttributeListAttributeCallback bool keepAlive; }; -class CHIPBridgedDeviceBasicInformationVendorIDAttributeCallback - : public chip::Callback::Callback -{ -public: - CHIPBridgedDeviceBasicInformationVendorIDAttributeCallback(jobject javaCallback, bool keepAlive = false); - - ~CHIPBridgedDeviceBasicInformationVendorIDAttributeCallback(); - - static void maybeDestroy(CHIPBridgedDeviceBasicInformationVendorIDAttributeCallback * callback) - { - if (!callback->keepAlive) - { - callback->Cancel(); - chip::Platform::Delete(callback); - } - } - - static void CallbackFn(void * context, chip::VendorId value); - static void OnSubscriptionEstablished(void * context, chip::SubscriptionId subscriptionId) - { - CHIP_ERROR err = chip::JniReferences::GetInstance().CallSubscriptionEstablished( - reinterpret_cast(context)->javaCallbackRef, - subscriptionId); - VerifyOrReturn(err == CHIP_NO_ERROR, ChipLogError(Zcl, "Error calling onSubscriptionEstablished: %s", ErrorStr(err))); - }; - -private: - jobject javaCallbackRef; - bool keepAlive; -}; - class CHIPBridgedDeviceBasicInformationGeneratedCommandListAttributeCallback : public chip::Callback::Callback { @@ -13210,36 +13149,6 @@ class CHIPApplicationLauncherAttributeListAttributeCallback bool keepAlive; }; -class CHIPApplicationBasicVendorIDAttributeCallback - : public chip::Callback::Callback -{ -public: - CHIPApplicationBasicVendorIDAttributeCallback(jobject javaCallback, bool keepAlive = false); - - ~CHIPApplicationBasicVendorIDAttributeCallback(); - - static void maybeDestroy(CHIPApplicationBasicVendorIDAttributeCallback * callback) - { - if (!callback->keepAlive) - { - callback->Cancel(); - chip::Platform::Delete(callback); - } - } - - static void CallbackFn(void * context, chip::VendorId value); - static void OnSubscriptionEstablished(void * context, chip::SubscriptionId subscriptionId) - { - CHIP_ERROR err = chip::JniReferences::GetInstance().CallSubscriptionEstablished( - reinterpret_cast(context)->javaCallbackRef, subscriptionId); - VerifyOrReturn(err == CHIP_NO_ERROR, ChipLogError(Zcl, "Error calling onSubscriptionEstablished: %s", ErrorStr(err))); - }; - -private: - jobject javaCallbackRef; - bool keepAlive; -}; - class CHIPApplicationBasicAllowedVendorListAttributeCallback : public chip::Callback::Callback { @@ -13879,36 +13788,6 @@ class CHIPUnitTestingListStructOctetStringAttributeCallback bool keepAlive; }; -class CHIPUnitTestingVendorIdAttributeCallback - : public chip::Callback::Callback -{ -public: - CHIPUnitTestingVendorIdAttributeCallback(jobject javaCallback, bool keepAlive = false); - - ~CHIPUnitTestingVendorIdAttributeCallback(); - - static void maybeDestroy(CHIPUnitTestingVendorIdAttributeCallback * callback) - { - if (!callback->keepAlive) - { - callback->Cancel(); - chip::Platform::Delete(callback); - } - } - - static void CallbackFn(void * context, chip::VendorId value); - static void OnSubscriptionEstablished(void * context, chip::SubscriptionId subscriptionId) - { - CHIP_ERROR err = chip::JniReferences::GetInstance().CallSubscriptionEstablished( - reinterpret_cast(context)->javaCallbackRef, subscriptionId); - VerifyOrReturn(err == CHIP_NO_ERROR, ChipLogError(Zcl, "Error calling onSubscriptionEstablished: %s", ErrorStr(err))); - }; - -private: - jobject javaCallbackRef; - bool keepAlive; -}; - class CHIPUnitTestingListNullablesAndOptionalsStructAttributeCallback : public chip::Callback::Callback { diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java b/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java index 4e2ba92b3566e3..68cadaf318e3e4 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java @@ -3998,14 +3998,6 @@ public BasicInformationCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface VendorIDAttributeCallback { - void onSuccess(Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - public interface GeneratedCommandListAttributeCallback { void onSuccess(List valueList); @@ -4056,12 +4048,12 @@ public void subscribeVendorNameAttribute( subscribeVendorNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readVendorIDAttribute(VendorIDAttributeCallback callback) { + public void readVendorIDAttribute(IntegerAttributeCallback callback) { readVendorIDAttribute(chipClusterPtr, callback); } public void subscribeVendorIDAttribute( - VendorIDAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback, int minInterval, int maxInterval) { subscribeVendorIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); } @@ -4306,10 +4298,10 @@ private native void subscribeVendorNameAttribute( int maxInterval); private native void readVendorIDAttribute( - long chipClusterPtr, VendorIDAttributeCallback callback); + long chipClusterPtr, IntegerAttributeCallback callback); private native void subscribeVendorIDAttribute( - long chipClusterPtr, VendorIDAttributeCallback callback, int minInterval, int maxInterval); + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); private native void readProductNameAttribute( long chipClusterPtr, CharStringAttributeCallback callback); @@ -10189,14 +10181,6 @@ public BridgedDeviceBasicInformationCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface VendorIDAttributeCallback { - void onSuccess(Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - public interface GeneratedCommandListAttributeCallback { void onSuccess(List valueList); @@ -10238,12 +10222,12 @@ public void subscribeVendorNameAttribute( subscribeVendorNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readVendorIDAttribute(VendorIDAttributeCallback callback) { + public void readVendorIDAttribute(IntegerAttributeCallback callback) { readVendorIDAttribute(chipClusterPtr, callback); } public void subscribeVendorIDAttribute( - VendorIDAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback, int minInterval, int maxInterval) { subscribeVendorIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); } @@ -10437,10 +10421,10 @@ private native void subscribeVendorNameAttribute( int maxInterval); private native void readVendorIDAttribute( - long chipClusterPtr, VendorIDAttributeCallback callback); + long chipClusterPtr, IntegerAttributeCallback callback); private native void subscribeVendorIDAttribute( - long chipClusterPtr, VendorIDAttributeCallback callback, int minInterval, int maxInterval); + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); private native void readProductNameAttribute( long chipClusterPtr, CharStringAttributeCallback callback); @@ -24904,14 +24888,6 @@ public ApplicationBasicCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface VendorIDAttributeCallback { - void onSuccess(Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - public interface AllowedVendorListAttributeCallback { void onSuccess(List valueList); @@ -24961,12 +24937,12 @@ public void subscribeVendorNameAttribute( subscribeVendorNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readVendorIDAttribute(VendorIDAttributeCallback callback) { + public void readVendorIDAttribute(IntegerAttributeCallback callback) { readVendorIDAttribute(chipClusterPtr, callback); } public void subscribeVendorIDAttribute( - VendorIDAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback, int minInterval, int maxInterval) { subscribeVendorIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); } @@ -25079,10 +25055,10 @@ private native void subscribeVendorNameAttribute( int maxInterval); private native void readVendorIDAttribute( - long chipClusterPtr, VendorIDAttributeCallback callback); + long chipClusterPtr, IntegerAttributeCallback callback); private native void subscribeVendorIDAttribute( - long chipClusterPtr, VendorIDAttributeCallback callback, int minInterval, int maxInterval); + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); private native void readApplicationNameAttribute( long chipClusterPtr, CharStringAttributeCallback callback); @@ -28220,14 +28196,6 @@ public interface ListStructOctetStringAttributeCallback { default void onSubscriptionEstablished(long subscriptionId) {} } - public interface VendorIdAttributeCallback { - void onSuccess(Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - public interface ListNullablesAndOptionalsStructAttributeCallback { void onSuccess(List valueList); @@ -29158,7 +29126,7 @@ public void subscribeEpochSAttribute( subscribeEpochSAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readVendorIdAttribute(VendorIdAttributeCallback callback) { + public void readVendorIdAttribute(IntegerAttributeCallback callback) { readVendorIdAttribute(chipClusterPtr, callback); } @@ -29172,7 +29140,7 @@ public void writeVendorIdAttribute( } public void subscribeVendorIdAttribute( - VendorIdAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback, int minInterval, int maxInterval) { subscribeVendorIdAttribute(chipClusterPtr, callback, minInterval, maxInterval); } @@ -30473,7 +30441,7 @@ private native void subscribeEpochSAttribute( long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); private native void readVendorIdAttribute( - long chipClusterPtr, VendorIdAttributeCallback callback); + long chipClusterPtr, IntegerAttributeCallback callback); private native void writeVendorIdAttribute( long chipClusterPtr, @@ -30482,7 +30450,7 @@ private native void writeVendorIdAttribute( @Nullable Integer timedWriteTimeoutMs); private native void subscribeVendorIdAttribute( - long chipClusterPtr, VendorIdAttributeCallback callback, int minInterval, int maxInterval); + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); private native void readListNullablesAndOptionalsStructAttribute( long chipClusterPtr, ListNullablesAndOptionalsStructAttributeCallback callback); diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java b/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java index 875e2c00a4a256..e532a920d45eaa 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java @@ -1974,30 +1974,6 @@ public void onError(Exception ex) { } } - public static class DelegatedBasicInformationClusterVendorIDAttributeCallback - implements ChipClusters.BasicInformationCluster.VendorIDAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(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 DelegatedBasicInformationClusterGeneratedCommandListAttributeCallback implements ChipClusters.BasicInformationCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { @@ -5282,30 +5258,6 @@ public void onError(Exception ex) { } } - public static class DelegatedBridgedDeviceBasicInformationClusterVendorIDAttributeCallback - implements ChipClusters.BridgedDeviceBasicInformationCluster.VendorIDAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(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 DelegatedBridgedDeviceBasicInformationClusterGeneratedCommandListAttributeCallback implements ChipClusters.BridgedDeviceBasicInformationCluster @@ -11608,30 +11560,6 @@ public void onError(Exception ex) { } } - public static class DelegatedApplicationBasicClusterVendorIDAttributeCallback - implements ChipClusters.ApplicationBasicCluster.VendorIDAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(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 DelegatedApplicationBasicClusterAllowedVendorListAttributeCallback implements ChipClusters.ApplicationBasicCluster.AllowedVendorListAttributeCallback, DelegatedClusterCallback { @@ -12377,30 +12305,6 @@ public void onError(Exception ex) { } } - public static class DelegatedUnitTestingClusterVendorIdAttributeCallback - implements ChipClusters.UnitTestingCluster.VendorIdAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(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 DelegatedUnitTestingClusterListNullablesAndOptionalsStructAttributeCallback implements ChipClusters.UnitTestingCluster.ListNullablesAndOptionalsStructAttributeCallback, DelegatedClusterCallback { diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java b/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java index 516d196dd5e122..59f9942c5c7c51 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java @@ -1671,11 +1671,9 @@ public Map> getReadAttributeMap() { new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.BasicInformationCluster) cluster) - .readVendorIDAttribute( - (ChipClusters.BasicInformationCluster.VendorIDAttributeCallback) callback); + .readVendorIDAttribute((ChipClusters.IntegerAttributeCallback) callback); }, - () -> - new ClusterInfoMapping.DelegatedBasicInformationClusterVendorIDAttributeCallback(), + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), readBasicInformationVendorIDCommandParams); readBasicInformationInteractionInfo.put( "readVendorIDAttribute", readBasicInformationVendorIDAttributeInteractionInfo); @@ -5636,13 +5634,9 @@ public Map> getReadAttributeMap() { new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) - .readVendorIDAttribute( - (ChipClusters.BridgedDeviceBasicInformationCluster.VendorIDAttributeCallback) - callback); + .readVendorIDAttribute((ChipClusters.IntegerAttributeCallback) callback); }, - () -> - new ClusterInfoMapping - .DelegatedBridgedDeviceBasicInformationClusterVendorIDAttributeCallback(), + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), readBridgedDeviceBasicInformationVendorIDCommandParams); readBridgedDeviceBasicInformationInteractionInfo.put( "readVendorIDAttribute", readBridgedDeviceBasicInformationVendorIDAttributeInteractionInfo); @@ -13198,11 +13192,9 @@ public Map> getReadAttributeMap() { new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.ApplicationBasicCluster) cluster) - .readVendorIDAttribute( - (ChipClusters.ApplicationBasicCluster.VendorIDAttributeCallback) callback); + .readVendorIDAttribute((ChipClusters.IntegerAttributeCallback) callback); }, - () -> - new ClusterInfoMapping.DelegatedApplicationBasicClusterVendorIDAttributeCallback(), + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), readApplicationBasicVendorIDCommandParams); readApplicationBasicInteractionInfo.put( "readVendorIDAttribute", readApplicationBasicVendorIDAttributeInteractionInfo); @@ -15897,10 +15889,9 @@ public Map> getReadAttributeMap() { new InteractionInfo( (cluster, callback, commandArguments) -> { ((ChipClusters.UnitTestingCluster) cluster) - .readVendorIdAttribute( - (ChipClusters.UnitTestingCluster.VendorIdAttributeCallback) callback); + .readVendorIdAttribute((ChipClusters.IntegerAttributeCallback) callback); }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterVendorIdAttributeCallback(), + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), readUnitTestingVendorIdCommandParams); readUnitTestingInteractionInfo.put( "readVendorIdAttribute", readUnitTestingVendorIdAttributeInteractionInfo); From 22647bca11b96c8f4f8c74ef967f9d529996b89f Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Thu, 23 Mar 2023 10:09:58 -0400 Subject: [PATCH 06/13] update matter idl template gen logic --- src/app/zap-templates/matter-idl.json | 4 ++ .../partials/idl/attribute_definition.zapt | 29 ++++++++++++ .../templates/app/MatterIDL.zapt | 47 +++++-------------- 3 files changed, 46 insertions(+), 34 deletions(-) create mode 100644 src/app/zap-templates/partials/idl/attribute_definition.zapt diff --git a/src/app/zap-templates/matter-idl.json b/src/app/zap-templates/matter-idl.json index cd89191fdd060a..eda0b9e59db7ae 100644 --- a/src/app/zap-templates/matter-idl.json +++ b/src/app/zap-templates/matter-idl.json @@ -30,6 +30,10 @@ { "name": "idl_command_response_struct", "path": "partials/idl/command_response_struct.zapt" + }, + { + "name": "idl_attribute_definition", + "path": "partials/idl/attribute_definition.zapt" } ], "templates": [ diff --git a/src/app/zap-templates/partials/idl/attribute_definition.zapt b/src/app/zap-templates/partials/idl/attribute_definition.zapt new file mode 100644 index 00000000000000..4a43ea95ef082f --- /dev/null +++ b/src/app/zap-templates/partials/idl/attribute_definition.zapt @@ -0,0 +1,29 @@ +{{#if mustUseTimedWrite~}} + timedwrite {{!marker to place a space even with whitespace removal~}} +{{~/if~}} +{{~#unless isWritableAttribute~}} + readonly {{!marker to place a space even with whitespace removal~}} +{{~/unless~}} +{{~!TODO: write only attributes should also be supported~}} +{{~#unless isReportableAttribute~}} + nosubscribe {{!marker to place a space even with whitespace removal~}} +{{~/unless~}} +{{~!Removes spaces~}} attribute {{!ensure space}} + {{~#chip_access_elements entity="attribute"~}} + {{~#first~}}access({{~/first~}} + {{~#not_first~}}, {{/not_first~}} + {{operation}}: {{role}} + {{~#last}}) {{/last~}} + {{~/chip_access_elements~}} + {{~#if isNullable~}} + nullable {{!marker to place a space even with whitespace removal~}} + {{~/if~}} {{type}} + {{~#unless isArray~}} + {{~#if (isString type)~}} + {{~#if maxLength~}} + <{{maxLength}}> + {{~/if~}} + {{~/if~}} + {{/unless}} {{asLowerCamelCase name~}} + {{~#if isArray~}} [] {{~/if}} = {{code~}} + ; \ No newline at end of file diff --git a/src/app/zap-templates/templates/app/MatterIDL.zapt b/src/app/zap-templates/templates/app/MatterIDL.zapt index cfe40d71f5dbd4..b340776988ca3f 100644 --- a/src/app/zap-templates/templates/app/MatterIDL.zapt +++ b/src/app/zap-templates/templates/app/MatterIDL.zapt @@ -45,47 +45,26 @@ } {{/zcl_events}} - {{#chip_server_cluster_attributes}} - {{#unless isGlobalAttribute}} - {{! ensure indent }}{{#if mustUseTimedWrite~}} - timedwrite {{!marker to place a space even with whitespace removal~}} - {{~/if~}} - {{~#unless isWritableAttribute~}} - readonly {{!marker to place a space even with whitespace removal~}} - {{~/unless~}} - {{~!TODO: write only attributes should also be supported~}} - {{~#unless isReportableAttribute~}} - nosubscribe {{!marker to place a space even with whitespace removal~}} - {{~/unless~}} - {{~!Removes spaces~}} attribute {{!ensure space}} - {{~#chip_access_elements entity="attribute"~}} - {{~#first~}}access({{~/first~}} - {{~#not_first~}}, {{/not_first~}} - {{operation}}: {{role}} - {{~#last}}) {{/last~}} - {{~/chip_access_elements~}} - {{~#if isNullable~}} - nullable {{!marker to place a space even with whitespace removal~}} - {{~/if~}} {{type}} - {{~#unless isArray~}} - {{~#if (isString type)~}} - {{~#if maxLength~}} - <{{maxLength}}> - {{~/if~}} - {{~/if~}} - {{/unless}} {{asLowerCamelCase name~}} - {{~#if isArray~}} [] {{~/if}} = {{code~}} - ; - {{/unless~}} - {{/chip_server_cluster_attributes~}} + {{#if (is_client side)}} + {{#zcl_attributes_server}} + {{! ensure indent }}{{>idl_attribute_definition}} + {{/zcl_attributes_server~}} + {{~else}} + {{#enabled_attributes_for_cluster_and_side name 'server'}} + {{#unless isGlobalAttribute}} + {{! ensure indent }}{{>idl_attribute_definition}} + {{/unless}} + {{/enabled_attributes_for_cluster_and_side~}} - {{~!--Global attributes: spec 7.13 describes these as mandatory --}} + {{~!--Global attributes: spec 7.13 describes these as mandatory --}} readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + {{/if}} + {{!--Open:Generating command request structs for all incoming commands into server side--~}} {{#if (is_server side)}} {{#all_incoming_commands_for_cluster name side}} From cfd533203e00f5238e7c668feb7ab707dfc0742a Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Thu, 23 Mar 2023 10:10:10 -0400 Subject: [PATCH 07/13] ZAP regen all --- .../all-clusters-app.matter | 67 ++ .../all-clusters-minimal-app.matter | 60 ++ .../bridge-common/bridge-app.matter | 26 + ...p_rootnode_dimmablelight_bCwGYSDpoe.matter | 34 + ...de_colortemperaturelight_hbUnzYVeyn.matter | 18 + .../rootnode_contactsensor_lFAGG1bfRO.matter | 21 + .../rootnode_dimmablelight_bCwGYSDpoe.matter | 32 + .../rootnode_doorlock_aNKYAreMXE.matter | 21 + ...tnode_extendedcolorlight_8lcaaYJVAa.matter | 23 + .../devices/rootnode_fan_7N2TobIlOX.matter | 20 + .../rootnode_flowsensor_1zVxHedlaV.matter | 22 + ...tnode_heatingcoolingunit_ncdGai1E5a.matter | 68 ++ .../rootnode_humiditysensor_Xyj4gda6Hb.matter | 22 + .../rootnode_lightsensor_lZQycTFcJK.matter | 22 + ...rootnode_occupancysensor_iHyVgifZuo.matter | 22 + .../rootnode_onofflight_bbs1b7IaOV.matter | 22 + ...ootnode_onofflightswitch_FsPlMr090Q.matter | 26 + ...rootnode_onoffpluginunit_Wtf8ss5EBY.matter | 21 + .../rootnode_pressuresensor_s0qC9wLH4k.matter | 23 + .../rootnode_speaker_RpzeXdimqA.matter | 22 + ...otnode_temperaturesensor_Qy1zkNW7c3.matter | 22 + .../rootnode_thermostat_bm3fb8dhYi.matter | 57 ++ .../rootnode_windowcovering_RLCxaGi9Yx.matter | 21 + .../contact-sensor-app.matter | 24 + .../bridge-common/bridge-app.matter | 26 + .../light-switch-app.matter | 60 ++ .../lighting-common/lighting-app.matter | 27 + .../nxp/zap/lighting-on-off.matter | 17 + examples/lighting-app/qpg/zap/light.matter | 21 + .../data_model/lighting-thread-app.matter | 23 + .../efr32/data_model/lighting-wifi-app.matter | 23 + examples/lock-app/lock-common/lock-app.matter | 25 + examples/lock-app/nxp/zap/lock-app.matter | 13 + examples/lock-app/qpg/zap/lock.matter | 19 + .../log-source-common/log-source-app.matter | 6 + .../ota-provider-app.matter | 15 + .../ota-requestor-app.matter | 18 + .../placeholder/linux/apps/app1/config.matter | 59 ++ .../placeholder/linux/apps/app2/config.matter | 57 ++ examples/pump-app/pump-common/pump-app.matter | 33 + .../pump-controller-app.matter | 47 ++ .../temperature-measurement.matter | 19 + .../thermostat-common/thermostat.matter | 28 + examples/tv-app/tv-common/tv-app.matter | 40 + .../tv-casting-common/tv-casting-app.matter | 56 ++ examples/window-app/common/window-app.matter | 25 + .../data_model/controller-clusters.matter | 217 ++++++ .../devicecontroller/ClusterWriteMapping.java | 688 ++++++++++++++++++ 48 files changed, 2278 insertions(+) diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter index 99acb67bc867a9..bb696b78bf0ef9 100644 --- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter +++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter @@ -38,6 +38,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -64,6 +65,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -146,6 +148,7 @@ server cluster Scenes = 5 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddSceneRequest { group_id groupID = 0; INT8U sceneID = 1; @@ -273,6 +276,7 @@ client cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -320,6 +324,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -348,6 +353,7 @@ server cluster OnOffSwitchConfiguration = 7 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster LevelControl = 8 { @@ -393,6 +399,7 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -467,6 +474,7 @@ server cluster BinaryInputBasic = 15 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Descriptor = 29 { @@ -485,6 +493,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Binding = 30 { @@ -503,6 +512,7 @@ server cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -572,6 +582,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Actions = 37 { @@ -656,6 +667,7 @@ server cluster Actions = 37 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -705,6 +717,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -735,6 +748,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -829,6 +843,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -849,6 +864,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -881,6 +897,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UnitLocalization = 45 { @@ -901,6 +918,7 @@ server cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster PowerSourceConfiguration = 46 { @@ -911,6 +929,7 @@ server cluster PowerSourceConfiguration = 46 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster PowerSource = 47 { @@ -1126,6 +1145,7 @@ server cluster PowerSource = 47 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -1160,6 +1180,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -1270,6 +1291,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -1356,6 +1378,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -1461,6 +1484,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -1499,6 +1523,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -1661,6 +1686,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1733,6 +1759,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1771,6 +1798,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1822,6 +1850,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -1847,6 +1876,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1911,6 +1941,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -2020,6 +2051,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -2058,6 +2090,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UserLabel = 65 { @@ -2068,6 +2101,7 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BooleanState = 69 { @@ -2082,6 +2116,7 @@ server cluster BooleanState = 69 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ModeSelect = 80 { @@ -2114,6 +2149,7 @@ server cluster ModeSelect = 80 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ChangeToModeRequest { INT8U newMode = 0; } @@ -2533,6 +2569,7 @@ server cluster DoorLock = 257 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; } @@ -2774,6 +2811,7 @@ server cluster WindowCovering = 258 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct GoToLiftValueRequest { INT16U liftValue = 0; } @@ -2811,6 +2849,7 @@ server cluster BarrierControl = 259 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct BarrierControlGoToPercentRequest { INT8U percentOpen = 0; } @@ -2938,6 +2977,7 @@ server cluster PumpConfigurationAndControl = 512 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Thermostat = 513 { @@ -3026,6 +3066,7 @@ server cluster Thermostat = 513 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; INT8S amount = 1; @@ -3094,6 +3135,7 @@ server cluster FanControl = 514 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ThermostatUserInterfaceConfiguration = 516 { @@ -3106,6 +3148,7 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ColorControl = 768 { @@ -3237,6 +3280,7 @@ server cluster ColorControl = 768 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToHueRequest { INT8U hue = 0; HueDirection direction = 1; @@ -3427,6 +3471,7 @@ server cluster BallastConfiguration = 769 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster IlluminanceMeasurement = 1024 { @@ -3446,6 +3491,7 @@ server cluster IlluminanceMeasurement = 1024 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TemperatureMeasurement = 1026 { @@ -3459,6 +3505,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster PressureMeasurement = 1027 { @@ -3475,6 +3522,7 @@ server cluster PressureMeasurement = 1027 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster FlowMeasurement = 1028 { @@ -3488,6 +3536,7 @@ server cluster FlowMeasurement = 1028 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster RelativeHumidityMeasurement = 1029 { @@ -3501,6 +3550,7 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster OccupancySensing = 1030 { @@ -3530,6 +3580,7 @@ server cluster OccupancySensing = 1030 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster WakeOnLan = 1283 { @@ -3540,6 +3591,7 @@ server cluster WakeOnLan = 1283 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Channel = 1284 { @@ -3573,6 +3625,7 @@ server cluster Channel = 1284 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TargetNavigator = 1285 { @@ -3596,6 +3649,7 @@ server cluster TargetNavigator = 1285 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct NavigateTargetRequest { INT8U target = 0; optional CHAR_STRING data = 1; @@ -3643,6 +3697,7 @@ server cluster MediaPlayback = 1286 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster MediaInput = 1287 { @@ -3681,6 +3736,7 @@ server cluster MediaInput = 1287 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SelectInputRequest { INT8U index = 0; } @@ -3704,6 +3760,7 @@ server cluster LowPower = 1288 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Sleep(): DefaultSuccess = 0; } @@ -3816,6 +3873,7 @@ server cluster KeypadInput = 1289 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SendKeyRequest { CecKeyCode keyCode = 0; } @@ -3910,6 +3968,7 @@ server cluster ContentLauncher = 1290 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AudioOutput = 1291 { @@ -3940,6 +3999,7 @@ server cluster AudioOutput = 1291 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ApplicationLauncher = 1292 { @@ -3965,6 +4025,7 @@ server cluster ApplicationLauncher = 1292 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ApplicationBasic = 1293 { @@ -3988,6 +4049,7 @@ server cluster ApplicationBasic = 1293 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccountLogin = 1294 { @@ -3997,6 +4059,7 @@ server cluster AccountLogin = 1294 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ElectricalMeasurement = 2820 { @@ -4017,6 +4080,7 @@ server cluster ElectricalMeasurement = 2820 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ClientMonitoring = 4166 { @@ -4037,6 +4101,7 @@ server cluster ClientMonitoring = 4166 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RegisterClientMonitoringRequest { node_id clientNodeId = 0; INT64U ICid = 1; @@ -4252,6 +4317,7 @@ server cluster UnitTesting = 4294048773 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestAddArgumentsRequest { INT8U arg1 = 0; INT8U arg2 = 1; @@ -4384,6 +4450,7 @@ server cluster FaultInjection = 4294048774 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct FailAtFaultRequest { FaultType type = 0; INT32U id = 1; diff --git a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter index 6a8b066ef5148a..fd3cf274f25e01 100644 --- a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter +++ b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter @@ -43,6 +43,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -63,6 +64,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -145,6 +147,7 @@ server cluster Scenes = 5 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddSceneRequest { group_id groupID = 0; INT8U sceneID = 1; @@ -268,6 +271,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -305,6 +309,7 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -385,6 +390,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Binding = 30 { @@ -403,6 +409,7 @@ server cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -466,6 +473,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Actions = 37 { @@ -549,6 +557,7 @@ server cluster Actions = 37 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -590,6 +599,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -620,6 +630,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -714,6 +725,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -734,6 +746,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -764,6 +777,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UnitLocalization = 45 { @@ -783,6 +797,7 @@ server cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster PowerSourceConfiguration = 46 { @@ -793,6 +808,7 @@ server cluster PowerSourceConfiguration = 46 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster PowerSource = 47 { @@ -1005,6 +1021,7 @@ server cluster PowerSource = 47 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -1039,6 +1056,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -1149,6 +1167,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -1235,6 +1254,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -1334,6 +1354,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -1359,6 +1380,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ThreadNetworkDiagnostics = 53 { @@ -1473,6 +1495,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster WiFiNetworkDiagnostics = 54 { @@ -1535,6 +1558,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster EthernetNetworkDiagnostics = 55 { @@ -1572,6 +1596,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1622,6 +1647,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -1647,6 +1673,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1706,6 +1733,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1815,6 +1843,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1853,6 +1882,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UserLabel = 65 { @@ -1863,6 +1893,7 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BooleanState = 69 { @@ -1877,6 +1908,7 @@ server cluster BooleanState = 69 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ModeSelect = 80 { @@ -1906,6 +1938,7 @@ server cluster ModeSelect = 80 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ChangeToModeRequest { INT8U newMode = 0; } @@ -2300,6 +2333,7 @@ server cluster DoorLock = 257 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; } @@ -2413,6 +2447,7 @@ server cluster WindowCovering = 258 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command UpOrOpen(): DefaultSuccess = 0; command DownOrClose(): DefaultSuccess = 1; command StopMotion(): DefaultSuccess = 2; @@ -2523,6 +2558,7 @@ server cluster PumpConfigurationAndControl = 512 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Thermostat = 513 { @@ -2601,6 +2637,7 @@ server cluster Thermostat = 513 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; INT8S amount = 1; @@ -2662,6 +2699,7 @@ server cluster FanControl = 514 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ThermostatUserInterfaceConfiguration = 516 { @@ -2673,6 +2711,7 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ColorControl = 768 { @@ -2756,6 +2795,7 @@ server cluster ColorControl = 768 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BallastConfiguration = 769 { @@ -2770,6 +2810,7 @@ server cluster BallastConfiguration = 769 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster IlluminanceMeasurement = 1024 { @@ -2787,6 +2828,7 @@ server cluster IlluminanceMeasurement = 1024 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TemperatureMeasurement = 1026 { @@ -2799,6 +2841,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster PressureMeasurement = 1027 { @@ -2815,6 +2858,7 @@ server cluster PressureMeasurement = 1027 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster FlowMeasurement = 1028 { @@ -2827,6 +2871,7 @@ server cluster FlowMeasurement = 1028 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster RelativeHumidityMeasurement = 1029 { @@ -2839,6 +2884,7 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster OccupancySensing = 1030 { @@ -2868,6 +2914,7 @@ server cluster OccupancySensing = 1030 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster WakeOnLan = 1283 { @@ -2877,6 +2924,7 @@ server cluster WakeOnLan = 1283 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Channel = 1284 { @@ -2902,6 +2950,7 @@ server cluster Channel = 1284 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ChangeChannelByNumberRequest { INT16U majorNumber = 0; INT16U minorNumber = 1; @@ -2935,6 +2984,7 @@ server cluster TargetNavigator = 1285 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct NavigateTargetRequest { INT8U target = 0; optional CHAR_STRING data = 1; @@ -2978,6 +3028,7 @@ server cluster MediaPlayback = 1286 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + response struct PlaybackResponse = 10 { MediaPlaybackStatusEnum status = 0; optional CHAR_STRING data = 1; @@ -3024,6 +3075,7 @@ server cluster MediaInput = 1287 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SelectInputRequest { INT8U index = 0; } @@ -3041,6 +3093,7 @@ server cluster LowPower = 1288 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Sleep(): DefaultSuccess = 0; } @@ -3153,6 +3206,7 @@ server cluster KeypadInput = 1289 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SendKeyRequest { CecKeyCode keyCode = 0; } @@ -3245,6 +3299,7 @@ server cluster ContentLauncher = 1290 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AudioOutput = 1291 { @@ -3276,6 +3331,7 @@ server cluster AudioOutput = 1291 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SelectOutputRequest { INT8U index = 0; } @@ -3301,6 +3357,7 @@ server cluster ApplicationLauncher = 1292 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct LaunchAppRequest { optional ApplicationStruct application = 0; optional OCTET_STRING data = 1; @@ -3343,6 +3400,7 @@ server cluster ApplicationBasic = 1293 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccountLogin = 1294 { @@ -3353,6 +3411,7 @@ server cluster AccountLogin = 1294 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct GetSetupPINRequest { CHAR_STRING<100> tempAccountIdentifier = 0; } @@ -3571,6 +3630,7 @@ server cluster UnitTesting = 4294048773 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestAddArgumentsRequest { INT8U arg1 = 0; INT8U arg2 = 1; diff --git a/examples/bridge-app/bridge-common/bridge-app.matter b/examples/bridge-app/bridge-common/bridge-app.matter index 464416e0943658..225d3613291420 100644 --- a/examples/bridge-app/bridge-common/bridge-app.matter +++ b/examples/bridge-app/bridge-common/bridge-app.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -84,6 +85,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -132,6 +134,7 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -212,6 +215,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Binding = 30 { @@ -230,6 +234,7 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster AccessControl = 31 { @@ -299,6 +304,7 @@ client cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -368,6 +374,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Actions = 37 { @@ -453,6 +460,7 @@ server cluster Actions = 37 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct InstantActionRequest { INT16U actionID = 0; optional INT32U invokeID = 1; @@ -508,6 +516,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster LocalizationConfiguration = 43 { @@ -519,6 +528,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -551,6 +561,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UnitLocalization = 45 { @@ -571,6 +582,7 @@ server cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -605,6 +617,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -715,6 +728,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -801,6 +815,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -906,6 +921,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -943,6 +959,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ThreadNetworkDiagnostics = 53 { @@ -1103,6 +1120,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster WiFiNetworkDiagnostics = 54 { @@ -1173,6 +1191,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster EthernetNetworkDiagnostics = 55 { @@ -1210,6 +1229,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1261,6 +1281,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -1286,6 +1307,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1350,6 +1372,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1459,6 +1482,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1502,6 +1526,7 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TemperatureMeasurement = 1026 { @@ -1514,6 +1539,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter index 2666156dd67cec..d513b320482504 100644 --- a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter +++ b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -53,6 +54,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -146,6 +148,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -187,6 +190,7 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -267,6 +271,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Binding = 30 { @@ -285,6 +290,7 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -351,6 +357,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -394,6 +401,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -424,6 +432,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -529,6 +538,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -548,6 +558,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -580,6 +591,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -613,6 +625,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -671,6 +684,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -776,6 +790,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -814,6 +829,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -976,6 +992,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1048,6 +1065,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1086,6 +1104,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1134,6 +1153,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -1159,6 +1179,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1223,6 +1244,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1332,6 +1354,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1375,6 +1398,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OccupancySensing = 1030 { @@ -1398,12 +1422,22 @@ client cluster OccupancySensing = 1030 { readonly attribute OccupancyBitmap occupancy = 0; readonly attribute OccupancySensorTypeEnum occupancySensorType = 1; readonly attribute OccupancySensorTypeBitmap occupancySensorTypeBitmap = 2; + attribute access(write: manage) int16u PIROccupiedToUnoccupiedDelay = 16; + attribute access(write: manage) int16u PIRUnoccupiedToOccupiedDelay = 17; + attribute access(write: manage) int8u PIRUnoccupiedToOccupiedThreshold = 18; + attribute access(write: manage) int16u ultrasonicOccupiedToUnoccupiedDelay = 32; + attribute access(write: manage) int16u ultrasonicUnoccupiedToOccupiedDelay = 33; + attribute access(write: manage) int8u ultrasonicUnoccupiedToOccupiedThreshold = 34; + attribute access(write: manage) int16u physicalContactOccupiedToUnoccupiedDelay = 48; + attribute access(write: manage) int16u physicalContactUnoccupiedToOccupiedDelay = 49; + attribute access(write: manage) int8u physicalContactUnoccupiedToOccupiedThreshold = 50; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter index 73f0fad8aa24b5..31a4473fdfdfe2 100644 --- a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter +++ b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -59,6 +60,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -152,6 +154,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -205,6 +208,7 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -285,6 +289,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -354,6 +359,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -403,6 +409,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -433,6 +440,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -538,6 +546,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -581,6 +590,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -691,6 +701,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -777,6 +788,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -882,6 +894,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -920,6 +933,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -946,6 +960,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1010,6 +1025,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1119,6 +1135,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1256,6 +1273,7 @@ server cluster ColorControl = 768 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToHueRequest { INT8U hue = 0; HueDirection direction = 1; diff --git a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter index d69ad8d02016c8..0ebe37f4e0f59e 100644 --- a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter +++ b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -53,6 +54,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -120,6 +122,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Binding = 30 { @@ -138,6 +141,7 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -204,6 +208,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -247,6 +252,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -277,6 +283,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -382,6 +389,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -401,6 +409,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -433,6 +442,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -466,6 +476,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -576,6 +587,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -662,6 +674,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -767,6 +780,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -805,6 +819,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -853,6 +868,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -878,6 +894,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -942,6 +959,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1051,6 +1069,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1094,6 +1113,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BooleanState = 69 { @@ -1108,6 +1128,7 @@ server cluster BooleanState = 69 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter index 9a1eb55c3db7cd..6d6124f0931d82 100644 --- a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter +++ b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -53,6 +54,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -146,6 +148,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -187,6 +190,7 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -267,6 +271,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Binding = 30 { @@ -285,6 +290,7 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -351,6 +357,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -394,6 +401,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -424,6 +432,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -529,6 +538,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -548,6 +558,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -580,6 +591,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -613,6 +625,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -723,6 +736,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -809,6 +823,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -914,6 +929,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -952,6 +968,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -1000,6 +1017,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -1025,6 +1043,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1089,6 +1108,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1198,6 +1218,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1241,6 +1262,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OccupancySensing = 1030 { @@ -1264,12 +1286,22 @@ client cluster OccupancySensing = 1030 { readonly attribute OccupancyBitmap occupancy = 0; readonly attribute OccupancySensorTypeEnum occupancySensorType = 1; readonly attribute OccupancySensorTypeBitmap occupancySensorTypeBitmap = 2; + attribute access(write: manage) int16u PIROccupiedToUnoccupiedDelay = 16; + attribute access(write: manage) int16u PIRUnoccupiedToOccupiedDelay = 17; + attribute access(write: manage) int8u PIRUnoccupiedToOccupiedThreshold = 18; + attribute access(write: manage) int16u ultrasonicOccupiedToUnoccupiedDelay = 32; + attribute access(write: manage) int16u ultrasonicUnoccupiedToOccupiedDelay = 33; + attribute access(write: manage) int8u ultrasonicUnoccupiedToOccupiedThreshold = 34; + attribute access(write: manage) int16u physicalContactOccupiedToUnoccupiedDelay = 48; + attribute access(write: manage) int16u physicalContactUnoccupiedToOccupiedDelay = 49; + attribute access(write: manage) int8u physicalContactUnoccupiedToOccupiedThreshold = 50; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter index 0dda840f15e723..0e66dd631a5002 100644 --- a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter +++ b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -53,6 +54,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -120,6 +122,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Binding = 30 { @@ -138,6 +141,7 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -204,6 +208,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -247,6 +252,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -277,6 +283,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -382,6 +389,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -401,6 +409,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -433,6 +442,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -466,6 +476,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -576,6 +587,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -662,6 +674,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -767,6 +780,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -805,6 +819,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -853,6 +868,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -878,6 +894,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -942,6 +959,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1051,6 +1069,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1094,6 +1113,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster DoorLock = 257 { @@ -1492,6 +1512,7 @@ server cluster DoorLock = 257 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; } diff --git a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter index 8e42c417cef86f..edc4c10ab76b41 100644 --- a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter +++ b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -53,6 +54,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -146,6 +148,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -187,6 +190,7 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -267,6 +271,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Binding = 30 { @@ -285,6 +290,7 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -351,6 +357,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -394,6 +401,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -424,6 +432,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -529,6 +538,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -548,6 +558,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -580,6 +591,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -613,6 +625,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -723,6 +736,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -809,6 +823,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -914,6 +929,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -952,6 +968,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -1000,6 +1017,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -1025,6 +1043,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1089,6 +1108,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1198,6 +1218,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1241,6 +1262,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ColorControl = 768 { @@ -1340,6 +1362,7 @@ server cluster ColorControl = 768 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToHueRequest { INT8U hue = 0; HueDirection direction = 1; diff --git a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter index af6104234a63ff..2d6a9cfca46607 100644 --- a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter +++ b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -59,6 +60,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -126,6 +128,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -195,6 +198,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -244,6 +248,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -274,6 +279,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -379,6 +385,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -399,6 +406,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -431,6 +439,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -465,6 +474,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -575,6 +585,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -661,6 +672,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -766,6 +778,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -804,6 +817,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -854,6 +868,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -879,6 +894,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -943,6 +959,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1052,6 +1069,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1095,6 +1113,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster FanControl = 514 { @@ -1157,6 +1176,7 @@ server cluster FanControl = 514 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter index 004787645dcf69..c88141e73958d7 100644 --- a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter +++ b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -52,6 +53,7 @@ client cluster Groups = 4 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Groups = 4 { @@ -67,6 +69,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -134,6 +137,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Binding = 30 { @@ -152,6 +156,7 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -218,6 +223,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -261,6 +267,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -291,6 +298,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -396,6 +404,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -415,6 +424,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -447,6 +457,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -480,6 +491,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -590,6 +602,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -676,6 +689,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -781,6 +795,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -819,6 +834,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -867,6 +883,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -892,6 +909,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -956,6 +974,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1065,6 +1084,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1108,6 +1128,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster FlowMeasurement = 1028 { @@ -1121,6 +1142,7 @@ server cluster FlowMeasurement = 1028 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter index 9eddfdffe475d9..98206cf4527211 100644 --- a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter +++ b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -53,6 +54,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -142,6 +144,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -180,6 +183,7 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -260,6 +264,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Binding = 30 { @@ -278,6 +283,7 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -344,6 +350,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -387,6 +394,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -417,6 +425,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -522,6 +531,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -541,6 +551,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -573,6 +584,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -606,6 +618,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -716,6 +729,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -802,6 +816,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -907,6 +922,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -945,6 +961,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -993,6 +1010,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -1018,6 +1036,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1082,6 +1101,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1191,6 +1211,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1234,6 +1255,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Thermostat = 513 { @@ -1296,16 +1318,61 @@ client cluster Thermostat = 513 { } readonly attribute nullable int16s localTemperature = 0; + readonly attribute nullable int16s outdoorTemperature = 1; + readonly attribute bitmap8 occupancy = 2; + readonly attribute int16s absMinHeatSetpointLimit = 3; + readonly attribute int16s absMaxHeatSetpointLimit = 4; + readonly attribute int16s absMinCoolSetpointLimit = 5; + readonly attribute int16s absMaxCoolSetpointLimit = 6; + readonly attribute int8u PICoolingDemand = 7; + readonly attribute int8u PIHeatingDemand = 8; + attribute access(write: manage) bitmap8 HVACSystemTypeConfiguration = 9; + attribute access(write: manage) int8s localTemperatureCalibration = 16; attribute int16s occupiedCoolingSetpoint = 17; attribute int16s occupiedHeatingSetpoint = 18; + attribute int16s unoccupiedCoolingSetpoint = 19; + attribute int16s unoccupiedHeatingSetpoint = 20; + attribute access(write: manage) int16s minHeatSetpointLimit = 21; + attribute access(write: manage) int16s maxHeatSetpointLimit = 22; + attribute access(write: manage) int16s minCoolSetpointLimit = 23; + attribute access(write: manage) int16s maxCoolSetpointLimit = 24; + attribute access(write: manage) int8s minSetpointDeadBand = 25; + attribute access(write: manage) bitmap8 remoteSensing = 26; attribute access(write: manage) ThermostatControlSequence controlSequenceOfOperation = 27; attribute access(write: manage) enum8 systemMode = 28; + readonly attribute enum8 thermostatRunningMode = 30; + readonly attribute enum8 startOfWeek = 32; + readonly attribute int8u numberOfWeeklyTransitions = 33; + readonly attribute int8u numberOfDailyTransitions = 34; + attribute access(write: manage) enum8 temperatureSetpointHold = 35; + attribute access(write: manage) nullable int16u temperatureSetpointHoldDuration = 36; + attribute access(write: manage) bitmap8 thermostatProgrammingOperationMode = 37; + readonly attribute bitmap16 thermostatRunningState = 41; + readonly attribute enum8 setpointChangeSource = 48; + readonly attribute nullable int16s setpointChangeAmount = 49; + readonly attribute epoch_s setpointChangeSourceTimestamp = 50; + attribute access(write: manage) nullable int8u occupiedSetback = 52; + readonly attribute nullable int8u occupiedSetbackMin = 53; + readonly attribute nullable int8u occupiedSetbackMax = 54; + attribute access(write: manage) nullable int8u unoccupiedSetback = 55; + readonly attribute nullable int8u unoccupiedSetbackMin = 56; + readonly attribute nullable int8u unoccupiedSetbackMax = 57; + attribute access(write: manage) int8u emergencyHeatDelta = 58; + attribute access(write: manage) enum8 ACType = 64; + attribute access(write: manage) int16u ACCapacity = 65; + attribute access(write: manage) enum8 ACRefrigerantType = 66; + attribute access(write: manage) enum8 ACCompressorType = 67; + attribute access(write: manage) bitmap32 ACErrorCode = 68; + attribute access(write: manage) enum8 ACLouverPosition = 69; + readonly attribute nullable int16s ACCoilTemperature = 70; + attribute access(write: manage) enum8 ACCapacityformat = 71; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster FanControl = 514 { @@ -1364,6 +1431,7 @@ server cluster FanControl = 514 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter index 7a45ce19377ed4..7e321efcbbb1f6 100644 --- a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter +++ b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -52,6 +53,7 @@ client cluster Groups = 4 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Groups = 4 { @@ -67,6 +69,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -134,6 +137,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Binding = 30 { @@ -152,6 +156,7 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -218,6 +223,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -261,6 +267,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -291,6 +298,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -396,6 +404,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -415,6 +424,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -447,6 +457,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -480,6 +491,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -590,6 +602,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -676,6 +689,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -781,6 +795,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -819,6 +834,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -867,6 +883,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -892,6 +909,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -956,6 +974,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1065,6 +1084,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1108,6 +1128,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster RelativeHumidityMeasurement = 1029 { @@ -1121,6 +1142,7 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter index b49f38eb025857..7a2df72007aea3 100644 --- a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter +++ b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -52,6 +53,7 @@ client cluster Groups = 4 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Groups = 4 { @@ -67,6 +69,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -134,6 +137,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Binding = 30 { @@ -152,6 +156,7 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -218,6 +223,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -261,6 +267,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -291,6 +298,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -396,6 +404,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -415,6 +424,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -447,6 +457,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -480,6 +491,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -590,6 +602,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -676,6 +689,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -781,6 +795,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -819,6 +834,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -867,6 +883,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -892,6 +909,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -956,6 +974,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1065,6 +1084,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1108,6 +1128,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster IlluminanceMeasurement = 1024 { @@ -1125,6 +1146,7 @@ server cluster IlluminanceMeasurement = 1024 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter index 4e218927f80eee..91a29e552e9b11 100644 --- a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter +++ b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -52,6 +53,7 @@ client cluster Groups = 4 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Groups = 4 { @@ -67,6 +69,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -134,6 +137,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Binding = 30 { @@ -152,6 +156,7 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -218,6 +223,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -261,6 +267,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -291,6 +298,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -396,6 +404,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -415,6 +424,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -447,6 +457,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -480,6 +491,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -590,6 +602,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -676,6 +689,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -781,6 +795,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -819,6 +834,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -867,6 +883,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -892,6 +909,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -956,6 +974,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1065,6 +1084,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1108,6 +1128,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster OccupancySensing = 1030 { @@ -1137,6 +1158,7 @@ server cluster OccupancySensing = 1030 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter index 5c079a5eafd9e2..c3b0aa6aefeed4 100644 --- a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter +++ b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -53,6 +54,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -146,6 +148,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -187,6 +190,7 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -267,6 +271,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Binding = 30 { @@ -285,6 +290,7 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -351,6 +357,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -394,6 +401,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -424,6 +432,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -529,6 +538,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -548,6 +558,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -580,6 +591,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -613,6 +625,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -723,6 +736,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -809,6 +823,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -914,6 +929,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -952,6 +968,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -1000,6 +1017,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -1025,6 +1043,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1089,6 +1108,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1198,6 +1218,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1241,6 +1262,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter index 8dcd107506e0d8..a49890ac31f8c1 100644 --- a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter +++ b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -53,6 +54,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -135,6 +137,10 @@ client cluster OnOff = 6 { } readonly attribute boolean onOff = 0; + readonly attribute boolean globalSceneControl = 16384; + attribute int16u onTime = 16385; + attribute int16u offWaitTime = 16386; + attribute access(write: manage) nullable OnOffStartUpOnOff startUpOnOff = 16387; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -142,6 +148,7 @@ client cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -185,6 +192,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -206,6 +214,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Binding = 30 { @@ -224,6 +233,7 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -290,6 +300,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -333,6 +344,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -363,6 +375,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -468,6 +481,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -487,6 +501,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -519,6 +534,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -552,6 +568,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -662,6 +679,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -748,6 +766,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -853,6 +872,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -891,6 +911,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -939,6 +960,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -964,6 +986,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1028,6 +1051,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1137,6 +1161,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1180,6 +1205,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter index 2c7d1b9e16bab8..77ca84d3f71181 100644 --- a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter +++ b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -53,6 +54,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -146,6 +148,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -167,6 +170,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Binding = 30 { @@ -185,6 +189,7 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -251,6 +256,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -294,6 +300,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -324,6 +331,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -429,6 +437,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -448,6 +457,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -480,6 +490,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -513,6 +524,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -623,6 +635,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -709,6 +722,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -814,6 +828,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -852,6 +867,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -900,6 +916,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -925,6 +942,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -989,6 +1007,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1098,6 +1117,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1141,6 +1161,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter index 146e6d58ad75f3..55336db6004953 100644 --- a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter +++ b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter @@ -38,6 +38,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -57,6 +58,7 @@ client cluster Groups = 4 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Groups = 4 { @@ -72,6 +74,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -139,6 +142,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Binding = 30 { @@ -157,6 +161,7 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -223,6 +228,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -266,6 +272,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -296,6 +303,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -401,6 +409,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -420,6 +429,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -452,6 +462,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -485,6 +496,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -595,6 +607,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -681,6 +694,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -786,6 +800,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -824,6 +839,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -872,6 +888,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -897,6 +914,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -961,6 +979,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1070,6 +1089,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1108,6 +1128,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UserLabel = 65 { @@ -1118,6 +1139,7 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster PressureMeasurement = 1027 { @@ -1134,6 +1156,7 @@ server cluster PressureMeasurement = 1027 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter index 0c1041f3c77441..a02edd49b55bf0 100644 --- a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter +++ b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -53,6 +54,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -142,6 +144,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -181,6 +184,7 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -261,6 +265,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Binding = 30 { @@ -279,6 +284,7 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -345,6 +351,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -388,6 +395,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -418,6 +426,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -523,6 +532,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -542,6 +552,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -574,6 +585,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -607,6 +619,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -717,6 +730,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -803,6 +817,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -908,6 +923,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -946,6 +962,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -994,6 +1011,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -1019,6 +1037,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1083,6 +1102,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1192,6 +1212,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1235,6 +1256,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter index 951abb3781f2b6..ab2396ad3e1881 100644 --- a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter +++ b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -52,6 +53,7 @@ client cluster Groups = 4 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Groups = 4 { @@ -67,6 +69,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -134,6 +137,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Binding = 30 { @@ -152,6 +156,7 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -218,6 +223,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -261,6 +267,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -291,6 +298,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -396,6 +404,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -415,6 +424,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -447,6 +457,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -480,6 +491,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -590,6 +602,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -676,6 +689,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -781,6 +795,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -819,6 +834,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -867,6 +883,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -892,6 +909,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -956,6 +974,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1065,6 +1084,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1108,6 +1128,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TemperatureMeasurement = 1026 { @@ -1120,6 +1141,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter index 8652dac6608b56..4b3ffc39299b1f 100644 --- a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter +++ b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -53,6 +54,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -120,6 +122,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Binding = 30 { @@ -138,6 +141,7 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -204,6 +208,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -247,6 +252,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -277,6 +283,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -382,6 +389,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -401,6 +409,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -433,6 +442,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -466,6 +476,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -576,6 +587,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -662,6 +674,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -767,6 +780,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -805,6 +819,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -853,6 +868,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -878,6 +894,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -942,6 +959,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1051,6 +1069,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1094,6 +1113,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Thermostat = 513 { @@ -1189,6 +1209,7 @@ server cluster Thermostat = 513 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; INT8S amount = 1; @@ -1240,12 +1261,24 @@ client cluster FanControl = 514 { kNaturalWind = 0x2; } + attribute FanModeType fanMode = 0; + attribute FanModeSequenceType fanModeSequence = 1; + attribute nullable int8u percentSetting = 2; + readonly attribute int8u percentCurrent = 3; + readonly attribute int8u speedMax = 4; + attribute nullable int8u speedSetting = 5; + readonly attribute int8u speedCurrent = 6; + readonly attribute bitmap8 rockSupport = 7; + attribute bitmap8 rockSetting = 8; + readonly attribute bitmap8 windSupport = 9; + attribute bitmap8 windSetting = 10; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ThermostatUserInterfaceConfiguration = 516 { @@ -1257,24 +1290,35 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster TemperatureMeasurement = 1026 { + readonly attribute nullable int16s measuredValue = 0; + readonly attribute nullable int16s minMeasuredValue = 1; + readonly attribute nullable int16s maxMeasuredValue = 2; + readonly attribute int16u tolerance = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster RelativeHumidityMeasurement = 1029 { + readonly attribute nullable int16u measuredValue = 0; + readonly attribute nullable int16u minMeasuredValue = 1; + readonly attribute nullable int16u maxMeasuredValue = 2; + readonly attribute int16u tolerance = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OccupancySensing = 1030 { @@ -1295,12 +1339,25 @@ client cluster OccupancySensing = 1030 { kPhysicalContact = 0x4; } + readonly attribute OccupancyBitmap occupancy = 0; + readonly attribute OccupancySensorTypeEnum occupancySensorType = 1; + readonly attribute OccupancySensorTypeBitmap occupancySensorTypeBitmap = 2; + attribute access(write: manage) int16u PIROccupiedToUnoccupiedDelay = 16; + attribute access(write: manage) int16u PIRUnoccupiedToOccupiedDelay = 17; + attribute access(write: manage) int8u PIRUnoccupiedToOccupiedThreshold = 18; + attribute access(write: manage) int16u ultrasonicOccupiedToUnoccupiedDelay = 32; + attribute access(write: manage) int16u ultrasonicUnoccupiedToOccupiedDelay = 33; + attribute access(write: manage) int8u ultrasonicUnoccupiedToOccupiedThreshold = 34; + attribute access(write: manage) int16u physicalContactOccupiedToUnoccupiedDelay = 48; + attribute access(write: manage) int16u physicalContactUnoccupiedToOccupiedDelay = 49; + attribute access(write: manage) int8u physicalContactUnoccupiedToOccupiedThreshold = 50; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter index 7eb2860ebe40b4..b5b840d97d8534 100644 --- a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter +++ b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -53,6 +54,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -120,6 +122,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Binding = 30 { @@ -138,6 +141,7 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -204,6 +208,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -247,6 +252,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -277,6 +283,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -382,6 +389,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -401,6 +409,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -433,6 +442,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -466,6 +476,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -576,6 +587,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -662,6 +674,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -767,6 +780,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -805,6 +819,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -853,6 +868,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -878,6 +894,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -942,6 +959,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1051,6 +1069,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1094,6 +1113,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster WindowCovering = 258 { @@ -1214,6 +1234,7 @@ server cluster WindowCovering = 258 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct GoToLiftValueRequest { INT16U liftValue = 0; } diff --git a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter index 7b59e70d22e86c..35d917ea26a782 100644 --- a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter +++ b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter @@ -38,6 +38,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -64,6 +65,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -131,6 +133,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -200,6 +203,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -249,6 +253,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -279,6 +284,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -384,6 +390,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -404,6 +411,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -436,6 +444,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -470,6 +479,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -580,6 +590,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -666,6 +677,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -771,6 +783,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -809,6 +822,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -971,6 +985,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1043,6 +1058,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1081,6 +1097,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1107,6 +1124,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1171,6 +1189,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1280,6 +1299,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1318,6 +1338,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UserLabel = 65 { @@ -1328,6 +1349,7 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BooleanState = 69 { @@ -1342,6 +1364,7 @@ server cluster BooleanState = 69 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster OccupancySensing = 1030 { @@ -1371,6 +1394,7 @@ server cluster OccupancySensing = 1030 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/dynamic-bridge-app/bridge-common/bridge-app.matter b/examples/dynamic-bridge-app/bridge-common/bridge-app.matter index b84898e28a475f..05e0367b02f344 100644 --- a/examples/dynamic-bridge-app/bridge-common/bridge-app.matter +++ b/examples/dynamic-bridge-app/bridge-common/bridge-app.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -84,6 +85,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -132,6 +134,7 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -212,6 +215,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Binding = 30 { @@ -230,6 +234,7 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster AccessControl = 31 { @@ -299,6 +304,7 @@ client cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -368,6 +374,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Actions = 37 { @@ -453,6 +460,7 @@ server cluster Actions = 37 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct InstantActionRequest { INT16U actionID = 0; optional INT32U invokeID = 1; @@ -508,6 +516,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster LocalizationConfiguration = 43 { @@ -519,6 +528,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -551,6 +561,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UnitLocalization = 45 { @@ -571,6 +582,7 @@ server cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -605,6 +617,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -715,6 +728,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -801,6 +815,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -906,6 +921,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -943,6 +959,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ThreadNetworkDiagnostics = 53 { @@ -1103,6 +1120,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster WiFiNetworkDiagnostics = 54 { @@ -1173,6 +1191,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster EthernetNetworkDiagnostics = 55 { @@ -1210,6 +1229,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1261,6 +1281,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -1286,6 +1307,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1350,6 +1372,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1459,6 +1482,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1502,6 +1526,7 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TemperatureMeasurement = 1026 { @@ -1514,6 +1539,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/light-switch-app/light-switch-common/light-switch-app.matter b/examples/light-switch-app/light-switch-common/light-switch-app.matter index 4a92de568eadd7..0ee420cc1e8d1f 100644 --- a/examples/light-switch-app/light-switch-common/light-switch-app.matter +++ b/examples/light-switch-app/light-switch-common/light-switch-app.matter @@ -37,6 +37,7 @@ client cluster Identify = 3 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Identify = 3 { @@ -71,6 +72,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -97,6 +99,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -172,6 +175,7 @@ client cluster Scenes = 5 { readonly attribute group_id currentGroup = 2; readonly attribute boolean sceneValid = 3; readonly attribute bitmap8 nameSupport = 4; + readonly attribute nullable node_id lastConfiguredBy = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -179,6 +183,7 @@ client cluster Scenes = 5 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddSceneRequest { group_id groupID = 0; INT8U sceneID = 1; @@ -306,6 +311,7 @@ client cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -327,6 +333,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Binding = 30 { @@ -345,6 +352,7 @@ server cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -414,6 +422,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -463,6 +472,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -493,6 +503,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -598,6 +609,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -618,6 +630,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -650,6 +663,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -684,6 +698,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -794,6 +809,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -880,6 +896,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -985,6 +1002,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -1023,6 +1041,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -1185,6 +1204,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1257,6 +1277,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1295,6 +1316,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1345,6 +1367,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -1370,6 +1393,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1434,6 +1458,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1543,6 +1568,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1581,6 +1607,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UserLabel = 65 { @@ -1591,6 +1618,7 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster ColorControl = 768 { @@ -1668,10 +1696,41 @@ client cluster ColorControl = 768 { readonly attribute int16u remainingTime = 2; readonly attribute int16u currentX = 3; readonly attribute int16u currentY = 4; + readonly attribute enum8 driftCompensation = 5; + readonly attribute char_string<254> compensationText = 6; readonly attribute int16u colorTemperatureMireds = 7; readonly attribute enum8 colorMode = 8; attribute bitmap8 options = 15; readonly attribute nullable int8u numberOfPrimaries = 16; + readonly attribute int16u primary1X = 17; + readonly attribute int16u primary1Y = 18; + readonly attribute nullable int8u primary1Intensity = 19; + readonly attribute int16u primary2X = 21; + readonly attribute int16u primary2Y = 22; + readonly attribute nullable int8u primary2Intensity = 23; + readonly attribute int16u primary3X = 25; + readonly attribute int16u primary3Y = 26; + readonly attribute nullable int8u primary3Intensity = 27; + readonly attribute int16u primary4X = 32; + readonly attribute int16u primary4Y = 33; + readonly attribute nullable int8u primary4Intensity = 34; + readonly attribute int16u primary5X = 36; + readonly attribute int16u primary5Y = 37; + readonly attribute nullable int8u primary5Intensity = 38; + readonly attribute int16u primary6X = 40; + readonly attribute int16u primary6Y = 41; + readonly attribute nullable int8u primary6Intensity = 42; + attribute access(write: manage) int16u whitePointX = 48; + attribute access(write: manage) int16u whitePointY = 49; + attribute access(write: manage) int16u colorPointRX = 50; + attribute access(write: manage) int16u colorPointRY = 51; + attribute access(write: manage) nullable int8u colorPointRIntensity = 52; + attribute access(write: manage) int16u colorPointGX = 54; + attribute access(write: manage) int16u colorPointGY = 55; + attribute access(write: manage) nullable int8u colorPointGIntensity = 56; + attribute access(write: manage) int16u colorPointBX = 58; + attribute access(write: manage) int16u colorPointBY = 59; + attribute access(write: manage) nullable int8u colorPointBIntensity = 60; readonly attribute int16u enhancedCurrentHue = 16384; readonly attribute enum8 enhancedColorMode = 16385; readonly attribute int8u colorLoopActive = 16386; @@ -1691,6 +1750,7 @@ client cluster ColorControl = 768 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToHueRequest { INT8U hue = 0; HueDirection direction = 1; diff --git a/examples/lighting-app/lighting-common/lighting-app.matter b/examples/lighting-app/lighting-common/lighting-app.matter index 73f3b486a12dbd..323707014eac17 100644 --- a/examples/lighting-app/lighting-common/lighting-app.matter +++ b/examples/lighting-app/lighting-common/lighting-app.matter @@ -38,6 +38,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -64,6 +65,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -157,6 +159,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -219,6 +222,7 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -299,6 +303,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -368,6 +373,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -417,6 +423,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -447,6 +454,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -552,6 +560,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -572,6 +581,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -604,6 +614,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -638,6 +649,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -748,6 +760,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -834,6 +847,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -939,6 +953,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -977,6 +992,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -1139,6 +1155,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1211,6 +1228,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1249,6 +1267,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1299,6 +1318,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -1324,6 +1344,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1388,6 +1409,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1497,6 +1519,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1535,6 +1558,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UserLabel = 65 { @@ -1545,6 +1569,7 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ColorControl = 768 { @@ -1645,6 +1670,7 @@ server cluster ColorControl = 768 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToHueRequest { INT8U hue = 0; HueDirection direction = 1; @@ -1841,6 +1867,7 @@ server cluster OccupancySensing = 1030 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/lighting-app/nxp/zap/lighting-on-off.matter b/examples/lighting-app/nxp/zap/lighting-on-off.matter index 0dba423775462d..99369003f25084 100644 --- a/examples/lighting-app/nxp/zap/lighting-on-off.matter +++ b/examples/lighting-app/nxp/zap/lighting-on-off.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -59,6 +60,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -152,6 +154,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -207,6 +210,7 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -287,6 +291,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -350,6 +355,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -391,6 +397,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -421,6 +428,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -526,6 +534,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -569,6 +578,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -679,6 +689,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -821,6 +832,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -859,6 +871,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -1018,6 +1031,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1044,6 +1058,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1103,6 +1118,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1212,6 +1228,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } diff --git a/examples/lighting-app/qpg/zap/light.matter b/examples/lighting-app/qpg/zap/light.matter index 27e8f79439d858..daa6c89920aebf 100644 --- a/examples/lighting-app/qpg/zap/light.matter +++ b/examples/lighting-app/qpg/zap/light.matter @@ -38,6 +38,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -64,6 +65,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -157,6 +159,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -215,6 +218,7 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -295,6 +299,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -358,6 +363,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -407,6 +413,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -437,6 +444,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -542,6 +550,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -585,6 +594,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -695,6 +705,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -774,6 +785,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -886,6 +898,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -924,6 +937,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -1083,6 +1097,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1109,6 +1124,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1173,6 +1189,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1282,6 +1299,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1320,6 +1338,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UserLabel = 65 { @@ -1330,6 +1349,7 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ColorControl = 768 { @@ -1448,6 +1468,7 @@ server cluster ColorControl = 768 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToHueRequest { INT8U hue = 0; HueDirection direction = 1; diff --git a/examples/lighting-app/silabs/efr32/data_model/lighting-thread-app.matter b/examples/lighting-app/silabs/efr32/data_model/lighting-thread-app.matter index 34ecc1a58681f0..52be6032a34048 100644 --- a/examples/lighting-app/silabs/efr32/data_model/lighting-thread-app.matter +++ b/examples/lighting-app/silabs/efr32/data_model/lighting-thread-app.matter @@ -38,6 +38,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -64,6 +65,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -157,6 +159,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -219,6 +222,7 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -299,6 +303,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -368,6 +373,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -417,6 +423,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -447,6 +454,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -552,6 +560,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -572,6 +581,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -604,6 +614,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -638,6 +649,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -748,6 +760,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -834,6 +847,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -939,6 +953,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -977,6 +992,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -1139,6 +1155,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1165,6 +1182,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1229,6 +1247,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1338,6 +1357,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1376,6 +1396,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UserLabel = 65 { @@ -1386,6 +1407,7 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ColorControl = 768 { @@ -1486,6 +1508,7 @@ server cluster ColorControl = 768 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToHueRequest { INT8U hue = 0; HueDirection direction = 1; diff --git a/examples/lighting-app/silabs/efr32/data_model/lighting-wifi-app.matter b/examples/lighting-app/silabs/efr32/data_model/lighting-wifi-app.matter index 0ca16845849b6a..39fe0ac8bb407e 100644 --- a/examples/lighting-app/silabs/efr32/data_model/lighting-wifi-app.matter +++ b/examples/lighting-app/silabs/efr32/data_model/lighting-wifi-app.matter @@ -38,6 +38,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -64,6 +65,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -157,6 +159,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -219,6 +222,7 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -299,6 +303,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -368,6 +373,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -417,6 +423,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -447,6 +454,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -552,6 +560,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -572,6 +581,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -604,6 +614,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -638,6 +649,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -748,6 +760,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -834,6 +847,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -939,6 +953,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -977,6 +992,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -1049,6 +1065,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1075,6 +1092,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1139,6 +1157,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1248,6 +1267,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1286,6 +1306,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UserLabel = 65 { @@ -1296,6 +1317,7 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ColorControl = 768 { @@ -1396,6 +1418,7 @@ server cluster ColorControl = 768 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToHueRequest { INT8U hue = 0; HueDirection direction = 1; diff --git a/examples/lock-app/lock-common/lock-app.matter b/examples/lock-app/lock-common/lock-app.matter index 3f175fc88bea6a..cafe9479ec27bc 100644 --- a/examples/lock-app/lock-common/lock-app.matter +++ b/examples/lock-app/lock-common/lock-app.matter @@ -38,6 +38,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -87,6 +88,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -108,6 +110,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -177,6 +180,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -226,6 +230,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -256,6 +261,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -361,6 +367,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -381,6 +388,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -413,6 +421,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster PowerSourceConfiguration = 46 { @@ -423,6 +432,7 @@ server cluster PowerSourceConfiguration = 46 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster PowerSource = 47 { @@ -640,6 +650,7 @@ server cluster PowerSource = 47 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -674,6 +685,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -784,6 +796,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -870,6 +883,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -975,6 +989,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -1013,6 +1028,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -1175,6 +1191,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1247,6 +1264,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1285,6 +1303,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1311,6 +1330,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1375,6 +1395,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1484,6 +1505,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1522,6 +1544,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UserLabel = 65 { @@ -1532,6 +1555,7 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster DoorLock = 257 { @@ -1941,6 +1965,7 @@ server cluster DoorLock = 257 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; } diff --git a/examples/lock-app/nxp/zap/lock-app.matter b/examples/lock-app/nxp/zap/lock-app.matter index de2ea9558dcf6a..86181f8a214dcb 100644 --- a/examples/lock-app/nxp/zap/lock-app.matter +++ b/examples/lock-app/nxp/zap/lock-app.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -62,6 +63,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -125,6 +127,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -166,6 +169,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -200,6 +204,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -310,6 +315,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -452,6 +458,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -490,6 +497,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -649,6 +657,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -675,6 +684,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -734,6 +744,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -843,6 +854,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1263,6 +1275,7 @@ server cluster DoorLock = 257 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; } diff --git a/examples/lock-app/qpg/zap/lock.matter b/examples/lock-app/qpg/zap/lock.matter index 163de91d88ab64..cedfff1a001a30 100644 --- a/examples/lock-app/qpg/zap/lock.matter +++ b/examples/lock-app/qpg/zap/lock.matter @@ -38,6 +38,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -64,6 +65,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -131,6 +133,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -194,6 +197,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -243,6 +247,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -273,6 +278,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -378,6 +384,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -421,6 +428,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -531,6 +539,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -610,6 +619,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -722,6 +732,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -760,6 +771,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -919,6 +931,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -945,6 +958,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1009,6 +1023,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1118,6 +1133,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1156,6 +1172,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UserLabel = 65 { @@ -1166,6 +1183,7 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster DoorLock = 257 { @@ -1575,6 +1593,7 @@ server cluster DoorLock = 257 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; } diff --git a/examples/log-source-app/log-source-common/log-source-app.matter b/examples/log-source-app/log-source-common/log-source-app.matter index 70fa6cfcede0ac..879a691e902f91 100644 --- a/examples/log-source-app/log-source-common/log-source-app.matter +++ b/examples/log-source-app/log-source-common/log-source-app.matter @@ -68,6 +68,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -100,6 +101,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -197,6 +199,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -282,6 +285,7 @@ client cluster DiagnosticLogs = 50 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster DiagnosticLogs = 50 { @@ -311,6 +315,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -366,6 +371,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } diff --git a/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter b/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter index 2bb77fc4bd7a03..06ac40ed7149af 100644 --- a/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter +++ b/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter @@ -22,6 +22,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster AccessControl = 31 { @@ -91,6 +92,7 @@ client cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -160,6 +162,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -209,6 +212,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster OtaSoftwareUpdateProvider = 41 { @@ -239,6 +243,7 @@ server cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -290,6 +295,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -322,6 +328,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -356,6 +363,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -466,6 +474,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -621,6 +630,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -652,6 +662,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -716,6 +727,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -825,6 +837,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -863,6 +876,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UserLabel = 65 { @@ -873,6 +887,7 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter index aa541eeaf95d44..2c647d12c85299 100644 --- a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter +++ b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter @@ -38,6 +38,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -64,6 +65,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -157,6 +159,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -192,6 +195,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -261,6 +265,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -310,6 +315,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -340,6 +346,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -445,6 +452,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -465,6 +473,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -497,6 +506,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -531,6 +541,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -641,6 +652,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -796,6 +808,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -827,6 +840,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -891,6 +905,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1000,6 +1015,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1038,6 +1054,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UserLabel = 65 { @@ -1048,6 +1065,7 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/placeholder/linux/apps/app1/config.matter b/examples/placeholder/linux/apps/app1/config.matter index 3ee30cec25fc4f..b69c408a0c3373 100644 --- a/examples/placeholder/linux/apps/app1/config.matter +++ b/examples/placeholder/linux/apps/app1/config.matter @@ -38,6 +38,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -64,6 +65,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -146,6 +148,7 @@ server cluster Scenes = 5 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddSceneRequest { group_id groupID = 0; INT8U sceneID = 1; @@ -273,6 +276,7 @@ client cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -334,6 +338,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -387,6 +392,7 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -467,6 +473,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -530,6 +537,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Actions = 37 { @@ -614,6 +622,7 @@ server cluster Actions = 37 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -663,6 +672,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster LocalizationConfiguration = 43 { @@ -674,6 +684,7 @@ client cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster LocalizationConfiguration = 43 { @@ -685,6 +696,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -717,6 +729,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster UnitLocalization = 45 { @@ -737,6 +750,7 @@ client cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UnitLocalization = 45 { @@ -757,6 +771,7 @@ server cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster PowerSourceConfiguration = 46 { @@ -767,6 +782,7 @@ server cluster PowerSourceConfiguration = 46 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster PowerSource = 47 { @@ -1007,6 +1023,7 @@ server cluster PowerSource = 47 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster GeneralCommissioning = 48 { @@ -1041,6 +1058,7 @@ client cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -1089,6 +1107,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -1199,6 +1218,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -1354,6 +1374,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -1392,6 +1413,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -1464,6 +1486,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1502,6 +1525,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1553,6 +1577,7 @@ client cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Switch = 59 { @@ -1603,6 +1628,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -1628,6 +1654,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1673,6 +1700,7 @@ client cluster OperationalCredentials = 62 { fabric_idx fabricIndex = 254; } + readonly attribute access(read: administer) NOCStruct NOCs[] = 0; readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; @@ -1685,6 +1713,7 @@ client cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1773,6 +1802,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1849,6 +1879,7 @@ client cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster FixedLabel = 64 { @@ -1859,6 +1890,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UserLabel = 65 { @@ -1869,6 +1901,7 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BooleanState = 69 { @@ -1883,6 +1916,7 @@ server cluster BooleanState = 69 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster ModeSelect = 80 { @@ -1906,6 +1940,7 @@ client cluster ModeSelect = 80 { readonly attribute ModeOptionStruct supportedModes[] = 2; readonly attribute int8u currentMode = 3; attribute nullable int8u startUpMode = 4; + attribute nullable int8u onMode = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -1913,6 +1948,7 @@ client cluster ModeSelect = 80 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ChangeToModeRequest { INT8U newMode = 0; } @@ -1948,6 +1984,7 @@ server cluster ModeSelect = 80 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ChangeToModeRequest { INT8U newMode = 0; } @@ -2069,6 +2106,7 @@ server cluster WindowCovering = 258 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct GoToLiftValueRequest { INT16U liftValue = 0; } @@ -2213,6 +2251,7 @@ server cluster PumpConfigurationAndControl = 512 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Thermostat = 513 { @@ -2302,6 +2341,7 @@ server cluster Thermostat = 513 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster ThermostatUserInterfaceConfiguration = 516 { @@ -2314,6 +2354,7 @@ client cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ThermostatUserInterfaceConfiguration = 516 { @@ -2326,6 +2367,7 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ColorControl = 768 { @@ -2410,6 +2452,7 @@ server cluster ColorControl = 768 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToColorRequest { INT16U colorX = 0; INT16U colorY = 1; @@ -2455,6 +2498,7 @@ server cluster IlluminanceMeasurement = 1024 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster TemperatureMeasurement = 1026 { @@ -2468,6 +2512,7 @@ client cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TemperatureMeasurement = 1026 { @@ -2481,6 +2526,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster PressureMeasurement = 1027 { @@ -2503,6 +2549,7 @@ server cluster PressureMeasurement = 1027 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster FlowMeasurement = 1028 { @@ -2516,6 +2563,7 @@ server cluster FlowMeasurement = 1028 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster RelativeHumidityMeasurement = 1029 { @@ -2529,6 +2577,7 @@ client cluster RelativeHumidityMeasurement = 1029 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster RelativeHumidityMeasurement = 1029 { @@ -2542,6 +2591,7 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster OccupancySensing = 1030 { @@ -2580,6 +2630,7 @@ server cluster OccupancySensing = 1030 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster TargetNavigator = 1285 { @@ -2603,6 +2654,7 @@ client cluster TargetNavigator = 1285 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct NavigateTargetRequest { INT8U target = 0; optional CHAR_STRING data = 1; @@ -2637,6 +2689,7 @@ server cluster TargetNavigator = 1285 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct NavigateTargetRequest { INT8U target = 0; optional CHAR_STRING data = 1; @@ -2759,6 +2812,7 @@ client cluster KeypadInput = 1289 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SendKeyRequest { CecKeyCode keyCode = 0; } @@ -2879,6 +2933,7 @@ server cluster KeypadInput = 1289 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SendKeyRequest { CecKeyCode keyCode = 0; } @@ -2974,6 +3029,7 @@ client cluster ContentLauncher = 1290 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct LaunchContentRequest { ContentSearchStruct search = 0; BOOLEAN autoPlay = 1; @@ -3079,6 +3135,7 @@ server cluster ContentLauncher = 1290 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct LaunchContentRequest { ContentSearchStruct search = 0; BOOLEAN autoPlay = 1; @@ -3127,6 +3184,7 @@ client cluster ApplicationBasic = 1293 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ApplicationBasic = 1293 { @@ -3156,6 +3214,7 @@ server cluster ApplicationBasic = 1293 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/placeholder/linux/apps/app2/config.matter b/examples/placeholder/linux/apps/app2/config.matter index 6f6e953460ce36..e8da3607812c5a 100644 --- a/examples/placeholder/linux/apps/app2/config.matter +++ b/examples/placeholder/linux/apps/app2/config.matter @@ -38,6 +38,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -64,6 +65,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -146,6 +148,7 @@ server cluster Scenes = 5 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddSceneRequest { group_id groupID = 0; INT8U sceneID = 1; @@ -273,6 +276,7 @@ client cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -334,6 +338,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -387,6 +392,7 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -467,6 +473,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -530,6 +537,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Actions = 37 { @@ -614,6 +622,7 @@ server cluster Actions = 37 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -663,6 +672,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster LocalizationConfiguration = 43 { @@ -674,6 +684,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -706,6 +717,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UnitLocalization = 45 { @@ -726,6 +738,7 @@ server cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster PowerSourceConfiguration = 46 { @@ -736,6 +749,7 @@ server cluster PowerSourceConfiguration = 46 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster PowerSource = 47 { @@ -976,6 +990,7 @@ server cluster PowerSource = 47 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster GeneralCommissioning = 48 { @@ -1010,6 +1025,7 @@ client cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -1058,6 +1074,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -1168,6 +1185,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -1323,6 +1341,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -1361,6 +1380,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -1433,6 +1453,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1471,6 +1492,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1522,6 +1544,7 @@ client cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Switch = 59 { @@ -1572,6 +1595,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -1597,6 +1621,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1642,6 +1667,7 @@ client cluster OperationalCredentials = 62 { fabric_idx fabricIndex = 254; } + readonly attribute access(read: administer) NOCStruct NOCs[] = 0; readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; @@ -1654,6 +1680,7 @@ client cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1742,6 +1769,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1818,6 +1846,7 @@ client cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster FixedLabel = 64 { @@ -1828,6 +1857,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UserLabel = 65 { @@ -1838,6 +1868,7 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BooleanState = 69 { @@ -1852,6 +1883,7 @@ server cluster BooleanState = 69 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster ModeSelect = 80 { @@ -1875,6 +1907,7 @@ client cluster ModeSelect = 80 { readonly attribute ModeOptionStruct supportedModes[] = 2; readonly attribute int8u currentMode = 3; attribute nullable int8u startUpMode = 4; + attribute nullable int8u onMode = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -1882,6 +1915,7 @@ client cluster ModeSelect = 80 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ChangeToModeRequest { INT8U newMode = 0; } @@ -1917,6 +1951,7 @@ server cluster ModeSelect = 80 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ChangeToModeRequest { INT8U newMode = 0; } @@ -2038,6 +2073,7 @@ server cluster WindowCovering = 258 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct GoToLiftValueRequest { INT16U liftValue = 0; } @@ -2182,6 +2218,7 @@ server cluster PumpConfigurationAndControl = 512 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Thermostat = 513 { @@ -2271,6 +2308,7 @@ server cluster Thermostat = 513 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster ThermostatUserInterfaceConfiguration = 516 { @@ -2283,6 +2321,7 @@ client cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ThermostatUserInterfaceConfiguration = 516 { @@ -2295,6 +2334,7 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ColorControl = 768 { @@ -2379,6 +2419,7 @@ server cluster ColorControl = 768 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToColorRequest { INT16U colorX = 0; INT16U colorY = 1; @@ -2424,6 +2465,7 @@ server cluster IlluminanceMeasurement = 1024 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster TemperatureMeasurement = 1026 { @@ -2437,6 +2479,7 @@ client cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TemperatureMeasurement = 1026 { @@ -2450,6 +2493,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster PressureMeasurement = 1027 { @@ -2472,6 +2516,7 @@ server cluster PressureMeasurement = 1027 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster FlowMeasurement = 1028 { @@ -2485,6 +2530,7 @@ server cluster FlowMeasurement = 1028 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster RelativeHumidityMeasurement = 1029 { @@ -2498,6 +2544,7 @@ client cluster RelativeHumidityMeasurement = 1029 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster RelativeHumidityMeasurement = 1029 { @@ -2511,6 +2558,7 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster OccupancySensing = 1030 { @@ -2549,6 +2597,7 @@ server cluster OccupancySensing = 1030 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster TargetNavigator = 1285 { @@ -2572,6 +2621,7 @@ client cluster TargetNavigator = 1285 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct NavigateTargetRequest { INT8U target = 0; optional CHAR_STRING data = 1; @@ -2606,6 +2656,7 @@ server cluster TargetNavigator = 1285 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct NavigateTargetRequest { INT8U target = 0; optional CHAR_STRING data = 1; @@ -2728,6 +2779,7 @@ client cluster KeypadInput = 1289 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SendKeyRequest { CecKeyCode keyCode = 0; } @@ -2848,6 +2900,7 @@ server cluster KeypadInput = 1289 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SendKeyRequest { CecKeyCode keyCode = 0; } @@ -2943,6 +2996,7 @@ client cluster ContentLauncher = 1290 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct LaunchContentRequest { ContentSearchStruct search = 0; BOOLEAN autoPlay = 1; @@ -3048,6 +3102,7 @@ server cluster ContentLauncher = 1290 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct LaunchContentRequest { ContentSearchStruct search = 0; BOOLEAN autoPlay = 1; @@ -3096,6 +3151,7 @@ client cluster ApplicationBasic = 1293 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ApplicationBasic = 1293 { @@ -3125,6 +3181,7 @@ server cluster ApplicationBasic = 1293 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/pump-app/pump-common/pump-app.matter b/examples/pump-app/pump-common/pump-app.matter index b5388fb518d90c..f0d2962c44c418 100644 --- a/examples/pump-app/pump-common/pump-app.matter +++ b/examples/pump-app/pump-common/pump-app.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -78,6 +79,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -117,6 +119,7 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -197,6 +200,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Binding = 30 { @@ -215,6 +219,7 @@ server cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -284,6 +289,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -330,6 +336,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -360,6 +367,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -465,6 +473,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -508,6 +517,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -618,6 +628,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -760,6 +771,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -881,6 +893,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -907,6 +920,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -971,6 +985,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1080,6 +1095,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1229,6 +1245,7 @@ server cluster PumpConfigurationAndControl = 512 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TemperatureMeasurement = 1026 { @@ -1242,6 +1259,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster PressureMeasurement = 1027 { @@ -1264,6 +1282,7 @@ server cluster PressureMeasurement = 1027 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster FlowMeasurement = 1028 { @@ -1277,6 +1296,7 @@ server cluster FlowMeasurement = 1028 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OccupancySensing = 1030 { @@ -1297,12 +1317,25 @@ client cluster OccupancySensing = 1030 { kPhysicalContact = 0x4; } + readonly attribute OccupancyBitmap occupancy = 0; + readonly attribute OccupancySensorTypeEnum occupancySensorType = 1; + readonly attribute OccupancySensorTypeBitmap occupancySensorTypeBitmap = 2; + attribute access(write: manage) int16u PIROccupiedToUnoccupiedDelay = 16; + attribute access(write: manage) int16u PIRUnoccupiedToOccupiedDelay = 17; + attribute access(write: manage) int8u PIRUnoccupiedToOccupiedThreshold = 18; + attribute access(write: manage) int16u ultrasonicOccupiedToUnoccupiedDelay = 32; + attribute access(write: manage) int16u ultrasonicUnoccupiedToOccupiedDelay = 33; + attribute access(write: manage) int8u ultrasonicUnoccupiedToOccupiedThreshold = 34; + attribute access(write: manage) int16u physicalContactOccupiedToUnoccupiedDelay = 48; + attribute access(write: manage) int16u physicalContactUnoccupiedToOccupiedDelay = 49; + attribute access(write: manage) int8u physicalContactUnoccupiedToOccupiedThreshold = 50; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter b/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter index cbdbae0544ff1b..bc8a254dbb076d 100644 --- a/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter +++ b/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter @@ -33,6 +33,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -71,6 +72,10 @@ client cluster OnOff = 6 { } readonly attribute boolean onOff = 0; + readonly attribute boolean globalSceneControl = 16384; + attribute int16u onTime = 16385; + attribute int16u offWaitTime = 16386; + attribute access(write: manage) nullable OnOffStartUpOnOff startUpOnOff = 16387; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -78,6 +83,7 @@ client cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -99,6 +105,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Binding = 30 { @@ -117,6 +124,7 @@ server cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -186,6 +194,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -232,6 +241,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -262,6 +272,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -367,6 +378,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -410,6 +422,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -520,6 +533,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -662,6 +676,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -783,6 +798,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -809,6 +825,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -873,6 +890,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -982,6 +1000,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1105,28 +1124,47 @@ client cluster PumpConfigurationAndControl = 512 { readonly attribute nullable int16s maxPressure = 0; readonly attribute nullable int16u maxSpeed = 1; readonly attribute nullable int16u maxFlow = 2; + readonly attribute nullable int16s minConstPressure = 3; + readonly attribute nullable int16s maxConstPressure = 4; + readonly attribute nullable int16s minCompPressure = 5; + readonly attribute nullable int16s maxCompPressure = 6; + readonly attribute nullable int16u minConstSpeed = 7; + readonly attribute nullable int16u maxConstSpeed = 8; + readonly attribute nullable int16u minConstFlow = 9; + readonly attribute nullable int16u maxConstFlow = 10; + readonly attribute nullable int16s minConstTemp = 11; + readonly attribute nullable int16s maxConstTemp = 12; + readonly attribute PumpStatusBitmap pumpStatus = 16; readonly attribute OperationModeEnum effectiveOperationMode = 17; readonly attribute ControlModeEnum effectiveControlMode = 18; readonly attribute nullable int16s capacity = 19; + readonly attribute nullable int16u speed = 20; + attribute access(write: manage) nullable int24u lifetimeRunningHours = 21; + readonly attribute nullable int24u power = 22; + attribute access(write: manage) nullable int32u lifetimeEnergyConsumed = 23; attribute access(write: manage) OperationModeEnum operationMode = 32; + attribute access(write: manage) ControlModeEnum controlMode = 33; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster TemperatureMeasurement = 1026 { readonly attribute nullable int16s measuredValue = 0; readonly attribute nullable int16s minMeasuredValue = 1; readonly attribute nullable int16s maxMeasuredValue = 2; + readonly attribute int16u tolerance = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster PressureMeasurement = 1027 { @@ -1137,24 +1175,33 @@ client cluster PressureMeasurement = 1027 { readonly attribute nullable int16s measuredValue = 0; readonly attribute nullable int16s minMeasuredValue = 1; readonly attribute nullable int16s maxMeasuredValue = 2; + readonly attribute int16u tolerance = 3; + readonly attribute nullable int16s scaledValue = 16; + readonly attribute nullable int16s minScaledValue = 17; + readonly attribute nullable int16s maxScaledValue = 18; + readonly attribute int16u scaledTolerance = 19; + readonly attribute int8s scale = 20; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster FlowMeasurement = 1028 { readonly attribute nullable int16u measuredValue = 0; readonly attribute nullable int16u minMeasuredValue = 1; readonly attribute nullable int16u maxMeasuredValue = 2; + readonly attribute int16u tolerance = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter b/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter index 231209600fca32..f62bf474335e20 100644 --- a/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter +++ b/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter @@ -22,6 +22,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -91,6 +92,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -140,6 +142,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster LocalizationConfiguration = 43 { @@ -151,6 +154,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -183,6 +187,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UnitLocalization = 45 { @@ -203,6 +208,7 @@ server cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -237,6 +243,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -347,6 +354,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -427,6 +435,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -532,6 +541,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -558,6 +568,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster WiFiNetworkDiagnostics = 54 { @@ -628,6 +639,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster EthernetNetworkDiagnostics = 55 { @@ -665,6 +677,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -691,6 +704,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -755,6 +769,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -864,6 +879,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -902,6 +918,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UserLabel = 65 { @@ -912,6 +929,7 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TemperatureMeasurement = 1026 { @@ -924,6 +942,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/thermostat/thermostat-common/thermostat.matter b/examples/thermostat/thermostat-common/thermostat.matter index 14a7a104b6c205..ce4a28343505bc 100644 --- a/examples/thermostat/thermostat-common/thermostat.matter +++ b/examples/thermostat/thermostat-common/thermostat.matter @@ -38,6 +38,7 @@ client cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -77,6 +78,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -103,6 +105,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -185,6 +188,7 @@ server cluster Scenes = 5 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddSceneRequest { group_id groupID = 0; INT8U sceneID = 1; @@ -286,6 +290,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Binding = 30 { @@ -304,6 +309,7 @@ server cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -373,6 +379,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -422,6 +429,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -452,6 +460,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -557,6 +566,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -577,6 +587,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -609,6 +620,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UnitLocalization = 45 { @@ -629,6 +641,7 @@ server cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -663,6 +676,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -773,6 +787,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -859,6 +874,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -964,6 +980,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -1001,6 +1018,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ThreadNetworkDiagnostics = 53 { @@ -1162,6 +1180,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1233,6 +1252,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster EthernetNetworkDiagnostics = 55 { @@ -1269,6 +1289,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -1294,6 +1315,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1358,6 +1380,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1467,6 +1490,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1505,6 +1529,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UserLabel = 65 { @@ -1515,6 +1540,7 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Thermostat = 513 { @@ -1603,6 +1629,7 @@ server cluster Thermostat = 513 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; INT8S amount = 1; @@ -1620,6 +1647,7 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } endpoint 0 { diff --git a/examples/tv-app/tv-common/tv-app.matter b/examples/tv-app/tv-common/tv-app.matter index ad38b6dca1023b..3be0b68c9f2b23 100644 --- a/examples/tv-app/tv-common/tv-app.matter +++ b/examples/tv-app/tv-common/tv-app.matter @@ -49,6 +49,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -97,6 +98,7 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -177,6 +179,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Binding = 30 { @@ -195,6 +198,7 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Binding = 30 { @@ -213,6 +217,7 @@ server cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -282,6 +287,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -331,6 +337,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster OtaSoftwareUpdateProvider = 41 { @@ -361,6 +368,7 @@ server cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -412,6 +420,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -444,6 +453,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UnitLocalization = 45 { @@ -464,6 +474,7 @@ server cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster GeneralCommissioning = 48 { @@ -498,6 +509,7 @@ client cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -561,6 +573,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -671,6 +684,7 @@ client cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -809,6 +823,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -895,6 +910,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -1000,6 +1016,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -1037,6 +1054,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ThreadNetworkDiagnostics = 53 { @@ -1197,6 +1215,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster WiFiNetworkDiagnostics = 54 { @@ -1267,6 +1286,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster EthernetNetworkDiagnostics = 55 { @@ -1304,6 +1324,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1330,6 +1351,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1394,6 +1416,7 @@ client cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1503,6 +1526,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1612,6 +1636,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1650,6 +1675,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UserLabel = 65 { @@ -1660,6 +1686,7 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster RelativeHumidityMeasurement = 1029 { @@ -1672,6 +1699,7 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster WakeOnLan = 1283 { @@ -1682,6 +1710,7 @@ server cluster WakeOnLan = 1283 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Channel = 1284 { @@ -1725,6 +1754,7 @@ server cluster Channel = 1284 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ChangeChannelRequest { CHAR_STRING match = 0; } @@ -1769,6 +1799,7 @@ server cluster TargetNavigator = 1285 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct NavigateTargetRequest { INT8U target = 0; optional CHAR_STRING data = 1; @@ -1823,6 +1854,7 @@ server cluster MediaPlayback = 1286 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SkipForwardRequest { INT64U deltaPositionMilliseconds = 0; } @@ -1889,6 +1921,7 @@ server cluster MediaInput = 1287 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SelectInputRequest { INT8U index = 0; } @@ -1912,6 +1945,7 @@ server cluster LowPower = 1288 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Sleep(): DefaultSuccess = 0; } @@ -2024,6 +2058,7 @@ server cluster KeypadInput = 1289 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SendKeyRequest { CecKeyCode keyCode = 0; } @@ -2119,6 +2154,7 @@ server cluster ContentLauncher = 1290 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct LaunchContentRequest { ContentSearchStruct search = 0; BOOLEAN autoPlay = 1; @@ -2169,6 +2205,7 @@ server cluster AudioOutput = 1291 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SelectOutputRequest { INT8U index = 0; } @@ -2207,6 +2244,7 @@ server cluster ApplicationLauncher = 1292 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct LaunchAppRequest { optional ApplicationStruct application = 0; optional OCTET_STRING data = 1; @@ -2252,6 +2290,7 @@ server cluster ApplicationBasic = 1293 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccountLogin = 1294 { @@ -2262,6 +2301,7 @@ server cluster AccountLogin = 1294 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct GetSetupPINRequest { CHAR_STRING<100> tempAccountIdentifier = 0; } diff --git a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter index ae80a0051bf8ca..6124dbdd57b71a 100644 --- a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter +++ b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter @@ -38,6 +38,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -58,6 +59,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -140,6 +142,7 @@ server cluster Scenes = 5 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddSceneRequest { group_id groupID = 0; INT8U sceneID = 1; @@ -267,6 +270,7 @@ client cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -314,6 +318,7 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -362,6 +367,7 @@ client cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -469,6 +475,7 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -543,6 +550,7 @@ server cluster BinaryInputBasic = 15 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Descriptor = 29 { @@ -561,6 +569,7 @@ client cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Descriptor = 29 { @@ -579,6 +588,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster Binding = 30 { @@ -597,6 +607,7 @@ server cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -666,6 +677,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -715,6 +727,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster OtaSoftwareUpdateProvider = 41 { @@ -745,6 +758,7 @@ server cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -796,6 +810,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -828,6 +843,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UnitLocalization = 45 { @@ -848,6 +864,7 @@ server cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -882,6 +899,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -992,6 +1010,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -1078,6 +1097,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -1183,6 +1203,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -1220,6 +1241,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster ThreadNetworkDiagnostics = 53 { @@ -1380,6 +1402,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster WiFiNetworkDiagnostics = 54 { @@ -1450,6 +1473,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster EthernetNetworkDiagnostics = 55 { @@ -1487,6 +1511,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1537,6 +1562,7 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -1562,6 +1588,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1626,6 +1653,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1735,6 +1763,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1765,6 +1794,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UserLabel = 65 { @@ -1775,6 +1805,7 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BarrierControl = 259 { @@ -1789,6 +1820,7 @@ server cluster BarrierControl = 259 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct BarrierControlGoToPercentRequest { INT8U percentOpen = 0; } @@ -1805,6 +1837,7 @@ server cluster WakeOnLan = 1283 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Channel = 1284 { @@ -1848,6 +1881,7 @@ client cluster Channel = 1284 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ChangeChannelRequest { CHAR_STRING match = 0; } @@ -1879,6 +1913,7 @@ client cluster TargetNavigator = 1285 { } readonly attribute TargetInfoStruct targetList[] = 0; + readonly attribute int8u currentTarget = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -1886,6 +1921,7 @@ client cluster TargetNavigator = 1285 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct NavigateTargetRequest { INT8U target = 0; optional CHAR_STRING data = 1; @@ -1916,6 +1952,13 @@ client cluster MediaPlayback = 1286 { kVariableSpeed = 0x2; } + readonly attribute PlaybackStateEnum currentState = 0; + readonly attribute nullable epoch_us startTime = 1; + readonly attribute nullable int64u duration = 2; + readonly attribute nullable PlaybackPositionStruct sampledPosition = 3; + readonly attribute single playbackSpeed = 4; + readonly attribute nullable int64u seekRangeEnd = 5; + readonly attribute nullable int64u seekRangeStart = 6; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -1923,6 +1966,7 @@ client cluster MediaPlayback = 1286 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SkipForwardRequest { INT64U deltaPositionMilliseconds = 0; } @@ -1976,6 +2020,7 @@ client cluster MediaInput = 1287 { } readonly attribute InputInfoStruct inputList[] = 0; + readonly attribute int8u currentInput = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -1983,6 +2028,7 @@ client cluster MediaInput = 1287 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SelectInputRequest { INT8U index = 0; } @@ -2107,6 +2153,7 @@ client cluster KeypadInput = 1289 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SendKeyRequest { CecKeyCode keyCode = 0; } @@ -2198,6 +2245,7 @@ client cluster ContentLauncher = 1290 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct LaunchContentRequest { ContentSearchStruct search = 0; BOOLEAN autoPlay = 1; @@ -2235,6 +2283,7 @@ client cluster AudioOutput = 1291 { } readonly attribute OutputInfoStruct outputList[] = 0; + readonly attribute int8u currentOutput = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -2242,6 +2291,7 @@ client cluster AudioOutput = 1291 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SelectOutputRequest { INT8U index = 0; } @@ -2272,6 +2322,7 @@ client cluster ApplicationLauncher = 1292 { } readonly attribute INT16U catalogList[] = 0; + attribute nullable ApplicationEPStruct currentApp = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -2279,6 +2330,7 @@ client cluster ApplicationLauncher = 1292 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct LaunchAppRequest { optional ApplicationStruct application = 0; optional OCTET_STRING data = 1; @@ -2309,14 +2361,17 @@ client cluster ApplicationBasic = 1293 { readonly attribute vendor_id vendorID = 1; readonly attribute char_string<32> applicationName = 2; readonly attribute int16u productID = 3; + readonly attribute ApplicationStruct application = 4; readonly attribute ApplicationStatusEnum status = 5; readonly attribute char_string<32> applicationVersion = 6; + readonly attribute vendor_id allowedVendorList[] = 7; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster AccountLogin = 1294 { @@ -2327,6 +2382,7 @@ client cluster AccountLogin = 1294 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct GetSetupPINRequest { CHAR_STRING<100> tempAccountIdentifier = 0; } diff --git a/examples/window-app/common/window-app.matter b/examples/window-app/common/window-app.matter index 76f47712d12acc..7bcfefd9141aca 100644 --- a/examples/window-app/common/window-app.matter +++ b/examples/window-app/common/window-app.matter @@ -38,6 +38,7 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -64,6 +65,7 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -146,6 +148,7 @@ server cluster Scenes = 5 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddSceneRequest { group_id groupID = 0; INT8U sceneID = 1; @@ -247,6 +250,7 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AccessControl = 31 { @@ -316,6 +320,7 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster BasicInformation = 40 { @@ -365,6 +370,7 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -395,6 +401,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -500,6 +507,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -520,6 +528,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster TimeFormatLocalization = 44 { @@ -552,6 +561,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UnitLocalization = 45 { @@ -571,6 +581,7 @@ server cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster PowerSource = 47 { @@ -789,6 +800,7 @@ server cluster PowerSource = 47 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster GeneralCommissioning = 48 { @@ -823,6 +835,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -933,6 +946,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -1088,6 +1102,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -1126,6 +1141,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -1288,6 +1304,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1359,6 +1376,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster EthernetNetworkDiagnostics = 55 { @@ -1395,6 +1413,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster AdministratorCommissioning = 60 { @@ -1420,6 +1439,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1484,6 +1504,7 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1593,6 +1614,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1631,6 +1653,7 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster UserLabel = 65 { @@ -1641,6 +1664,7 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } server cluster WindowCovering = 258 { @@ -1761,6 +1785,7 @@ server cluster WindowCovering = 258 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct GoToLiftValueRequest { INT16U liftValue = 0; } diff --git a/src/controller/data_model/controller-clusters.matter b/src/controller/data_model/controller-clusters.matter index 69c0d930e81436..fffb7f25a4fc45 100644 --- a/src/controller/data_model/controller-clusters.matter +++ b/src/controller/data_model/controller-clusters.matter @@ -43,6 +43,7 @@ client cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -69,6 +70,7 @@ client cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -144,6 +146,7 @@ client cluster Scenes = 5 { readonly attribute group_id currentGroup = 2; readonly attribute boolean sceneValid = 3; readonly attribute bitmap8 nameSupport = 4; + readonly attribute nullable node_id lastConfiguredBy = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -151,6 +154,7 @@ client cluster Scenes = 5 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AddSceneRequest { group_id groupID = 0; INT8U sceneID = 1; @@ -278,6 +282,7 @@ client cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -306,6 +311,7 @@ client cluster OnOffSwitchConfiguration = 7 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster LevelControl = 8 { @@ -351,6 +357,7 @@ client cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -416,15 +423,22 @@ client cluster LevelControl = 8 { } client cluster BinaryInputBasic = 15 { + attribute char_string<16> activeText = 4; + attribute char_string<16> description = 28; + attribute char_string<16> inactiveText = 46; attribute boolean outOfService = 81; + readonly attribute enum8 polarity = 84; attribute boolean presentValue = 85; + attribute enum8 reliability = 103; readonly attribute bitmap8 statusFlags = 111; + readonly attribute int32u applicationType = 256; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Descriptor = 29 { @@ -443,6 +457,7 @@ client cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Binding = 30 { @@ -461,6 +476,7 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster AccessControl = 31 { @@ -530,6 +546,7 @@ client cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Actions = 37 { @@ -615,6 +632,7 @@ client cluster Actions = 37 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct InstantActionRequest { INT16U actionID = 0; optional INT32U invokeID = 1; @@ -741,6 +759,7 @@ client cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OtaSoftwareUpdateProvider = 41 { @@ -771,6 +790,7 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -876,6 +896,7 @@ client cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -896,6 +917,7 @@ client cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster TimeFormatLocalization = 44 { @@ -928,6 +950,7 @@ client cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster UnitLocalization = 45 { @@ -948,6 +971,7 @@ client cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster PowerSourceConfiguration = 46 { @@ -958,6 +982,7 @@ client cluster PowerSourceConfiguration = 46 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster PowerSource = 47 { @@ -1198,6 +1223,7 @@ client cluster PowerSource = 47 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster GeneralCommissioning = 48 { @@ -1232,6 +1258,7 @@ client cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -1342,6 +1369,7 @@ client cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -1428,6 +1456,7 @@ client cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -1540,6 +1569,7 @@ client cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -1578,6 +1608,7 @@ client cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetWatermarks(): DefaultSuccess = 0; } @@ -1740,6 +1771,7 @@ client cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1812,6 +1844,7 @@ client cluster WiFiNetworkDiagnostics = 54 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1850,6 +1883,7 @@ client cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command ResetCounts(): DefaultSuccess = 0; } @@ -1889,6 +1923,7 @@ client cluster BridgedDeviceBasicInformation = 57 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Switch = 59 { @@ -1939,6 +1974,7 @@ client cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster AdministratorCommissioning = 60 { @@ -1964,6 +2000,7 @@ client cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -2028,6 +2065,7 @@ client cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -2137,6 +2175,7 @@ client cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -2175,6 +2214,7 @@ client cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster UserLabel = 65 { @@ -2185,6 +2225,7 @@ client cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster BooleanState = 69 { @@ -2199,6 +2240,7 @@ client cluster BooleanState = 69 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster ModeSelect = 80 { @@ -2230,6 +2272,7 @@ client cluster ModeSelect = 80 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ChangeToModeRequest { INT8U newMode = 0; } @@ -2615,6 +2658,9 @@ client cluster DoorLock = 257 { readonly attribute DlLockType lockType = 1; readonly attribute boolean actuatorEnabled = 2; readonly attribute nullable DoorStateEnum doorState = 3; + attribute access(write: manage) int32u doorOpenEvents = 4; + attribute access(write: manage) int32u doorClosedEvents = 5; + attribute access(write: manage) int16u openPeriod = 6; readonly attribute int16u numberOfTotalUsersSupported = 17; readonly attribute int16u numberOfPINUsersSupported = 18; readonly attribute int16u numberOfRFIDUsersSupported = 19; @@ -2625,17 +2671,25 @@ client cluster DoorLock = 257 { readonly attribute int8u minPINCodeLength = 24; readonly attribute int8u maxRFIDCodeLength = 25; readonly attribute int8u minRFIDCodeLength = 26; + readonly attribute DlCredentialRuleMask credentialRulesSupport = 27; readonly attribute int8u numberOfCredentialsSupportedPerUser = 28; attribute access(write: manage) char_string<3> language = 33; + attribute access(write: manage) int8u LEDSettings = 34; attribute access(write: manage) int32u autoRelockTime = 35; attribute access(write: manage) int8u soundVolume = 36; attribute access(write: manage) OperatingModeEnum operatingMode = 37; readonly attribute DlSupportedOperatingModes supportedOperatingModes = 38; + readonly attribute DlDefaultConfigurationRegister defaultConfigurationRegister = 39; + attribute access(write: administer) boolean enableLocalProgramming = 40; attribute access(write: manage) boolean enableOneTouchLocking = 41; + attribute access(write: manage) boolean enableInsideStatusLED = 42; attribute access(write: manage) boolean enablePrivacyModeButton = 43; + attribute access(write: administer) DlLocalProgrammingFeatures localProgrammingFeatures = 44; attribute access(write: administer) int8u wrongCodeEntryLimit = 48; attribute access(write: administer) int8u userCodeTemporaryDisableTime = 49; + attribute access(write: administer) boolean sendPINOverTheAir = 50; attribute access(write: administer) boolean requirePINforRemoteOperation = 51; + attribute access(write: administer) int16u expiringUserTimeout = 53; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -2643,6 +2697,7 @@ client cluster DoorLock = 257 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; } @@ -2935,6 +2990,7 @@ client cluster WindowCovering = 258 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct GoToLiftValueRequest { INT16U liftValue = 0; } @@ -2964,6 +3020,12 @@ client cluster BarrierControl = 259 { readonly attribute enum8 barrierMovingState = 1; readonly attribute bitmap16 barrierSafetyStatus = 2; readonly attribute bitmap8 barrierCapabilities = 3; + attribute int16u barrierOpenEvents = 4; + attribute int16u barrierCloseEvents = 5; + attribute int16u barrierCommandOpenEvents = 6; + attribute int16u barrierCommandCloseEvents = 7; + attribute int16u barrierOpenPeriod = 8; + attribute int16u barrierClosePeriod = 9; readonly attribute int8u barrierPosition = 10; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -2972,6 +3034,7 @@ client cluster BarrierControl = 259 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct BarrierControlGoToPercentRequest { INT8U percentOpen = 0; } @@ -3099,6 +3162,7 @@ client cluster PumpConfigurationAndControl = 512 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Thermostat = 513 { @@ -3222,6 +3286,7 @@ client cluster Thermostat = 513 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; INT8S amount = 1; @@ -3312,6 +3377,7 @@ client cluster FanControl = 514 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster ThermostatUserInterfaceConfiguration = 516 { @@ -3324,6 +3390,7 @@ client cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster ColorControl = 768 { @@ -3455,6 +3522,7 @@ client cluster ColorControl = 768 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct MoveToHueRequest { INT8U hue = 0; HueDirection direction = 1; @@ -3645,6 +3713,7 @@ client cluster BallastConfiguration = 769 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster IlluminanceMeasurement = 1024 { @@ -3664,6 +3733,7 @@ client cluster IlluminanceMeasurement = 1024 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster TemperatureMeasurement = 1026 { @@ -3677,6 +3747,7 @@ client cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster PressureMeasurement = 1027 { @@ -3699,6 +3770,7 @@ client cluster PressureMeasurement = 1027 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster FlowMeasurement = 1028 { @@ -3712,6 +3784,7 @@ client cluster FlowMeasurement = 1028 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster RelativeHumidityMeasurement = 1029 { @@ -3725,6 +3798,7 @@ client cluster RelativeHumidityMeasurement = 1029 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster OccupancySensing = 1030 { @@ -3748,12 +3822,22 @@ client cluster OccupancySensing = 1030 { readonly attribute OccupancyBitmap occupancy = 0; readonly attribute OccupancySensorTypeEnum occupancySensorType = 1; readonly attribute OccupancySensorTypeBitmap occupancySensorTypeBitmap = 2; + attribute access(write: manage) int16u PIROccupiedToUnoccupiedDelay = 16; + attribute access(write: manage) int16u PIRUnoccupiedToOccupiedDelay = 17; + attribute access(write: manage) int8u PIRUnoccupiedToOccupiedThreshold = 18; + attribute access(write: manage) int16u ultrasonicOccupiedToUnoccupiedDelay = 32; + attribute access(write: manage) int16u ultrasonicUnoccupiedToOccupiedDelay = 33; + attribute access(write: manage) int8u ultrasonicUnoccupiedToOccupiedThreshold = 34; + attribute access(write: manage) int16u physicalContactOccupiedToUnoccupiedDelay = 48; + attribute access(write: manage) int16u physicalContactUnoccupiedToOccupiedDelay = 49; + attribute access(write: manage) int8u physicalContactUnoccupiedToOccupiedThreshold = 50; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster WakeOnLan = 1283 { @@ -3764,6 +3848,7 @@ client cluster WakeOnLan = 1283 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster Channel = 1284 { @@ -3807,6 +3892,7 @@ client cluster Channel = 1284 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct ChangeChannelRequest { CHAR_STRING match = 0; } @@ -3851,6 +3937,7 @@ client cluster TargetNavigator = 1285 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct NavigateTargetRequest { INT8U target = 0; optional CHAR_STRING data = 1; @@ -3905,6 +3992,7 @@ client cluster MediaPlayback = 1286 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SkipForwardRequest { INT64U deltaPositionMilliseconds = 0; } @@ -3971,6 +4059,7 @@ client cluster MediaInput = 1287 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SelectInputRequest { INT8U index = 0; } @@ -3994,6 +4083,7 @@ client cluster LowPower = 1288 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + command Sleep(): DefaultSuccess = 0; } @@ -4106,6 +4196,7 @@ client cluster KeypadInput = 1289 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SendKeyRequest { CecKeyCode keyCode = 0; } @@ -4201,6 +4292,7 @@ client cluster ContentLauncher = 1290 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct LaunchContentRequest { ContentSearchStruct search = 0; BOOLEAN autoPlay = 1; @@ -4251,6 +4343,7 @@ client cluster AudioOutput = 1291 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct SelectOutputRequest { INT8U index = 0; } @@ -4289,6 +4382,7 @@ client cluster ApplicationLauncher = 1292 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct LaunchAppRequest { optional ApplicationStruct application = 0; optional OCTET_STRING data = 1; @@ -4334,6 +4428,7 @@ client cluster ApplicationBasic = 1293 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster AccountLogin = 1294 { @@ -4344,6 +4439,7 @@ client cluster AccountLogin = 1294 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct GetSetupPINRequest { CHAR_STRING<100> tempAccountIdentifier = 0; } @@ -4364,7 +4460,51 @@ client cluster AccountLogin = 1294 { client cluster ElectricalMeasurement = 2820 { readonly attribute bitmap32 measurementType = 0; + readonly attribute int16s dcVoltage = 256; + readonly attribute int16s dcVoltageMin = 257; + readonly attribute int16s dcVoltageMax = 258; + readonly attribute int16s dcCurrent = 259; + readonly attribute int16s dcCurrentMin = 260; + readonly attribute int16s dcCurrentMax = 261; + readonly attribute int16s dcPower = 262; + readonly attribute int16s dcPowerMin = 263; + readonly attribute int16s dcPowerMax = 264; + readonly attribute int16u dcVoltageMultiplier = 512; + readonly attribute int16u dcVoltageDivisor = 513; + readonly attribute int16u dcCurrentMultiplier = 514; + readonly attribute int16u dcCurrentDivisor = 515; + readonly attribute int16u dcPowerMultiplier = 516; + readonly attribute int16u dcPowerDivisor = 517; + readonly attribute int16u acFrequency = 768; + readonly attribute int16u acFrequencyMin = 769; + readonly attribute int16u acFrequencyMax = 770; + readonly attribute int16u neutralCurrent = 771; readonly attribute int32s totalActivePower = 772; + readonly attribute int32s totalReactivePower = 773; + readonly attribute int32u totalApparentPower = 774; + readonly attribute int16s measured1stHarmonicCurrent = 775; + readonly attribute int16s measured3rdHarmonicCurrent = 776; + readonly attribute int16s measured5thHarmonicCurrent = 777; + readonly attribute int16s measured7thHarmonicCurrent = 778; + readonly attribute int16s measured9thHarmonicCurrent = 779; + readonly attribute int16s measured11thHarmonicCurrent = 780; + readonly attribute int16s measuredPhase1stHarmonicCurrent = 781; + readonly attribute int16s measuredPhase3rdHarmonicCurrent = 782; + readonly attribute int16s measuredPhase5thHarmonicCurrent = 783; + readonly attribute int16s measuredPhase7thHarmonicCurrent = 784; + readonly attribute int16s measuredPhase9thHarmonicCurrent = 785; + readonly attribute int16s measuredPhase11thHarmonicCurrent = 786; + readonly attribute int16u acFrequencyMultiplier = 1024; + readonly attribute int16u acFrequencyDivisor = 1025; + readonly attribute int32u powerMultiplier = 1026; + readonly attribute int32u powerDivisor = 1027; + readonly attribute int8s harmonicCurrentMultiplier = 1028; + readonly attribute int8s phaseHarmonicCurrentMultiplier = 1029; + readonly attribute int16s instantaneousVoltage = 1280; + readonly attribute int16u instantaneousLineCurrent = 1281; + readonly attribute int16s instantaneousActiveCurrent = 1282; + readonly attribute int16s instantaneousReactiveCurrent = 1283; + readonly attribute int16s instantaneousPower = 1284; readonly attribute int16u rmsVoltage = 1285; readonly attribute int16u rmsVoltageMin = 1286; readonly attribute int16u rmsVoltageMax = 1287; @@ -4374,12 +4514,86 @@ client cluster ElectricalMeasurement = 2820 { readonly attribute int16s activePower = 1291; readonly attribute int16s activePowerMin = 1292; readonly attribute int16s activePowerMax = 1293; + readonly attribute int16s reactivePower = 1294; + readonly attribute int16u apparentPower = 1295; + readonly attribute int8s powerFactor = 1296; + attribute int16u averageRmsVoltageMeasurementPeriod = 1297; + attribute int16u averageRmsUnderVoltageCounter = 1299; + attribute int16u rmsExtremeOverVoltagePeriod = 1300; + attribute int16u rmsExtremeUnderVoltagePeriod = 1301; + attribute int16u rmsVoltageSagPeriod = 1302; + attribute int16u rmsVoltageSwellPeriod = 1303; + readonly attribute int16u acVoltageMultiplier = 1536; + readonly attribute int16u acVoltageDivisor = 1537; + readonly attribute int16u acCurrentMultiplier = 1538; + readonly attribute int16u acCurrentDivisor = 1539; + readonly attribute int16u acPowerMultiplier = 1540; + readonly attribute int16u acPowerDivisor = 1541; + attribute bitmap8 overloadAlarmsMask = 1792; + readonly attribute int16s voltageOverload = 1793; + readonly attribute int16s currentOverload = 1794; + attribute bitmap16 acOverloadAlarmsMask = 2048; + readonly attribute int16s acVoltageOverload = 2049; + readonly attribute int16s acCurrentOverload = 2050; + readonly attribute int16s acActivePowerOverload = 2051; + readonly attribute int16s acReactivePowerOverload = 2052; + readonly attribute int16s averageRmsOverVoltage = 2053; + readonly attribute int16s averageRmsUnderVoltage = 2054; + readonly attribute int16s rmsExtremeOverVoltage = 2055; + readonly attribute int16s rmsExtremeUnderVoltage = 2056; + readonly attribute int16s rmsVoltageSag = 2057; + readonly attribute int16s rmsVoltageSwell = 2058; + readonly attribute int16u lineCurrentPhaseB = 2305; + readonly attribute int16s activeCurrentPhaseB = 2306; + readonly attribute int16s reactiveCurrentPhaseB = 2307; + readonly attribute int16u rmsVoltagePhaseB = 2309; + readonly attribute int16u rmsVoltageMinPhaseB = 2310; + readonly attribute int16u rmsVoltageMaxPhaseB = 2311; + readonly attribute int16u rmsCurrentPhaseB = 2312; + readonly attribute int16u rmsCurrentMinPhaseB = 2313; + readonly attribute int16u rmsCurrentMaxPhaseB = 2314; + readonly attribute int16s activePowerPhaseB = 2315; + readonly attribute int16s activePowerMinPhaseB = 2316; + readonly attribute int16s activePowerMaxPhaseB = 2317; + readonly attribute int16s reactivePowerPhaseB = 2318; + readonly attribute int16u apparentPowerPhaseB = 2319; + readonly attribute int8s powerFactorPhaseB = 2320; + readonly attribute int16u averageRmsVoltageMeasurementPeriodPhaseB = 2321; + readonly attribute int16u averageRmsOverVoltageCounterPhaseB = 2322; + readonly attribute int16u averageRmsUnderVoltageCounterPhaseB = 2323; + readonly attribute int16u rmsExtremeOverVoltagePeriodPhaseB = 2324; + readonly attribute int16u rmsExtremeUnderVoltagePeriodPhaseB = 2325; + readonly attribute int16u rmsVoltageSagPeriodPhaseB = 2326; + readonly attribute int16u rmsVoltageSwellPeriodPhaseB = 2327; + readonly attribute int16u lineCurrentPhaseC = 2561; + readonly attribute int16s activeCurrentPhaseC = 2562; + readonly attribute int16s reactiveCurrentPhaseC = 2563; + readonly attribute int16u rmsVoltagePhaseC = 2565; + readonly attribute int16u rmsVoltageMinPhaseC = 2566; + readonly attribute int16u rmsVoltageMaxPhaseC = 2567; + readonly attribute int16u rmsCurrentPhaseC = 2568; + readonly attribute int16u rmsCurrentMinPhaseC = 2569; + readonly attribute int16u rmsCurrentMaxPhaseC = 2570; + readonly attribute int16s activePowerPhaseC = 2571; + readonly attribute int16s activePowerMinPhaseC = 2572; + readonly attribute int16s activePowerMaxPhaseC = 2573; + readonly attribute int16s reactivePowerPhaseC = 2574; + readonly attribute int16u apparentPowerPhaseC = 2575; + readonly attribute int8s powerFactorPhaseC = 2576; + readonly attribute int16u averageRmsVoltageMeasurementPeriodPhaseC = 2577; + readonly attribute int16u averageRmsOverVoltageCounterPhaseC = 2578; + readonly attribute int16u averageRmsUnderVoltageCounterPhaseC = 2579; + readonly attribute int16u rmsExtremeOverVoltagePeriodPhaseC = 2580; + readonly attribute int16u rmsExtremeUnderVoltagePeriodPhaseC = 2581; + readonly attribute int16u rmsVoltageSagPeriodPhaseC = 2582; + readonly attribute int16u rmsVoltageSwellPeriodPhaseC = 2583; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + } client cluster ClientMonitoring = 4166 { @@ -4400,6 +4614,7 @@ client cluster ClientMonitoring = 4166 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct RegisterClientMonitoringRequest { node_id clientNodeId = 0; INT64U ICid = 1; @@ -4608,6 +4823,7 @@ client cluster UnitTesting = 4294048773 { attribute nullable int8s nullableRangeRestrictedInt8s = 16423; attribute nullable int16u nullableRangeRestrictedInt16u = 16424; attribute nullable int16s nullableRangeRestrictedInt16s = 16425; + attribute int8u writeOnlyInt8u = 16426; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -4615,6 +4831,7 @@ client cluster UnitTesting = 4294048773 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + request struct TestAddArgumentsRequest { INT8U arg1 = 0; INT8U arg2 = 1; diff --git a/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java b/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java index 23a9b397567695..2dce6dab7f0433 100644 --- a/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java +++ b/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java @@ -242,6 +242,57 @@ public Map> getWriteAttributeMap() { writeLevelControlStartUpCurrentLevelAttributeInteractionInfo); writeAttributeMap.put("levelControl", writeLevelControlInteractionInfo); Map writeBinaryInputBasicInteractionInfo = new LinkedHashMap<>(); + Map writeBinaryInputBasicActiveTextCommandParams = + new LinkedHashMap(); + CommandParameterInfo binaryInputBasicactiveTextCommandParameterInfo = + new CommandParameterInfo("value", String.class, String.class); + writeBinaryInputBasicActiveTextCommandParams.put( + "value", binaryInputBasicactiveTextCommandParameterInfo); + InteractionInfo writeBinaryInputBasicActiveTextAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .writeActiveTextAttribute( + (DefaultClusterCallback) callback, (String) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBinaryInputBasicActiveTextCommandParams); + writeBinaryInputBasicInteractionInfo.put( + "writeActiveTextAttribute", writeBinaryInputBasicActiveTextAttributeInteractionInfo); + Map writeBinaryInputBasicDescriptionCommandParams = + new LinkedHashMap(); + CommandParameterInfo binaryInputBasicdescriptionCommandParameterInfo = + new CommandParameterInfo("value", String.class, String.class); + writeBinaryInputBasicDescriptionCommandParams.put( + "value", binaryInputBasicdescriptionCommandParameterInfo); + InteractionInfo writeBinaryInputBasicDescriptionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .writeDescriptionAttribute( + (DefaultClusterCallback) callback, (String) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBinaryInputBasicDescriptionCommandParams); + writeBinaryInputBasicInteractionInfo.put( + "writeDescriptionAttribute", writeBinaryInputBasicDescriptionAttributeInteractionInfo); + Map writeBinaryInputBasicInactiveTextCommandParams = + new LinkedHashMap(); + CommandParameterInfo binaryInputBasicinactiveTextCommandParameterInfo = + new CommandParameterInfo("value", String.class, String.class); + writeBinaryInputBasicInactiveTextCommandParams.put( + "value", binaryInputBasicinactiveTextCommandParameterInfo); + InteractionInfo writeBinaryInputBasicInactiveTextAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .writeInactiveTextAttribute( + (DefaultClusterCallback) callback, (String) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBinaryInputBasicInactiveTextCommandParams); + writeBinaryInputBasicInteractionInfo.put( + "writeInactiveTextAttribute", writeBinaryInputBasicInactiveTextAttributeInteractionInfo); Map writeBinaryInputBasicOutOfServiceCommandParams = new LinkedHashMap(); CommandParameterInfo binaryInputBasicoutOfServiceCommandParameterInfo = @@ -276,6 +327,23 @@ public Map> getWriteAttributeMap() { writeBinaryInputBasicPresentValueCommandParams); writeBinaryInputBasicInteractionInfo.put( "writePresentValueAttribute", writeBinaryInputBasicPresentValueAttributeInteractionInfo); + Map writeBinaryInputBasicReliabilityCommandParams = + new LinkedHashMap(); + CommandParameterInfo binaryInputBasicreliabilityCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeBinaryInputBasicReliabilityCommandParams.put( + "value", binaryInputBasicreliabilityCommandParameterInfo); + InteractionInfo writeBinaryInputBasicReliabilityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .writeReliabilityAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBinaryInputBasicReliabilityCommandParams); + writeBinaryInputBasicInteractionInfo.put( + "writeReliabilityAttribute", writeBinaryInputBasicReliabilityAttributeInteractionInfo); writeAttributeMap.put("binaryInputBasic", writeBinaryInputBasicInteractionInfo); Map writeDescriptorInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("descriptor", writeDescriptorInteractionInfo); @@ -558,6 +626,56 @@ public Map> getWriteAttributeMap() { "writeOnModeAttribute", writeModeSelectOnModeAttributeInteractionInfo); writeAttributeMap.put("modeSelect", writeModeSelectInteractionInfo); Map writeDoorLockInteractionInfo = new LinkedHashMap<>(); + Map writeDoorLockDoorOpenEventsCommandParams = + new LinkedHashMap(); + CommandParameterInfo doorLockdoorOpenEventsCommandParameterInfo = + new CommandParameterInfo("value", Long.class, Long.class); + writeDoorLockDoorOpenEventsCommandParams.put( + "value", doorLockdoorOpenEventsCommandParameterInfo); + InteractionInfo writeDoorLockDoorOpenEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeDoorOpenEventsAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockDoorOpenEventsCommandParams); + writeDoorLockInteractionInfo.put( + "writeDoorOpenEventsAttribute", writeDoorLockDoorOpenEventsAttributeInteractionInfo); + Map writeDoorLockDoorClosedEventsCommandParams = + new LinkedHashMap(); + CommandParameterInfo doorLockdoorClosedEventsCommandParameterInfo = + new CommandParameterInfo("value", Long.class, Long.class); + writeDoorLockDoorClosedEventsCommandParams.put( + "value", doorLockdoorClosedEventsCommandParameterInfo); + InteractionInfo writeDoorLockDoorClosedEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeDoorClosedEventsAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockDoorClosedEventsCommandParams); + writeDoorLockInteractionInfo.put( + "writeDoorClosedEventsAttribute", writeDoorLockDoorClosedEventsAttributeInteractionInfo); + Map writeDoorLockOpenPeriodCommandParams = + new LinkedHashMap(); + CommandParameterInfo doorLockopenPeriodCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeDoorLockOpenPeriodCommandParams.put("value", doorLockopenPeriodCommandParameterInfo); + InteractionInfo writeDoorLockOpenPeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeOpenPeriodAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockOpenPeriodCommandParams); + writeDoorLockInteractionInfo.put( + "writeOpenPeriodAttribute", writeDoorLockOpenPeriodAttributeInteractionInfo); Map writeDoorLockLanguageCommandParams = new LinkedHashMap(); CommandParameterInfo doorLocklanguageCommandParameterInfo = @@ -574,6 +692,22 @@ public Map> getWriteAttributeMap() { writeDoorLockLanguageCommandParams); writeDoorLockInteractionInfo.put( "writeLanguageAttribute", writeDoorLockLanguageAttributeInteractionInfo); + Map writeDoorLockLEDSettingsCommandParams = + new LinkedHashMap(); + CommandParameterInfo doorLockLEDSettingsCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeDoorLockLEDSettingsCommandParams.put("value", doorLockLEDSettingsCommandParameterInfo); + InteractionInfo writeDoorLockLEDSettingsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeLEDSettingsAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockLEDSettingsCommandParams); + writeDoorLockInteractionInfo.put( + "writeLEDSettingsAttribute", writeDoorLockLEDSettingsAttributeInteractionInfo); Map writeDoorLockAutoRelockTimeCommandParams = new LinkedHashMap(); CommandParameterInfo doorLockautoRelockTimeCommandParameterInfo = @@ -623,6 +757,24 @@ public Map> getWriteAttributeMap() { writeDoorLockOperatingModeCommandParams); writeDoorLockInteractionInfo.put( "writeOperatingModeAttribute", writeDoorLockOperatingModeAttributeInteractionInfo); + Map writeDoorLockEnableLocalProgrammingCommandParams = + new LinkedHashMap(); + CommandParameterInfo doorLockenableLocalProgrammingCommandParameterInfo = + new CommandParameterInfo("value", Boolean.class, Boolean.class); + writeDoorLockEnableLocalProgrammingCommandParams.put( + "value", doorLockenableLocalProgrammingCommandParameterInfo); + InteractionInfo writeDoorLockEnableLocalProgrammingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeEnableLocalProgrammingAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockEnableLocalProgrammingCommandParams); + writeDoorLockInteractionInfo.put( + "writeEnableLocalProgrammingAttribute", + writeDoorLockEnableLocalProgrammingAttributeInteractionInfo); Map writeDoorLockEnableOneTouchLockingCommandParams = new LinkedHashMap(); CommandParameterInfo doorLockenableOneTouchLockingCommandParameterInfo = @@ -641,6 +793,24 @@ public Map> getWriteAttributeMap() { writeDoorLockInteractionInfo.put( "writeEnableOneTouchLockingAttribute", writeDoorLockEnableOneTouchLockingAttributeInteractionInfo); + Map writeDoorLockEnableInsideStatusLEDCommandParams = + new LinkedHashMap(); + CommandParameterInfo doorLockenableInsideStatusLEDCommandParameterInfo = + new CommandParameterInfo("value", Boolean.class, Boolean.class); + writeDoorLockEnableInsideStatusLEDCommandParams.put( + "value", doorLockenableInsideStatusLEDCommandParameterInfo); + InteractionInfo writeDoorLockEnableInsideStatusLEDAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeEnableInsideStatusLEDAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockEnableInsideStatusLEDCommandParams); + writeDoorLockInteractionInfo.put( + "writeEnableInsideStatusLEDAttribute", + writeDoorLockEnableInsideStatusLEDAttributeInteractionInfo); Map writeDoorLockEnablePrivacyModeButtonCommandParams = new LinkedHashMap(); CommandParameterInfo doorLockenablePrivacyModeButtonCommandParameterInfo = @@ -659,6 +829,24 @@ public Map> getWriteAttributeMap() { writeDoorLockInteractionInfo.put( "writeEnablePrivacyModeButtonAttribute", writeDoorLockEnablePrivacyModeButtonAttributeInteractionInfo); + Map writeDoorLockLocalProgrammingFeaturesCommandParams = + new LinkedHashMap(); + CommandParameterInfo doorLocklocalProgrammingFeaturesCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeDoorLockLocalProgrammingFeaturesCommandParams.put( + "value", doorLocklocalProgrammingFeaturesCommandParameterInfo); + InteractionInfo writeDoorLockLocalProgrammingFeaturesAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeLocalProgrammingFeaturesAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockLocalProgrammingFeaturesCommandParams); + writeDoorLockInteractionInfo.put( + "writeLocalProgrammingFeaturesAttribute", + writeDoorLockLocalProgrammingFeaturesAttributeInteractionInfo); Map writeDoorLockWrongCodeEntryLimitCommandParams = new LinkedHashMap(); CommandParameterInfo doorLockwrongCodeEntryLimitCommandParameterInfo = @@ -695,6 +883,23 @@ public Map> getWriteAttributeMap() { writeDoorLockInteractionInfo.put( "writeUserCodeTemporaryDisableTimeAttribute", writeDoorLockUserCodeTemporaryDisableTimeAttributeInteractionInfo); + Map writeDoorLockSendPINOverTheAirCommandParams = + new LinkedHashMap(); + CommandParameterInfo doorLocksendPINOverTheAirCommandParameterInfo = + new CommandParameterInfo("value", Boolean.class, Boolean.class); + writeDoorLockSendPINOverTheAirCommandParams.put( + "value", doorLocksendPINOverTheAirCommandParameterInfo); + InteractionInfo writeDoorLockSendPINOverTheAirAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeSendPINOverTheAirAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockSendPINOverTheAirCommandParams); + writeDoorLockInteractionInfo.put( + "writeSendPINOverTheAirAttribute", writeDoorLockSendPINOverTheAirAttributeInteractionInfo); Map writeDoorLockRequirePINforRemoteOperationCommandParams = new LinkedHashMap(); CommandParameterInfo doorLockrequirePINforRemoteOperationCommandParameterInfo = @@ -713,6 +918,24 @@ public Map> getWriteAttributeMap() { writeDoorLockInteractionInfo.put( "writeRequirePINforRemoteOperationAttribute", writeDoorLockRequirePINforRemoteOperationAttributeInteractionInfo); + Map writeDoorLockExpiringUserTimeoutCommandParams = + new LinkedHashMap(); + CommandParameterInfo doorLockexpiringUserTimeoutCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeDoorLockExpiringUserTimeoutCommandParams.put( + "value", doorLockexpiringUserTimeoutCommandParameterInfo); + InteractionInfo writeDoorLockExpiringUserTimeoutAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeExpiringUserTimeoutAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockExpiringUserTimeoutCommandParams); + writeDoorLockInteractionInfo.put( + "writeExpiringUserTimeoutAttribute", + writeDoorLockExpiringUserTimeoutAttributeInteractionInfo); writeAttributeMap.put("doorLock", writeDoorLockInteractionInfo); Map writeWindowCoveringInteractionInfo = new LinkedHashMap<>(); Map writeWindowCoveringModeCommandParams = @@ -733,6 +956,114 @@ public Map> getWriteAttributeMap() { "writeModeAttribute", writeWindowCoveringModeAttributeInteractionInfo); writeAttributeMap.put("windowCovering", writeWindowCoveringInteractionInfo); Map writeBarrierControlInteractionInfo = new LinkedHashMap<>(); + Map writeBarrierControlBarrierOpenEventsCommandParams = + new LinkedHashMap(); + CommandParameterInfo barrierControlbarrierOpenEventsCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeBarrierControlBarrierOpenEventsCommandParams.put( + "value", barrierControlbarrierOpenEventsCommandParameterInfo); + InteractionInfo writeBarrierControlBarrierOpenEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .writeBarrierOpenEventsAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBarrierControlBarrierOpenEventsCommandParams); + writeBarrierControlInteractionInfo.put( + "writeBarrierOpenEventsAttribute", + writeBarrierControlBarrierOpenEventsAttributeInteractionInfo); + Map writeBarrierControlBarrierCloseEventsCommandParams = + new LinkedHashMap(); + CommandParameterInfo barrierControlbarrierCloseEventsCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeBarrierControlBarrierCloseEventsCommandParams.put( + "value", barrierControlbarrierCloseEventsCommandParameterInfo); + InteractionInfo writeBarrierControlBarrierCloseEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .writeBarrierCloseEventsAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBarrierControlBarrierCloseEventsCommandParams); + writeBarrierControlInteractionInfo.put( + "writeBarrierCloseEventsAttribute", + writeBarrierControlBarrierCloseEventsAttributeInteractionInfo); + Map writeBarrierControlBarrierCommandOpenEventsCommandParams = + new LinkedHashMap(); + CommandParameterInfo barrierControlbarrierCommandOpenEventsCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeBarrierControlBarrierCommandOpenEventsCommandParams.put( + "value", barrierControlbarrierCommandOpenEventsCommandParameterInfo); + InteractionInfo writeBarrierControlBarrierCommandOpenEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .writeBarrierCommandOpenEventsAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBarrierControlBarrierCommandOpenEventsCommandParams); + writeBarrierControlInteractionInfo.put( + "writeBarrierCommandOpenEventsAttribute", + writeBarrierControlBarrierCommandOpenEventsAttributeInteractionInfo); + Map writeBarrierControlBarrierCommandCloseEventsCommandParams = + new LinkedHashMap(); + CommandParameterInfo barrierControlbarrierCommandCloseEventsCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeBarrierControlBarrierCommandCloseEventsCommandParams.put( + "value", barrierControlbarrierCommandCloseEventsCommandParameterInfo); + InteractionInfo writeBarrierControlBarrierCommandCloseEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .writeBarrierCommandCloseEventsAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBarrierControlBarrierCommandCloseEventsCommandParams); + writeBarrierControlInteractionInfo.put( + "writeBarrierCommandCloseEventsAttribute", + writeBarrierControlBarrierCommandCloseEventsAttributeInteractionInfo); + Map writeBarrierControlBarrierOpenPeriodCommandParams = + new LinkedHashMap(); + CommandParameterInfo barrierControlbarrierOpenPeriodCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeBarrierControlBarrierOpenPeriodCommandParams.put( + "value", barrierControlbarrierOpenPeriodCommandParameterInfo); + InteractionInfo writeBarrierControlBarrierOpenPeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .writeBarrierOpenPeriodAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBarrierControlBarrierOpenPeriodCommandParams); + writeBarrierControlInteractionInfo.put( + "writeBarrierOpenPeriodAttribute", + writeBarrierControlBarrierOpenPeriodAttributeInteractionInfo); + Map writeBarrierControlBarrierClosePeriodCommandParams = + new LinkedHashMap(); + CommandParameterInfo barrierControlbarrierClosePeriodCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeBarrierControlBarrierClosePeriodCommandParams.put( + "value", barrierControlbarrierClosePeriodCommandParameterInfo); + InteractionInfo writeBarrierControlBarrierClosePeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .writeBarrierClosePeriodAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBarrierControlBarrierClosePeriodCommandParams); + writeBarrierControlInteractionInfo.put( + "writeBarrierClosePeriodAttribute", + writeBarrierControlBarrierClosePeriodAttributeInteractionInfo); writeAttributeMap.put("barrierControl", writeBarrierControlInteractionInfo); Map writePumpConfigurationAndControlInteractionInfo = new LinkedHashMap<>(); @@ -1877,6 +2208,193 @@ public Map> getWriteAttributeMap() { writeAttributeMap.put( "relativeHumidityMeasurement", writeRelativeHumidityMeasurementInteractionInfo); Map writeOccupancySensingInteractionInfo = new LinkedHashMap<>(); + Map + writeOccupancySensingPIROccupiedToUnoccupiedDelayCommandParams = + new LinkedHashMap(); + CommandParameterInfo occupancySensingPIROccupiedToUnoccupiedDelayCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeOccupancySensingPIROccupiedToUnoccupiedDelayCommandParams.put( + "value", occupancySensingPIROccupiedToUnoccupiedDelayCommandParameterInfo); + InteractionInfo writeOccupancySensingPIROccupiedToUnoccupiedDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .writePIROccupiedToUnoccupiedDelayAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeOccupancySensingPIROccupiedToUnoccupiedDelayCommandParams); + writeOccupancySensingInteractionInfo.put( + "writePIROccupiedToUnoccupiedDelayAttribute", + writeOccupancySensingPIROccupiedToUnoccupiedDelayAttributeInteractionInfo); + Map + writeOccupancySensingPIRUnoccupiedToOccupiedDelayCommandParams = + new LinkedHashMap(); + CommandParameterInfo occupancySensingPIRUnoccupiedToOccupiedDelayCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeOccupancySensingPIRUnoccupiedToOccupiedDelayCommandParams.put( + "value", occupancySensingPIRUnoccupiedToOccupiedDelayCommandParameterInfo); + InteractionInfo writeOccupancySensingPIRUnoccupiedToOccupiedDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .writePIRUnoccupiedToOccupiedDelayAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeOccupancySensingPIRUnoccupiedToOccupiedDelayCommandParams); + writeOccupancySensingInteractionInfo.put( + "writePIRUnoccupiedToOccupiedDelayAttribute", + writeOccupancySensingPIRUnoccupiedToOccupiedDelayAttributeInteractionInfo); + Map + writeOccupancySensingPIRUnoccupiedToOccupiedThresholdCommandParams = + new LinkedHashMap(); + CommandParameterInfo occupancySensingPIRUnoccupiedToOccupiedThresholdCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeOccupancySensingPIRUnoccupiedToOccupiedThresholdCommandParams.put( + "value", occupancySensingPIRUnoccupiedToOccupiedThresholdCommandParameterInfo); + InteractionInfo writeOccupancySensingPIRUnoccupiedToOccupiedThresholdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .writePIRUnoccupiedToOccupiedThresholdAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeOccupancySensingPIRUnoccupiedToOccupiedThresholdCommandParams); + writeOccupancySensingInteractionInfo.put( + "writePIRUnoccupiedToOccupiedThresholdAttribute", + writeOccupancySensingPIRUnoccupiedToOccupiedThresholdAttributeInteractionInfo); + Map + writeOccupancySensingUltrasonicOccupiedToUnoccupiedDelayCommandParams = + new LinkedHashMap(); + CommandParameterInfo occupancySensingultrasonicOccupiedToUnoccupiedDelayCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeOccupancySensingUltrasonicOccupiedToUnoccupiedDelayCommandParams.put( + "value", occupancySensingultrasonicOccupiedToUnoccupiedDelayCommandParameterInfo); + InteractionInfo + writeOccupancySensingUltrasonicOccupiedToUnoccupiedDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .writeUltrasonicOccupiedToUnoccupiedDelayAttribute( + (DefaultClusterCallback) callback, + (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeOccupancySensingUltrasonicOccupiedToUnoccupiedDelayCommandParams); + writeOccupancySensingInteractionInfo.put( + "writeUltrasonicOccupiedToUnoccupiedDelayAttribute", + writeOccupancySensingUltrasonicOccupiedToUnoccupiedDelayAttributeInteractionInfo); + Map + writeOccupancySensingUltrasonicUnoccupiedToOccupiedDelayCommandParams = + new LinkedHashMap(); + CommandParameterInfo occupancySensingultrasonicUnoccupiedToOccupiedDelayCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeOccupancySensingUltrasonicUnoccupiedToOccupiedDelayCommandParams.put( + "value", occupancySensingultrasonicUnoccupiedToOccupiedDelayCommandParameterInfo); + InteractionInfo + writeOccupancySensingUltrasonicUnoccupiedToOccupiedDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .writeUltrasonicUnoccupiedToOccupiedDelayAttribute( + (DefaultClusterCallback) callback, + (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeOccupancySensingUltrasonicUnoccupiedToOccupiedDelayCommandParams); + writeOccupancySensingInteractionInfo.put( + "writeUltrasonicUnoccupiedToOccupiedDelayAttribute", + writeOccupancySensingUltrasonicUnoccupiedToOccupiedDelayAttributeInteractionInfo); + Map + writeOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdCommandParams = + new LinkedHashMap(); + CommandParameterInfo + occupancySensingultrasonicUnoccupiedToOccupiedThresholdCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdCommandParams.put( + "value", occupancySensingultrasonicUnoccupiedToOccupiedThresholdCommandParameterInfo); + InteractionInfo + writeOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .writeUltrasonicUnoccupiedToOccupiedThresholdAttribute( + (DefaultClusterCallback) callback, + (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdCommandParams); + writeOccupancySensingInteractionInfo.put( + "writeUltrasonicUnoccupiedToOccupiedThresholdAttribute", + writeOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdAttributeInteractionInfo); + Map + writeOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayCommandParams = + new LinkedHashMap(); + CommandParameterInfo + occupancySensingphysicalContactOccupiedToUnoccupiedDelayCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayCommandParams.put( + "value", occupancySensingphysicalContactOccupiedToUnoccupiedDelayCommandParameterInfo); + InteractionInfo + writeOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .writePhysicalContactOccupiedToUnoccupiedDelayAttribute( + (DefaultClusterCallback) callback, + (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayCommandParams); + writeOccupancySensingInteractionInfo.put( + "writePhysicalContactOccupiedToUnoccupiedDelayAttribute", + writeOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayAttributeInteractionInfo); + Map + writeOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayCommandParams = + new LinkedHashMap(); + CommandParameterInfo + occupancySensingphysicalContactUnoccupiedToOccupiedDelayCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayCommandParams.put( + "value", occupancySensingphysicalContactUnoccupiedToOccupiedDelayCommandParameterInfo); + InteractionInfo + writeOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .writePhysicalContactUnoccupiedToOccupiedDelayAttribute( + (DefaultClusterCallback) callback, + (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayCommandParams); + writeOccupancySensingInteractionInfo.put( + "writePhysicalContactUnoccupiedToOccupiedDelayAttribute", + writeOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayAttributeInteractionInfo); + Map + writeOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdCommandParams = + new LinkedHashMap(); + CommandParameterInfo + occupancySensingphysicalContactUnoccupiedToOccupiedThresholdCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdCommandParams.put( + "value", occupancySensingphysicalContactUnoccupiedToOccupiedThresholdCommandParameterInfo); + InteractionInfo + writeOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .writePhysicalContactUnoccupiedToOccupiedThresholdAttribute( + (DefaultClusterCallback) callback, + (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdCommandParams); + writeOccupancySensingInteractionInfo.put( + "writePhysicalContactUnoccupiedToOccupiedThresholdAttribute", + writeOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdAttributeInteractionInfo); writeAttributeMap.put("occupancySensing", writeOccupancySensingInteractionInfo); Map writeWakeOnLanInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("wakeOnLan", writeWakeOnLanInteractionInfo); @@ -1921,6 +2439,159 @@ public Map> getWriteAttributeMap() { Map writeAccountLoginInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("accountLogin", writeAccountLoginInteractionInfo); Map writeElectricalMeasurementInteractionInfo = new LinkedHashMap<>(); + Map + writeElectricalMeasurementAverageRmsVoltageMeasurementPeriodCommandParams = + new LinkedHashMap(); + CommandParameterInfo + electricalMeasurementaverageRmsVoltageMeasurementPeriodCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeElectricalMeasurementAverageRmsVoltageMeasurementPeriodCommandParams.put( + "value", electricalMeasurementaverageRmsVoltageMeasurementPeriodCommandParameterInfo); + InteractionInfo + writeElectricalMeasurementAverageRmsVoltageMeasurementPeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .writeAverageRmsVoltageMeasurementPeriodAttribute( + (DefaultClusterCallback) callback, + (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeElectricalMeasurementAverageRmsVoltageMeasurementPeriodCommandParams); + writeElectricalMeasurementInteractionInfo.put( + "writeAverageRmsVoltageMeasurementPeriodAttribute", + writeElectricalMeasurementAverageRmsVoltageMeasurementPeriodAttributeInteractionInfo); + Map + writeElectricalMeasurementAverageRmsUnderVoltageCounterCommandParams = + new LinkedHashMap(); + CommandParameterInfo electricalMeasurementaverageRmsUnderVoltageCounterCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeElectricalMeasurementAverageRmsUnderVoltageCounterCommandParams.put( + "value", electricalMeasurementaverageRmsUnderVoltageCounterCommandParameterInfo); + InteractionInfo + writeElectricalMeasurementAverageRmsUnderVoltageCounterAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .writeAverageRmsUnderVoltageCounterAttribute( + (DefaultClusterCallback) callback, + (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeElectricalMeasurementAverageRmsUnderVoltageCounterCommandParams); + writeElectricalMeasurementInteractionInfo.put( + "writeAverageRmsUnderVoltageCounterAttribute", + writeElectricalMeasurementAverageRmsUnderVoltageCounterAttributeInteractionInfo); + Map + writeElectricalMeasurementRmsExtremeOverVoltagePeriodCommandParams = + new LinkedHashMap(); + CommandParameterInfo electricalMeasurementrmsExtremeOverVoltagePeriodCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeElectricalMeasurementRmsExtremeOverVoltagePeriodCommandParams.put( + "value", electricalMeasurementrmsExtremeOverVoltagePeriodCommandParameterInfo); + InteractionInfo writeElectricalMeasurementRmsExtremeOverVoltagePeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .writeRmsExtremeOverVoltagePeriodAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeElectricalMeasurementRmsExtremeOverVoltagePeriodCommandParams); + writeElectricalMeasurementInteractionInfo.put( + "writeRmsExtremeOverVoltagePeriodAttribute", + writeElectricalMeasurementRmsExtremeOverVoltagePeriodAttributeInteractionInfo); + Map + writeElectricalMeasurementRmsExtremeUnderVoltagePeriodCommandParams = + new LinkedHashMap(); + CommandParameterInfo electricalMeasurementrmsExtremeUnderVoltagePeriodCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeElectricalMeasurementRmsExtremeUnderVoltagePeriodCommandParams.put( + "value", electricalMeasurementrmsExtremeUnderVoltagePeriodCommandParameterInfo); + InteractionInfo writeElectricalMeasurementRmsExtremeUnderVoltagePeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .writeRmsExtremeUnderVoltagePeriodAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeElectricalMeasurementRmsExtremeUnderVoltagePeriodCommandParams); + writeElectricalMeasurementInteractionInfo.put( + "writeRmsExtremeUnderVoltagePeriodAttribute", + writeElectricalMeasurementRmsExtremeUnderVoltagePeriodAttributeInteractionInfo); + Map writeElectricalMeasurementRmsVoltageSagPeriodCommandParams = + new LinkedHashMap(); + CommandParameterInfo electricalMeasurementrmsVoltageSagPeriodCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeElectricalMeasurementRmsVoltageSagPeriodCommandParams.put( + "value", electricalMeasurementrmsVoltageSagPeriodCommandParameterInfo); + InteractionInfo writeElectricalMeasurementRmsVoltageSagPeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .writeRmsVoltageSagPeriodAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeElectricalMeasurementRmsVoltageSagPeriodCommandParams); + writeElectricalMeasurementInteractionInfo.put( + "writeRmsVoltageSagPeriodAttribute", + writeElectricalMeasurementRmsVoltageSagPeriodAttributeInteractionInfo); + Map writeElectricalMeasurementRmsVoltageSwellPeriodCommandParams = + new LinkedHashMap(); + CommandParameterInfo electricalMeasurementrmsVoltageSwellPeriodCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeElectricalMeasurementRmsVoltageSwellPeriodCommandParams.put( + "value", electricalMeasurementrmsVoltageSwellPeriodCommandParameterInfo); + InteractionInfo writeElectricalMeasurementRmsVoltageSwellPeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .writeRmsVoltageSwellPeriodAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeElectricalMeasurementRmsVoltageSwellPeriodCommandParams); + writeElectricalMeasurementInteractionInfo.put( + "writeRmsVoltageSwellPeriodAttribute", + writeElectricalMeasurementRmsVoltageSwellPeriodAttributeInteractionInfo); + Map writeElectricalMeasurementOverloadAlarmsMaskCommandParams = + new LinkedHashMap(); + CommandParameterInfo electricalMeasurementoverloadAlarmsMaskCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeElectricalMeasurementOverloadAlarmsMaskCommandParams.put( + "value", electricalMeasurementoverloadAlarmsMaskCommandParameterInfo); + InteractionInfo writeElectricalMeasurementOverloadAlarmsMaskAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .writeOverloadAlarmsMaskAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeElectricalMeasurementOverloadAlarmsMaskCommandParams); + writeElectricalMeasurementInteractionInfo.put( + "writeOverloadAlarmsMaskAttribute", + writeElectricalMeasurementOverloadAlarmsMaskAttributeInteractionInfo); + Map writeElectricalMeasurementAcOverloadAlarmsMaskCommandParams = + new LinkedHashMap(); + CommandParameterInfo electricalMeasurementacOverloadAlarmsMaskCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeElectricalMeasurementAcOverloadAlarmsMaskCommandParams.put( + "value", electricalMeasurementacOverloadAlarmsMaskCommandParameterInfo); + InteractionInfo writeElectricalMeasurementAcOverloadAlarmsMaskAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .writeAcOverloadAlarmsMaskAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeElectricalMeasurementAcOverloadAlarmsMaskCommandParams); + writeElectricalMeasurementInteractionInfo.put( + "writeAcOverloadAlarmsMaskAttribute", + writeElectricalMeasurementAcOverloadAlarmsMaskAttributeInteractionInfo); writeAttributeMap.put("electricalMeasurement", writeElectricalMeasurementInteractionInfo); Map writeClientMonitoringInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("clientMonitoring", writeClientMonitoringInteractionInfo); @@ -3155,6 +3826,23 @@ public Map> getWriteAttributeMap() { writeUnitTestingInteractionInfo.put( "writeNullableRangeRestrictedInt16sAttribute", writeUnitTestingNullableRangeRestrictedInt16sAttributeInteractionInfo); + Map writeUnitTestingWriteOnlyInt8uCommandParams = + new LinkedHashMap(); + CommandParameterInfo unitTestingwriteOnlyInt8uCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); + writeUnitTestingWriteOnlyInt8uCommandParams.put( + "value", unitTestingwriteOnlyInt8uCommandParameterInfo); + InteractionInfo writeUnitTestingWriteOnlyInt8uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeWriteOnlyInt8uAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingWriteOnlyInt8uCommandParams); + writeUnitTestingInteractionInfo.put( + "writeWriteOnlyInt8uAttribute", writeUnitTestingWriteOnlyInt8uAttributeInteractionInfo); writeAttributeMap.put("unitTesting", writeUnitTestingInteractionInfo); return writeAttributeMap; } From 23d64d0f7d9849c79c982f5b9c882e58b9405f14 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Thu, 23 Mar 2023 10:11:56 -0400 Subject: [PATCH 08/13] Remove extra newline before commands in server clusters --- .../all-clusters-app.matter | 65 ------------------- .../all-clusters-minimal-app.matter | 59 ----------------- .../bridge-common/bridge-app.matter | 24 ------- ...p_rootnode_dimmablelight_bCwGYSDpoe.matter | 22 ------- ...de_colortemperaturelight_hbUnzYVeyn.matter | 17 ----- .../rootnode_contactsensor_lFAGG1bfRO.matter | 19 ------ .../rootnode_dimmablelight_bCwGYSDpoe.matter | 20 ------ .../rootnode_doorlock_aNKYAreMXE.matter | 19 ------ ...tnode_extendedcolorlight_8lcaaYJVAa.matter | 21 ------ .../devices/rootnode_fan_7N2TobIlOX.matter | 19 ------ .../rootnode_flowsensor_1zVxHedlaV.matter | 19 ------ ...tnode_heatingcoolingunit_ncdGai1E5a.matter | 21 ------ .../rootnode_humiditysensor_Xyj4gda6Hb.matter | 19 ------ .../rootnode_lightsensor_lZQycTFcJK.matter | 19 ------ ...rootnode_occupancysensor_iHyVgifZuo.matter | 19 ------ .../rootnode_onofflight_bbs1b7IaOV.matter | 20 ------ ...ootnode_onofflightswitch_FsPlMr090Q.matter | 19 ------ ...rootnode_onoffpluginunit_Wtf8ss5EBY.matter | 19 ------ .../rootnode_pressuresensor_s0qC9wLH4k.matter | 20 ------ .../rootnode_speaker_RpzeXdimqA.matter | 20 ------ ...otnode_temperaturesensor_Qy1zkNW7c3.matter | 19 ------ .../rootnode_thermostat_bm3fb8dhYi.matter | 20 ------ .../rootnode_windowcovering_RLCxaGi9Yx.matter | 19 ------ .../contact-sensor-app.matter | 23 ------- .../bridge-common/bridge-app.matter | 24 ------- .../light-switch-app.matter | 23 ------- .../lighting-common/lighting-app.matter | 26 -------- .../nxp/zap/lighting-on-off.matter | 16 ----- examples/lighting-app/qpg/zap/light.matter | 20 ------ .../data_model/lighting-thread-app.matter | 22 ------- .../efr32/data_model/lighting-wifi-app.matter | 22 ------- examples/lock-app/lock-common/lock-app.matter | 24 ------- examples/lock-app/nxp/zap/lock-app.matter | 13 ---- examples/lock-app/qpg/zap/lock.matter | 18 ----- .../log-source-common/log-source-app.matter | 5 -- .../ota-provider-app.matter | 14 ---- .../ota-requestor-app.matter | 17 ----- .../placeholder/linux/apps/app1/config.matter | 42 ------------ .../placeholder/linux/apps/app2/config.matter | 42 ------------ examples/pump-app/pump-common/pump-app.matter | 19 ------ .../pump-controller-app.matter | 13 ---- .../temperature-measurement.matter | 19 ------ .../thermostat-common/thermostat.matter | 26 -------- examples/tv-app/tv-common/tv-app.matter | 36 ---------- .../tv-casting-common/tv-casting-app.matter | 30 --------- examples/window-app/common/window-app.matter | 24 ------- .../templates/app/MatterIDL.zapt | 2 +- 47 files changed, 1 insertion(+), 1057 deletions(-) diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter index bb696b78bf0ef9..763c517e3a1c1c 100644 --- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter +++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter @@ -38,7 +38,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -65,7 +64,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -148,7 +146,6 @@ server cluster Scenes = 5 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddSceneRequest { group_id groupID = 0; INT8U sceneID = 1; @@ -324,7 +321,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -353,7 +349,6 @@ server cluster OnOffSwitchConfiguration = 7 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster LevelControl = 8 { @@ -399,7 +394,6 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -474,7 +468,6 @@ server cluster BinaryInputBasic = 15 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Descriptor = 29 { @@ -493,7 +486,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Binding = 30 { @@ -512,7 +504,6 @@ server cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -582,7 +573,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Actions = 37 { @@ -667,7 +657,6 @@ server cluster Actions = 37 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -717,7 +706,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -843,7 +831,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -864,7 +851,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -897,7 +883,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UnitLocalization = 45 { @@ -918,7 +903,6 @@ server cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster PowerSourceConfiguration = 46 { @@ -929,7 +913,6 @@ server cluster PowerSourceConfiguration = 46 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster PowerSource = 47 { @@ -1145,7 +1128,6 @@ server cluster PowerSource = 47 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -1180,7 +1162,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -1291,7 +1272,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -1378,7 +1358,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -1484,7 +1463,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -1523,7 +1501,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -1686,7 +1663,6 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1759,7 +1735,6 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1798,7 +1773,6 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1850,7 +1824,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -1876,7 +1849,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1941,7 +1913,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -2051,7 +2022,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -2090,7 +2060,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UserLabel = 65 { @@ -2101,7 +2070,6 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BooleanState = 69 { @@ -2116,7 +2084,6 @@ server cluster BooleanState = 69 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ModeSelect = 80 { @@ -2149,7 +2116,6 @@ server cluster ModeSelect = 80 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ChangeToModeRequest { INT8U newMode = 0; } @@ -2569,7 +2535,6 @@ server cluster DoorLock = 257 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; } @@ -2811,7 +2776,6 @@ server cluster WindowCovering = 258 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct GoToLiftValueRequest { INT16U liftValue = 0; } @@ -2849,7 +2813,6 @@ server cluster BarrierControl = 259 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct BarrierControlGoToPercentRequest { INT8U percentOpen = 0; } @@ -2977,7 +2940,6 @@ server cluster PumpConfigurationAndControl = 512 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Thermostat = 513 { @@ -3066,7 +3028,6 @@ server cluster Thermostat = 513 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; INT8S amount = 1; @@ -3135,7 +3096,6 @@ server cluster FanControl = 514 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ThermostatUserInterfaceConfiguration = 516 { @@ -3148,7 +3108,6 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ColorControl = 768 { @@ -3280,7 +3239,6 @@ server cluster ColorControl = 768 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToHueRequest { INT8U hue = 0; HueDirection direction = 1; @@ -3471,7 +3429,6 @@ server cluster BallastConfiguration = 769 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster IlluminanceMeasurement = 1024 { @@ -3491,7 +3448,6 @@ server cluster IlluminanceMeasurement = 1024 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TemperatureMeasurement = 1026 { @@ -3505,7 +3461,6 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster PressureMeasurement = 1027 { @@ -3522,7 +3477,6 @@ server cluster PressureMeasurement = 1027 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster FlowMeasurement = 1028 { @@ -3536,7 +3490,6 @@ server cluster FlowMeasurement = 1028 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster RelativeHumidityMeasurement = 1029 { @@ -3550,7 +3503,6 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster OccupancySensing = 1030 { @@ -3580,7 +3532,6 @@ server cluster OccupancySensing = 1030 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster WakeOnLan = 1283 { @@ -3591,7 +3542,6 @@ server cluster WakeOnLan = 1283 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Channel = 1284 { @@ -3625,7 +3575,6 @@ server cluster Channel = 1284 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TargetNavigator = 1285 { @@ -3649,7 +3598,6 @@ server cluster TargetNavigator = 1285 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct NavigateTargetRequest { INT8U target = 0; optional CHAR_STRING data = 1; @@ -3697,7 +3645,6 @@ server cluster MediaPlayback = 1286 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster MediaInput = 1287 { @@ -3736,7 +3683,6 @@ server cluster MediaInput = 1287 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SelectInputRequest { INT8U index = 0; } @@ -3760,7 +3706,6 @@ server cluster LowPower = 1288 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Sleep(): DefaultSuccess = 0; } @@ -3873,7 +3818,6 @@ server cluster KeypadInput = 1289 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SendKeyRequest { CecKeyCode keyCode = 0; } @@ -3968,7 +3912,6 @@ server cluster ContentLauncher = 1290 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AudioOutput = 1291 { @@ -3999,7 +3942,6 @@ server cluster AudioOutput = 1291 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ApplicationLauncher = 1292 { @@ -4025,7 +3967,6 @@ server cluster ApplicationLauncher = 1292 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ApplicationBasic = 1293 { @@ -4049,7 +3990,6 @@ server cluster ApplicationBasic = 1293 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccountLogin = 1294 { @@ -4059,7 +3999,6 @@ server cluster AccountLogin = 1294 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ElectricalMeasurement = 2820 { @@ -4080,7 +4019,6 @@ server cluster ElectricalMeasurement = 2820 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ClientMonitoring = 4166 { @@ -4101,7 +4039,6 @@ server cluster ClientMonitoring = 4166 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RegisterClientMonitoringRequest { node_id clientNodeId = 0; INT64U ICid = 1; @@ -4317,7 +4254,6 @@ server cluster UnitTesting = 4294048773 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestAddArgumentsRequest { INT8U arg1 = 0; INT8U arg2 = 1; @@ -4450,7 +4386,6 @@ server cluster FaultInjection = 4294048774 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct FailAtFaultRequest { FaultType type = 0; INT32U id = 1; diff --git a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter index fd3cf274f25e01..18cecf99b17930 100644 --- a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter +++ b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter @@ -43,7 +43,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -64,7 +63,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -147,7 +145,6 @@ server cluster Scenes = 5 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddSceneRequest { group_id groupID = 0; INT8U sceneID = 1; @@ -271,7 +268,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -309,7 +305,6 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -390,7 +385,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Binding = 30 { @@ -409,7 +403,6 @@ server cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -473,7 +466,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Actions = 37 { @@ -557,7 +549,6 @@ server cluster Actions = 37 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -599,7 +590,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -725,7 +715,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -746,7 +735,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -777,7 +765,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UnitLocalization = 45 { @@ -797,7 +784,6 @@ server cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster PowerSourceConfiguration = 46 { @@ -808,7 +794,6 @@ server cluster PowerSourceConfiguration = 46 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster PowerSource = 47 { @@ -1021,7 +1006,6 @@ server cluster PowerSource = 47 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -1056,7 +1040,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -1167,7 +1150,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -1254,7 +1236,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -1354,7 +1335,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -1380,7 +1360,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ThreadNetworkDiagnostics = 53 { @@ -1495,7 +1474,6 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster WiFiNetworkDiagnostics = 54 { @@ -1558,7 +1536,6 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster EthernetNetworkDiagnostics = 55 { @@ -1596,7 +1573,6 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1647,7 +1623,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -1673,7 +1648,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1733,7 +1707,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1843,7 +1816,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1882,7 +1854,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UserLabel = 65 { @@ -1893,7 +1864,6 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BooleanState = 69 { @@ -1908,7 +1878,6 @@ server cluster BooleanState = 69 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ModeSelect = 80 { @@ -1938,7 +1907,6 @@ server cluster ModeSelect = 80 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ChangeToModeRequest { INT8U newMode = 0; } @@ -2333,7 +2301,6 @@ server cluster DoorLock = 257 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; } @@ -2447,7 +2414,6 @@ server cluster WindowCovering = 258 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command UpOrOpen(): DefaultSuccess = 0; command DownOrClose(): DefaultSuccess = 1; command StopMotion(): DefaultSuccess = 2; @@ -2558,7 +2524,6 @@ server cluster PumpConfigurationAndControl = 512 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Thermostat = 513 { @@ -2637,7 +2602,6 @@ server cluster Thermostat = 513 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; INT8S amount = 1; @@ -2699,7 +2663,6 @@ server cluster FanControl = 514 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ThermostatUserInterfaceConfiguration = 516 { @@ -2711,7 +2674,6 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ColorControl = 768 { @@ -2795,7 +2757,6 @@ server cluster ColorControl = 768 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BallastConfiguration = 769 { @@ -2810,7 +2771,6 @@ server cluster BallastConfiguration = 769 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster IlluminanceMeasurement = 1024 { @@ -2828,7 +2788,6 @@ server cluster IlluminanceMeasurement = 1024 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TemperatureMeasurement = 1026 { @@ -2841,7 +2800,6 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster PressureMeasurement = 1027 { @@ -2858,7 +2816,6 @@ server cluster PressureMeasurement = 1027 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster FlowMeasurement = 1028 { @@ -2871,7 +2828,6 @@ server cluster FlowMeasurement = 1028 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster RelativeHumidityMeasurement = 1029 { @@ -2884,7 +2840,6 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster OccupancySensing = 1030 { @@ -2914,7 +2869,6 @@ server cluster OccupancySensing = 1030 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster WakeOnLan = 1283 { @@ -2924,7 +2878,6 @@ server cluster WakeOnLan = 1283 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Channel = 1284 { @@ -2950,7 +2903,6 @@ server cluster Channel = 1284 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ChangeChannelByNumberRequest { INT16U majorNumber = 0; INT16U minorNumber = 1; @@ -2984,7 +2936,6 @@ server cluster TargetNavigator = 1285 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct NavigateTargetRequest { INT8U target = 0; optional CHAR_STRING data = 1; @@ -3028,7 +2979,6 @@ server cluster MediaPlayback = 1286 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - response struct PlaybackResponse = 10 { MediaPlaybackStatusEnum status = 0; optional CHAR_STRING data = 1; @@ -3075,7 +3025,6 @@ server cluster MediaInput = 1287 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SelectInputRequest { INT8U index = 0; } @@ -3093,7 +3042,6 @@ server cluster LowPower = 1288 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Sleep(): DefaultSuccess = 0; } @@ -3206,7 +3154,6 @@ server cluster KeypadInput = 1289 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SendKeyRequest { CecKeyCode keyCode = 0; } @@ -3299,7 +3246,6 @@ server cluster ContentLauncher = 1290 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AudioOutput = 1291 { @@ -3331,7 +3277,6 @@ server cluster AudioOutput = 1291 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SelectOutputRequest { INT8U index = 0; } @@ -3357,7 +3302,6 @@ server cluster ApplicationLauncher = 1292 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct LaunchAppRequest { optional ApplicationStruct application = 0; optional OCTET_STRING data = 1; @@ -3400,7 +3344,6 @@ server cluster ApplicationBasic = 1293 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccountLogin = 1294 { @@ -3411,7 +3354,6 @@ server cluster AccountLogin = 1294 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct GetSetupPINRequest { CHAR_STRING<100> tempAccountIdentifier = 0; } @@ -3630,7 +3572,6 @@ server cluster UnitTesting = 4294048773 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestAddArgumentsRequest { INT8U arg1 = 0; INT8U arg2 = 1; diff --git a/examples/bridge-app/bridge-common/bridge-app.matter b/examples/bridge-app/bridge-common/bridge-app.matter index 225d3613291420..ddde0f0d687dcf 100644 --- a/examples/bridge-app/bridge-common/bridge-app.matter +++ b/examples/bridge-app/bridge-common/bridge-app.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -85,7 +84,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -134,7 +132,6 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -215,7 +212,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Binding = 30 { @@ -374,7 +370,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Actions = 37 { @@ -460,7 +455,6 @@ server cluster Actions = 37 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct InstantActionRequest { INT16U actionID = 0; optional INT32U invokeID = 1; @@ -516,7 +510,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster LocalizationConfiguration = 43 { @@ -528,7 +521,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -561,7 +553,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UnitLocalization = 45 { @@ -582,7 +573,6 @@ server cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -617,7 +607,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -728,7 +717,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -815,7 +803,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -921,7 +908,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -959,7 +945,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ThreadNetworkDiagnostics = 53 { @@ -1120,7 +1105,6 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster WiFiNetworkDiagnostics = 54 { @@ -1191,7 +1175,6 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster EthernetNetworkDiagnostics = 55 { @@ -1229,7 +1212,6 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1281,7 +1263,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -1307,7 +1288,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1372,7 +1352,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1482,7 +1461,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1526,7 +1504,6 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TemperatureMeasurement = 1026 { @@ -1539,7 +1516,6 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter index d513b320482504..b70b270bb30ab4 100644 --- a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter +++ b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -54,7 +53,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -148,7 +146,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -190,7 +187,6 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -271,7 +267,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Binding = 30 { @@ -357,7 +352,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -401,7 +395,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -538,7 +531,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -558,7 +550,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -591,7 +582,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -625,7 +615,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -684,7 +673,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -790,7 +778,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -829,7 +816,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -992,7 +978,6 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1065,7 +1050,6 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1104,7 +1088,6 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1153,7 +1136,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -1179,7 +1161,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1244,7 +1225,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1354,7 +1334,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1398,7 +1377,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OccupancySensing = 1030 { diff --git a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter index 31a4473fdfdfe2..20f31fd5d0fcd4 100644 --- a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter +++ b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -60,7 +59,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -154,7 +152,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -208,7 +205,6 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -289,7 +285,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -359,7 +354,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -409,7 +403,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -546,7 +539,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -590,7 +582,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -701,7 +692,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -788,7 +778,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -894,7 +883,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -933,7 +921,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -960,7 +947,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1025,7 +1011,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1135,7 +1120,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1273,7 +1257,6 @@ server cluster ColorControl = 768 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToHueRequest { INT8U hue = 0; HueDirection direction = 1; diff --git a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter index 0ebe37f4e0f59e..724a8d05d22e19 100644 --- a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter +++ b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -54,7 +53,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -122,7 +120,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Binding = 30 { @@ -208,7 +205,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -252,7 +248,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -389,7 +384,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -409,7 +403,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -442,7 +435,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -476,7 +468,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -587,7 +578,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -674,7 +664,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -780,7 +769,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -819,7 +807,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -868,7 +855,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -894,7 +880,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -959,7 +944,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1069,7 +1053,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1113,7 +1096,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BooleanState = 69 { @@ -1128,7 +1110,6 @@ server cluster BooleanState = 69 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter index 6d6124f0931d82..44ce20a0e152bc 100644 --- a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter +++ b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -54,7 +53,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -148,7 +146,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -190,7 +187,6 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -271,7 +267,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Binding = 30 { @@ -357,7 +352,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -401,7 +395,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -538,7 +531,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -558,7 +550,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -591,7 +582,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -625,7 +615,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -736,7 +725,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -823,7 +811,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -929,7 +916,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -968,7 +954,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -1017,7 +1002,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -1043,7 +1027,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1108,7 +1091,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1218,7 +1200,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1262,7 +1243,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OccupancySensing = 1030 { diff --git a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter index 0e66dd631a5002..e1c06027bae0d1 100644 --- a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter +++ b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -54,7 +53,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -122,7 +120,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Binding = 30 { @@ -208,7 +205,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -252,7 +248,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -389,7 +384,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -409,7 +403,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -442,7 +435,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -476,7 +468,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -587,7 +578,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -674,7 +664,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -780,7 +769,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -819,7 +807,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -868,7 +855,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -894,7 +880,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -959,7 +944,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1069,7 +1053,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1113,7 +1096,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster DoorLock = 257 { @@ -1512,7 +1494,6 @@ server cluster DoorLock = 257 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; } diff --git a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter index edc4c10ab76b41..690fe7764e97bb 100644 --- a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter +++ b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -54,7 +53,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -148,7 +146,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -190,7 +187,6 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -271,7 +267,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Binding = 30 { @@ -357,7 +352,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -401,7 +395,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -538,7 +531,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -558,7 +550,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -591,7 +582,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -625,7 +615,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -736,7 +725,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -823,7 +811,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -929,7 +916,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -968,7 +954,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -1017,7 +1002,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -1043,7 +1027,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1108,7 +1091,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1218,7 +1200,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1262,7 +1243,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ColorControl = 768 { @@ -1362,7 +1342,6 @@ server cluster ColorControl = 768 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToHueRequest { INT8U hue = 0; HueDirection direction = 1; diff --git a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter index 2d6a9cfca46607..631fe217ffa8cd 100644 --- a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter +++ b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -60,7 +59,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -128,7 +126,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -198,7 +195,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -248,7 +244,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -385,7 +380,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -406,7 +400,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -439,7 +432,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -474,7 +466,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -585,7 +576,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -672,7 +662,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -778,7 +767,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -817,7 +805,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -868,7 +855,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -894,7 +880,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -959,7 +944,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1069,7 +1053,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1113,7 +1096,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster FanControl = 514 { @@ -1176,7 +1158,6 @@ server cluster FanControl = 514 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter index c88141e73958d7..c1e32395899c99 100644 --- a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter +++ b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -69,7 +68,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -137,7 +135,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Binding = 30 { @@ -223,7 +220,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -267,7 +263,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -404,7 +399,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -424,7 +418,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -457,7 +450,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -491,7 +483,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -602,7 +593,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -689,7 +679,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -795,7 +784,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -834,7 +822,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -883,7 +870,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -909,7 +895,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -974,7 +959,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1084,7 +1068,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1128,7 +1111,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster FlowMeasurement = 1028 { @@ -1142,7 +1124,6 @@ server cluster FlowMeasurement = 1028 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter index 98206cf4527211..ee0479687d8cbe 100644 --- a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter +++ b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -54,7 +53,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -144,7 +142,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -183,7 +180,6 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -264,7 +260,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Binding = 30 { @@ -350,7 +345,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -394,7 +388,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -531,7 +524,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -551,7 +543,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -584,7 +575,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -618,7 +608,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -729,7 +718,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -816,7 +804,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -922,7 +909,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -961,7 +947,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -1010,7 +995,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -1036,7 +1020,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1101,7 +1084,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1211,7 +1193,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1255,7 +1236,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Thermostat = 513 { @@ -1431,7 +1411,6 @@ server cluster FanControl = 514 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter index 7e321efcbbb1f6..4db85d2bbacb57 100644 --- a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter +++ b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -69,7 +68,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -137,7 +135,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Binding = 30 { @@ -223,7 +220,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -267,7 +263,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -404,7 +399,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -424,7 +418,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -457,7 +450,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -491,7 +483,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -602,7 +593,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -689,7 +679,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -795,7 +784,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -834,7 +822,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -883,7 +870,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -909,7 +895,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -974,7 +959,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1084,7 +1068,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1128,7 +1111,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster RelativeHumidityMeasurement = 1029 { @@ -1142,7 +1124,6 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter index 7a2df72007aea3..1f42b85b76948c 100644 --- a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter +++ b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -69,7 +68,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -137,7 +135,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Binding = 30 { @@ -223,7 +220,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -267,7 +263,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -404,7 +399,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -424,7 +418,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -457,7 +450,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -491,7 +483,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -602,7 +593,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -689,7 +679,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -795,7 +784,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -834,7 +822,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -883,7 +870,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -909,7 +895,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -974,7 +959,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1084,7 +1068,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1128,7 +1111,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster IlluminanceMeasurement = 1024 { @@ -1146,7 +1128,6 @@ server cluster IlluminanceMeasurement = 1024 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter index 91a29e552e9b11..63ba186ba8392f 100644 --- a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter +++ b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -69,7 +68,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -137,7 +135,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Binding = 30 { @@ -223,7 +220,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -267,7 +263,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -404,7 +399,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -424,7 +418,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -457,7 +450,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -491,7 +483,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -602,7 +593,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -689,7 +679,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -795,7 +784,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -834,7 +822,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -883,7 +870,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -909,7 +895,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -974,7 +959,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1084,7 +1068,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1128,7 +1111,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster OccupancySensing = 1030 { @@ -1158,7 +1140,6 @@ server cluster OccupancySensing = 1030 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter index c3b0aa6aefeed4..e1a03dc67c1f70 100644 --- a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter +++ b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -54,7 +53,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -148,7 +146,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -190,7 +187,6 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -271,7 +267,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Binding = 30 { @@ -357,7 +352,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -401,7 +395,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -538,7 +531,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -558,7 +550,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -591,7 +582,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -625,7 +615,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -736,7 +725,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -823,7 +811,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -929,7 +916,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -968,7 +954,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -1017,7 +1002,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -1043,7 +1027,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1108,7 +1091,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1218,7 +1200,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1262,7 +1243,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter index a49890ac31f8c1..d64839c821daf0 100644 --- a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter +++ b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -54,7 +53,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -192,7 +190,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -214,7 +211,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Binding = 30 { @@ -300,7 +296,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -344,7 +339,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -481,7 +475,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -501,7 +494,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -534,7 +526,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -568,7 +559,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -679,7 +669,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -766,7 +755,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -872,7 +860,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -911,7 +898,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -960,7 +946,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -986,7 +971,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1051,7 +1035,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1161,7 +1144,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1205,7 +1187,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter index 77ca84d3f71181..a3a44909819d42 100644 --- a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter +++ b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -54,7 +53,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -148,7 +146,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -170,7 +167,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Binding = 30 { @@ -256,7 +252,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -300,7 +295,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -437,7 +431,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -457,7 +450,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -490,7 +482,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -524,7 +515,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -635,7 +625,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -722,7 +711,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -828,7 +816,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -867,7 +854,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -916,7 +902,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -942,7 +927,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1007,7 +991,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1117,7 +1100,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1161,7 +1143,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter index 55336db6004953..3ae8e874d38abe 100644 --- a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter +++ b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter @@ -38,7 +38,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -74,7 +73,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -142,7 +140,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Binding = 30 { @@ -228,7 +225,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -272,7 +268,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -409,7 +404,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -429,7 +423,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -462,7 +455,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -496,7 +488,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -607,7 +598,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -694,7 +684,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -800,7 +789,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -839,7 +827,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -888,7 +875,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -914,7 +900,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -979,7 +964,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1089,7 +1073,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1128,7 +1111,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UserLabel = 65 { @@ -1139,7 +1121,6 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster PressureMeasurement = 1027 { @@ -1156,7 +1137,6 @@ server cluster PressureMeasurement = 1027 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter index a02edd49b55bf0..1b754faec977b1 100644 --- a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter +++ b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -54,7 +53,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -144,7 +142,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -184,7 +181,6 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -265,7 +261,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Binding = 30 { @@ -351,7 +346,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -395,7 +389,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -532,7 +525,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -552,7 +544,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -585,7 +576,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -619,7 +609,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -730,7 +719,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -817,7 +805,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -923,7 +910,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -962,7 +948,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -1011,7 +996,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -1037,7 +1021,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1102,7 +1085,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1212,7 +1194,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1256,7 +1237,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter index ab2396ad3e1881..2f7ea9efd20221 100644 --- a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter +++ b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -69,7 +68,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -137,7 +135,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Binding = 30 { @@ -223,7 +220,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -267,7 +263,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -404,7 +399,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -424,7 +418,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -457,7 +450,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -491,7 +483,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -602,7 +593,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -689,7 +679,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -795,7 +784,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -834,7 +822,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -883,7 +870,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -909,7 +895,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -974,7 +959,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1084,7 +1068,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1128,7 +1111,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TemperatureMeasurement = 1026 { @@ -1141,7 +1123,6 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter index 4b3ffc39299b1f..582e213b9d5301 100644 --- a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter +++ b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -54,7 +53,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -122,7 +120,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Binding = 30 { @@ -208,7 +205,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -252,7 +248,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -389,7 +384,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -409,7 +403,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -442,7 +435,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -476,7 +468,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -587,7 +578,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -674,7 +664,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -780,7 +769,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -819,7 +807,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -868,7 +855,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -894,7 +880,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -959,7 +944,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1069,7 +1053,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1113,7 +1096,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Thermostat = 513 { @@ -1209,7 +1191,6 @@ server cluster Thermostat = 513 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; INT8S amount = 1; @@ -1290,7 +1271,6 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster TemperatureMeasurement = 1026 { diff --git a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter index b5b840d97d8534..43d0122bfe6118 100644 --- a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter +++ b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -54,7 +53,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -122,7 +120,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Binding = 30 { @@ -208,7 +205,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -252,7 +248,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -389,7 +384,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -409,7 +403,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -442,7 +435,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -476,7 +468,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -587,7 +578,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -674,7 +664,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -780,7 +769,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -819,7 +807,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -868,7 +855,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -894,7 +880,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -959,7 +944,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1069,7 +1053,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1113,7 +1096,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster WindowCovering = 258 { @@ -1234,7 +1216,6 @@ server cluster WindowCovering = 258 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct GoToLiftValueRequest { INT16U liftValue = 0; } diff --git a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter index 35d917ea26a782..a52fe2c5669317 100644 --- a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter +++ b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter @@ -38,7 +38,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -65,7 +64,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -133,7 +131,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -203,7 +200,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -253,7 +249,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -390,7 +385,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -411,7 +405,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -444,7 +437,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -479,7 +471,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -590,7 +581,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -677,7 +667,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -783,7 +772,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -822,7 +810,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -985,7 +972,6 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1058,7 +1044,6 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1097,7 +1082,6 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1124,7 +1108,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1189,7 +1172,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1299,7 +1281,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1338,7 +1319,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UserLabel = 65 { @@ -1349,7 +1329,6 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BooleanState = 69 { @@ -1364,7 +1343,6 @@ server cluster BooleanState = 69 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster OccupancySensing = 1030 { @@ -1394,7 +1372,6 @@ server cluster OccupancySensing = 1030 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/dynamic-bridge-app/bridge-common/bridge-app.matter b/examples/dynamic-bridge-app/bridge-common/bridge-app.matter index 05e0367b02f344..5cdac477e88eed 100644 --- a/examples/dynamic-bridge-app/bridge-common/bridge-app.matter +++ b/examples/dynamic-bridge-app/bridge-common/bridge-app.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -85,7 +84,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -134,7 +132,6 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -215,7 +212,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Binding = 30 { @@ -374,7 +370,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Actions = 37 { @@ -460,7 +455,6 @@ server cluster Actions = 37 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct InstantActionRequest { INT16U actionID = 0; optional INT32U invokeID = 1; @@ -516,7 +510,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster LocalizationConfiguration = 43 { @@ -528,7 +521,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -561,7 +553,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UnitLocalization = 45 { @@ -582,7 +573,6 @@ server cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -617,7 +607,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -728,7 +717,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -815,7 +803,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -921,7 +908,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -959,7 +945,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ThreadNetworkDiagnostics = 53 { @@ -1120,7 +1105,6 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster WiFiNetworkDiagnostics = 54 { @@ -1191,7 +1175,6 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster EthernetNetworkDiagnostics = 55 { @@ -1229,7 +1212,6 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1281,7 +1263,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -1307,7 +1288,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1372,7 +1352,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1482,7 +1461,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1526,7 +1504,6 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TemperatureMeasurement = 1026 { @@ -1539,7 +1516,6 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/light-switch-app/light-switch-common/light-switch-app.matter b/examples/light-switch-app/light-switch-common/light-switch-app.matter index 0ee420cc1e8d1f..94c749a2170bc5 100644 --- a/examples/light-switch-app/light-switch-common/light-switch-app.matter +++ b/examples/light-switch-app/light-switch-common/light-switch-app.matter @@ -72,7 +72,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -99,7 +98,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -333,7 +331,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Binding = 30 { @@ -352,7 +349,6 @@ server cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -422,7 +418,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -472,7 +467,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -609,7 +603,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -630,7 +623,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -663,7 +655,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -698,7 +689,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -809,7 +799,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -896,7 +885,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -1002,7 +990,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -1041,7 +1028,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -1204,7 +1190,6 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1277,7 +1262,6 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1316,7 +1300,6 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1367,7 +1350,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -1393,7 +1375,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1458,7 +1439,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1568,7 +1548,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1607,7 +1586,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UserLabel = 65 { @@ -1618,7 +1596,6 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster ColorControl = 768 { diff --git a/examples/lighting-app/lighting-common/lighting-app.matter b/examples/lighting-app/lighting-common/lighting-app.matter index 323707014eac17..9b76a574d14cd3 100644 --- a/examples/lighting-app/lighting-common/lighting-app.matter +++ b/examples/lighting-app/lighting-common/lighting-app.matter @@ -38,7 +38,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -65,7 +64,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -159,7 +157,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -222,7 +219,6 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -303,7 +299,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -373,7 +368,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -423,7 +417,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -560,7 +553,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -581,7 +573,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -614,7 +605,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -649,7 +639,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -760,7 +749,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -847,7 +835,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -953,7 +940,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -992,7 +978,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -1155,7 +1140,6 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1228,7 +1212,6 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1267,7 +1250,6 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1318,7 +1300,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -1344,7 +1325,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1409,7 +1389,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1519,7 +1498,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1558,7 +1536,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UserLabel = 65 { @@ -1569,7 +1546,6 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ColorControl = 768 { @@ -1670,7 +1646,6 @@ server cluster ColorControl = 768 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToHueRequest { INT8U hue = 0; HueDirection direction = 1; @@ -1867,7 +1842,6 @@ server cluster OccupancySensing = 1030 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/lighting-app/nxp/zap/lighting-on-off.matter b/examples/lighting-app/nxp/zap/lighting-on-off.matter index 99369003f25084..a37a3242846a46 100644 --- a/examples/lighting-app/nxp/zap/lighting-on-off.matter +++ b/examples/lighting-app/nxp/zap/lighting-on-off.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -60,7 +59,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -154,7 +152,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -210,7 +207,6 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -291,7 +287,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -355,7 +350,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -397,7 +391,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -534,7 +527,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -578,7 +570,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -689,7 +680,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -832,7 +822,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -871,7 +860,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -1031,7 +1019,6 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1058,7 +1045,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1118,7 +1104,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1228,7 +1213,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } diff --git a/examples/lighting-app/qpg/zap/light.matter b/examples/lighting-app/qpg/zap/light.matter index daa6c89920aebf..05eea100a2e497 100644 --- a/examples/lighting-app/qpg/zap/light.matter +++ b/examples/lighting-app/qpg/zap/light.matter @@ -38,7 +38,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -65,7 +64,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -159,7 +157,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -218,7 +215,6 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -299,7 +295,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -363,7 +358,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -413,7 +407,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -550,7 +543,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -594,7 +586,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -705,7 +696,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -785,7 +775,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -898,7 +887,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -937,7 +925,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -1097,7 +1084,6 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1124,7 +1110,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1189,7 +1174,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1299,7 +1283,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1338,7 +1321,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UserLabel = 65 { @@ -1349,7 +1331,6 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ColorControl = 768 { @@ -1468,7 +1449,6 @@ server cluster ColorControl = 768 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToHueRequest { INT8U hue = 0; HueDirection direction = 1; diff --git a/examples/lighting-app/silabs/efr32/data_model/lighting-thread-app.matter b/examples/lighting-app/silabs/efr32/data_model/lighting-thread-app.matter index 52be6032a34048..841cad815f6836 100644 --- a/examples/lighting-app/silabs/efr32/data_model/lighting-thread-app.matter +++ b/examples/lighting-app/silabs/efr32/data_model/lighting-thread-app.matter @@ -38,7 +38,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -65,7 +64,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -159,7 +157,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -222,7 +219,6 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -303,7 +299,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -373,7 +368,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -423,7 +417,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -560,7 +553,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -581,7 +573,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -614,7 +605,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -649,7 +639,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -760,7 +749,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -847,7 +835,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -953,7 +940,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -992,7 +978,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -1155,7 +1140,6 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1182,7 +1166,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1247,7 +1230,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1357,7 +1339,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1396,7 +1377,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UserLabel = 65 { @@ -1407,7 +1387,6 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ColorControl = 768 { @@ -1508,7 +1487,6 @@ server cluster ColorControl = 768 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToHueRequest { INT8U hue = 0; HueDirection direction = 1; diff --git a/examples/lighting-app/silabs/efr32/data_model/lighting-wifi-app.matter b/examples/lighting-app/silabs/efr32/data_model/lighting-wifi-app.matter index 39fe0ac8bb407e..be2023d8ad30cd 100644 --- a/examples/lighting-app/silabs/efr32/data_model/lighting-wifi-app.matter +++ b/examples/lighting-app/silabs/efr32/data_model/lighting-wifi-app.matter @@ -38,7 +38,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -65,7 +64,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -159,7 +157,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -222,7 +219,6 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -303,7 +299,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -373,7 +368,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -423,7 +417,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -560,7 +553,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -581,7 +573,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -614,7 +605,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -649,7 +639,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -760,7 +749,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -847,7 +835,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -953,7 +940,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -992,7 +978,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -1065,7 +1050,6 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1092,7 +1076,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1157,7 +1140,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1267,7 +1249,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1306,7 +1287,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UserLabel = 65 { @@ -1317,7 +1297,6 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ColorControl = 768 { @@ -1418,7 +1397,6 @@ server cluster ColorControl = 768 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToHueRequest { INT8U hue = 0; HueDirection direction = 1; diff --git a/examples/lock-app/lock-common/lock-app.matter b/examples/lock-app/lock-common/lock-app.matter index cafe9479ec27bc..1a97263aaa75e4 100644 --- a/examples/lock-app/lock-common/lock-app.matter +++ b/examples/lock-app/lock-common/lock-app.matter @@ -38,7 +38,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -88,7 +87,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -110,7 +108,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -180,7 +177,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -230,7 +226,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -367,7 +362,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -388,7 +382,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -421,7 +414,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster PowerSourceConfiguration = 46 { @@ -432,7 +424,6 @@ server cluster PowerSourceConfiguration = 46 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster PowerSource = 47 { @@ -650,7 +641,6 @@ server cluster PowerSource = 47 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -685,7 +675,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -796,7 +785,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -883,7 +871,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -989,7 +976,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -1028,7 +1014,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -1191,7 +1176,6 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1264,7 +1248,6 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1303,7 +1286,6 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1330,7 +1312,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1395,7 +1376,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1505,7 +1485,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1544,7 +1523,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UserLabel = 65 { @@ -1555,7 +1533,6 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster DoorLock = 257 { @@ -1965,7 +1942,6 @@ server cluster DoorLock = 257 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; } diff --git a/examples/lock-app/nxp/zap/lock-app.matter b/examples/lock-app/nxp/zap/lock-app.matter index 86181f8a214dcb..de2ea9558dcf6a 100644 --- a/examples/lock-app/nxp/zap/lock-app.matter +++ b/examples/lock-app/nxp/zap/lock-app.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -63,7 +62,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -127,7 +125,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -169,7 +166,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -204,7 +200,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -315,7 +310,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -458,7 +452,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -497,7 +490,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -657,7 +649,6 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -684,7 +675,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -744,7 +734,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -854,7 +843,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1275,7 +1263,6 @@ server cluster DoorLock = 257 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; } diff --git a/examples/lock-app/qpg/zap/lock.matter b/examples/lock-app/qpg/zap/lock.matter index cedfff1a001a30..4df43dfede81bf 100644 --- a/examples/lock-app/qpg/zap/lock.matter +++ b/examples/lock-app/qpg/zap/lock.matter @@ -38,7 +38,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -65,7 +64,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -133,7 +131,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -197,7 +194,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -247,7 +243,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -384,7 +379,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -428,7 +422,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -539,7 +532,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -619,7 +611,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -732,7 +723,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -771,7 +761,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -931,7 +920,6 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -958,7 +946,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1023,7 +1010,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1133,7 +1119,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1172,7 +1157,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UserLabel = 65 { @@ -1183,7 +1167,6 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster DoorLock = 257 { @@ -1593,7 +1576,6 @@ server cluster DoorLock = 257 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; } diff --git a/examples/log-source-app/log-source-common/log-source-app.matter b/examples/log-source-app/log-source-common/log-source-app.matter index 879a691e902f91..d96b7093dc2c63 100644 --- a/examples/log-source-app/log-source-common/log-source-app.matter +++ b/examples/log-source-app/log-source-common/log-source-app.matter @@ -68,7 +68,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -101,7 +100,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -199,7 +197,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -315,7 +312,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -371,7 +367,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } diff --git a/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter b/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter index 06ac40ed7149af..7e68b4e6097d4f 100644 --- a/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter +++ b/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter @@ -22,7 +22,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster AccessControl = 31 { @@ -162,7 +161,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -212,7 +210,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster OtaSoftwareUpdateProvider = 41 { @@ -243,7 +240,6 @@ server cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -295,7 +291,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -328,7 +323,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -363,7 +357,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -474,7 +467,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -630,7 +622,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -662,7 +653,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -727,7 +717,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -837,7 +826,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -876,7 +864,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UserLabel = 65 { @@ -887,7 +874,6 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter index 2c647d12c85299..2261128e0f1fd5 100644 --- a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter +++ b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter @@ -38,7 +38,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -65,7 +64,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -159,7 +157,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -195,7 +192,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -265,7 +261,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -315,7 +310,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -452,7 +446,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -473,7 +466,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -506,7 +498,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -541,7 +532,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -652,7 +642,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -808,7 +797,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -840,7 +828,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -905,7 +892,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1015,7 +1001,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1054,7 +1039,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UserLabel = 65 { @@ -1065,7 +1049,6 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/placeholder/linux/apps/app1/config.matter b/examples/placeholder/linux/apps/app1/config.matter index b69c408a0c3373..7ee372b2e6aae5 100644 --- a/examples/placeholder/linux/apps/app1/config.matter +++ b/examples/placeholder/linux/apps/app1/config.matter @@ -38,7 +38,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -65,7 +64,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -148,7 +146,6 @@ server cluster Scenes = 5 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddSceneRequest { group_id groupID = 0; INT8U sceneID = 1; @@ -338,7 +335,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -392,7 +388,6 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -473,7 +468,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -537,7 +531,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Actions = 37 { @@ -622,7 +615,6 @@ server cluster Actions = 37 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -672,7 +664,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster LocalizationConfiguration = 43 { @@ -696,7 +687,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -729,7 +719,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster UnitLocalization = 45 { @@ -771,7 +760,6 @@ server cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster PowerSourceConfiguration = 46 { @@ -782,7 +770,6 @@ server cluster PowerSourceConfiguration = 46 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster PowerSource = 47 { @@ -1023,7 +1010,6 @@ server cluster PowerSource = 47 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster GeneralCommissioning = 48 { @@ -1107,7 +1093,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -1218,7 +1203,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -1374,7 +1358,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -1413,7 +1396,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -1486,7 +1468,6 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1525,7 +1506,6 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1628,7 +1608,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -1654,7 +1633,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1802,7 +1780,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1890,7 +1867,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UserLabel = 65 { @@ -1901,7 +1877,6 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BooleanState = 69 { @@ -1916,7 +1891,6 @@ server cluster BooleanState = 69 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster ModeSelect = 80 { @@ -1984,7 +1958,6 @@ server cluster ModeSelect = 80 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ChangeToModeRequest { INT8U newMode = 0; } @@ -2106,7 +2079,6 @@ server cluster WindowCovering = 258 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct GoToLiftValueRequest { INT16U liftValue = 0; } @@ -2251,7 +2223,6 @@ server cluster PumpConfigurationAndControl = 512 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Thermostat = 513 { @@ -2341,7 +2312,6 @@ server cluster Thermostat = 513 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster ThermostatUserInterfaceConfiguration = 516 { @@ -2367,7 +2337,6 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ColorControl = 768 { @@ -2452,7 +2421,6 @@ server cluster ColorControl = 768 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToColorRequest { INT16U colorX = 0; INT16U colorY = 1; @@ -2498,7 +2466,6 @@ server cluster IlluminanceMeasurement = 1024 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster TemperatureMeasurement = 1026 { @@ -2526,7 +2493,6 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster PressureMeasurement = 1027 { @@ -2549,7 +2515,6 @@ server cluster PressureMeasurement = 1027 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster FlowMeasurement = 1028 { @@ -2563,7 +2528,6 @@ server cluster FlowMeasurement = 1028 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster RelativeHumidityMeasurement = 1029 { @@ -2591,7 +2555,6 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster OccupancySensing = 1030 { @@ -2630,7 +2593,6 @@ server cluster OccupancySensing = 1030 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster TargetNavigator = 1285 { @@ -2689,7 +2651,6 @@ server cluster TargetNavigator = 1285 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct NavigateTargetRequest { INT8U target = 0; optional CHAR_STRING data = 1; @@ -2933,7 +2894,6 @@ server cluster KeypadInput = 1289 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SendKeyRequest { CecKeyCode keyCode = 0; } @@ -3135,7 +3095,6 @@ server cluster ContentLauncher = 1290 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct LaunchContentRequest { ContentSearchStruct search = 0; BOOLEAN autoPlay = 1; @@ -3214,7 +3173,6 @@ server cluster ApplicationBasic = 1293 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/placeholder/linux/apps/app2/config.matter b/examples/placeholder/linux/apps/app2/config.matter index e8da3607812c5a..ec22224fc6694a 100644 --- a/examples/placeholder/linux/apps/app2/config.matter +++ b/examples/placeholder/linux/apps/app2/config.matter @@ -38,7 +38,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -65,7 +64,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -148,7 +146,6 @@ server cluster Scenes = 5 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddSceneRequest { group_id groupID = 0; INT8U sceneID = 1; @@ -338,7 +335,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -392,7 +388,6 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -473,7 +468,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -537,7 +531,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Actions = 37 { @@ -622,7 +615,6 @@ server cluster Actions = 37 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -672,7 +664,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster LocalizationConfiguration = 43 { @@ -684,7 +675,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -717,7 +707,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UnitLocalization = 45 { @@ -738,7 +727,6 @@ server cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster PowerSourceConfiguration = 46 { @@ -749,7 +737,6 @@ server cluster PowerSourceConfiguration = 46 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster PowerSource = 47 { @@ -990,7 +977,6 @@ server cluster PowerSource = 47 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster GeneralCommissioning = 48 { @@ -1074,7 +1060,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -1185,7 +1170,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -1341,7 +1325,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -1380,7 +1363,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -1453,7 +1435,6 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1492,7 +1473,6 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1595,7 +1575,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -1621,7 +1600,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1769,7 +1747,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1857,7 +1834,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UserLabel = 65 { @@ -1868,7 +1844,6 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BooleanState = 69 { @@ -1883,7 +1858,6 @@ server cluster BooleanState = 69 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster ModeSelect = 80 { @@ -1951,7 +1925,6 @@ server cluster ModeSelect = 80 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ChangeToModeRequest { INT8U newMode = 0; } @@ -2073,7 +2046,6 @@ server cluster WindowCovering = 258 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct GoToLiftValueRequest { INT16U liftValue = 0; } @@ -2218,7 +2190,6 @@ server cluster PumpConfigurationAndControl = 512 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Thermostat = 513 { @@ -2308,7 +2279,6 @@ server cluster Thermostat = 513 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster ThermostatUserInterfaceConfiguration = 516 { @@ -2334,7 +2304,6 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ColorControl = 768 { @@ -2419,7 +2388,6 @@ server cluster ColorControl = 768 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToColorRequest { INT16U colorX = 0; INT16U colorY = 1; @@ -2465,7 +2433,6 @@ server cluster IlluminanceMeasurement = 1024 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster TemperatureMeasurement = 1026 { @@ -2493,7 +2460,6 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster PressureMeasurement = 1027 { @@ -2516,7 +2482,6 @@ server cluster PressureMeasurement = 1027 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster FlowMeasurement = 1028 { @@ -2530,7 +2495,6 @@ server cluster FlowMeasurement = 1028 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster RelativeHumidityMeasurement = 1029 { @@ -2558,7 +2522,6 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster OccupancySensing = 1030 { @@ -2597,7 +2560,6 @@ server cluster OccupancySensing = 1030 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster TargetNavigator = 1285 { @@ -2656,7 +2618,6 @@ server cluster TargetNavigator = 1285 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct NavigateTargetRequest { INT8U target = 0; optional CHAR_STRING data = 1; @@ -2900,7 +2861,6 @@ server cluster KeypadInput = 1289 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SendKeyRequest { CecKeyCode keyCode = 0; } @@ -3102,7 +3062,6 @@ server cluster ContentLauncher = 1290 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct LaunchContentRequest { ContentSearchStruct search = 0; BOOLEAN autoPlay = 1; @@ -3181,7 +3140,6 @@ server cluster ApplicationBasic = 1293 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/pump-app/pump-common/pump-app.matter b/examples/pump-app/pump-common/pump-app.matter index f0d2962c44c418..3e084ab60f3594 100644 --- a/examples/pump-app/pump-common/pump-app.matter +++ b/examples/pump-app/pump-common/pump-app.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -79,7 +78,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -119,7 +117,6 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -200,7 +197,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Binding = 30 { @@ -219,7 +215,6 @@ server cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -289,7 +284,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -336,7 +330,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -473,7 +466,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -517,7 +509,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -628,7 +619,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -771,7 +761,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -893,7 +882,6 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -920,7 +908,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -985,7 +972,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1095,7 +1081,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1245,7 +1230,6 @@ server cluster PumpConfigurationAndControl = 512 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TemperatureMeasurement = 1026 { @@ -1259,7 +1243,6 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster PressureMeasurement = 1027 { @@ -1282,7 +1265,6 @@ server cluster PressureMeasurement = 1027 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster FlowMeasurement = 1028 { @@ -1296,7 +1278,6 @@ server cluster FlowMeasurement = 1028 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OccupancySensing = 1030 { diff --git a/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter b/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter index bc8a254dbb076d..89992df8a7f417 100644 --- a/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter +++ b/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter @@ -33,7 +33,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -105,7 +104,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Binding = 30 { @@ -124,7 +122,6 @@ server cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -194,7 +191,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -241,7 +237,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -378,7 +373,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -422,7 +416,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -533,7 +526,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -676,7 +668,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -798,7 +789,6 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -825,7 +815,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -890,7 +879,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1000,7 +988,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } diff --git a/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter b/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter index f62bf474335e20..231209600fca32 100644 --- a/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter +++ b/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter @@ -22,7 +22,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -92,7 +91,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -142,7 +140,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster LocalizationConfiguration = 43 { @@ -154,7 +151,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -187,7 +183,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UnitLocalization = 45 { @@ -208,7 +203,6 @@ server cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -243,7 +237,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -354,7 +347,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -435,7 +427,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -541,7 +532,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -568,7 +558,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster WiFiNetworkDiagnostics = 54 { @@ -639,7 +628,6 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster EthernetNetworkDiagnostics = 55 { @@ -677,7 +665,6 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -704,7 +691,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -769,7 +755,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -879,7 +864,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -918,7 +902,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UserLabel = 65 { @@ -929,7 +912,6 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TemperatureMeasurement = 1026 { @@ -942,7 +924,6 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/thermostat/thermostat-common/thermostat.matter b/examples/thermostat/thermostat-common/thermostat.matter index ce4a28343505bc..cf1205b89e1016 100644 --- a/examples/thermostat/thermostat-common/thermostat.matter +++ b/examples/thermostat/thermostat-common/thermostat.matter @@ -78,7 +78,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -105,7 +104,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -188,7 +186,6 @@ server cluster Scenes = 5 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddSceneRequest { group_id groupID = 0; INT8U sceneID = 1; @@ -290,7 +287,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Binding = 30 { @@ -309,7 +305,6 @@ server cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -379,7 +374,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -429,7 +423,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -566,7 +559,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -587,7 +579,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -620,7 +611,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UnitLocalization = 45 { @@ -641,7 +631,6 @@ server cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -676,7 +665,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -787,7 +775,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -874,7 +861,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -980,7 +966,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -1018,7 +1003,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ThreadNetworkDiagnostics = 53 { @@ -1180,7 +1164,6 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1252,7 +1235,6 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster EthernetNetworkDiagnostics = 55 { @@ -1289,7 +1271,6 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -1315,7 +1296,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1380,7 +1360,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1490,7 +1469,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1529,7 +1507,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UserLabel = 65 { @@ -1540,7 +1517,6 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Thermostat = 513 { @@ -1629,7 +1605,6 @@ server cluster Thermostat = 513 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; INT8S amount = 1; @@ -1647,7 +1622,6 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/tv-app/tv-common/tv-app.matter b/examples/tv-app/tv-common/tv-app.matter index 3be0b68c9f2b23..1093d56c25d53e 100644 --- a/examples/tv-app/tv-common/tv-app.matter +++ b/examples/tv-app/tv-common/tv-app.matter @@ -49,7 +49,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -98,7 +97,6 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -179,7 +177,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Binding = 30 { @@ -217,7 +214,6 @@ server cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -287,7 +283,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -337,7 +332,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster OtaSoftwareUpdateProvider = 41 { @@ -368,7 +362,6 @@ server cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -420,7 +413,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -453,7 +445,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UnitLocalization = 45 { @@ -474,7 +465,6 @@ server cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster GeneralCommissioning = 48 { @@ -573,7 +563,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -823,7 +812,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -910,7 +898,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -1016,7 +1003,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -1054,7 +1040,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ThreadNetworkDiagnostics = 53 { @@ -1215,7 +1200,6 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster WiFiNetworkDiagnostics = 54 { @@ -1286,7 +1270,6 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster EthernetNetworkDiagnostics = 55 { @@ -1324,7 +1307,6 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1351,7 +1333,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1526,7 +1507,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1636,7 +1616,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1675,7 +1654,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UserLabel = 65 { @@ -1686,7 +1664,6 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster RelativeHumidityMeasurement = 1029 { @@ -1699,7 +1676,6 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster WakeOnLan = 1283 { @@ -1710,7 +1686,6 @@ server cluster WakeOnLan = 1283 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Channel = 1284 { @@ -1754,7 +1729,6 @@ server cluster Channel = 1284 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ChangeChannelRequest { CHAR_STRING match = 0; } @@ -1799,7 +1773,6 @@ server cluster TargetNavigator = 1285 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct NavigateTargetRequest { INT8U target = 0; optional CHAR_STRING data = 1; @@ -1854,7 +1827,6 @@ server cluster MediaPlayback = 1286 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SkipForwardRequest { INT64U deltaPositionMilliseconds = 0; } @@ -1921,7 +1893,6 @@ server cluster MediaInput = 1287 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SelectInputRequest { INT8U index = 0; } @@ -1945,7 +1916,6 @@ server cluster LowPower = 1288 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Sleep(): DefaultSuccess = 0; } @@ -2058,7 +2028,6 @@ server cluster KeypadInput = 1289 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SendKeyRequest { CecKeyCode keyCode = 0; } @@ -2154,7 +2123,6 @@ server cluster ContentLauncher = 1290 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct LaunchContentRequest { ContentSearchStruct search = 0; BOOLEAN autoPlay = 1; @@ -2205,7 +2173,6 @@ server cluster AudioOutput = 1291 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SelectOutputRequest { INT8U index = 0; } @@ -2244,7 +2211,6 @@ server cluster ApplicationLauncher = 1292 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct LaunchAppRequest { optional ApplicationStruct application = 0; optional OCTET_STRING data = 1; @@ -2290,7 +2256,6 @@ server cluster ApplicationBasic = 1293 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccountLogin = 1294 { @@ -2301,7 +2266,6 @@ server cluster AccountLogin = 1294 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct GetSetupPINRequest { CHAR_STRING<100> tempAccountIdentifier = 0; } diff --git a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter index 6124dbdd57b71a..7e72a47d308342 100644 --- a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter +++ b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter @@ -38,7 +38,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -59,7 +58,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -142,7 +140,6 @@ server cluster Scenes = 5 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddSceneRequest { group_id groupID = 0; INT8U sceneID = 1; @@ -318,7 +315,6 @@ server cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -475,7 +471,6 @@ server cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -550,7 +545,6 @@ server cluster BinaryInputBasic = 15 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Descriptor = 29 { @@ -588,7 +582,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Binding = 30 { @@ -607,7 +600,6 @@ server cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -677,7 +669,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -727,7 +718,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster OtaSoftwareUpdateProvider = 41 { @@ -758,7 +748,6 @@ server cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -810,7 +799,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -843,7 +831,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UnitLocalization = 45 { @@ -864,7 +851,6 @@ server cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -899,7 +885,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -1010,7 +995,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -1097,7 +1081,6 @@ server cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -1203,7 +1186,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -1241,7 +1223,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ThreadNetworkDiagnostics = 53 { @@ -1402,7 +1383,6 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster WiFiNetworkDiagnostics = 54 { @@ -1473,7 +1453,6 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster EthernetNetworkDiagnostics = 55 { @@ -1511,7 +1490,6 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1562,7 +1540,6 @@ server cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -1588,7 +1565,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1653,7 +1629,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1763,7 +1738,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1794,7 +1768,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UserLabel = 65 { @@ -1805,7 +1778,6 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BarrierControl = 259 { @@ -1820,7 +1792,6 @@ server cluster BarrierControl = 259 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct BarrierControlGoToPercentRequest { INT8U percentOpen = 0; } @@ -1837,7 +1808,6 @@ server cluster WakeOnLan = 1283 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Channel = 1284 { diff --git a/examples/window-app/common/window-app.matter b/examples/window-app/common/window-app.matter index 7bcfefd9141aca..fa36c2f3b54748 100644 --- a/examples/window-app/common/window-app.matter +++ b/examples/window-app/common/window-app.matter @@ -38,7 +38,6 @@ server cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -65,7 +64,6 @@ server cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -148,7 +146,6 @@ server cluster Scenes = 5 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddSceneRequest { group_id groupID = 0; INT8U sceneID = 1; @@ -250,7 +247,6 @@ server cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -320,7 +316,6 @@ server cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster BasicInformation = 40 { @@ -370,7 +365,6 @@ server cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -507,7 +501,6 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -528,7 +521,6 @@ server cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TimeFormatLocalization = 44 { @@ -561,7 +553,6 @@ server cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UnitLocalization = 45 { @@ -581,7 +572,6 @@ server cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster PowerSource = 47 { @@ -800,7 +790,6 @@ server cluster PowerSource = 47 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster GeneralCommissioning = 48 { @@ -835,7 +824,6 @@ server cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -946,7 +934,6 @@ server cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -1102,7 +1089,6 @@ server cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -1141,7 +1127,6 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -1304,7 +1289,6 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1376,7 +1360,6 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster EthernetNetworkDiagnostics = 55 { @@ -1413,7 +1396,6 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AdministratorCommissioning = 60 { @@ -1439,7 +1421,6 @@ server cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -1504,7 +1485,6 @@ server cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1614,7 +1594,6 @@ server cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -1653,7 +1632,6 @@ server cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UserLabel = 65 { @@ -1664,7 +1642,6 @@ server cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster WindowCovering = 258 { @@ -1785,7 +1762,6 @@ server cluster WindowCovering = 258 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct GoToLiftValueRequest { INT16U liftValue = 0; } diff --git a/src/app/zap-templates/templates/app/MatterIDL.zapt b/src/app/zap-templates/templates/app/MatterIDL.zapt index b340776988ca3f..49104eb5eaa8cd 100644 --- a/src/app/zap-templates/templates/app/MatterIDL.zapt +++ b/src/app/zap-templates/templates/app/MatterIDL.zapt @@ -63,7 +63,7 @@ readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - {{/if}} + {{~/if}} {{!--Open:Generating command request structs for all incoming commands into server side--~}} {{#if (is_server side)}} From 5ae19a47d5639c17398dd2eb261ca13ad754f2bb Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Thu, 23 Mar 2023 10:31:09 -0400 Subject: [PATCH 09/13] Adjust whitespace a bit more --- .../all-clusters-app.matter | 132 +- .../all-clusters-minimal-app.matter | 119 +- .../bridge-common/bridge-app.matter | 50 +- ...p_rootnode_dimmablelight_bCwGYSDpoe.matter | 47 +- ...de_colortemperaturelight_hbUnzYVeyn.matter | 35 +- .../rootnode_contactsensor_lFAGG1bfRO.matter | 40 +- .../rootnode_dimmablelight_bCwGYSDpoe.matter | 43 +- .../rootnode_doorlock_aNKYAreMXE.matter | 40 +- ...tnode_extendedcolorlight_8lcaaYJVAa.matter | 44 +- .../devices/rootnode_fan_7N2TobIlOX.matter | 39 +- .../rootnode_flowsensor_1zVxHedlaV.matter | 41 +- ...tnode_heatingcoolingunit_ncdGai1E5a.matter | 45 +- .../rootnode_humiditysensor_Xyj4gda6Hb.matter | 41 +- .../rootnode_lightsensor_lZQycTFcJK.matter | 41 +- ...rootnode_occupancysensor_iHyVgifZuo.matter | 41 +- .../rootnode_onofflight_bbs1b7IaOV.matter | 42 +- ...ootnode_onofflightswitch_FsPlMr090Q.matter | 41 +- ...rootnode_onoffpluginunit_Wtf8ss5EBY.matter | 40 +- .../rootnode_pressuresensor_s0qC9wLH4k.matter | 43 +- .../rootnode_speaker_RpzeXdimqA.matter | 42 +- ...otnode_temperaturesensor_Qy1zkNW7c3.matter | 41 +- .../rootnode_thermostat_bm3fb8dhYi.matter | 46 +- .../rootnode_windowcovering_RLCxaGi9Yx.matter | 40 +- .../contact-sensor-app.matter | 47 +- .../bridge-common/bridge-app.matter | 50 +- .../light-switch-app.matter | 51 +- .../lighting-common/lighting-app.matter | 53 +- .../nxp/zap/lighting-on-off.matter | 33 +- examples/lighting-app/qpg/zap/light.matter | 41 +- .../data_model/lighting-thread-app.matter | 45 +- .../efr32/data_model/lighting-wifi-app.matter | 45 +- examples/lock-app/lock-common/lock-app.matter | 49 +- examples/lock-app/nxp/zap/lock-app.matter | 26 +- examples/lock-app/qpg/zap/lock.matter | 37 +- .../log-source-common/log-source-app.matter | 11 +- .../ota-provider-app.matter | 29 +- .../ota-requestor-app.matter | 35 +- .../placeholder/linux/apps/app1/config.matter | 99 +- .../placeholder/linux/apps/app2/config.matter | 97 +- examples/pump-app/pump-common/pump-app.matter | 40 +- .../pump-controller-app.matter | 32 +- .../temperature-measurement.matter | 38 +- .../thermostat-common/thermostat.matter | 54 +- examples/tv-app/tv-common/tv-app.matter | 76 +- .../tv-casting-common/tv-casting-app.matter | 73 +- examples/window-app/common/window-app.matter | 49 +- .../templates/app/MatterIDL.zapt | 6 +- .../data_model/controller-clusters.matter | 66 - .../chip/devicecontroller/ChipClusters.java | 46915 ++++++++-------- .../devicecontroller/ChipEventStructs.java | 2734 +- .../chip/devicecontroller/ChipIdLookup.java | 12 +- .../chip/devicecontroller/ChipStructs.java | 4460 +- .../devicecontroller/ClusterInfoMapping.java | 32608 +++++------ .../devicecontroller/ClusterReadMapping.java | 30933 +++++----- 54 files changed, 56693 insertions(+), 63284 deletions(-) diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter index 763c517e3a1c1c..91f22dc590ef05 100644 --- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter +++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -62,7 +62,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -144,7 +144,7 @@ server cluster Scenes = 5 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddSceneRequest { group_id groupID = 0; @@ -273,7 +273,6 @@ client cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -319,7 +318,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; @@ -348,7 +347,7 @@ server cluster OnOffSwitchConfiguration = 7 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster LevelControl = 8 { @@ -392,7 +391,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -467,7 +466,7 @@ server cluster BinaryInputBasic = 15 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Descriptor = 29 { @@ -485,7 +484,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Binding = 30 { @@ -503,7 +502,7 @@ server cluster Binding = 30 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -572,7 +571,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Actions = 37 { @@ -656,7 +655,7 @@ server cluster Actions = 37 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -705,7 +704,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -736,7 +735,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -829,7 +827,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -850,7 +848,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -882,7 +880,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UnitLocalization = 45 { @@ -902,7 +900,7 @@ server cluster UnitLocalization = 45 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PowerSourceConfiguration = 46 { @@ -912,7 +910,7 @@ server cluster PowerSourceConfiguration = 46 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PowerSource = 47 { @@ -1127,7 +1125,7 @@ server cluster PowerSource = 47 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -1160,7 +1158,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -1270,7 +1268,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -1356,7 +1354,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -1461,7 +1459,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -1499,7 +1497,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1661,7 +1659,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1733,7 +1731,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1771,7 +1769,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1823,7 +1821,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1847,7 +1845,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1911,7 +1909,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -2020,7 +2018,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -2059,7 +2057,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -2069,7 +2067,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BooleanState = 69 { @@ -2083,7 +2081,7 @@ server cluster BooleanState = 69 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ModeSelect = 80 { @@ -2114,7 +2112,7 @@ server cluster ModeSelect = 80 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { INT8U newMode = 0; @@ -2533,7 +2531,7 @@ server cluster DoorLock = 257 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; @@ -2774,7 +2772,7 @@ server cluster WindowCovering = 258 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct GoToLiftValueRequest { INT16U liftValue = 0; @@ -2811,7 +2809,7 @@ server cluster BarrierControl = 259 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct BarrierControlGoToPercentRequest { INT8U percentOpen = 0; @@ -2939,7 +2937,7 @@ server cluster PumpConfigurationAndControl = 512 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Thermostat = 513 { @@ -3026,7 +3024,7 @@ server cluster Thermostat = 513 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; @@ -3095,7 +3093,7 @@ server cluster FanControl = 514 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ThermostatUserInterfaceConfiguration = 516 { @@ -3107,7 +3105,7 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ColorControl = 768 { @@ -3237,7 +3235,7 @@ server cluster ColorControl = 768 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { INT8U hue = 0; @@ -3428,7 +3426,7 @@ server cluster BallastConfiguration = 769 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster IlluminanceMeasurement = 1024 { @@ -3447,7 +3445,7 @@ server cluster IlluminanceMeasurement = 1024 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TemperatureMeasurement = 1026 { @@ -3460,7 +3458,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PressureMeasurement = 1027 { @@ -3476,7 +3474,7 @@ server cluster PressureMeasurement = 1027 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster FlowMeasurement = 1028 { @@ -3489,7 +3487,7 @@ server cluster FlowMeasurement = 1028 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster RelativeHumidityMeasurement = 1029 { @@ -3502,7 +3500,7 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster OccupancySensing = 1030 { @@ -3531,7 +3529,7 @@ server cluster OccupancySensing = 1030 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster WakeOnLan = 1283 { @@ -3541,7 +3539,7 @@ server cluster WakeOnLan = 1283 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Channel = 1284 { @@ -3574,7 +3572,7 @@ server cluster Channel = 1284 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TargetNavigator = 1285 { @@ -3596,7 +3594,7 @@ server cluster TargetNavigator = 1285 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct NavigateTargetRequest { INT8U target = 0; @@ -3644,7 +3642,7 @@ server cluster MediaPlayback = 1286 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster MediaInput = 1287 { @@ -3681,7 +3679,7 @@ server cluster MediaInput = 1287 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SelectInputRequest { INT8U index = 0; @@ -3704,7 +3702,7 @@ server cluster LowPower = 1288 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Sleep(): DefaultSuccess = 0; } @@ -3816,7 +3814,7 @@ server cluster KeypadInput = 1289 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SendKeyRequest { CecKeyCode keyCode = 0; @@ -3911,7 +3909,7 @@ server cluster ContentLauncher = 1290 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AudioOutput = 1291 { @@ -3941,7 +3939,7 @@ server cluster AudioOutput = 1291 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ApplicationLauncher = 1292 { @@ -3966,7 +3964,7 @@ server cluster ApplicationLauncher = 1292 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ApplicationBasic = 1293 { @@ -3989,7 +3987,7 @@ server cluster ApplicationBasic = 1293 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccountLogin = 1294 { @@ -3998,7 +3996,7 @@ server cluster AccountLogin = 1294 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ElectricalMeasurement = 2820 { @@ -4018,7 +4016,7 @@ server cluster ElectricalMeasurement = 2820 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ClientMonitoring = 4166 { @@ -4037,7 +4035,7 @@ server cluster ClientMonitoring = 4166 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RegisterClientMonitoringRequest { node_id clientNodeId = 0; @@ -4252,7 +4250,7 @@ server cluster UnitTesting = 4294048773 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestAddArgumentsRequest { INT8U arg1 = 0; @@ -4384,7 +4382,7 @@ server cluster FaultInjection = 4294048774 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct FailAtFaultRequest { FaultType type = 0; diff --git a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter index 18cecf99b17930..b73ca47c6a00df 100644 --- a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter +++ b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter @@ -41,7 +41,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -61,7 +61,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -143,7 +143,7 @@ server cluster Scenes = 5 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddSceneRequest { group_id groupID = 0; @@ -266,7 +266,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -303,7 +303,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -384,7 +384,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Binding = 30 { @@ -402,7 +402,7 @@ server cluster Binding = 30 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -465,7 +465,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Actions = 37 { @@ -548,7 +548,7 @@ server cluster Actions = 37 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -589,7 +589,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -620,7 +620,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -713,7 +712,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -734,7 +733,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -764,7 +763,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UnitLocalization = 45 { @@ -783,7 +782,7 @@ server cluster UnitLocalization = 45 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PowerSourceConfiguration = 46 { @@ -793,7 +792,7 @@ server cluster PowerSourceConfiguration = 46 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PowerSource = 47 { @@ -1005,7 +1004,7 @@ server cluster PowerSource = 47 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -1038,7 +1037,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -1148,7 +1147,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -1234,7 +1233,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -1333,7 +1332,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -1359,7 +1358,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ThreadNetworkDiagnostics = 53 { @@ -1473,7 +1472,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster WiFiNetworkDiagnostics = 54 { @@ -1535,7 +1534,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster EthernetNetworkDiagnostics = 55 { @@ -1571,7 +1570,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1622,7 +1621,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1646,7 +1645,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1705,7 +1704,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1814,7 +1813,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1853,7 +1852,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1863,7 +1862,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BooleanState = 69 { @@ -1877,7 +1876,7 @@ server cluster BooleanState = 69 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ModeSelect = 80 { @@ -1905,7 +1904,7 @@ server cluster ModeSelect = 80 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { INT8U newMode = 0; @@ -2299,7 +2298,7 @@ server cluster DoorLock = 257 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; @@ -2412,7 +2411,7 @@ server cluster WindowCovering = 258 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command UpOrOpen(): DefaultSuccess = 0; command DownOrClose(): DefaultSuccess = 1; @@ -2523,7 +2522,7 @@ server cluster PumpConfigurationAndControl = 512 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Thermostat = 513 { @@ -2600,7 +2599,7 @@ server cluster Thermostat = 513 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; @@ -2662,7 +2661,7 @@ server cluster FanControl = 514 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ThermostatUserInterfaceConfiguration = 516 { @@ -2673,7 +2672,7 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ColorControl = 768 { @@ -2756,7 +2755,7 @@ server cluster ColorControl = 768 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BallastConfiguration = 769 { @@ -2770,7 +2769,7 @@ server cluster BallastConfiguration = 769 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster IlluminanceMeasurement = 1024 { @@ -2787,7 +2786,7 @@ server cluster IlluminanceMeasurement = 1024 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TemperatureMeasurement = 1026 { @@ -2799,7 +2798,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PressureMeasurement = 1027 { @@ -2815,7 +2814,7 @@ server cluster PressureMeasurement = 1027 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster FlowMeasurement = 1028 { @@ -2827,7 +2826,7 @@ server cluster FlowMeasurement = 1028 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster RelativeHumidityMeasurement = 1029 { @@ -2839,7 +2838,7 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster OccupancySensing = 1030 { @@ -2868,7 +2867,7 @@ server cluster OccupancySensing = 1030 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster WakeOnLan = 1283 { @@ -2877,7 +2876,7 @@ server cluster WakeOnLan = 1283 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Channel = 1284 { @@ -2901,7 +2900,7 @@ server cluster Channel = 1284 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ChangeChannelByNumberRequest { INT16U majorNumber = 0; @@ -2934,7 +2933,7 @@ server cluster TargetNavigator = 1285 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct NavigateTargetRequest { INT8U target = 0; @@ -2977,7 +2976,7 @@ server cluster MediaPlayback = 1286 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; response struct PlaybackResponse = 10 { MediaPlaybackStatusEnum status = 0; @@ -3023,7 +3022,7 @@ server cluster MediaInput = 1287 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SelectInputRequest { INT8U index = 0; @@ -3040,7 +3039,7 @@ server cluster LowPower = 1288 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Sleep(): DefaultSuccess = 0; } @@ -3152,7 +3151,7 @@ server cluster KeypadInput = 1289 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SendKeyRequest { CecKeyCode keyCode = 0; @@ -3245,7 +3244,7 @@ server cluster ContentLauncher = 1290 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AudioOutput = 1291 { @@ -3275,7 +3274,7 @@ server cluster AudioOutput = 1291 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SelectOutputRequest { INT8U index = 0; @@ -3300,7 +3299,7 @@ server cluster ApplicationLauncher = 1292 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct LaunchAppRequest { optional ApplicationStruct application = 0; @@ -3343,7 +3342,7 @@ server cluster ApplicationBasic = 1293 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccountLogin = 1294 { @@ -3352,7 +3351,7 @@ server cluster AccountLogin = 1294 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct GetSetupPINRequest { CHAR_STRING<100> tempAccountIdentifier = 0; @@ -3570,7 +3569,7 @@ server cluster UnitTesting = 4294048773 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestAddArgumentsRequest { INT8U arg1 = 0; diff --git a/examples/bridge-app/bridge-common/bridge-app.matter b/examples/bridge-app/bridge-common/bridge-app.matter index ddde0f0d687dcf..be2da692a615e1 100644 --- a/examples/bridge-app/bridge-common/bridge-app.matter +++ b/examples/bridge-app/bridge-common/bridge-app.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -82,7 +82,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -130,7 +130,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -211,7 +211,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -230,7 +230,6 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster AccessControl = 31 { @@ -300,7 +299,6 @@ client cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -369,7 +367,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Actions = 37 { @@ -453,7 +451,7 @@ server cluster Actions = 37 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct InstantActionRequest { INT16U actionID = 0; @@ -509,7 +507,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster LocalizationConfiguration = 43 { @@ -520,7 +518,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -552,7 +550,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UnitLocalization = 45 { @@ -572,7 +570,7 @@ server cluster UnitLocalization = 45 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -605,7 +603,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -715,7 +713,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -801,7 +799,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -906,7 +904,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -944,7 +942,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ThreadNetworkDiagnostics = 53 { @@ -1104,7 +1102,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster WiFiNetworkDiagnostics = 54 { @@ -1174,7 +1172,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster EthernetNetworkDiagnostics = 55 { @@ -1210,7 +1208,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1262,7 +1260,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1286,7 +1284,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1350,7 +1348,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1459,7 +1457,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1503,7 +1501,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TemperatureMeasurement = 1026 { @@ -1515,7 +1513,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter index b70b270bb30ab4..e5244e64e7aa46 100644 --- a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter +++ b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -144,7 +144,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -185,7 +185,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -266,7 +266,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -285,7 +285,6 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -351,7 +350,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -394,7 +393,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -425,7 +424,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -529,7 +527,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -549,7 +547,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -581,7 +579,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -613,7 +611,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -671,7 +669,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -776,7 +774,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -814,7 +812,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -976,7 +974,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1048,7 +1046,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1086,7 +1084,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1135,7 +1133,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1159,7 +1157,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1223,7 +1221,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1332,7 +1330,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1376,7 +1374,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OccupancySensing = 1030 { @@ -1415,7 +1413,6 @@ client cluster OccupancySensing = 1030 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter index 20f31fd5d0fcd4..c54d7b236c9594 100644 --- a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter +++ b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -57,7 +57,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -150,7 +150,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; @@ -203,7 +203,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -284,7 +284,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -353,7 +353,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -402,7 +402,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -433,7 +433,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -537,7 +536,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -580,7 +579,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -690,7 +689,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -776,7 +775,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -881,7 +880,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -919,7 +918,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -945,7 +944,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1009,7 +1008,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1118,7 +1117,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1255,7 +1254,7 @@ server cluster ColorControl = 768 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { INT8U hue = 0; diff --git a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter index 724a8d05d22e19..e1e1b169f6a0b6 100644 --- a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter +++ b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -119,7 +119,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -138,7 +138,6 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -204,7 +203,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -247,7 +246,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -278,7 +277,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -382,7 +380,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -402,7 +400,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -434,7 +432,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -466,7 +464,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -576,7 +574,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -662,7 +660,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -767,7 +765,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -805,7 +803,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -854,7 +852,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -878,7 +876,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -942,7 +940,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1051,7 +1049,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1095,7 +1093,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BooleanState = 69 { @@ -1109,7 +1107,7 @@ server cluster BooleanState = 69 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter index 44ce20a0e152bc..d713c78b0ab48e 100644 --- a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter +++ b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -144,7 +144,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -185,7 +185,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -266,7 +266,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -285,7 +285,6 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -351,7 +350,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -394,7 +393,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -425,7 +424,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -529,7 +527,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -549,7 +547,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -581,7 +579,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -613,7 +611,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -723,7 +721,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -809,7 +807,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -914,7 +912,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -952,7 +950,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1001,7 +999,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1025,7 +1023,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1089,7 +1087,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1198,7 +1196,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1242,7 +1240,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OccupancySensing = 1030 { @@ -1281,7 +1279,6 @@ client cluster OccupancySensing = 1030 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter index e1c06027bae0d1..05d2b8c38b4e00 100644 --- a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter +++ b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -119,7 +119,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -138,7 +138,6 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -204,7 +203,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -247,7 +246,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -278,7 +277,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -382,7 +380,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -402,7 +400,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -434,7 +432,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -466,7 +464,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -576,7 +574,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -662,7 +660,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -767,7 +765,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -805,7 +803,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -854,7 +852,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -878,7 +876,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -942,7 +940,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1051,7 +1049,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1095,7 +1093,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster DoorLock = 257 { @@ -1492,7 +1490,7 @@ server cluster DoorLock = 257 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; diff --git a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter index 690fe7764e97bb..a28778ec63357e 100644 --- a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter +++ b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -144,7 +144,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -185,7 +185,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -266,7 +266,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -285,7 +285,6 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -351,7 +350,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -394,7 +393,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -425,7 +424,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -529,7 +527,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -549,7 +547,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -581,7 +579,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -613,7 +611,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -723,7 +721,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -809,7 +807,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -914,7 +912,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -952,7 +950,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1001,7 +999,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1025,7 +1023,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1089,7 +1087,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1198,7 +1196,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1242,7 +1240,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ColorControl = 768 { @@ -1340,7 +1338,7 @@ server cluster ColorControl = 768 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { INT8U hue = 0; diff --git a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter index 631fe217ffa8cd..b55caed7823fe3 100644 --- a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter +++ b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -57,7 +57,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -125,7 +125,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -194,7 +194,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -243,7 +243,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -274,7 +274,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -378,7 +377,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -399,7 +398,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -431,7 +430,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -464,7 +463,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -574,7 +573,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -660,7 +659,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -765,7 +764,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -803,7 +802,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -854,7 +853,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -878,7 +877,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -942,7 +941,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1051,7 +1050,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1095,7 +1094,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster FanControl = 514 { @@ -1157,7 +1156,7 @@ server cluster FanControl = 514 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter index c1e32395899c99..e39127b23c01d9 100644 --- a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter +++ b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -52,7 +52,6 @@ client cluster Groups = 4 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Groups = 4 { @@ -66,7 +65,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -134,7 +133,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -153,7 +152,6 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -219,7 +217,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -262,7 +260,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -293,7 +291,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -397,7 +394,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -417,7 +414,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -449,7 +446,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -481,7 +478,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -591,7 +588,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -677,7 +674,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -782,7 +779,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -820,7 +817,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -869,7 +866,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -893,7 +890,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -957,7 +954,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1066,7 +1063,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1110,7 +1107,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster FlowMeasurement = 1028 { @@ -1123,7 +1120,7 @@ server cluster FlowMeasurement = 1028 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter index ee0479687d8cbe..b1cd7361c34568 100644 --- a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter +++ b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -140,7 +140,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -178,7 +178,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -259,7 +259,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -278,7 +278,6 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -344,7 +343,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -387,7 +386,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -418,7 +417,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -522,7 +520,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -542,7 +540,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -574,7 +572,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -606,7 +604,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -716,7 +714,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -802,7 +800,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -907,7 +905,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -945,7 +943,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -994,7 +992,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1018,7 +1016,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1082,7 +1080,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1191,7 +1189,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1235,7 +1233,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Thermostat = 513 { @@ -1352,7 +1350,6 @@ client cluster Thermostat = 513 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster FanControl = 514 { @@ -1410,7 +1407,7 @@ server cluster FanControl = 514 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter index 4db85d2bbacb57..31b436b23fe8ff 100644 --- a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter +++ b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -52,7 +52,6 @@ client cluster Groups = 4 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Groups = 4 { @@ -66,7 +65,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -134,7 +133,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -153,7 +152,6 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -219,7 +217,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -262,7 +260,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -293,7 +291,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -397,7 +394,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -417,7 +414,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -449,7 +446,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -481,7 +478,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -591,7 +588,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -677,7 +674,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -782,7 +779,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -820,7 +817,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -869,7 +866,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -893,7 +890,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -957,7 +954,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1066,7 +1063,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1110,7 +1107,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster RelativeHumidityMeasurement = 1029 { @@ -1123,7 +1120,7 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter index 1f42b85b76948c..f0aef7db57bdca 100644 --- a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter +++ b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -52,7 +52,6 @@ client cluster Groups = 4 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Groups = 4 { @@ -66,7 +65,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -134,7 +133,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -153,7 +152,6 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -219,7 +217,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -262,7 +260,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -293,7 +291,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -397,7 +394,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -417,7 +414,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -449,7 +446,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -481,7 +478,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -591,7 +588,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -677,7 +674,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -782,7 +779,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -820,7 +817,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -869,7 +866,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -893,7 +890,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -957,7 +954,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1066,7 +1063,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1110,7 +1107,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster IlluminanceMeasurement = 1024 { @@ -1127,7 +1124,7 @@ server cluster IlluminanceMeasurement = 1024 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter index 63ba186ba8392f..acd71f5ad21690 100644 --- a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter +++ b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -52,7 +52,6 @@ client cluster Groups = 4 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Groups = 4 { @@ -66,7 +65,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -134,7 +133,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -153,7 +152,6 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -219,7 +217,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -262,7 +260,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -293,7 +291,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -397,7 +394,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -417,7 +414,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -449,7 +446,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -481,7 +478,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -591,7 +588,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -677,7 +674,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -782,7 +779,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -820,7 +817,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -869,7 +866,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -893,7 +890,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -957,7 +954,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1066,7 +1063,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1110,7 +1107,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster OccupancySensing = 1030 { @@ -1139,7 +1136,7 @@ server cluster OccupancySensing = 1030 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter index e1a03dc67c1f70..0bac0e31f938b3 100644 --- a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter +++ b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -144,7 +144,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -185,7 +185,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -266,7 +266,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -285,7 +285,6 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -351,7 +350,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -394,7 +393,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -425,7 +424,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -529,7 +527,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -549,7 +547,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -581,7 +579,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -613,7 +611,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -723,7 +721,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -809,7 +807,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -914,7 +912,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -952,7 +950,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1001,7 +999,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1025,7 +1023,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1089,7 +1087,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1198,7 +1196,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1242,7 +1240,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter index d64839c821daf0..6061a2622489a5 100644 --- a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter +++ b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -146,7 +146,6 @@ client cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -188,7 +187,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -210,7 +209,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -229,7 +228,6 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -295,7 +293,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -338,7 +336,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -369,7 +367,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -473,7 +470,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -493,7 +490,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -525,7 +522,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -557,7 +554,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -667,7 +664,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -753,7 +750,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -858,7 +855,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -896,7 +893,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -945,7 +942,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -969,7 +966,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1033,7 +1030,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1142,7 +1139,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1186,7 +1183,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter index a3a44909819d42..6aae097b193874 100644 --- a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter +++ b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -144,7 +144,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -166,7 +166,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -185,7 +185,6 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -251,7 +250,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -294,7 +293,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -325,7 +324,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -429,7 +427,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -449,7 +447,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -481,7 +479,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -513,7 +511,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -623,7 +621,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -709,7 +707,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -814,7 +812,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -852,7 +850,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -901,7 +899,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -925,7 +923,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -989,7 +987,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1098,7 +1096,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1142,7 +1140,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter index 3ae8e874d38abe..15b85802c9f0b5 100644 --- a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter +++ b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -57,7 +57,6 @@ client cluster Groups = 4 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Groups = 4 { @@ -71,7 +70,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -139,7 +138,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -158,7 +157,6 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -224,7 +222,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -267,7 +265,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -298,7 +296,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -402,7 +399,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -422,7 +419,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -454,7 +451,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -486,7 +483,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -596,7 +593,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -682,7 +679,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -787,7 +784,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -825,7 +822,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -874,7 +871,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -898,7 +895,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -962,7 +959,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1071,7 +1068,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1110,7 +1107,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1120,7 +1117,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PressureMeasurement = 1027 { @@ -1136,7 +1133,7 @@ server cluster PressureMeasurement = 1027 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter index 1b754faec977b1..a8be343a8e5255 100644 --- a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter +++ b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -140,7 +140,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -179,7 +179,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -260,7 +260,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -279,7 +279,6 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -345,7 +344,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -388,7 +387,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -419,7 +418,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -523,7 +521,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -543,7 +541,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -575,7 +573,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -607,7 +605,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -717,7 +715,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -803,7 +801,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -908,7 +906,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -946,7 +944,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -995,7 +993,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1019,7 +1017,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1083,7 +1081,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1192,7 +1190,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1236,7 +1234,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter index 2f7ea9efd20221..8da832b26694c4 100644 --- a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter +++ b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -52,7 +52,6 @@ client cluster Groups = 4 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Groups = 4 { @@ -66,7 +65,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -134,7 +133,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -153,7 +152,6 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -219,7 +217,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -262,7 +260,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -293,7 +291,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -397,7 +394,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -417,7 +414,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -449,7 +446,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -481,7 +478,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -591,7 +588,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -677,7 +674,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -782,7 +779,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -820,7 +817,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -869,7 +866,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -893,7 +890,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -957,7 +954,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1066,7 +1063,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1110,7 +1107,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TemperatureMeasurement = 1026 { @@ -1122,7 +1119,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter index 582e213b9d5301..1e3d88316cd879 100644 --- a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter +++ b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -119,7 +119,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -138,7 +138,6 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -204,7 +203,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -247,7 +246,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -278,7 +277,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -382,7 +380,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -402,7 +400,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -434,7 +432,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -466,7 +464,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -576,7 +574,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -662,7 +660,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -767,7 +765,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -805,7 +803,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -854,7 +852,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -878,7 +876,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -942,7 +940,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1051,7 +1049,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1095,7 +1093,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Thermostat = 513 { @@ -1189,7 +1187,7 @@ server cluster Thermostat = 513 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; @@ -1259,7 +1257,6 @@ client cluster FanControl = 514 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ThermostatUserInterfaceConfiguration = 516 { @@ -1270,7 +1267,7 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster TemperatureMeasurement = 1026 { @@ -1284,7 +1281,6 @@ client cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster RelativeHumidityMeasurement = 1029 { @@ -1298,7 +1294,6 @@ client cluster RelativeHumidityMeasurement = 1029 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OccupancySensing = 1030 { @@ -1337,7 +1332,6 @@ client cluster OccupancySensing = 1030 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter index 43d0122bfe6118..b7ba9b75bd1304 100644 --- a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter +++ b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -119,7 +119,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -138,7 +138,6 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -204,7 +203,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -247,7 +246,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -278,7 +277,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -382,7 +380,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -402,7 +400,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -434,7 +432,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -466,7 +464,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -576,7 +574,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -662,7 +660,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -767,7 +765,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -805,7 +803,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -854,7 +852,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -878,7 +876,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -942,7 +940,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1051,7 +1049,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1095,7 +1093,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster WindowCovering = 258 { @@ -1214,7 +1212,7 @@ server cluster WindowCovering = 258 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct GoToLiftValueRequest { INT16U liftValue = 0; diff --git a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter index a52fe2c5669317..f5f03d3eef4695 100644 --- a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter +++ b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -62,7 +62,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -130,7 +130,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -199,7 +199,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -248,7 +248,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -279,7 +279,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -383,7 +382,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -404,7 +403,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -436,7 +435,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -469,7 +468,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -579,7 +578,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -665,7 +664,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -770,7 +769,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -808,7 +807,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -970,7 +969,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1042,7 +1041,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1080,7 +1079,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1106,7 +1105,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1170,7 +1169,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1279,7 +1278,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1318,7 +1317,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1328,7 +1327,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BooleanState = 69 { @@ -1342,7 +1341,7 @@ server cluster BooleanState = 69 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster OccupancySensing = 1030 { @@ -1371,7 +1370,7 @@ server cluster OccupancySensing = 1030 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/dynamic-bridge-app/bridge-common/bridge-app.matter b/examples/dynamic-bridge-app/bridge-common/bridge-app.matter index 5cdac477e88eed..829ca0fe6bf9a9 100644 --- a/examples/dynamic-bridge-app/bridge-common/bridge-app.matter +++ b/examples/dynamic-bridge-app/bridge-common/bridge-app.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -82,7 +82,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -130,7 +130,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -211,7 +211,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -230,7 +230,6 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster AccessControl = 31 { @@ -300,7 +299,6 @@ client cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -369,7 +367,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Actions = 37 { @@ -453,7 +451,7 @@ server cluster Actions = 37 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct InstantActionRequest { INT16U actionID = 0; @@ -509,7 +507,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster LocalizationConfiguration = 43 { @@ -520,7 +518,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -552,7 +550,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UnitLocalization = 45 { @@ -572,7 +570,7 @@ server cluster UnitLocalization = 45 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -605,7 +603,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -715,7 +713,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -801,7 +799,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -906,7 +904,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -944,7 +942,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ThreadNetworkDiagnostics = 53 { @@ -1104,7 +1102,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster WiFiNetworkDiagnostics = 54 { @@ -1174,7 +1172,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster EthernetNetworkDiagnostics = 55 { @@ -1210,7 +1208,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1262,7 +1260,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1286,7 +1284,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1350,7 +1348,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1459,7 +1457,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1503,7 +1501,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TemperatureMeasurement = 1026 { @@ -1515,7 +1513,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/light-switch-app/light-switch-common/light-switch-app.matter b/examples/light-switch-app/light-switch-common/light-switch-app.matter index 94c749a2170bc5..d3af7339f74909 100644 --- a/examples/light-switch-app/light-switch-common/light-switch-app.matter +++ b/examples/light-switch-app/light-switch-common/light-switch-app.matter @@ -37,7 +37,6 @@ client cluster Identify = 3 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Identify = 3 { @@ -70,7 +69,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -96,7 +95,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -181,7 +180,6 @@ client cluster Scenes = 5 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddSceneRequest { group_id groupID = 0; INT8U sceneID = 1; @@ -309,7 +307,6 @@ client cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -330,7 +327,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Binding = 30 { @@ -348,7 +345,7 @@ server cluster Binding = 30 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -417,7 +414,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -466,7 +463,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -497,7 +494,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -601,7 +597,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -622,7 +618,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -654,7 +650,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -687,7 +683,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -797,7 +793,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -883,7 +879,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -988,7 +984,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -1026,7 +1022,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1188,7 +1184,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1260,7 +1256,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1298,7 +1294,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1349,7 +1345,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1373,7 +1369,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1437,7 +1433,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1546,7 +1542,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1585,7 +1581,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1595,7 +1591,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster ColorControl = 768 { @@ -1727,7 +1723,6 @@ client cluster ColorControl = 768 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToHueRequest { INT8U hue = 0; HueDirection direction = 1; diff --git a/examples/lighting-app/lighting-common/lighting-app.matter b/examples/lighting-app/lighting-common/lighting-app.matter index 9b76a574d14cd3..b7cae46e7d312d 100644 --- a/examples/lighting-app/lighting-common/lighting-app.matter +++ b/examples/lighting-app/lighting-common/lighting-app.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -62,7 +62,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -155,7 +155,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; @@ -217,7 +217,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -298,7 +298,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -367,7 +367,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -416,7 +416,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -447,7 +447,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -551,7 +550,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -572,7 +571,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -604,7 +603,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -637,7 +636,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -747,7 +746,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -833,7 +832,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -938,7 +937,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -976,7 +975,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1138,7 +1137,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1210,7 +1209,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1248,7 +1247,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1299,7 +1298,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1323,7 +1322,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1387,7 +1386,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1496,7 +1495,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1535,7 +1534,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1545,7 +1544,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ColorControl = 768 { @@ -1644,7 +1643,7 @@ server cluster ColorControl = 768 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { INT8U hue = 0; @@ -1841,7 +1840,7 @@ server cluster OccupancySensing = 1030 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/lighting-app/nxp/zap/lighting-on-off.matter b/examples/lighting-app/nxp/zap/lighting-on-off.matter index a37a3242846a46..9139fa5dc4fbf6 100644 --- a/examples/lighting-app/nxp/zap/lighting-on-off.matter +++ b/examples/lighting-app/nxp/zap/lighting-on-off.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -57,7 +57,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -150,7 +150,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; @@ -205,7 +205,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -286,7 +286,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -349,7 +349,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -390,7 +390,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -421,7 +421,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -525,7 +524,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -568,7 +567,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -678,7 +677,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -820,7 +819,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -858,7 +857,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1017,7 +1016,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1043,7 +1042,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1102,7 +1101,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1211,7 +1210,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; diff --git a/examples/lighting-app/qpg/zap/light.matter b/examples/lighting-app/qpg/zap/light.matter index 05eea100a2e497..5455aa85af68b5 100644 --- a/examples/lighting-app/qpg/zap/light.matter +++ b/examples/lighting-app/qpg/zap/light.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -62,7 +62,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -155,7 +155,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; @@ -213,7 +213,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -294,7 +294,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -357,7 +357,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -406,7 +406,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -437,7 +437,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -541,7 +540,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -584,7 +583,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -694,7 +693,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -773,7 +772,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -885,7 +884,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -923,7 +922,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1082,7 +1081,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1108,7 +1107,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1172,7 +1171,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1281,7 +1280,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1320,7 +1319,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1330,7 +1329,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ColorControl = 768 { @@ -1447,7 +1446,7 @@ server cluster ColorControl = 768 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { INT8U hue = 0; diff --git a/examples/lighting-app/silabs/efr32/data_model/lighting-thread-app.matter b/examples/lighting-app/silabs/efr32/data_model/lighting-thread-app.matter index 841cad815f6836..1a3858770812a9 100644 --- a/examples/lighting-app/silabs/efr32/data_model/lighting-thread-app.matter +++ b/examples/lighting-app/silabs/efr32/data_model/lighting-thread-app.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -62,7 +62,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -155,7 +155,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; @@ -217,7 +217,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -298,7 +298,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -367,7 +367,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -416,7 +416,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -447,7 +447,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -551,7 +550,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -572,7 +571,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -604,7 +603,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -637,7 +636,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -747,7 +746,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -833,7 +832,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -938,7 +937,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -976,7 +975,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1138,7 +1137,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1164,7 +1163,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1228,7 +1227,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1337,7 +1336,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1376,7 +1375,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1386,7 +1385,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ColorControl = 768 { @@ -1485,7 +1484,7 @@ server cluster ColorControl = 768 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { INT8U hue = 0; diff --git a/examples/lighting-app/silabs/efr32/data_model/lighting-wifi-app.matter b/examples/lighting-app/silabs/efr32/data_model/lighting-wifi-app.matter index be2023d8ad30cd..395a21683cfc54 100644 --- a/examples/lighting-app/silabs/efr32/data_model/lighting-wifi-app.matter +++ b/examples/lighting-app/silabs/efr32/data_model/lighting-wifi-app.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -62,7 +62,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -155,7 +155,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; @@ -217,7 +217,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -298,7 +298,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -367,7 +367,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -416,7 +416,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -447,7 +447,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -551,7 +550,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -572,7 +571,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -604,7 +603,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -637,7 +636,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -747,7 +746,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -833,7 +832,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -938,7 +937,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -976,7 +975,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1048,7 +1047,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1074,7 +1073,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1138,7 +1137,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1247,7 +1246,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1286,7 +1285,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1296,7 +1295,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ColorControl = 768 { @@ -1395,7 +1394,7 @@ server cluster ColorControl = 768 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { INT8U hue = 0; diff --git a/examples/lock-app/lock-common/lock-app.matter b/examples/lock-app/lock-common/lock-app.matter index 1a97263aaa75e4..7500dd51a9609b 100644 --- a/examples/lock-app/lock-common/lock-app.matter +++ b/examples/lock-app/lock-common/lock-app.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -85,7 +85,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -107,7 +107,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -176,7 +176,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -225,7 +225,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -256,7 +256,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -360,7 +359,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -381,7 +380,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -413,7 +412,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PowerSourceConfiguration = 46 { @@ -423,7 +422,7 @@ server cluster PowerSourceConfiguration = 46 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PowerSource = 47 { @@ -640,7 +639,7 @@ server cluster PowerSource = 47 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -673,7 +672,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -783,7 +782,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -869,7 +868,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -974,7 +973,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -1012,7 +1011,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1174,7 +1173,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1246,7 +1245,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1284,7 +1283,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1310,7 +1309,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1374,7 +1373,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1483,7 +1482,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1522,7 +1521,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1532,7 +1531,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster DoorLock = 257 { @@ -1940,7 +1939,7 @@ server cluster DoorLock = 257 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; diff --git a/examples/lock-app/nxp/zap/lock-app.matter b/examples/lock-app/nxp/zap/lock-app.matter index de2ea9558dcf6a..851841239289cc 100644 --- a/examples/lock-app/nxp/zap/lock-app.matter +++ b/examples/lock-app/nxp/zap/lock-app.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -61,7 +61,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -124,7 +124,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -165,7 +165,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -198,7 +198,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -308,7 +308,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -450,7 +450,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -488,7 +488,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -647,7 +647,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -673,7 +673,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -732,7 +732,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -841,7 +841,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1261,7 +1261,7 @@ server cluster DoorLock = 257 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; diff --git a/examples/lock-app/qpg/zap/lock.matter b/examples/lock-app/qpg/zap/lock.matter index 4df43dfede81bf..a81583b20a67c2 100644 --- a/examples/lock-app/qpg/zap/lock.matter +++ b/examples/lock-app/qpg/zap/lock.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -62,7 +62,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -130,7 +130,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -193,7 +193,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -242,7 +242,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -273,7 +273,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -377,7 +376,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -420,7 +419,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -530,7 +529,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -609,7 +608,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -721,7 +720,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -759,7 +758,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -918,7 +917,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -944,7 +943,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1008,7 +1007,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1117,7 +1116,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1156,7 +1155,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1166,7 +1165,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster DoorLock = 257 { @@ -1574,7 +1573,7 @@ server cluster DoorLock = 257 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; diff --git a/examples/log-source-app/log-source-common/log-source-app.matter b/examples/log-source-app/log-source-common/log-source-app.matter index d96b7093dc2c63..a80b117d9a5b76 100644 --- a/examples/log-source-app/log-source-common/log-source-app.matter +++ b/examples/log-source-app/log-source-common/log-source-app.matter @@ -67,7 +67,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -98,7 +98,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -195,7 +195,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -282,7 +282,6 @@ client cluster DiagnosticLogs = 50 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster DiagnosticLogs = 50 { @@ -310,7 +309,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -365,7 +364,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; diff --git a/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter b/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter index 7e68b4e6097d4f..a25246f1443663 100644 --- a/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter +++ b/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter @@ -21,7 +21,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster AccessControl = 31 { @@ -91,7 +91,6 @@ client cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster AccessControl = 31 { @@ -160,7 +159,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -209,7 +208,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster OtaSoftwareUpdateProvider = 41 { @@ -238,7 +237,7 @@ server cluster OtaSoftwareUpdateProvider = 41 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct QueryImageRequest { vendor_id vendorID = 0; @@ -290,7 +289,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -322,7 +321,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -355,7 +354,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -465,7 +464,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -620,7 +619,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -651,7 +650,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -715,7 +714,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -824,7 +823,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -863,7 +862,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -873,7 +872,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter index 2261128e0f1fd5..28e30f38a0093e 100644 --- a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter +++ b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -62,7 +62,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -155,7 +155,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; @@ -191,7 +191,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -260,7 +260,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -309,7 +309,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -340,7 +340,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -444,7 +443,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -465,7 +464,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -497,7 +496,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -530,7 +529,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -640,7 +639,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -795,7 +794,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -826,7 +825,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -890,7 +889,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -999,7 +998,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1038,7 +1037,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1048,7 +1047,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/placeholder/linux/apps/app1/config.matter b/examples/placeholder/linux/apps/app1/config.matter index 7ee372b2e6aae5..495893dd34b1cf 100644 --- a/examples/placeholder/linux/apps/app1/config.matter +++ b/examples/placeholder/linux/apps/app1/config.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -62,7 +62,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -144,7 +144,7 @@ server cluster Scenes = 5 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddSceneRequest { group_id groupID = 0; @@ -273,7 +273,6 @@ client cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -333,7 +332,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; @@ -386,7 +385,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -467,7 +466,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -530,7 +529,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Actions = 37 { @@ -614,7 +613,7 @@ server cluster Actions = 37 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -663,7 +662,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster LocalizationConfiguration = 43 { @@ -675,7 +674,6 @@ client cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster LocalizationConfiguration = 43 { @@ -686,7 +684,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -718,7 +716,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster UnitLocalization = 45 { @@ -739,7 +737,6 @@ client cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster UnitLocalization = 45 { @@ -759,7 +756,7 @@ server cluster UnitLocalization = 45 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PowerSourceConfiguration = 46 { @@ -769,7 +766,7 @@ server cluster PowerSourceConfiguration = 46 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PowerSource = 47 { @@ -1009,7 +1006,7 @@ server cluster PowerSource = 47 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster GeneralCommissioning = 48 { @@ -1044,7 +1041,6 @@ client cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -1091,7 +1087,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -1201,7 +1197,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -1356,7 +1352,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -1394,7 +1390,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1466,7 +1462,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1504,7 +1500,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1557,7 +1553,6 @@ client cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Switch = 59 { @@ -1607,7 +1602,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1631,7 +1626,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1691,7 +1686,6 @@ client cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1778,7 +1772,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1856,7 +1850,6 @@ client cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster FixedLabel = 64 { @@ -1866,7 +1859,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1876,7 +1869,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BooleanState = 69 { @@ -1890,7 +1883,7 @@ server cluster BooleanState = 69 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster ModeSelect = 80 { @@ -1922,7 +1915,6 @@ client cluster ModeSelect = 80 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ChangeToModeRequest { INT8U newMode = 0; } @@ -1956,7 +1948,7 @@ server cluster ModeSelect = 80 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { INT8U newMode = 0; @@ -2077,7 +2069,7 @@ server cluster WindowCovering = 258 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct GoToLiftValueRequest { INT16U liftValue = 0; @@ -2222,7 +2214,7 @@ server cluster PumpConfigurationAndControl = 512 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Thermostat = 513 { @@ -2311,7 +2303,7 @@ server cluster Thermostat = 513 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster ThermostatUserInterfaceConfiguration = 516 { @@ -2324,7 +2316,6 @@ client cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ThermostatUserInterfaceConfiguration = 516 { @@ -2336,7 +2327,7 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ColorControl = 768 { @@ -2419,7 +2410,7 @@ server cluster ColorControl = 768 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToColorRequest { INT16U colorX = 0; @@ -2465,7 +2456,7 @@ server cluster IlluminanceMeasurement = 1024 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster TemperatureMeasurement = 1026 { @@ -2479,7 +2470,6 @@ client cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TemperatureMeasurement = 1026 { @@ -2492,7 +2482,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PressureMeasurement = 1027 { @@ -2514,7 +2504,7 @@ server cluster PressureMeasurement = 1027 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster FlowMeasurement = 1028 { @@ -2527,7 +2517,7 @@ server cluster FlowMeasurement = 1028 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster RelativeHumidityMeasurement = 1029 { @@ -2541,7 +2531,6 @@ client cluster RelativeHumidityMeasurement = 1029 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster RelativeHumidityMeasurement = 1029 { @@ -2554,7 +2543,7 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster OccupancySensing = 1030 { @@ -2592,7 +2581,7 @@ server cluster OccupancySensing = 1030 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster TargetNavigator = 1285 { @@ -2616,7 +2605,6 @@ client cluster TargetNavigator = 1285 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct NavigateTargetRequest { INT8U target = 0; optional CHAR_STRING data = 1; @@ -2649,7 +2637,7 @@ server cluster TargetNavigator = 1285 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct NavigateTargetRequest { INT8U target = 0; @@ -2773,7 +2761,6 @@ client cluster KeypadInput = 1289 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SendKeyRequest { CecKeyCode keyCode = 0; } @@ -2892,7 +2879,7 @@ server cluster KeypadInput = 1289 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SendKeyRequest { CecKeyCode keyCode = 0; @@ -2989,7 +2976,6 @@ client cluster ContentLauncher = 1290 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct LaunchContentRequest { ContentSearchStruct search = 0; BOOLEAN autoPlay = 1; @@ -3093,7 +3079,7 @@ server cluster ContentLauncher = 1290 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct LaunchContentRequest { ContentSearchStruct search = 0; @@ -3143,7 +3129,6 @@ client cluster ApplicationBasic = 1293 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ApplicationBasic = 1293 { @@ -3172,7 +3157,7 @@ server cluster ApplicationBasic = 1293 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/placeholder/linux/apps/app2/config.matter b/examples/placeholder/linux/apps/app2/config.matter index ec22224fc6694a..53f0b3043b3686 100644 --- a/examples/placeholder/linux/apps/app2/config.matter +++ b/examples/placeholder/linux/apps/app2/config.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -62,7 +62,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -144,7 +144,7 @@ server cluster Scenes = 5 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddSceneRequest { group_id groupID = 0; @@ -273,7 +273,6 @@ client cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -333,7 +332,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; @@ -386,7 +385,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -467,7 +466,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -530,7 +529,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Actions = 37 { @@ -614,7 +613,7 @@ server cluster Actions = 37 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -663,7 +662,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster LocalizationConfiguration = 43 { @@ -674,7 +673,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -706,7 +705,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UnitLocalization = 45 { @@ -726,7 +725,7 @@ server cluster UnitLocalization = 45 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PowerSourceConfiguration = 46 { @@ -736,7 +735,7 @@ server cluster PowerSourceConfiguration = 46 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PowerSource = 47 { @@ -976,7 +975,7 @@ server cluster PowerSource = 47 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster GeneralCommissioning = 48 { @@ -1011,7 +1010,6 @@ client cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -1058,7 +1056,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -1168,7 +1166,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -1323,7 +1321,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -1361,7 +1359,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1433,7 +1431,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1471,7 +1469,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1524,7 +1522,6 @@ client cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Switch = 59 { @@ -1574,7 +1571,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1598,7 +1595,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1658,7 +1655,6 @@ client cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1745,7 +1741,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1823,7 +1819,6 @@ client cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster FixedLabel = 64 { @@ -1833,7 +1828,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1843,7 +1838,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BooleanState = 69 { @@ -1857,7 +1852,7 @@ server cluster BooleanState = 69 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster ModeSelect = 80 { @@ -1889,7 +1884,6 @@ client cluster ModeSelect = 80 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ChangeToModeRequest { INT8U newMode = 0; } @@ -1923,7 +1917,7 @@ server cluster ModeSelect = 80 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { INT8U newMode = 0; @@ -2044,7 +2038,7 @@ server cluster WindowCovering = 258 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct GoToLiftValueRequest { INT16U liftValue = 0; @@ -2189,7 +2183,7 @@ server cluster PumpConfigurationAndControl = 512 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Thermostat = 513 { @@ -2278,7 +2272,7 @@ server cluster Thermostat = 513 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster ThermostatUserInterfaceConfiguration = 516 { @@ -2291,7 +2285,6 @@ client cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ThermostatUserInterfaceConfiguration = 516 { @@ -2303,7 +2296,7 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ColorControl = 768 { @@ -2386,7 +2379,7 @@ server cluster ColorControl = 768 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToColorRequest { INT16U colorX = 0; @@ -2432,7 +2425,7 @@ server cluster IlluminanceMeasurement = 1024 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster TemperatureMeasurement = 1026 { @@ -2446,7 +2439,6 @@ client cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster TemperatureMeasurement = 1026 { @@ -2459,7 +2451,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PressureMeasurement = 1027 { @@ -2481,7 +2473,7 @@ server cluster PressureMeasurement = 1027 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster FlowMeasurement = 1028 { @@ -2494,7 +2486,7 @@ server cluster FlowMeasurement = 1028 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster RelativeHumidityMeasurement = 1029 { @@ -2508,7 +2500,6 @@ client cluster RelativeHumidityMeasurement = 1029 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster RelativeHumidityMeasurement = 1029 { @@ -2521,7 +2512,7 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster OccupancySensing = 1030 { @@ -2559,7 +2550,7 @@ server cluster OccupancySensing = 1030 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster TargetNavigator = 1285 { @@ -2583,7 +2574,6 @@ client cluster TargetNavigator = 1285 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct NavigateTargetRequest { INT8U target = 0; optional CHAR_STRING data = 1; @@ -2616,7 +2606,7 @@ server cluster TargetNavigator = 1285 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct NavigateTargetRequest { INT8U target = 0; @@ -2740,7 +2730,6 @@ client cluster KeypadInput = 1289 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SendKeyRequest { CecKeyCode keyCode = 0; } @@ -2859,7 +2848,7 @@ server cluster KeypadInput = 1289 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SendKeyRequest { CecKeyCode keyCode = 0; @@ -2956,7 +2945,6 @@ client cluster ContentLauncher = 1290 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct LaunchContentRequest { ContentSearchStruct search = 0; BOOLEAN autoPlay = 1; @@ -3060,7 +3048,7 @@ server cluster ContentLauncher = 1290 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct LaunchContentRequest { ContentSearchStruct search = 0; @@ -3110,7 +3098,6 @@ client cluster ApplicationBasic = 1293 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster ApplicationBasic = 1293 { @@ -3139,7 +3126,7 @@ server cluster ApplicationBasic = 1293 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/pump-app/pump-common/pump-app.matter b/examples/pump-app/pump-common/pump-app.matter index 3e084ab60f3594..c40adf3deb61f3 100644 --- a/examples/pump-app/pump-common/pump-app.matter +++ b/examples/pump-app/pump-common/pump-app.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -76,7 +76,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -115,7 +115,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -196,7 +196,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Binding = 30 { @@ -214,7 +214,7 @@ server cluster Binding = 30 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -283,7 +283,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -329,7 +329,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -360,7 +360,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -464,7 +463,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -507,7 +506,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -617,7 +616,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -759,7 +758,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -880,7 +879,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -906,7 +905,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -970,7 +969,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1079,7 +1078,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1229,7 +1228,7 @@ server cluster PumpConfigurationAndControl = 512 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TemperatureMeasurement = 1026 { @@ -1242,7 +1241,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PressureMeasurement = 1027 { @@ -1264,7 +1263,7 @@ server cluster PressureMeasurement = 1027 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster FlowMeasurement = 1028 { @@ -1277,7 +1276,7 @@ server cluster FlowMeasurement = 1028 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OccupancySensing = 1030 { @@ -1316,7 +1315,6 @@ client cluster OccupancySensing = 1030 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter b/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter index 89992df8a7f417..ccf1440000f329 100644 --- a/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter +++ b/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -82,7 +82,6 @@ client cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -103,7 +102,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Binding = 30 { @@ -121,7 +120,7 @@ server cluster Binding = 30 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -190,7 +189,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -236,7 +235,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -267,7 +266,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -371,7 +369,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -414,7 +412,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -524,7 +522,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -666,7 +664,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -787,7 +785,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -813,7 +811,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -877,7 +875,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -986,7 +984,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1137,7 +1135,6 @@ client cluster PumpConfigurationAndControl = 512 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster TemperatureMeasurement = 1026 { @@ -1151,7 +1148,6 @@ client cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster PressureMeasurement = 1027 { @@ -1174,7 +1170,6 @@ client cluster PressureMeasurement = 1027 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster FlowMeasurement = 1028 { @@ -1188,7 +1183,6 @@ client cluster FlowMeasurement = 1028 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } endpoint 0 { diff --git a/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter b/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter index 231209600fca32..888b469bab88b0 100644 --- a/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter +++ b/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter @@ -21,7 +21,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -90,7 +90,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -139,7 +139,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster LocalizationConfiguration = 43 { @@ -150,7 +150,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -182,7 +182,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UnitLocalization = 45 { @@ -202,7 +202,7 @@ server cluster UnitLocalization = 45 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -235,7 +235,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -345,7 +345,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -425,7 +425,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -530,7 +530,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -557,7 +557,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster WiFiNetworkDiagnostics = 54 { @@ -627,7 +627,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster EthernetNetworkDiagnostics = 55 { @@ -663,7 +663,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -689,7 +689,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -753,7 +753,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -862,7 +862,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -901,7 +901,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -911,7 +911,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TemperatureMeasurement = 1026 { @@ -923,7 +923,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/thermostat/thermostat-common/thermostat.matter b/examples/thermostat/thermostat-common/thermostat.matter index cf1205b89e1016..cc60aa1f29102a 100644 --- a/examples/thermostat/thermostat-common/thermostat.matter +++ b/examples/thermostat/thermostat-common/thermostat.matter @@ -38,7 +38,6 @@ client cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -76,7 +75,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -102,7 +101,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -184,7 +183,7 @@ server cluster Scenes = 5 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddSceneRequest { group_id groupID = 0; @@ -286,7 +285,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Binding = 30 { @@ -304,7 +303,7 @@ server cluster Binding = 30 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -373,7 +372,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -422,7 +421,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -453,7 +452,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -557,7 +555,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -578,7 +576,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -610,7 +608,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UnitLocalization = 45 { @@ -630,7 +628,7 @@ server cluster UnitLocalization = 45 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -663,7 +661,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -773,7 +771,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -859,7 +857,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -964,7 +962,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -1002,7 +1000,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ThreadNetworkDiagnostics = 53 { @@ -1162,7 +1160,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1234,7 +1232,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster EthernetNetworkDiagnostics = 55 { @@ -1270,7 +1268,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1294,7 +1292,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1358,7 +1356,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1467,7 +1465,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1506,7 +1504,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1516,7 +1514,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Thermostat = 513 { @@ -1603,7 +1601,7 @@ server cluster Thermostat = 513 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; @@ -1621,7 +1619,7 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/tv-app/tv-common/tv-app.matter b/examples/tv-app/tv-common/tv-app.matter index 1093d56c25d53e..b423d5458c9570 100644 --- a/examples/tv-app/tv-common/tv-app.matter +++ b/examples/tv-app/tv-common/tv-app.matter @@ -47,7 +47,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -95,7 +95,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -176,7 +176,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -195,7 +195,6 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Binding = 30 { @@ -213,7 +212,7 @@ server cluster Binding = 30 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -282,7 +281,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -331,7 +330,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster OtaSoftwareUpdateProvider = 41 { @@ -360,7 +359,7 @@ server cluster OtaSoftwareUpdateProvider = 41 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct QueryImageRequest { vendor_id vendorID = 0; @@ -412,7 +411,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -444,7 +443,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UnitLocalization = 45 { @@ -464,7 +463,7 @@ server cluster UnitLocalization = 45 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster GeneralCommissioning = 48 { @@ -499,7 +498,6 @@ client cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -561,7 +559,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -673,7 +671,6 @@ client cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -810,7 +807,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -896,7 +893,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -1001,7 +998,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -1039,7 +1036,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ThreadNetworkDiagnostics = 53 { @@ -1199,7 +1196,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster WiFiNetworkDiagnostics = 54 { @@ -1269,7 +1266,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster EthernetNetworkDiagnostics = 55 { @@ -1305,7 +1302,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1331,7 +1328,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1397,7 +1394,6 @@ client cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -1505,7 +1501,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1614,7 +1610,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1653,7 +1649,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1663,7 +1659,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster RelativeHumidityMeasurement = 1029 { @@ -1675,7 +1671,7 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster WakeOnLan = 1283 { @@ -1685,7 +1681,7 @@ server cluster WakeOnLan = 1283 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Channel = 1284 { @@ -1727,7 +1723,7 @@ server cluster Channel = 1284 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ChangeChannelRequest { CHAR_STRING match = 0; @@ -1771,7 +1767,7 @@ server cluster TargetNavigator = 1285 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct NavigateTargetRequest { INT8U target = 0; @@ -1825,7 +1821,7 @@ server cluster MediaPlayback = 1286 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SkipForwardRequest { INT64U deltaPositionMilliseconds = 0; @@ -1891,7 +1887,7 @@ server cluster MediaInput = 1287 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SelectInputRequest { INT8U index = 0; @@ -1914,7 +1910,7 @@ server cluster LowPower = 1288 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Sleep(): DefaultSuccess = 0; } @@ -2026,7 +2022,7 @@ server cluster KeypadInput = 1289 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SendKeyRequest { CecKeyCode keyCode = 0; @@ -2121,7 +2117,7 @@ server cluster ContentLauncher = 1290 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct LaunchContentRequest { ContentSearchStruct search = 0; @@ -2171,7 +2167,7 @@ server cluster AudioOutput = 1291 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SelectOutputRequest { INT8U index = 0; @@ -2209,7 +2205,7 @@ server cluster ApplicationLauncher = 1292 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct LaunchAppRequest { optional ApplicationStruct application = 0; @@ -2255,7 +2251,7 @@ server cluster ApplicationBasic = 1293 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccountLogin = 1294 { @@ -2264,7 +2260,7 @@ server cluster AccountLogin = 1294 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct GetSetupPINRequest { CHAR_STRING<100> tempAccountIdentifier = 0; diff --git a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter index 7e72a47d308342..30d42bacb0b953 100644 --- a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter +++ b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -56,7 +56,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -138,7 +138,7 @@ server cluster Scenes = 5 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddSceneRequest { group_id groupID = 0; @@ -267,7 +267,6 @@ client cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; command Toggle(): DefaultSuccess = 2; @@ -313,7 +312,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -363,7 +362,6 @@ client cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -469,7 +467,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -544,7 +542,7 @@ server cluster BinaryInputBasic = 15 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Descriptor = 29 { @@ -563,7 +561,6 @@ client cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } server cluster Descriptor = 29 { @@ -581,7 +578,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Binding = 30 { @@ -599,7 +596,7 @@ server cluster Binding = 30 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -668,7 +665,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -717,7 +714,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster OtaSoftwareUpdateProvider = 41 { @@ -746,7 +743,7 @@ server cluster OtaSoftwareUpdateProvider = 41 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct QueryImageRequest { vendor_id vendorID = 0; @@ -798,7 +795,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -830,7 +827,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UnitLocalization = 45 { @@ -850,7 +847,7 @@ server cluster UnitLocalization = 45 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -883,7 +880,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -993,7 +990,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -1079,7 +1076,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -1184,7 +1181,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -1222,7 +1219,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ThreadNetworkDiagnostics = 53 { @@ -1382,7 +1379,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster WiFiNetworkDiagnostics = 54 { @@ -1452,7 +1449,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster EthernetNetworkDiagnostics = 55 { @@ -1488,7 +1485,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1539,7 +1536,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1563,7 +1560,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1627,7 +1624,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1736,7 +1733,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1767,7 +1764,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1777,7 +1774,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BarrierControl = 259 { @@ -1790,7 +1787,7 @@ server cluster BarrierControl = 259 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct BarrierControlGoToPercentRequest { INT8U percentOpen = 0; @@ -1807,7 +1804,7 @@ server cluster WakeOnLan = 1283 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Channel = 1284 { @@ -1851,7 +1848,6 @@ client cluster Channel = 1284 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ChangeChannelRequest { CHAR_STRING match = 0; } @@ -1891,7 +1887,6 @@ client cluster TargetNavigator = 1285 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct NavigateTargetRequest { INT8U target = 0; optional CHAR_STRING data = 1; @@ -1936,7 +1931,6 @@ client cluster MediaPlayback = 1286 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SkipForwardRequest { INT64U deltaPositionMilliseconds = 0; } @@ -1998,7 +1992,6 @@ client cluster MediaInput = 1287 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SelectInputRequest { INT8U index = 0; } @@ -2123,7 +2116,6 @@ client cluster KeypadInput = 1289 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SendKeyRequest { CecKeyCode keyCode = 0; } @@ -2215,7 +2207,6 @@ client cluster ContentLauncher = 1290 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct LaunchContentRequest { ContentSearchStruct search = 0; BOOLEAN autoPlay = 1; @@ -2261,7 +2252,6 @@ client cluster AudioOutput = 1291 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SelectOutputRequest { INT8U index = 0; } @@ -2300,7 +2290,6 @@ client cluster ApplicationLauncher = 1292 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct LaunchAppRequest { optional ApplicationStruct application = 0; optional OCTET_STRING data = 1; @@ -2341,7 +2330,6 @@ client cluster ApplicationBasic = 1293 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster AccountLogin = 1294 { @@ -2352,7 +2340,6 @@ client cluster AccountLogin = 1294 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct GetSetupPINRequest { CHAR_STRING<100> tempAccountIdentifier = 0; } diff --git a/examples/window-app/common/window-app.matter b/examples/window-app/common/window-app.matter index fa36c2f3b54748..31bc7dbeefc4b1 100644 --- a/examples/window-app/common/window-app.matter +++ b/examples/window-app/common/window-app.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -62,7 +62,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -144,7 +144,7 @@ server cluster Scenes = 5 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddSceneRequest { group_id groupID = 0; @@ -246,7 +246,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -315,7 +315,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -364,7 +364,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -395,7 +395,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -499,7 +498,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -520,7 +519,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -552,7 +551,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UnitLocalization = 45 { @@ -571,7 +570,7 @@ server cluster UnitLocalization = 45 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PowerSource = 47 { @@ -789,7 +788,7 @@ server cluster PowerSource = 47 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -822,7 +821,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -932,7 +931,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -1087,7 +1086,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -1125,7 +1124,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1287,7 +1286,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1359,7 +1358,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster EthernetNetworkDiagnostics = 55 { @@ -1395,7 +1394,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1419,7 +1418,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1483,7 +1482,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1592,7 +1591,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1631,7 +1630,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1641,7 +1640,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster WindowCovering = 258 { @@ -1760,7 +1759,7 @@ server cluster WindowCovering = 258 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct GoToLiftValueRequest { INT16U liftValue = 0; diff --git a/src/app/zap-templates/templates/app/MatterIDL.zapt b/src/app/zap-templates/templates/app/MatterIDL.zapt index 49104eb5eaa8cd..2bccbea34bfe5b 100644 --- a/src/app/zap-templates/templates/app/MatterIDL.zapt +++ b/src/app/zap-templates/templates/app/MatterIDL.zapt @@ -48,7 +48,8 @@ {{#if (is_client side)}} {{#zcl_attributes_server}} {{! ensure indent }}{{>idl_attribute_definition}} - {{/zcl_attributes_server~}} + {{/zcl_attributes_server}} + {{~else}} {{#enabled_attributes_for_cluster_and_side name 'server'}} {{#unless isGlobalAttribute}} @@ -63,10 +64,11 @@ readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - {{~/if}} + {{~/if}} {{!--Open:Generating command request structs for all incoming commands into server side--~}} {{#if (is_server side)}} + {{#all_incoming_commands_for_cluster name side}} {{~>idl_command_request_struct}} {{/all_incoming_commands_for_cluster}} diff --git a/src/controller/data_model/controller-clusters.matter b/src/controller/data_model/controller-clusters.matter index fffb7f25a4fc45..e482a876d9f7c9 100644 --- a/src/controller/data_model/controller-clusters.matter +++ b/src/controller/data_model/controller-clusters.matter @@ -43,7 +43,6 @@ client cluster Identify = 3 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct IdentifyRequest { INT16U identifyTime = 0; } @@ -70,7 +69,6 @@ client cluster Groups = 4 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddGroupRequest { group_id groupID = 0; CHAR_STRING groupName = 1; @@ -154,7 +152,6 @@ client cluster Scenes = 5 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AddSceneRequest { group_id groupID = 0; INT8U sceneID = 1; @@ -282,7 +279,6 @@ client cluster OnOff = 6 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; int8u effectVariant = 1; @@ -311,7 +307,6 @@ client cluster OnOffSwitchConfiguration = 7 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster LevelControl = 8 { @@ -357,7 +352,6 @@ client cluster LevelControl = 8 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToLevelRequest { INT8U level = 0; nullable INT16U transitionTime = 1; @@ -438,7 +432,6 @@ client cluster BinaryInputBasic = 15 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Descriptor = 29 { @@ -457,7 +450,6 @@ client cluster Descriptor = 29 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Binding = 30 { @@ -476,7 +468,6 @@ client cluster Binding = 30 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster AccessControl = 31 { @@ -546,7 +537,6 @@ client cluster AccessControl = 31 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Actions = 37 { @@ -632,7 +622,6 @@ client cluster Actions = 37 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct InstantActionRequest { INT16U actionID = 0; optional INT32U invokeID = 1; @@ -759,7 +748,6 @@ client cluster BasicInformation = 40 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OtaSoftwareUpdateProvider = 41 { @@ -790,7 +778,6 @@ client cluster OtaSoftwareUpdateProvider = 41 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct QueryImageRequest { vendor_id vendorID = 0; INT16U productID = 1; @@ -896,7 +883,6 @@ client cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; vendor_id vendorID = 1; @@ -917,7 +903,6 @@ client cluster LocalizationConfiguration = 43 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster TimeFormatLocalization = 44 { @@ -950,7 +935,6 @@ client cluster TimeFormatLocalization = 44 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster UnitLocalization = 45 { @@ -971,7 +955,6 @@ client cluster UnitLocalization = 45 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster PowerSourceConfiguration = 46 { @@ -982,7 +965,6 @@ client cluster PowerSourceConfiguration = 46 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster PowerSource = 47 { @@ -1223,7 +1205,6 @@ client cluster PowerSource = 47 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster GeneralCommissioning = 48 { @@ -1258,7 +1239,6 @@ client cluster GeneralCommissioning = 48 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; INT64U breadcrumb = 1; @@ -1369,7 +1349,6 @@ client cluster NetworkCommissioning = 49 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; optional INT64U breadcrumb = 1; @@ -1456,7 +1435,6 @@ client cluster DiagnosticLogs = 50 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; @@ -1569,7 +1547,6 @@ client cluster GeneralDiagnostics = 51 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; INT64U eventTrigger = 1; @@ -1608,7 +1585,6 @@ client cluster SoftwareDiagnostics = 52 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetWatermarks(): DefaultSuccess = 0; } @@ -1771,7 +1747,6 @@ client cluster ThreadNetworkDiagnostics = 53 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1844,7 +1819,6 @@ client cluster WiFiNetworkDiagnostics = 54 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1883,7 +1857,6 @@ client cluster EthernetNetworkDiagnostics = 55 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command ResetCounts(): DefaultSuccess = 0; } @@ -1923,7 +1896,6 @@ client cluster BridgedDeviceBasicInformation = 57 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Switch = 59 { @@ -1974,7 +1946,6 @@ client cluster Switch = 59 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster AdministratorCommissioning = 60 { @@ -2000,7 +1971,6 @@ client cluster AdministratorCommissioning = 60 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; OCTET_STRING PAKEPasscodeVerifier = 1; @@ -2065,7 +2035,6 @@ client cluster OperationalCredentials = 62 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; } @@ -2175,7 +2144,6 @@ client cluster GroupKeyManagement = 63 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; } @@ -2214,7 +2182,6 @@ client cluster FixedLabel = 64 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster UserLabel = 65 { @@ -2225,7 +2192,6 @@ client cluster UserLabel = 65 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster BooleanState = 69 { @@ -2240,7 +2206,6 @@ client cluster BooleanState = 69 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster ModeSelect = 80 { @@ -2272,7 +2237,6 @@ client cluster ModeSelect = 80 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ChangeToModeRequest { INT8U newMode = 0; } @@ -2697,7 +2661,6 @@ client cluster DoorLock = 257 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; } @@ -2990,7 +2953,6 @@ client cluster WindowCovering = 258 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct GoToLiftValueRequest { INT16U liftValue = 0; } @@ -3034,7 +2996,6 @@ client cluster BarrierControl = 259 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct BarrierControlGoToPercentRequest { INT8U percentOpen = 0; } @@ -3162,7 +3123,6 @@ client cluster PumpConfigurationAndControl = 512 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Thermostat = 513 { @@ -3286,7 +3246,6 @@ client cluster Thermostat = 513 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; INT8S amount = 1; @@ -3377,7 +3336,6 @@ client cluster FanControl = 514 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster ThermostatUserInterfaceConfiguration = 516 { @@ -3390,7 +3348,6 @@ client cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster ColorControl = 768 { @@ -3522,7 +3479,6 @@ client cluster ColorControl = 768 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct MoveToHueRequest { INT8U hue = 0; HueDirection direction = 1; @@ -3713,7 +3669,6 @@ client cluster BallastConfiguration = 769 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster IlluminanceMeasurement = 1024 { @@ -3733,7 +3688,6 @@ client cluster IlluminanceMeasurement = 1024 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster TemperatureMeasurement = 1026 { @@ -3747,7 +3701,6 @@ client cluster TemperatureMeasurement = 1026 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster PressureMeasurement = 1027 { @@ -3770,7 +3723,6 @@ client cluster PressureMeasurement = 1027 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster FlowMeasurement = 1028 { @@ -3784,7 +3736,6 @@ client cluster FlowMeasurement = 1028 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster RelativeHumidityMeasurement = 1029 { @@ -3798,7 +3749,6 @@ client cluster RelativeHumidityMeasurement = 1029 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster OccupancySensing = 1030 { @@ -3837,7 +3787,6 @@ client cluster OccupancySensing = 1030 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster WakeOnLan = 1283 { @@ -3848,7 +3797,6 @@ client cluster WakeOnLan = 1283 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster Channel = 1284 { @@ -3892,7 +3840,6 @@ client cluster Channel = 1284 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct ChangeChannelRequest { CHAR_STRING match = 0; } @@ -3937,7 +3884,6 @@ client cluster TargetNavigator = 1285 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct NavigateTargetRequest { INT8U target = 0; optional CHAR_STRING data = 1; @@ -3992,7 +3938,6 @@ client cluster MediaPlayback = 1286 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SkipForwardRequest { INT64U deltaPositionMilliseconds = 0; } @@ -4059,7 +4004,6 @@ client cluster MediaInput = 1287 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SelectInputRequest { INT8U index = 0; } @@ -4083,7 +4027,6 @@ client cluster LowPower = 1288 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - command Sleep(): DefaultSuccess = 0; } @@ -4196,7 +4139,6 @@ client cluster KeypadInput = 1289 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SendKeyRequest { CecKeyCode keyCode = 0; } @@ -4292,7 +4234,6 @@ client cluster ContentLauncher = 1290 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct LaunchContentRequest { ContentSearchStruct search = 0; BOOLEAN autoPlay = 1; @@ -4343,7 +4284,6 @@ client cluster AudioOutput = 1291 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct SelectOutputRequest { INT8U index = 0; } @@ -4382,7 +4322,6 @@ client cluster ApplicationLauncher = 1292 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct LaunchAppRequest { optional ApplicationStruct application = 0; optional OCTET_STRING data = 1; @@ -4428,7 +4367,6 @@ client cluster ApplicationBasic = 1293 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster AccountLogin = 1294 { @@ -4439,7 +4377,6 @@ client cluster AccountLogin = 1294 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct GetSetupPINRequest { CHAR_STRING<100> tempAccountIdentifier = 0; } @@ -4593,7 +4530,6 @@ client cluster ElectricalMeasurement = 2820 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - } client cluster ClientMonitoring = 4166 { @@ -4614,7 +4550,6 @@ client cluster ClientMonitoring = 4166 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct RegisterClientMonitoringRequest { node_id clientNodeId = 0; INT64U ICid = 1; @@ -4831,7 +4766,6 @@ client cluster UnitTesting = 4294048773 { readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - request struct TestAddArgumentsRequest { INT8U arg1 = 0; INT8U arg2 = 1; diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java b/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java index 68cadaf318e3e4..4b6a5d2fc64fe6 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java @@ -19,78 +19,64 @@ 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) { @@ -119,7 +105,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(); @@ -141,217 +127,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 { @@ -364,276 +348,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 { @@ -646,443 +621,393 @@ 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 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 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 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 { @@ -1095,368 +1020,351 @@ 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 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 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); } public static class OnOffSwitchConfigurationCluster extends BaseChipCluster { @@ -1469,181 +1377,187 @@ public OnOffSwitchConfigurationCluster(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 readSwitchTypeAttribute(IntegerAttributeCallback callback) { + public void readSwitchTypeAttribute( + IntegerAttributeCallback callback + ) { readSwitchTypeAttribute(chipClusterPtr, callback); } - public void subscribeSwitchTypeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + 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 { @@ -1656,790 +1570,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 { @@ -2452,370 +2187,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 DescriptorCluster extends BaseChipCluster { @@ -2828,237 +2558,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); + 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) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readDeviceTypeListAttribute( + DeviceTypeListAttributeCallback callback + ) { + readDeviceTypeListAttribute(chipClusterPtr, callback); } - - public interface ServerListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeDeviceTypeListAttribute( + DeviceTypeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeDeviceTypeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface ClientListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readServerListAttribute( + ServerListAttributeCallback callback + ) { + readServerListAttribute(chipClusterPtr, callback); } - - public interface PartsListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeServerListAttribute( + ServerListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeServerListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readClientListAttribute( + ClientListAttributeCallback callback + ) { + readClientListAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeClientListAttribute( + ClientListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeClientListAttribute(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 readDeviceTypeListAttribute(DeviceTypeListAttributeCallback callback) { - readDeviceTypeListAttribute(chipClusterPtr, callback); - } - - public void subscribeDeviceTypeListAttribute( - DeviceTypeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDeviceTypeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readServerListAttribute(ServerListAttributeCallback callback) { - readServerListAttribute(chipClusterPtr, callback); - } - - public void subscribeServerListAttribute( - ServerListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeServerListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClientListAttribute(ClientListAttributeCallback callback) { - readClientListAttribute(chipClusterPtr, callback); - } - - public void subscribeClientListAttribute( - 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 { @@ -3071,177 +2800,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 { @@ -3254,267 +2979,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 { @@ -3527,465 +3248,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 { @@ -3998,502 +3629,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 { @@ -4506,259 +4163,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 { @@ -4771,284 +4363,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 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 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 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 { @@ -5061,195 +4618,192 @@ 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 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 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); } public static class TimeFormatLocalizationCluster extends BaseChipCluster { @@ -5262,395 +4816,394 @@ public TimeFormatLocalizationCluster(long devicePtr, int 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 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 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 writeHourFormatAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public static class UnitLocalizationCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 45L; - private native void subscribeHourFormatAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public UnitLocalizationCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void readActiveCalendarTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void writeActiveCalendarTypeAttribute( - 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 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 { - public static final long CLUSTER_ID = 45L; - - public UnitLocalizationCluster(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 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 { @@ -5663,159 +5216,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 { @@ -5828,1042 +5386,1075 @@ 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 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 readDescriptionAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); + public static class GeneralCommissioningCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 48L; - private native void subscribeDescriptionAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); + public GeneralCommissioningCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void readWiredAssessedInputVoltageAttribute( - long chipClusterPtr, WiredAssessedInputVoltageAttributeCallback callback); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void subscribeWiredAssessedInputVoltageAttribute( - long chipClusterPtr, - WiredAssessedInputVoltageAttributeCallback callback, - int minInterval, - int maxInterval); + public void armFailSafe(ArmFailSafeResponseCallback callback + , Integer expiryLengthSeconds, Long breadcrumb) { + armFailSafe(chipClusterPtr, callback, expiryLengthSeconds, breadcrumb, null); + } - private native void readWiredAssessedInputFrequencyAttribute( - long chipClusterPtr, WiredAssessedInputFrequencyAttributeCallback callback); + public void armFailSafe(ArmFailSafeResponseCallback callback + , Integer expiryLengthSeconds, Long breadcrumb + , int timedInvokeTimeoutMs) { + armFailSafe(chipClusterPtr, callback, expiryLengthSeconds, breadcrumb, timedInvokeTimeoutMs); + } - private native void subscribeWiredAssessedInputFrequencyAttribute( - long chipClusterPtr, - WiredAssessedInputFrequencyAttributeCallback callback, - int minInterval, - int maxInterval); + public void setRegulatoryConfig(SetRegulatoryConfigResponseCallback callback + , Integer newRegulatoryConfig, String countryCode, Long breadcrumb) { + setRegulatoryConfig(chipClusterPtr, callback, newRegulatoryConfig, countryCode, breadcrumb, null); + } - private native void readWiredCurrentTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void setRegulatoryConfig(SetRegulatoryConfigResponseCallback callback + , Integer newRegulatoryConfig, String countryCode, Long breadcrumb + , int timedInvokeTimeoutMs) { + setRegulatoryConfig(chipClusterPtr, callback, newRegulatoryConfig, countryCode, breadcrumb, timedInvokeTimeoutMs); + } - private native void subscribeWiredCurrentTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void commissioningComplete(CommissioningCompleteResponseCallback callback + ) { + commissioningComplete(chipClusterPtr, callback, null); + } - private native void readWiredAssessedCurrentAttribute( - long chipClusterPtr, WiredAssessedCurrentAttributeCallback callback); + 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); + public interface ArmFailSafeResponseCallback { + void onSuccess(Integer errorCode, String debugText); + + void onError(Exception error); + } - private native void subscribeWiredAssessedCurrentAttribute( - long chipClusterPtr, - WiredAssessedCurrentAttributeCallback callback, - int minInterval, - int maxInterval); + public interface SetRegulatoryConfigResponseCallback { + void onSuccess(Integer errorCode, String debugText); + + void onError(Exception error); + } - private native void readWiredNominalVoltageAttribute( - long chipClusterPtr, LongAttributeCallback callback); + public interface CommissioningCompleteResponseCallback { + void onSuccess(Integer errorCode, String debugText); + + void onError(Exception error); + } - private native void subscribeWiredNominalVoltageAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - private native void readWiredMaximumCurrentAttribute( - 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 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 { - public static final long CLUSTER_ID = 48L; - - public GeneralCommissioningCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - 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) { - 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, - int timedInvokeTimeoutMs) { - setRegulatoryConfig( - chipClusterPtr, - callback, - newRegulatoryConfig, - countryCode, - breadcrumb, - timedInvokeTimeoutMs); - } - - public void commissioningComplete(CommissioningCompleteResponseCallback callback) { - commissioningComplete(chipClusterPtr, callback, null); - } - - 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); - - 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 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 { @@ -6876,476 +6467,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 { @@ -7358,178 +6896,160 @@ 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 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 onSuccess(Integer status, byte[] logContent, Optional UTCTimeStamp, Optional timeSinceBoot); + void onError(Exception error); } - 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 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) { + 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 { @@ -7542,335 +7062,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 { @@ -7883,222 +7413,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 { @@ -8111,19453 +7654,19098 @@ 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 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) {} - } - - 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) { + public void readRouteTableAttribute( + RouteTableAttributeCallback callback + ) { readRouteTableAttribute(chipClusterPtr, callback); } - public void subscribeRouteTableAttribute( - RouteTableAttributeCallback callback, int minInterval, int maxInterval) { + RouteTableAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeRouteTableAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPartitionIdAttribute(PartitionIdAttributeCallback callback) { + public void readPartitionIdAttribute( + PartitionIdAttributeCallback callback + ) { readPartitionIdAttribute(chipClusterPtr, callback); } - public void subscribePartitionIdAttribute( - PartitionIdAttributeCallback callback, int minInterval, int maxInterval) { + 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 subscribeRoutingRoleAttribute( - long chipClusterPtr, - RoutingRoleAttributeCallback callback, - int minInterval, - int 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 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 readNetworkNameAttribute( - long chipClusterPtr, NetworkNameAttributeCallback callback); + public static class WiFiNetworkDiagnosticsCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 54L; - private native void subscribeNetworkNameAttribute( - long chipClusterPtr, - NetworkNameAttributeCallback callback, - int minInterval, - int maxInterval); + public WiFiNetworkDiagnosticsCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void readPanIdAttribute(long chipClusterPtr, PanIdAttributeCallback callback); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void subscribePanIdAttribute( - long chipClusterPtr, PanIdAttributeCallback callback, int minInterval, int maxInterval); + public void resetCounts(DefaultClusterCallback callback + ) { + resetCounts(chipClusterPtr, callback, null); + } - private native void readExtendedPanIdAttribute( - long chipClusterPtr, ExtendedPanIdAttributeCallback callback); + 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 subscribeExtendedPanIdAttribute( - long chipClusterPtr, - ExtendedPanIdAttributeCallback callback, - int minInterval, - int maxInterval); + 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 readMeshLocalPrefixAttribute( - long chipClusterPtr, MeshLocalPrefixAttributeCallback callback); + 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 subscribeMeshLocalPrefixAttribute( - long chipClusterPtr, - MeshLocalPrefixAttributeCallback callback, - int minInterval, - int maxInterval); + 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 readOverrunCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); + 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 subscribeOverrunCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + 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 readNeighborTableAttribute( - long chipClusterPtr, NeighborTableAttributeCallback callback); + 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 subscribeNeighborTableAttribute( - long chipClusterPtr, - NeighborTableAttributeCallback callback, - int minInterval, - int maxInterval); + 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 readRouteTableAttribute( - long chipClusterPtr, RouteTableAttributeCallback callback); + 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 subscribeRouteTableAttribute( - long chipClusterPtr, - RouteTableAttributeCallback callback, - int minInterval, - int maxInterval); + 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 readPartitionIdAttribute( - long chipClusterPtr, PartitionIdAttributeCallback callback); + 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 subscribePartitionIdAttribute( - long chipClusterPtr, - PartitionIdAttributeCallback callback, - int minInterval, - int maxInterval); + 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 readWeightingAttribute( - long chipClusterPtr, WeightingAttributeCallback callback); + 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 subscribeWeightingAttribute( - long chipClusterPtr, WeightingAttributeCallback callback, int minInterval, int maxInterval); + 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 readDataVersionAttribute( - long chipClusterPtr, DataVersionAttributeCallback callback); + 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 subscribeDataVersionAttribute( - long chipClusterPtr, - DataVersionAttributeCallback 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 readStableDataVersionAttribute( - long chipClusterPtr, StableDataVersionAttributeCallback 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 subscribeStableDataVersionAttribute( - long chipClusterPtr, - StableDataVersionAttributeCallback 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 readLeaderRouterIdAttribute( - long chipClusterPtr, LeaderRouterIdAttributeCallback 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 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); + 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 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 interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - 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 AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readCarrierDetectAttribute( + CarrierDetectAttributeCallback callback + ) { + readCarrierDetectAttribute(chipClusterPtr, callback); } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeCarrierDetectAttribute( + CarrierDetectAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeCarrierDetectAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readTimeSinceResetAttribute( + LongAttributeCallback callback + ) { + readTimeSinceResetAttribute(chipClusterPtr, callback); } - - public void readBssidAttribute(BssidAttributeCallback callback) { - readBssidAttribute(chipClusterPtr, callback); + public void subscribeTimeSinceResetAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTimeSinceResetAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeBssidAttribute( - BssidAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBssidAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void readSecurityTypeAttribute(SecurityTypeAttributeCallback callback) { - readSecurityTypeAttribute(chipClusterPtr, callback); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeSecurityTypeAttribute( - SecurityTypeAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSecurityTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void readWiFiVersionAttribute(WiFiVersionAttributeCallback callback) { - readWiFiVersionAttribute(chipClusterPtr, callback); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeWiFiVersionAttribute( - WiFiVersionAttributeCallback callback, int minInterval, int maxInterval) { - subscribeWiFiVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void readChannelNumberAttribute(ChannelNumberAttributeCallback callback) { - readChannelNumberAttribute(chipClusterPtr, callback); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeChannelNumberAttribute( - ChannelNumberAttributeCallback callback, int minInterval, int maxInterval) { - subscribeChannelNumberAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void readRssiAttribute(RssiAttributeCallback callback) { - readRssiAttribute(chipClusterPtr, callback); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeRssiAttribute( - RssiAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRssiAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void readBeaconLostCountAttribute(BeaconLostCountAttributeCallback callback) { - readBeaconLostCountAttribute(chipClusterPtr, callback); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeBeaconLostCountAttribute( - BeaconLostCountAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBeaconLostCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void readBeaconRxCountAttribute(BeaconRxCountAttributeCallback callback) { - readBeaconRxCountAttribute(chipClusterPtr, callback); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeBeaconRxCountAttribute( - BeaconRxCountAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBeaconRxCountAttribute(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 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); + } - public void readPacketMulticastRxCountAttribute( - PacketMulticastRxCountAttributeCallback callback) { - readPacketMulticastRxCountAttribute(chipClusterPtr, callback); - } + public static class BridgedDeviceBasicInformationCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 57L; - public void subscribePacketMulticastRxCountAttribute( - PacketMulticastRxCountAttributeCallback callback, int minInterval, int maxInterval) { - subscribePacketMulticastRxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public BridgedDeviceBasicInformationCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void readPacketMulticastTxCountAttribute( - PacketMulticastTxCountAttributeCallback callback) { - readPacketMulticastTxCountAttribute(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 readVendorNameAttribute( + CharStringAttributeCallback callback + ) { + readVendorNameAttribute(chipClusterPtr, callback); + } + public void subscribeVendorNameAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeVendorNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePacketMulticastTxCountAttribute( - PacketMulticastTxCountAttributeCallback callback, int minInterval, int maxInterval) { - subscribePacketMulticastTxCountAttribute(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 readPacketUnicastRxCountAttribute(PacketUnicastRxCountAttributeCallback callback) { - readPacketUnicastRxCountAttribute(chipClusterPtr, callback); + public void readProductNameAttribute( + CharStringAttributeCallback callback + ) { + readProductNameAttribute(chipClusterPtr, callback); + } + public void subscribeProductNameAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeProductNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePacketUnicastRxCountAttribute( - PacketUnicastRxCountAttributeCallback callback, int minInterval, int maxInterval) { - subscribePacketUnicastRxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readNodeLabelAttribute( + CharStringAttributeCallback callback + ) { + readNodeLabelAttribute(chipClusterPtr, callback); + } + public void writeNodeLabelAttribute(DefaultClusterCallback callback, String value) { + writeNodeLabelAttribute(chipClusterPtr, callback, value, null); } - public void readPacketUnicastTxCountAttribute(PacketUnicastTxCountAttributeCallback callback) { - readPacketUnicastTxCountAttribute(chipClusterPtr, callback); + public void writeNodeLabelAttribute(DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { + writeNodeLabelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeNodeLabelAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNodeLabelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePacketUnicastTxCountAttribute( - PacketUnicastTxCountAttributeCallback callback, int minInterval, int maxInterval) { - subscribePacketUnicastTxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readHardwareVersionAttribute( + IntegerAttributeCallback callback + ) { + readHardwareVersionAttribute(chipClusterPtr, callback); + } + public void subscribeHardwareVersionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeHardwareVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCurrentMaxRateAttribute(CurrentMaxRateAttributeCallback callback) { - readCurrentMaxRateAttribute(chipClusterPtr, callback); + public void readHardwareVersionStringAttribute( + CharStringAttributeCallback callback + ) { + readHardwareVersionStringAttribute(chipClusterPtr, callback); + } + public void subscribeHardwareVersionStringAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeHardwareVersionStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentMaxRateAttribute( - CurrentMaxRateAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentMaxRateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readSoftwareVersionAttribute( + LongAttributeCallback callback + ) { + readSoftwareVersionAttribute(chipClusterPtr, callback); + } + public void subscribeSoftwareVersionAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSoftwareVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOverrunCountAttribute(OverrunCountAttributeCallback callback) { - readOverrunCountAttribute(chipClusterPtr, callback); + public void readSoftwareVersionStringAttribute( + CharStringAttributeCallback callback + ) { + readSoftwareVersionStringAttribute(chipClusterPtr, callback); + } + public void subscribeSoftwareVersionStringAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSoftwareVersionStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeOverrunCountAttribute( - OverrunCountAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOverrunCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readManufacturingDateAttribute( + CharStringAttributeCallback callback + ) { + readManufacturingDateAttribute(chipClusterPtr, callback); + } + 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 subscribePartNumberAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePartNumberAttribute(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 readProductLabelAttribute( + CharStringAttributeCallback callback + ) { + readProductLabelAttribute(chipClusterPtr, callback); + } + public void subscribeProductLabelAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeProductLabelAttribute(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 readReachableAttribute( + BooleanAttributeCallback callback + ) { + readReachableAttribute(chipClusterPtr, callback); + } + public void subscribeReachableAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeReachableAttribute(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 + ) { + 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 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); } - public static class EthernetNetworkDiagnosticsCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 55L; + public static class SwitchCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 59L; - public EthernetNetworkDiagnosticsCluster(long devicePtr, int endpointId) { + public SwitchCluster(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 readNumberOfPositionsAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfPositionsAttribute(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 subscribeNumberOfPositionsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfPositionsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface FullDuplexAttributeCallback { - void onSuccess(@Nullable Boolean value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readCurrentPositionAttribute( + IntegerAttributeCallback callback + ) { + readCurrentPositionAttribute(chipClusterPtr, callback); } - - public interface CarrierDetectAttributeCallback { - void onSuccess(@Nullable Boolean value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeCurrentPositionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentPositionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMultiPressMaxAttribute( + IntegerAttributeCallback callback + ) { + readMultiPressMaxAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMultiPressMaxAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMultiPressMaxAttribute(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 readPHYRateAttribute(PHYRateAttributeCallback callback) { - readPHYRateAttribute(chipClusterPtr, callback); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void subscribePHYRateAttribute( - PHYRateAttributeCallback callback, int minInterval, int maxInterval) { - subscribePHYRateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFullDuplexAttribute(FullDuplexAttributeCallback callback) { - readFullDuplexAttribute(chipClusterPtr, callback); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void subscribeFullDuplexAttribute( - FullDuplexAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFullDuplexAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPacketRxCountAttribute(LongAttributeCallback callback) { - readPacketRxCountAttribute(chipClusterPtr, callback); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void subscribePacketRxCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePacketRxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPacketTxCountAttribute(LongAttributeCallback callback) { - readPacketTxCountAttribute(chipClusterPtr, callback); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void subscribePacketTxCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePacketTxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTxErrCountAttribute(LongAttributeCallback callback) { - readTxErrCountAttribute(chipClusterPtr, callback); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void subscribeTxErrCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTxErrCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCollisionCountAttribute(LongAttributeCallback callback) { - readCollisionCountAttribute(chipClusterPtr, callback); - } + 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 void subscribeCollisionCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCollisionCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public static class AdministratorCommissioningCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 60L; + + public AdministratorCommissioningCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void readOverrunCountAttribute(LongAttributeCallback callback) { - readOverrunCountAttribute(chipClusterPtr, callback); + @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 subscribeOverrunCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOverrunCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void openBasicCommissioningWindow(DefaultClusterCallback callback + , Integer commissioningTimeout + , int timedInvokeTimeoutMs) { + openBasicCommissioningWindow(chipClusterPtr, callback, commissioningTimeout, timedInvokeTimeoutMs); } - public void readCarrierDetectAttribute(CarrierDetectAttributeCallback callback) { - readCarrierDetectAttribute(chipClusterPtr, callback); + + 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 subscribeCarrierDetectAttribute( - CarrierDetectAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCarrierDetectAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readWindowStatusAttribute( + IntegerAttributeCallback callback + ) { + readWindowStatusAttribute(chipClusterPtr, callback); + } + public void subscribeWindowStatusAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeWindowStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTimeSinceResetAttribute(LongAttributeCallback callback) { - readTimeSinceResetAttribute(chipClusterPtr, callback); + public void readAdminFabricIndexAttribute( + AdminFabricIndexAttributeCallback callback + ) { + readAdminFabricIndexAttribute(chipClusterPtr, callback); + } + public void subscribeAdminFabricIndexAttribute( + AdminFabricIndexAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAdminFabricIndexAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeTimeSinceResetAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTimeSinceResetAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAdminVendorIdAttribute( + AdminVendorIdAttributeCallback callback + ) { + readAdminVendorIdAttribute(chipClusterPtr, callback); + } + public void subscribeAdminVendorIdAttribute( + AdminVendorIdAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAdminVendorIdAttribute(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 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); + 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); } - public static class BridgedDeviceBasicInformationCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 57L; + public static class OperationalCredentialsCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 62L; - public BridgedDeviceBasicInformationCluster(long devicePtr, int endpointId) { + public OperationalCredentialsCluster(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 void attestationRequest(AttestationResponseCallback callback + , byte[] attestationNonce) { + attestationRequest(chipClusterPtr, callback, attestationNonce, null); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void attestationRequest(AttestationResponseCallback callback + , byte[] attestationNonce + , int timedInvokeTimeoutMs) { + attestationRequest(chipClusterPtr, callback, attestationNonce, timedInvokeTimeoutMs); } - public void readVendorNameAttribute(CharStringAttributeCallback callback) { - readVendorNameAttribute(chipClusterPtr, callback); + public void certificateChainRequest(CertificateChainResponseCallback callback + , Integer certificateType) { + certificateChainRequest(chipClusterPtr, callback, certificateType, null); } - public void subscribeVendorNameAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeVendorNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void certificateChainRequest(CertificateChainResponseCallback callback + , Integer certificateType + , int timedInvokeTimeoutMs) { + certificateChainRequest(chipClusterPtr, callback, certificateType, timedInvokeTimeoutMs); } - public void readVendorIDAttribute(IntegerAttributeCallback callback) { - readVendorIDAttribute(chipClusterPtr, callback); + public void CSRRequest(CSRResponseCallback callback + , byte[] CSRNonce, Optional isForUpdateNOC) { + CSRRequest(chipClusterPtr, callback, CSRNonce, isForUpdateNOC, null); } - public void subscribeVendorIDAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeVendorIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void CSRRequest(CSRResponseCallback callback + , byte[] CSRNonce, Optional isForUpdateNOC + , int timedInvokeTimeoutMs) { + CSRRequest(chipClusterPtr, callback, CSRNonce, isForUpdateNOC, timedInvokeTimeoutMs); } - public void readProductNameAttribute(CharStringAttributeCallback callback) { - readProductNameAttribute(chipClusterPtr, callback); + 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 subscribeProductNameAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeProductNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); + 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 readNodeLabelAttribute(CharStringAttributeCallback callback) { - readNodeLabelAttribute(chipClusterPtr, callback); + public void updateNOC(NOCResponseCallback callback + , byte[] NOCValue, Optional ICACValue) { + updateNOC(chipClusterPtr, callback, NOCValue, ICACValue, null); } - public void writeNodeLabelAttribute(DefaultClusterCallback callback, String value) { - writeNodeLabelAttribute(chipClusterPtr, callback, value, null); + public void updateNOC(NOCResponseCallback callback + , byte[] NOCValue, Optional ICACValue + , int timedInvokeTimeoutMs) { + updateNOC(chipClusterPtr, callback, NOCValue, ICACValue, timedInvokeTimeoutMs); } - public void writeNodeLabelAttribute( - DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { - writeNodeLabelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void updateFabricLabel(NOCResponseCallback callback + , String label) { + updateFabricLabel(chipClusterPtr, callback, label, null); } - public void subscribeNodeLabelAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNodeLabelAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void updateFabricLabel(NOCResponseCallback callback + , String label + , int timedInvokeTimeoutMs) { + updateFabricLabel(chipClusterPtr, callback, label, timedInvokeTimeoutMs); } - public void readHardwareVersionAttribute(IntegerAttributeCallback callback) { - readHardwareVersionAttribute(chipClusterPtr, callback); + public void removeFabric(NOCResponseCallback callback + , Integer fabricIndex) { + removeFabric(chipClusterPtr, callback, fabricIndex, null); } - public void subscribeHardwareVersionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeHardwareVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void removeFabric(NOCResponseCallback callback + , Integer fabricIndex + , int timedInvokeTimeoutMs) { + removeFabric(chipClusterPtr, callback, fabricIndex, timedInvokeTimeoutMs); } - public void readHardwareVersionStringAttribute(CharStringAttributeCallback callback) { - readHardwareVersionStringAttribute(chipClusterPtr, callback); + public void addTrustedRootCertificate(DefaultClusterCallback callback + , byte[] rootCACertificate) { + addTrustedRootCertificate(chipClusterPtr, callback, rootCACertificate, null); } - public void subscribeHardwareVersionStringAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeHardwareVersionStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void addTrustedRootCertificate(DefaultClusterCallback callback + , byte[] rootCACertificate + , int timedInvokeTimeoutMs) { + addTrustedRootCertificate(chipClusterPtr, callback, rootCACertificate, timedInvokeTimeoutMs); } - - public void readSoftwareVersionAttribute(LongAttributeCallback callback) { - readSoftwareVersionAttribute(chipClusterPtr, callback); + 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 subscribeSoftwareVersionAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSoftwareVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public interface CertificateChainResponseCallback { + void onSuccess(byte[] certificate); + + void onError(Exception error); } - public void readSoftwareVersionStringAttribute(CharStringAttributeCallback callback) { - readSoftwareVersionStringAttribute(chipClusterPtr, callback); + public interface CSRResponseCallback { + void onSuccess(byte[] NOCSRElements, byte[] attestationSignature); + + void onError(Exception error); } - public void subscribeSoftwareVersionStringAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSoftwareVersionStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public interface NOCResponseCallback { + void onSuccess(Integer statusCode, Optional fabricIndex, Optional debugText); + + void onError(Exception error); } - public void readManufacturingDateAttribute(CharStringAttributeCallback callback) { - readManufacturingDateAttribute(chipClusterPtr, callback); - } - public void subscribeManufacturingDateAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeManufacturingDateAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + 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 readPartNumberAttribute(CharStringAttributeCallback callback) { - readPartNumberAttribute(chipClusterPtr, callback); + public void readNOCsAttribute( + NOCsAttributeCallback callback + ) { + readNOCsAttribute(chipClusterPtr, callback); } - - public void subscribePartNumberAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribePartNumberAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeNOCsAttribute( + NOCsAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeNOCsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readProductURLAttribute(CharStringAttributeCallback callback) { - readProductURLAttribute(chipClusterPtr, callback); + public void readFabricsAttribute( + FabricsAttributeCallback callback + ) { + readFabricsAttribute(chipClusterPtr, callback); } - - public void subscribeProductURLAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeProductURLAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeFabricsAttribute( + FabricsAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeFabricsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readProductLabelAttribute(CharStringAttributeCallback callback) { - readProductLabelAttribute(chipClusterPtr, callback); + public void readSupportedFabricsAttribute( + IntegerAttributeCallback callback + ) { + readSupportedFabricsAttribute(chipClusterPtr, callback); } - - public void subscribeProductLabelAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeProductLabelAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeSupportedFabricsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSupportedFabricsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSerialNumberAttribute(CharStringAttributeCallback callback) { - readSerialNumberAttribute(chipClusterPtr, callback); + public void readCommissionedFabricsAttribute( + IntegerAttributeCallback callback + ) { + readCommissionedFabricsAttribute(chipClusterPtr, callback); } - - public void subscribeSerialNumberAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSerialNumberAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeCommissionedFabricsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCommissionedFabricsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readReachableAttribute(BooleanAttributeCallback callback) { - readReachableAttribute(chipClusterPtr, callback); + public void readTrustedRootCertificatesAttribute( + TrustedRootCertificatesAttributeCallback callback + ) { + readTrustedRootCertificatesAttribute(chipClusterPtr, callback); } - - public void subscribeReachableAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeReachableAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeTrustedRootCertificatesAttribute( + TrustedRootCertificatesAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeTrustedRootCertificatesAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUniqueIDAttribute(CharStringAttributeCallback callback) { - readUniqueIDAttribute(chipClusterPtr, callback); + public void readCurrentFabricIndexAttribute( + IntegerAttributeCallback callback + ) { + readCurrentFabricIndexAttribute(chipClusterPtr, callback); } - - public void subscribeUniqueIDAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUniqueIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); + 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 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 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); } - public static class SwitchCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 59L; + public static class GroupKeyManagementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 63L; - public SwitchCluster(long devicePtr, int endpointId) { + public GroupKeyManagementCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); + public void keySetWrite(DefaultClusterCallback callback + , ChipStructs.GroupKeyManagementClusterGroupKeySetStruct groupKeySet) { + keySetWrite(chipClusterPtr, callback, groupKeySet, null); + } - void onError(Exception ex); + public void keySetWrite(DefaultClusterCallback callback + , ChipStructs.GroupKeyManagementClusterGroupKeySetStruct groupKeySet + , int timedInvokeTimeoutMs) { + keySetWrite(chipClusterPtr, callback, groupKeySet, timedInvokeTimeoutMs); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void keySetRead(KeySetReadResponseCallback callback + , Integer groupKeySetID) { + keySetRead(chipClusterPtr, callback, groupKeySetID, null); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); + public void keySetRead(KeySetReadResponseCallback callback + , Integer groupKeySetID + , int timedInvokeTimeoutMs) { + keySetRead(chipClusterPtr, callback, groupKeySetID, timedInvokeTimeoutMs); + } - void onError(Exception ex); + public void keySetRemove(DefaultClusterCallback callback + , Integer groupKeySetID) { + keySetRemove(chipClusterPtr, callback, groupKeySetID, null); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void keySetRemove(DefaultClusterCallback callback + , Integer groupKeySetID + , int timedInvokeTimeoutMs) { + keySetRemove(chipClusterPtr, callback, groupKeySetID, timedInvokeTimeoutMs); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); + public void keySetReadAllIndices(KeySetReadAllIndicesResponseCallback callback + , ArrayList groupKeySetIDs) { + keySetReadAllIndices(chipClusterPtr, callback, groupKeySetIDs, null); + } - void onError(Exception ex); + 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); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public interface KeySetReadAllIndicesResponseCallback { + void onSuccess(ArrayList groupKeySetIDs); + + void onError(Exception error); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - void onError(Exception ex); + 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) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readGroupKeyMapAttribute( + GroupKeyMapAttributeCallback callback + ) { + readGroupKeyMapAttribute(chipClusterPtr, callback); } - - public void readNumberOfPositionsAttribute(IntegerAttributeCallback callback) { - readNumberOfPositionsAttribute(chipClusterPtr, callback); + public void writeGroupKeyMapAttribute(DefaultClusterCallback callback, ArrayList value) { + writeGroupKeyMapAttribute(chipClusterPtr, callback, value, null); } - public void subscribeNumberOfPositionsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfPositionsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeGroupKeyMapAttribute(DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) { + writeGroupKeyMapAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readCurrentPositionAttribute(IntegerAttributeCallback callback) { - readCurrentPositionAttribute(chipClusterPtr, callback); + public void subscribeGroupKeyMapAttribute( + GroupKeyMapAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGroupKeyMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentPositionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentPositionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readGroupTableAttribute( + GroupTableAttributeCallback callback + ) { + readGroupTableAttribute(chipClusterPtr, callback); } - - public void readMultiPressMaxAttribute(IntegerAttributeCallback callback) { - readMultiPressMaxAttribute(chipClusterPtr, callback); + public void subscribeGroupTableAttribute( + GroupTableAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGroupTableAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMultiPressMaxAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMultiPressMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMaxGroupsPerFabricAttribute( + IntegerAttributeCallback callback + ) { + readMaxGroupsPerFabricAttribute(chipClusterPtr, callback); } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void subscribeMaxGroupsPerFabricAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMaxGroupsPerFabricAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + public void readMaxGroupKeysPerFabricAttribute( + IntegerAttributeCallback callback + ) { + readMaxGroupKeysPerFabricAttribute(chipClusterPtr, callback); + } + public void subscribeMaxGroupKeysPerFabricAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMaxGroupKeysPerFabricAttribute(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) { + 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 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 AdministratorCommissioningCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 60L; + public static class FixedLabelCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 64L; - public AdministratorCommissioningCluster(long devicePtr, int endpointId) { + public FixedLabelCluster(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) { + 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) {} + } - revokeCommissioning(chipClusterPtr, callback, timedInvokeTimeoutMs); + public void readLabelListAttribute( + LabelListAttributeCallback callback + ) { + readLabelListAttribute(chipClusterPtr, callback); } - - 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 subscribeLabelListAttribute( + LabelListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeLabelListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AdminVendorIdAttributeCallback { - void onSuccess(@Nullable Integer value); - - 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); + 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 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); + } - void onError(Exception ex); + public static class UserLabelCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 65L; - default void onSubscriptionEstablished(long subscriptionId) {} + public UserLabelCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void readWindowStatusAttribute(IntegerAttributeCallback callback) { - readWindowStatusAttribute(chipClusterPtr, callback); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void subscribeWindowStatusAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeWindowStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + 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 readAdminFabricIndexAttribute(AdminFabricIndexAttributeCallback callback) { - readAdminFabricIndexAttribute(chipClusterPtr, callback); + public void readLabelListAttribute( + LabelListAttributeCallback callback + ) { + readLabelListAttribute(chipClusterPtr, callback); } - - public void subscribeAdminFabricIndexAttribute( - AdminFabricIndexAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAdminFabricIndexAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeLabelListAttribute(DefaultClusterCallback callback, ArrayList value) { + writeLabelListAttribute(chipClusterPtr, callback, value, null); } - public void readAdminVendorIdAttribute(AdminVendorIdAttributeCallback callback) { - readAdminVendorIdAttribute(chipClusterPtr, callback); + public void writeLabelListAttribute(DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) { + writeLabelListAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeAdminVendorIdAttribute( - AdminVendorIdAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAdminVendorIdAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLabelListAttribute( + LabelListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeLabelListAttribute(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 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 OperationalCredentialsCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 62L; + public static class BooleanStateCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 69L; - public OperationalCredentialsCluster(long devicePtr, int endpointId) { + public BooleanStateCluster(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 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 attestationRequest( - AttestationResponseCallback callback, byte[] attestationNonce, int timedInvokeTimeoutMs) { - attestationRequest(chipClusterPtr, callback, attestationNonce, timedInvokeTimeoutMs); + public void readStateValueAttribute( + BooleanAttributeCallback callback + ) { + readStateValueAttribute(chipClusterPtr, callback); } - - public void certificateChainRequest( - CertificateChainResponseCallback callback, Integer certificateType) { - certificateChainRequest(chipClusterPtr, callback, certificateType, null); + public void subscribeStateValueAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeStateValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void certificateChainRequest( - CertificateChainResponseCallback callback, - Integer certificateType, - int timedInvokeTimeoutMs) { - certificateChainRequest(chipClusterPtr, callback, certificateType, timedInvokeTimeoutMs); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void CSRRequest( - CSRResponseCallback callback, byte[] CSRNonce, Optional isForUpdateNOC) { - CSRRequest(chipClusterPtr, callback, CSRNonce, isForUpdateNOC, null); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void CSRRequest( - CSRResponseCallback callback, - byte[] CSRNonce, - Optional isForUpdateNOC, - int timedInvokeTimeoutMs) { - CSRRequest(chipClusterPtr, callback, CSRNonce, isForUpdateNOC, timedInvokeTimeoutMs); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - 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 subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void updateNOC( - NOCResponseCallback callback, - byte[] NOCValue, - Optional ICACValue, - int timedInvokeTimeoutMs) { - updateNOC(chipClusterPtr, callback, NOCValue, ICACValue, timedInvokeTimeoutMs); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void updateFabricLabel(NOCResponseCallback callback, String label) { - updateFabricLabel(chipClusterPtr, callback, label, null); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void updateFabricLabel( - NOCResponseCallback callback, String label, int timedInvokeTimeoutMs) { - updateFabricLabel(chipClusterPtr, callback, label, timedInvokeTimeoutMs); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void removeFabric(NOCResponseCallback callback, Integer fabricIndex) { - removeFabric(chipClusterPtr, callback, fabricIndex, null); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void removeFabric( - NOCResponseCallback callback, Integer fabricIndex, int timedInvokeTimeoutMs) { - removeFabric(chipClusterPtr, callback, fabricIndex, timedInvokeTimeoutMs); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void addTrustedRootCertificate( - DefaultClusterCallback callback, byte[] rootCACertificate) { - addTrustedRootCertificate(chipClusterPtr, callback, rootCACertificate, null); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void addTrustedRootCertificate( - DefaultClusterCallback callback, byte[] rootCACertificate, int timedInvokeTimeoutMs) { - addTrustedRootCertificate(chipClusterPtr, callback, rootCACertificate, timedInvokeTimeoutMs); + 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 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); + 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 interface AttestationResponseCallback { - void onSuccess(byte[] attestationElements, byte[] attestationSignature); + public static class ModeSelectCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 80L; - void onError(Exception error); + public ModeSelectCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public interface CertificateChainResponseCallback { - void onSuccess(byte[] certificate); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - void onError(Exception error); + public void changeToMode(DefaultClusterCallback callback + , Integer newMode) { + changeToMode(chipClusterPtr, callback, newMode, null); } - public interface CSRResponseCallback { - void onSuccess(byte[] NOCSRElements, byte[] attestationSignature); - - void onError(Exception error); + 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 interface NOCResponseCallback { - void onSuccess(Integer statusCode, Optional fabricIndex, Optional debugText); + 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) {} + } - void onError(Exception error); + public void readDescriptionAttribute( + CharStringAttributeCallback callback + ) { + readDescriptionAttribute(chipClusterPtr, callback); } - - public interface NOCsAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeDescriptionAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDescriptionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface FabricsAttributeCallback { - void onSuccess( - List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readStandardNamespaceAttribute( + StandardNamespaceAttributeCallback callback + ) { + readStandardNamespaceAttribute(chipClusterPtr, callback); } - - public interface TrustedRootCertificatesAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeStandardNamespaceAttribute( + StandardNamespaceAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeStandardNamespaceAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readSupportedModesAttribute( + SupportedModesAttributeCallback callback + ) { + readSupportedModesAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeSupportedModesAttribute( + SupportedModesAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeSupportedModesAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readCurrentModeAttribute( + IntegerAttributeCallback callback + ) { + readCurrentModeAttribute(chipClusterPtr, callback); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeCurrentModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNOCsAttribute(NOCsAttributeCallback callback) { - readNOCsAttribute(chipClusterPtr, callback); + public void readStartUpModeAttribute( + StartUpModeAttributeCallback callback + ) { + readStartUpModeAttribute(chipClusterPtr, callback); + } + public void writeStartUpModeAttribute(DefaultClusterCallback callback, Integer value) { + writeStartUpModeAttribute(chipClusterPtr, callback, value, null); } - public void subscribeNOCsAttribute( - NOCsAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNOCsAttribute(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 readSupportedFabricsAttribute(IntegerAttributeCallback callback) { - readSupportedFabricsAttribute(chipClusterPtr, callback); - } - - public void subscribeSupportedFabricsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSupportedFabricsAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readCommissionedFabricsAttribute(IntegerAttributeCallback callback) { - readCommissionedFabricsAttribute(chipClusterPtr, callback); + public void writeStartUpModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeStartUpModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeCommissionedFabricsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCommissionedFabricsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeStartUpModeAttribute( + StartUpModeAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeStartUpModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTrustedRootCertificatesAttribute( - TrustedRootCertificatesAttributeCallback callback) { - readTrustedRootCertificatesAttribute(chipClusterPtr, callback); + public void readOnModeAttribute( + OnModeAttributeCallback callback + ) { + readOnModeAttribute(chipClusterPtr, callback); } - - public void subscribeTrustedRootCertificatesAttribute( - TrustedRootCertificatesAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTrustedRootCertificatesAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeOnModeAttribute(DefaultClusterCallback callback, Integer value) { + writeOnModeAttribute(chipClusterPtr, callback, value, null); } - public void readCurrentFabricIndexAttribute(IntegerAttributeCallback callback) { - readCurrentFabricIndexAttribute(chipClusterPtr, callback); + public void writeOnModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOnModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeCurrentFabricIndexAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentFabricIndexAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeOnModeAttribute( + OnModeAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeOnModeAttribute(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 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 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); + public void unlockWithTimeout(DefaultClusterCallback callback + , Integer timeout, Optional PINCode + , int timedInvokeTimeoutMs) { + unlockWithTimeout(chipClusterPtr, callback, timeout, PINCode, timedInvokeTimeoutMs); + } - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + 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); + } - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + 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 subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } + public void getWeekDaySchedule(GetWeekDayScheduleResponseCallback callback + , Integer weekDayIndex, Integer userIndex) { + getWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, null); + } - public static class GroupKeyManagementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 63L; + public void getWeekDaySchedule(GetWeekDayScheduleResponseCallback callback + , Integer weekDayIndex, Integer userIndex + , int timedInvokeTimeoutMs) { + getWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, timedInvokeTimeoutMs); + } - public GroupKeyManagementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void clearWeekDaySchedule(DefaultClusterCallback callback + , Integer weekDayIndex, Integer userIndex) { + clearWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, null); } - @Override - public native long initWithDevice(long devicePtr, int endpointId); + public void clearWeekDaySchedule(DefaultClusterCallback callback + , Integer weekDayIndex, Integer userIndex + , int timedInvokeTimeoutMs) { + clearWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, timedInvokeTimeoutMs); + } - public void keySetWrite( - DefaultClusterCallback callback, - ChipStructs.GroupKeyManagementClusterGroupKeySetStruct groupKeySet) { - keySetWrite(chipClusterPtr, callback, groupKeySet, null); + public void setYearDaySchedule(DefaultClusterCallback callback + , Integer yearDayIndex, Integer userIndex, Long localStartTime, Long localEndTime) { + setYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, localStartTime, localEndTime, null); } - public void keySetWrite( - DefaultClusterCallback callback, - ChipStructs.GroupKeyManagementClusterGroupKeySetStruct groupKeySet, - int timedInvokeTimeoutMs) { - keySetWrite(chipClusterPtr, callback, groupKeySet, timedInvokeTimeoutMs); + 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 keySetRead(KeySetReadResponseCallback callback, Integer groupKeySetID) { - keySetRead(chipClusterPtr, callback, groupKeySetID, null); + public void getYearDaySchedule(GetYearDayScheduleResponseCallback callback + , Integer yearDayIndex, Integer userIndex) { + getYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, null); } - public void keySetRead( - KeySetReadResponseCallback callback, Integer groupKeySetID, int timedInvokeTimeoutMs) { - keySetRead(chipClusterPtr, callback, groupKeySetID, timedInvokeTimeoutMs); + public void getYearDaySchedule(GetYearDayScheduleResponseCallback callback + , Integer yearDayIndex, Integer userIndex + , int timedInvokeTimeoutMs) { + getYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, timedInvokeTimeoutMs); } - public void keySetRemove(DefaultClusterCallback callback, Integer groupKeySetID) { - keySetRemove(chipClusterPtr, callback, groupKeySetID, null); + public void clearYearDaySchedule(DefaultClusterCallback callback + , Integer yearDayIndex, Integer userIndex) { + clearYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, null); } - public void keySetRemove( - DefaultClusterCallback callback, Integer groupKeySetID, int timedInvokeTimeoutMs) { - keySetRemove(chipClusterPtr, callback, groupKeySetID, timedInvokeTimeoutMs); + public void clearYearDaySchedule(DefaultClusterCallback callback + , Integer yearDayIndex, Integer userIndex + , int timedInvokeTimeoutMs) { + clearYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, timedInvokeTimeoutMs); } - public void keySetReadAllIndices( - KeySetReadAllIndicesResponseCallback callback, ArrayList groupKeySetIDs) { - keySetReadAllIndices(chipClusterPtr, callback, groupKeySetIDs, null); + public void setHolidaySchedule(DefaultClusterCallback callback + , Integer holidayIndex, Long localStartTime, Long localEndTime, Integer operatingMode) { + setHolidaySchedule(chipClusterPtr, callback, holidayIndex, localStartTime, localEndTime, operatingMode, null); } - public void keySetReadAllIndices( - KeySetReadAllIndicesResponseCallback callback, - ArrayList groupKeySetIDs, - int timedInvokeTimeoutMs) { - keySetReadAllIndices(chipClusterPtr, callback, groupKeySetIDs, timedInvokeTimeoutMs); + public void setHolidaySchedule(DefaultClusterCallback callback + , Integer holidayIndex, Long localStartTime, Long localEndTime, Integer operatingMode + , int timedInvokeTimeoutMs) { + setHolidaySchedule(chipClusterPtr, callback, holidayIndex, localStartTime, localEndTime, operatingMode, timedInvokeTimeoutMs); } - private native void keySetWrite( - long chipClusterPtr, - DefaultClusterCallback Callback, - ChipStructs.GroupKeyManagementClusterGroupKeySetStruct groupKeySet, - @Nullable Integer timedInvokeTimeoutMs); + public void getHolidaySchedule(GetHolidayScheduleResponseCallback callback + , Integer holidayIndex) { + getHolidaySchedule(chipClusterPtr, callback, holidayIndex, null); + } - private native void keySetRead( - long chipClusterPtr, - KeySetReadResponseCallback Callback, - Integer groupKeySetID, - @Nullable Integer timedInvokeTimeoutMs); + public void getHolidaySchedule(GetHolidayScheduleResponseCallback callback + , Integer holidayIndex + , int timedInvokeTimeoutMs) { + getHolidaySchedule(chipClusterPtr, callback, holidayIndex, timedInvokeTimeoutMs); + } - private native void keySetRemove( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer groupKeySetID, - @Nullable Integer timedInvokeTimeoutMs); + public void clearHolidaySchedule(DefaultClusterCallback callback + , Integer holidayIndex) { + clearHolidaySchedule(chipClusterPtr, callback, holidayIndex, null); + } - private native void keySetReadAllIndices( - long chipClusterPtr, - KeySetReadAllIndicesResponseCallback Callback, - ArrayList groupKeySetIDs, - @Nullable Integer timedInvokeTimeoutMs); + public void clearHolidaySchedule(DefaultClusterCallback callback + , Integer holidayIndex + , int timedInvokeTimeoutMs) { + clearHolidaySchedule(chipClusterPtr, callback, holidayIndex, timedInvokeTimeoutMs); + } - public interface KeySetReadResponseCallback { - void onSuccess(ChipStructs.GroupKeyManagementClusterGroupKeySetStruct groupKeySet); - void onError(Exception error); + 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 interface KeySetReadAllIndicesResponseCallback { - void onSuccess(ArrayList groupKeySetIDs); - - void onError(Exception error); + public void getUser(GetUserResponseCallback callback + , Integer userIndex) { + getUser(chipClusterPtr, callback, userIndex, null); } - public interface GroupKeyMapAttributeCallback { - void onSuccess(List valueList); + public void getUser(GetUserResponseCallback callback + , Integer userIndex + , int timedInvokeTimeoutMs) { + getUser(chipClusterPtr, callback, userIndex, timedInvokeTimeoutMs); + } - void onError(Exception ex); - default void onSubscriptionEstablished(long subscriptionId) {} + public void clearUser(DefaultClusterCallback callback + , Integer userIndex + , int timedInvokeTimeoutMs) { + clearUser(chipClusterPtr, callback, userIndex, timedInvokeTimeoutMs); } - public interface GroupTableAttributeCallback { - void onSuccess(List valueList); - void onError(Exception ex); + 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); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void getCredentialStatus(GetCredentialStatusResponseCallback callback + , ChipStructs.DoorLockClusterCredentialStruct credential) { + getCredentialStatus(chipClusterPtr, callback, credential, null); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); + public void getCredentialStatus(GetCredentialStatusResponseCallback callback + , ChipStructs.DoorLockClusterCredentialStruct credential + , int timedInvokeTimeoutMs) { + getCredentialStatus(chipClusterPtr, callback, credential, timedInvokeTimeoutMs); + } - void onError(Exception ex); - default void onSubscriptionEstablished(long subscriptionId) {} + public void clearCredential(DefaultClusterCallback callback + , @Nullable ChipStructs.DoorLockClusterCredentialStruct credential + , int timedInvokeTimeoutMs) { + clearCredential(chipClusterPtr, callback, credential, timedInvokeTimeoutMs); + } + 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 interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + public interface GetYearDayScheduleResponseCallback { + void onSuccess(Integer yearDayIndex, Integer userIndex, Integer status, Optional localStartTime, Optional localEndTime); + + void onError(Exception error); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public interface GetHolidayScheduleResponseCallback { + void onSuccess(Integer holidayIndex, Integer status, Optional localStartTime, Optional localEndTime, Optional operatingMode); + + void onError(Exception error); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); + 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); + } - void onError(Exception ex); + public interface SetCredentialResponseCallback { + void onSuccess(Integer status, @Nullable Integer userIndex, @Nullable Integer nextCredentialIndex); + + void onError(Exception error); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public interface GetCredentialStatusResponseCallback { + void onSuccess(Boolean credentialExists, @Nullable Integer userIndex, @Nullable Integer creatorFabricIndex, @Nullable Integer lastModifiedFabricIndex, @Nullable Integer nextCredentialIndex); + + void onError(Exception error); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - void onError(Exception ex); + 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) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readLockStateAttribute( + LockStateAttributeCallback callback + ) { + readLockStateAttribute(chipClusterPtr, callback); } - - public void readGroupKeyMapAttribute(GroupKeyMapAttributeCallback callback) { - readGroupKeyMapAttribute(chipClusterPtr, callback); + public void subscribeLockStateAttribute( + LockStateAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeLockStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeGroupKeyMapAttribute( - DefaultClusterCallback callback, - ArrayList value) { - writeGroupKeyMapAttribute(chipClusterPtr, callback, value, null); + public void readLockTypeAttribute( + IntegerAttributeCallback callback + ) { + readLockTypeAttribute(chipClusterPtr, callback); } - - public void writeGroupKeyMapAttribute( - DefaultClusterCallback callback, - ArrayList value, - int timedWriteTimeoutMs) { - writeGroupKeyMapAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeLockTypeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLockTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeGroupKeyMapAttribute( - GroupKeyMapAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGroupKeyMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readActuatorEnabledAttribute( + BooleanAttributeCallback callback + ) { + readActuatorEnabledAttribute(chipClusterPtr, callback); } - - public void readGroupTableAttribute(GroupTableAttributeCallback callback) { - readGroupTableAttribute(chipClusterPtr, callback); + public void subscribeActuatorEnabledAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActuatorEnabledAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeGroupTableAttribute( - GroupTableAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGroupTableAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readDoorStateAttribute( + DoorStateAttributeCallback callback + ) { + readDoorStateAttribute(chipClusterPtr, callback); } - - public void readMaxGroupsPerFabricAttribute(IntegerAttributeCallback callback) { - readMaxGroupsPerFabricAttribute(chipClusterPtr, callback); + public void subscribeDoorStateAttribute( + DoorStateAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeDoorStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxGroupsPerFabricAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxGroupsPerFabricAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readDoorOpenEventsAttribute( + LongAttributeCallback callback + ) { + readDoorOpenEventsAttribute(chipClusterPtr, callback); } - - public void readMaxGroupKeysPerFabricAttribute(IntegerAttributeCallback callback) { - readMaxGroupKeysPerFabricAttribute(chipClusterPtr, callback); + public void writeDoorOpenEventsAttribute(DefaultClusterCallback callback, Long value) { + writeDoorOpenEventsAttribute(chipClusterPtr, callback, value, null); } - public void subscribeMaxGroupKeysPerFabricAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxGroupKeysPerFabricAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeDoorOpenEventsAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeDoorOpenEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void subscribeDoorOpenEventsAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDoorOpenEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readDoorClosedEventsAttribute( + LongAttributeCallback callback + ) { + readDoorClosedEventsAttribute(chipClusterPtr, callback); + } + public void writeDoorClosedEventsAttribute(DefaultClusterCallback callback, Long value) { + writeDoorClosedEventsAttribute(chipClusterPtr, callback, value, null); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void writeDoorClosedEventsAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeDoorClosedEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeDoorClosedEventsAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDoorClosedEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readOpenPeriodAttribute( + IntegerAttributeCallback callback + ) { + readOpenPeriodAttribute(chipClusterPtr, callback); + } + public void writeOpenPeriodAttribute(DefaultClusterCallback callback, Integer value) { + writeOpenPeriodAttribute(chipClusterPtr, callback, value, null); } - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + public void writeOpenPeriodAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOpenPeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeOpenPeriodAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOpenPeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readNumberOfTotalUsersSupportedAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfTotalUsersSupportedAttribute(chipClusterPtr, callback); + } + public void subscribeNumberOfTotalUsersSupportedAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfTotalUsersSupportedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void readNumberOfPINUsersSupportedAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfPINUsersSupportedAttribute(chipClusterPtr, callback); + } + public void subscribeNumberOfPINUsersSupportedAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfPINUsersSupportedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readNumberOfRFIDUsersSupportedAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfRFIDUsersSupportedAttribute(chipClusterPtr, callback); + } + public void subscribeNumberOfRFIDUsersSupportedAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfRFIDUsersSupportedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void readNumberOfWeekDaySchedulesSupportedPerUserAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfWeekDaySchedulesSupportedPerUserAttribute(chipClusterPtr, callback); + } + public void subscribeNumberOfWeekDaySchedulesSupportedPerUserAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfWeekDaySchedulesSupportedPerUserAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readNumberOfYearDaySchedulesSupportedPerUserAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfYearDaySchedulesSupportedPerUserAttribute(chipClusterPtr, callback); + } + public void subscribeNumberOfYearDaySchedulesSupportedPerUserAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfYearDaySchedulesSupportedPerUserAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void readNumberOfHolidaySchedulesSupportedAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfHolidaySchedulesSupportedAttribute(chipClusterPtr, callback); + } + public void subscribeNumberOfHolidaySchedulesSupportedAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfHolidaySchedulesSupportedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMaxPINCodeLengthAttribute( + IntegerAttributeCallback callback + ) { + readMaxPINCodeLengthAttribute(chipClusterPtr, callback); + } + public void subscribeMaxPINCodeLengthAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMaxPINCodeLengthAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readGroupKeyMapAttribute( - long chipClusterPtr, GroupKeyMapAttributeCallback 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 writeGroupKeyMapAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - ArrayList value, - @Nullable Integer timedWriteTimeoutMs); + 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 subscribeGroupKeyMapAttribute( - long chipClusterPtr, - GroupKeyMapAttributeCallback callback, - int minInterval, - int maxInterval); + 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 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); + 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 subscribeMaxGroupKeysPerFabricAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + 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 readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); + public void readLanguageAttribute( + CharStringAttributeCallback callback + ) { + readLanguageAttribute(chipClusterPtr, callback); + } + public void writeLanguageAttribute(DefaultClusterCallback callback, String value) { + writeLanguageAttribute(chipClusterPtr, callback, value, null); + } - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); + 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 readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); + public void readLEDSettingsAttribute( + IntegerAttributeCallback callback + ) { + readLEDSettingsAttribute(chipClusterPtr, callback); + } + public void writeLEDSettingsAttribute(DefaultClusterCallback callback, Integer value) { + writeLEDSettingsAttribute(chipClusterPtr, callback, value, null); + } - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); + 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 readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); + public void readAutoRelockTimeAttribute( + LongAttributeCallback callback + ) { + readAutoRelockTimeAttribute(chipClusterPtr, callback); + } + public void writeAutoRelockTimeAttribute(DefaultClusterCallback callback, Long value) { + writeAutoRelockTimeAttribute(chipClusterPtr, callback, value, null); + } - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); + 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 readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); + public void readSoundVolumeAttribute( + IntegerAttributeCallback callback + ) { + readSoundVolumeAttribute(chipClusterPtr, callback); + } + public void writeSoundVolumeAttribute(DefaultClusterCallback callback, Integer value) { + writeSoundVolumeAttribute(chipClusterPtr, callback, value, null); + } - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); + 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 readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); + public void readOperatingModeAttribute( + IntegerAttributeCallback callback + ) { + readOperatingModeAttribute(chipClusterPtr, callback); + } + public void writeOperatingModeAttribute(DefaultClusterCallback callback, Integer value) { + writeOperatingModeAttribute(chipClusterPtr, callback, value, null); + } - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + 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); + } - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readSupportedOperatingModesAttribute( + IntegerAttributeCallback callback + ) { + readSupportedOperatingModesAttribute(chipClusterPtr, callback); + } + public void subscribeSupportedOperatingModesAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSupportedOperatingModesAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } + public void readDefaultConfigurationRegisterAttribute( + IntegerAttributeCallback callback + ) { + readDefaultConfigurationRegisterAttribute(chipClusterPtr, callback); + } + public void subscribeDefaultConfigurationRegisterAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDefaultConfigurationRegisterAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public static class FixedLabelCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 64L; + public void readEnableLocalProgrammingAttribute( + BooleanAttributeCallback callback + ) { + readEnableLocalProgrammingAttribute(chipClusterPtr, callback); + } + public void writeEnableLocalProgrammingAttribute(DefaultClusterCallback callback, Boolean value) { + writeEnableLocalProgrammingAttribute(chipClusterPtr, callback, value, null); + } - public FixedLabelCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + 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); } - @Override - public native long initWithDevice(long devicePtr, int endpointId); + public void readEnableOneTouchLockingAttribute( + BooleanAttributeCallback callback + ) { + readEnableOneTouchLockingAttribute(chipClusterPtr, callback); + } + public void writeEnableOneTouchLockingAttribute(DefaultClusterCallback callback, Boolean value) { + writeEnableOneTouchLockingAttribute(chipClusterPtr, callback, value, null); + } - public interface LabelListAttributeCallback { - 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 GeneratedCommandListAttributeCallback { - 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 AcceptedCommandListAttributeCallback { - 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 interface EventListAttributeCallback { - void onSuccess(List valueList); + public void readUserCodeTemporaryDisableTimeAttribute( + IntegerAttributeCallback callback + ) { + readUserCodeTemporaryDisableTimeAttribute(chipClusterPtr, callback); + } + public void writeUserCodeTemporaryDisableTimeAttribute(DefaultClusterCallback callback, Integer value) { + writeUserCodeTemporaryDisableTimeAttribute(chipClusterPtr, callback, value, null); + } - void onError(Exception ex); + 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); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readSendPINOverTheAirAttribute( + BooleanAttributeCallback callback + ) { + readSendPINOverTheAirAttribute(chipClusterPtr, callback); + } + public void writeSendPINOverTheAirAttribute(DefaultClusterCallback callback, Boolean value) { + writeSendPINOverTheAirAttribute(chipClusterPtr, callback, value, null); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); + 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); + } - void onError(Exception ex); + public void readRequirePINforRemoteOperationAttribute( + BooleanAttributeCallback callback + ) { + readRequirePINforRemoteOperationAttribute(chipClusterPtr, callback); + } + public void writeRequirePINforRemoteOperationAttribute(DefaultClusterCallback callback, Boolean value) { + writeRequirePINforRemoteOperationAttribute(chipClusterPtr, callback, value, null); + } - default void onSubscriptionEstablished(long subscriptionId) {} + 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 readLabelListAttribute(LabelListAttributeCallback callback) { - readLabelListAttribute(chipClusterPtr, callback); + public void readExpiringUserTimeoutAttribute( + IntegerAttributeCallback callback + ) { + readExpiringUserTimeoutAttribute(chipClusterPtr, callback); + } + public void writeExpiringUserTimeoutAttribute(DefaultClusterCallback callback, Integer value) { + writeExpiringUserTimeoutAttribute(chipClusterPtr, callback, value, null); } - public void subscribeLabelListAttribute( - LabelListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLabelListAttribute(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 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 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 UserLabelCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 65L; + public static class WindowCoveringCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 258L; - public UserLabelCluster(long devicePtr, int endpointId) { + public WindowCoveringCluster(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 void upOrOpen(DefaultClusterCallback callback + ) { + upOrOpen(chipClusterPtr, callback, null); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void upOrOpen(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { + upOrOpen(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void downOrClose(DefaultClusterCallback callback + ) { + downOrClose(chipClusterPtr, callback, null); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void downOrClose(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { + downOrClose(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void stopMotion(DefaultClusterCallback callback + ) { + stopMotion(chipClusterPtr, callback, null); } - public void readLabelListAttribute(LabelListAttributeCallback callback) { - readLabelListAttribute(chipClusterPtr, callback); + public void stopMotion(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { + stopMotion(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public void writeLabelListAttribute( - DefaultClusterCallback callback, ArrayList value) { - writeLabelListAttribute(chipClusterPtr, callback, value, null); + public void goToLiftValue(DefaultClusterCallback callback + , Integer liftValue) { + goToLiftValue(chipClusterPtr, callback, liftValue, null); } - public void writeLabelListAttribute( - DefaultClusterCallback callback, - ArrayList value, - int timedWriteTimeoutMs) { - writeLabelListAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void goToLiftValue(DefaultClusterCallback callback + , Integer liftValue + , int timedInvokeTimeoutMs) { + goToLiftValue(chipClusterPtr, callback, liftValue, timedInvokeTimeoutMs); } - public void subscribeLabelListAttribute( - LabelListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLabelListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void goToLiftPercentage(DefaultClusterCallback callback + , Integer liftPercent100thsValue) { + goToLiftPercentage(chipClusterPtr, callback, liftPercent100thsValue, null); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void goToLiftPercentage(DefaultClusterCallback callback + , Integer liftPercent100thsValue + , int timedInvokeTimeoutMs) { + goToLiftPercentage(chipClusterPtr, callback, liftPercent100thsValue, timedInvokeTimeoutMs); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void goToTiltValue(DefaultClusterCallback callback + , Integer tiltValue) { + goToTiltValue(chipClusterPtr, callback, tiltValue, null); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void goToTiltValue(DefaultClusterCallback callback + , Integer tiltValue + , int timedInvokeTimeoutMs) { + goToTiltValue(chipClusterPtr, callback, tiltValue, timedInvokeTimeoutMs); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void goToTiltPercentage(DefaultClusterCallback callback + , Integer tiltPercent100thsValue) { + goToTiltPercentage(chipClusterPtr, callback, tiltPercent100thsValue, null); } - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + 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 subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readTypeAttribute( + IntegerAttributeCallback callback + ) { + readTypeAttribute(chipClusterPtr, callback); } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void subscribeTypeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPhysicalClosedLimitLiftAttribute( + IntegerAttributeCallback callback + ) { + readPhysicalClosedLimitLiftAttribute(chipClusterPtr, callback); } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void subscribePhysicalClosedLimitLiftAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePhysicalClosedLimitLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPhysicalClosedLimitTiltAttribute( + IntegerAttributeCallback callback + ) { + readPhysicalClosedLimitTiltAttribute(chipClusterPtr, callback); + } + public void subscribePhysicalClosedLimitTiltAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePhysicalClosedLimitTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void readCurrentPositionLiftAttribute( + CurrentPositionLiftAttributeCallback callback + ) { + readCurrentPositionLiftAttribute(chipClusterPtr, callback); } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeCurrentPositionLiftAttribute( + CurrentPositionLiftAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeCurrentPositionLiftAttribute(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); + public void readCurrentPositionTiltAttribute( + CurrentPositionTiltAttributeCallback callback + ) { + readCurrentPositionTiltAttribute(chipClusterPtr, callback); + } + public void subscribeCurrentPositionTiltAttribute( + CurrentPositionTiltAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeCurrentPositionTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } + public void readNumberOfActuationsLiftAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfActuationsLiftAttribute(chipClusterPtr, callback); + } + public void subscribeNumberOfActuationsLiftAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfActuationsLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public static class BooleanStateCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 69L; + public void readNumberOfActuationsTiltAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfActuationsTiltAttribute(chipClusterPtr, callback); + } + public void subscribeNumberOfActuationsTiltAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfActuationsTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public BooleanStateCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void readConfigStatusAttribute( + IntegerAttributeCallback callback + ) { + readConfigStatusAttribute(chipClusterPtr, callback); + } + public void subscribeConfigStatusAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeConfigStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - @Override - public native long initWithDevice(long devicePtr, int endpointId); + public void readCurrentPositionLiftPercentageAttribute( + CurrentPositionLiftPercentageAttributeCallback callback + ) { + readCurrentPositionLiftPercentageAttribute(chipClusterPtr, callback); + } + public void subscribeCurrentPositionLiftPercentageAttribute( + CurrentPositionLiftPercentageAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeCurrentPositionLiftPercentageAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public interface GeneratedCommandListAttributeCallback { - 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 AcceptedCommandListAttributeCallback { - 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 interface EventListAttributeCallback { - void onSuccess(List valueList); + public void readCurrentPositionTiltPercent100thsAttribute( + CurrentPositionTiltPercent100thsAttributeCallback callback + ) { + readCurrentPositionTiltPercent100thsAttribute(chipClusterPtr, callback); + } + public void subscribeCurrentPositionTiltPercent100thsAttribute( + CurrentPositionTiltPercent100thsAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeCurrentPositionTiltPercent100thsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - void onError(Exception ex); + public void readInstalledOpenLimitLiftAttribute( + IntegerAttributeCallback callback + ) { + readInstalledOpenLimitLiftAttribute(chipClusterPtr, callback); + } + public void subscribeInstalledOpenLimitLiftAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInstalledOpenLimitLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readInstalledClosedLimitLiftAttribute( + IntegerAttributeCallback callback + ) { + readInstalledClosedLimitLiftAttribute(chipClusterPtr, callback); + } + public void subscribeInstalledClosedLimitLiftAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInstalledClosedLimitLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); + public void readInstalledOpenLimitTiltAttribute( + IntegerAttributeCallback callback + ) { + readInstalledOpenLimitTiltAttribute(chipClusterPtr, callback); + } + public void subscribeInstalledOpenLimitTiltAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInstalledOpenLimitTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - void onError(Exception ex); + public void readInstalledClosedLimitTiltAttribute( + IntegerAttributeCallback callback + ) { + readInstalledClosedLimitTiltAttribute(chipClusterPtr, callback); + } + public void subscribeInstalledClosedLimitTiltAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInstalledClosedLimitTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readModeAttribute( + IntegerAttributeCallback callback + ) { + readModeAttribute(chipClusterPtr, callback); + } + public void writeModeAttribute(DefaultClusterCallback callback, Integer value) { + writeModeAttribute(chipClusterPtr, callback, value, null); } - public void readStateValueAttribute(BooleanAttributeCallback callback) { - readStateValueAttribute(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 subscribeStateValueAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeStateValueAttribute(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 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 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 ModeSelectCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 80L; + public static class BarrierControlCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 259L; - public ModeSelectCluster(long devicePtr, int endpointId) { + public BarrierControlCluster(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 void barrierControlGoToPercent(DefaultClusterCallback callback + , Integer percentOpen) { + barrierControlGoToPercent(chipClusterPtr, callback, percentOpen, null); } - public void changeToMode( - DefaultClusterCallback callback, Integer newMode, int timedInvokeTimeoutMs) { - changeToMode(chipClusterPtr, callback, newMode, timedInvokeTimeoutMs); + public void barrierControlGoToPercent(DefaultClusterCallback callback + , Integer percentOpen + , int timedInvokeTimeoutMs) { + barrierControlGoToPercent(chipClusterPtr, callback, percentOpen, timedInvokeTimeoutMs); } - 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 barrierControlStop(DefaultClusterCallback callback + ) { + barrierControlStop(chipClusterPtr, callback, null); } - public interface SupportedModesAttributeCallback { - 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 interface StartUpModeAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readBarrierMovingStateAttribute( + IntegerAttributeCallback callback + ) { + readBarrierMovingStateAttribute(chipClusterPtr, callback); } - - public interface OnModeAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeBarrierMovingStateAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBarrierMovingStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readBarrierSafetyStatusAttribute( + IntegerAttributeCallback callback + ) { + readBarrierSafetyStatusAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeBarrierSafetyStatusAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBarrierSafetyStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readBarrierCapabilitiesAttribute( + IntegerAttributeCallback callback + ) { + readBarrierCapabilitiesAttribute(chipClusterPtr, callback); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeBarrierCapabilitiesAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBarrierCapabilitiesAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readDescriptionAttribute(CharStringAttributeCallback callback) { - readDescriptionAttribute(chipClusterPtr, callback); + public void readBarrierOpenEventsAttribute( + IntegerAttributeCallback callback + ) { + readBarrierOpenEventsAttribute(chipClusterPtr, callback); } - - public void subscribeDescriptionAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDescriptionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeBarrierOpenEventsAttribute(DefaultClusterCallback callback, Integer value) { + writeBarrierOpenEventsAttribute(chipClusterPtr, callback, value, null); } - public void readStandardNamespaceAttribute(StandardNamespaceAttributeCallback callback) { - readStandardNamespaceAttribute(chipClusterPtr, callback); + public void writeBarrierOpenEventsAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierOpenEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeStandardNamespaceAttribute( - StandardNamespaceAttributeCallback callback, int minInterval, int maxInterval) { - subscribeStandardNamespaceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeBarrierOpenEventsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBarrierOpenEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSupportedModesAttribute(SupportedModesAttributeCallback callback) { - readSupportedModesAttribute(chipClusterPtr, callback); + public void readBarrierCloseEventsAttribute( + IntegerAttributeCallback callback + ) { + readBarrierCloseEventsAttribute(chipClusterPtr, callback); } - - public void subscribeSupportedModesAttribute( - SupportedModesAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSupportedModesAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeBarrierCloseEventsAttribute(DefaultClusterCallback callback, Integer value) { + writeBarrierCloseEventsAttribute(chipClusterPtr, callback, value, null); } - public void readCurrentModeAttribute(IntegerAttributeCallback callback) { - readCurrentModeAttribute(chipClusterPtr, callback); + public void writeBarrierCloseEventsAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierCloseEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeBarrierCloseEventsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBarrierCloseEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readBarrierCommandOpenEventsAttribute( + IntegerAttributeCallback callback + ) { + readBarrierCommandOpenEventsAttribute(chipClusterPtr, callback); + } + public void writeBarrierCommandOpenEventsAttribute(DefaultClusterCallback callback, Integer value) { + writeBarrierCommandOpenEventsAttribute(chipClusterPtr, callback, value, null); } - public void readStartUpModeAttribute(StartUpModeAttributeCallback callback) { - readStartUpModeAttribute(chipClusterPtr, callback); + public void writeBarrierCommandOpenEventsAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierCommandOpenEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeBarrierCommandOpenEventsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBarrierCommandOpenEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeStartUpModeAttribute(DefaultClusterCallback callback, Integer value) { - writeStartUpModeAttribute(chipClusterPtr, callback, value, null); + public void readBarrierCommandCloseEventsAttribute( + IntegerAttributeCallback callback + ) { + readBarrierCommandCloseEventsAttribute(chipClusterPtr, callback); + } + public void writeBarrierCommandCloseEventsAttribute(DefaultClusterCallback callback, Integer value) { + writeBarrierCommandCloseEventsAttribute(chipClusterPtr, callback, value, null); } - public void writeStartUpModeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeStartUpModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeBarrierCommandCloseEventsAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierCommandCloseEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeBarrierCommandCloseEventsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBarrierCommandCloseEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeStartUpModeAttribute( - StartUpModeAttributeCallback callback, int minInterval, int maxInterval) { - subscribeStartUpModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readBarrierOpenPeriodAttribute( + IntegerAttributeCallback callback + ) { + readBarrierOpenPeriodAttribute(chipClusterPtr, callback); + } + public void writeBarrierOpenPeriodAttribute(DefaultClusterCallback callback, Integer value) { + writeBarrierOpenPeriodAttribute(chipClusterPtr, callback, value, null); } - public void readOnModeAttribute(OnModeAttributeCallback callback) { - readOnModeAttribute(chipClusterPtr, callback); + public void writeBarrierOpenPeriodAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierOpenPeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeBarrierOpenPeriodAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBarrierOpenPeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeOnModeAttribute(DefaultClusterCallback callback, Integer value) { - writeOnModeAttribute(chipClusterPtr, callback, value, null); + public void readBarrierClosePeriodAttribute( + IntegerAttributeCallback callback + ) { + readBarrierClosePeriodAttribute(chipClusterPtr, callback); + } + public void writeBarrierClosePeriodAttribute(DefaultClusterCallback callback, Integer value) { + writeBarrierClosePeriodAttribute(chipClusterPtr, callback, value, null); } - public void writeOnModeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOnModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeBarrierClosePeriodAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierClosePeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeBarrierClosePeriodAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBarrierClosePeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeOnModeAttribute( - OnModeAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOnModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readBarrierPositionAttribute( + IntegerAttributeCallback callback + ) { + readBarrierPositionAttribute(chipClusterPtr, callback); + } + 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 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 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 DoorLockCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 257L; + public static class PumpConfigurationAndControlCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 512L; - public DoorLockCluster(long devicePtr, int endpointId) { + public PumpConfigurationAndControlCluster(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 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) {} + } - public void unlockDoor( - DefaultClusterCallback callback, Optional PINCode, int timedInvokeTimeoutMs) { - unlockDoor(chipClusterPtr, callback, PINCode, timedInvokeTimeoutMs); + public void readMaxPressureAttribute( + MaxPressureAttributeCallback callback + ) { + readMaxPressureAttribute(chipClusterPtr, callback); } - - public void unlockWithTimeout( - DefaultClusterCallback callback, - Integer timeout, - Optional PINCode, - int timedInvokeTimeoutMs) { - unlockWithTimeout(chipClusterPtr, callback, timeout, PINCode, timedInvokeTimeoutMs); + public void subscribeMaxPressureAttribute( + MaxPressureAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - 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 readMaxSpeedAttribute( + MaxSpeedAttributeCallback callback + ) { + readMaxSpeedAttribute(chipClusterPtr, callback); } - - public void getWeekDaySchedule( - GetWeekDayScheduleResponseCallback callback, - Integer weekDayIndex, - Integer userIndex, - int timedInvokeTimeoutMs) { - getWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, timedInvokeTimeoutMs); + public void subscribeMaxSpeedAttribute( + MaxSpeedAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void clearWeekDaySchedule( - DefaultClusterCallback callback, Integer weekDayIndex, Integer userIndex) { - clearWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, null); + public void readMaxFlowAttribute( + MaxFlowAttributeCallback callback + ) { + readMaxFlowAttribute(chipClusterPtr, callback); } - - public void clearWeekDaySchedule( - DefaultClusterCallback callback, - Integer weekDayIndex, - Integer userIndex, - int timedInvokeTimeoutMs) { - clearWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, timedInvokeTimeoutMs); + public void subscribeMaxFlowAttribute( + MaxFlowAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxFlowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - 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 readMinConstPressureAttribute( + MinConstPressureAttributeCallback callback + ) { + readMinConstPressureAttribute(chipClusterPtr, callback); } - - public void getYearDaySchedule( - GetYearDayScheduleResponseCallback callback, - Integer yearDayIndex, - Integer userIndex, - int timedInvokeTimeoutMs) { - getYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, timedInvokeTimeoutMs); + public void subscribeMinConstPressureAttribute( + MinConstPressureAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinConstPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void clearYearDaySchedule( - DefaultClusterCallback callback, Integer yearDayIndex, Integer userIndex) { - clearYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, null); + public void readMaxConstPressureAttribute( + MaxConstPressureAttributeCallback callback + ) { + readMaxConstPressureAttribute(chipClusterPtr, callback); } - - public void clearYearDaySchedule( - DefaultClusterCallback callback, - Integer yearDayIndex, - Integer userIndex, - int timedInvokeTimeoutMs) { - clearYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, timedInvokeTimeoutMs); + public void subscribeMaxConstPressureAttribute( + MaxConstPressureAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxConstPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - 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 readMinCompPressureAttribute( + MinCompPressureAttributeCallback callback + ) { + readMinCompPressureAttribute(chipClusterPtr, callback); } - - public void getHolidaySchedule( - GetHolidayScheduleResponseCallback callback, - Integer holidayIndex, - int timedInvokeTimeoutMs) { - getHolidaySchedule(chipClusterPtr, callback, holidayIndex, timedInvokeTimeoutMs); + public void subscribeMinCompPressureAttribute( + MinCompPressureAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinCompPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void clearHolidaySchedule(DefaultClusterCallback callback, Integer holidayIndex) { - clearHolidaySchedule(chipClusterPtr, callback, holidayIndex, null); + public void readMaxCompPressureAttribute( + MaxCompPressureAttributeCallback callback + ) { + readMaxCompPressureAttribute(chipClusterPtr, callback); } - - public void clearHolidaySchedule( - DefaultClusterCallback callback, Integer holidayIndex, int timedInvokeTimeoutMs) { - clearHolidaySchedule(chipClusterPtr, callback, holidayIndex, timedInvokeTimeoutMs); + public void subscribeMaxCompPressureAttribute( + MaxCompPressureAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxCompPressureAttribute(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 readMinConstSpeedAttribute( + MinConstSpeedAttributeCallback callback + ) { + readMinConstSpeedAttribute(chipClusterPtr, callback); } - - public void getUser( - GetUserResponseCallback callback, Integer userIndex, int timedInvokeTimeoutMs) { - getUser(chipClusterPtr, callback, userIndex, timedInvokeTimeoutMs); + public void subscribeMinConstSpeedAttribute( + MinConstSpeedAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinConstSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void clearUser( - DefaultClusterCallback callback, Integer userIndex, int timedInvokeTimeoutMs) { - clearUser(chipClusterPtr, callback, userIndex, timedInvokeTimeoutMs); + public void readMaxConstSpeedAttribute( + MaxConstSpeedAttributeCallback callback + ) { + readMaxConstSpeedAttribute(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 subscribeMaxConstSpeedAttribute( + MaxConstSpeedAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxConstSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void getCredentialStatus( - GetCredentialStatusResponseCallback callback, - ChipStructs.DoorLockClusterCredentialStruct credential, - int timedInvokeTimeoutMs) { - getCredentialStatus(chipClusterPtr, callback, credential, timedInvokeTimeoutMs); + public void readMinConstFlowAttribute( + MinConstFlowAttributeCallback callback + ) { + readMinConstFlowAttribute(chipClusterPtr, callback); } - - public void clearCredential( - DefaultClusterCallback callback, - @Nullable ChipStructs.DoorLockClusterCredentialStruct credential, - int timedInvokeTimeoutMs) { - clearCredential(chipClusterPtr, callback, credential, timedInvokeTimeoutMs); + public void subscribeMinConstFlowAttribute( + MinConstFlowAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinConstFlowAttribute(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 readMaxConstFlowAttribute( + MaxConstFlowAttributeCallback callback + ) { + readMaxConstFlowAttribute(chipClusterPtr, callback); } - - public interface GetYearDayScheduleResponseCallback { - void onSuccess( - Integer yearDayIndex, - Integer userIndex, - Integer status, - Optional localStartTime, - Optional localEndTime); - - void onError(Exception error); + public void subscribeMaxConstFlowAttribute( + MaxConstFlowAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxConstFlowAttribute(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 readMinConstTempAttribute( + MinConstTempAttributeCallback callback + ) { + readMinConstTempAttribute(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 subscribeMinConstTempAttribute( + MinConstTempAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinConstTempAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface SetCredentialResponseCallback { - void onSuccess( - Integer status, @Nullable Integer userIndex, @Nullable Integer nextCredentialIndex); - - void onError(Exception error); + public void readMaxConstTempAttribute( + MaxConstTempAttributeCallback callback + ) { + readMaxConstTempAttribute(chipClusterPtr, callback); } - - 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 subscribeMaxConstTempAttribute( + MaxConstTempAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxConstTempAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface LockStateAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readPumpStatusAttribute( + IntegerAttributeCallback callback + ) { + readPumpStatusAttribute(chipClusterPtr, callback); } - - public interface DoorStateAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribePumpStatusAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePumpStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readEffectiveOperationModeAttribute( + IntegerAttributeCallback callback + ) { + readEffectiveOperationModeAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeEffectiveOperationModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeEffectiveOperationModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readEffectiveControlModeAttribute( + IntegerAttributeCallback callback + ) { + readEffectiveControlModeAttribute(chipClusterPtr, callback); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeEffectiveControlModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeEffectiveControlModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLockStateAttribute(LockStateAttributeCallback callback) { - readLockStateAttribute(chipClusterPtr, callback); + public void readCapacityAttribute( + CapacityAttributeCallback callback + ) { + readCapacityAttribute(chipClusterPtr, callback); } - - public void subscribeLockStateAttribute( - LockStateAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLockStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeCapacityAttribute( + CapacityAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeCapacityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLockTypeAttribute(IntegerAttributeCallback callback) { - readLockTypeAttribute(chipClusterPtr, callback); + public void readSpeedAttribute( + SpeedAttributeCallback callback + ) { + readSpeedAttribute(chipClusterPtr, callback); } - - public void subscribeLockTypeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLockTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeSpeedAttribute( + SpeedAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readActuatorEnabledAttribute(BooleanAttributeCallback callback) { - readActuatorEnabledAttribute(chipClusterPtr, callback); + public void readLifetimeRunningHoursAttribute( + LifetimeRunningHoursAttributeCallback callback + ) { + readLifetimeRunningHoursAttribute(chipClusterPtr, callback); } - - public void subscribeActuatorEnabledAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeActuatorEnabledAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeLifetimeRunningHoursAttribute(DefaultClusterCallback callback, Long value) { + writeLifetimeRunningHoursAttribute(chipClusterPtr, callback, value, null); } - public void readDoorStateAttribute(DoorStateAttributeCallback callback) { - readDoorStateAttribute(chipClusterPtr, callback); + public void writeLifetimeRunningHoursAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeLifetimeRunningHoursAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeDoorStateAttribute( - DoorStateAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDoorStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLifetimeRunningHoursAttribute( + LifetimeRunningHoursAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeLifetimeRunningHoursAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readDoorOpenEventsAttribute(LongAttributeCallback callback) { - readDoorOpenEventsAttribute(chipClusterPtr, callback); + public void readPowerAttribute( + PowerAttributeCallback callback + ) { + readPowerAttribute(chipClusterPtr, callback); } - - public void writeDoorOpenEventsAttribute(DefaultClusterCallback callback, Long value) { - writeDoorOpenEventsAttribute(chipClusterPtr, callback, value, null); + public void subscribePowerAttribute( + PowerAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeDoorOpenEventsAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeDoorOpenEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readLifetimeEnergyConsumedAttribute( + LifetimeEnergyConsumedAttributeCallback callback + ) { + readLifetimeEnergyConsumedAttribute(chipClusterPtr, callback); } - - public void subscribeDoorOpenEventsAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDoorOpenEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeLifetimeEnergyConsumedAttribute(DefaultClusterCallback callback, Long value) { + writeLifetimeEnergyConsumedAttribute(chipClusterPtr, callback, value, null); } - public void readDoorClosedEventsAttribute(LongAttributeCallback callback) { - readDoorClosedEventsAttribute(chipClusterPtr, callback); + public void writeLifetimeEnergyConsumedAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeLifetimeEnergyConsumedAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void writeDoorClosedEventsAttribute(DefaultClusterCallback callback, Long value) { - writeDoorClosedEventsAttribute(chipClusterPtr, callback, value, null); + public void subscribeLifetimeEnergyConsumedAttribute( + LifetimeEnergyConsumedAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeLifetimeEnergyConsumedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeDoorClosedEventsAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeDoorClosedEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readOperationModeAttribute( + IntegerAttributeCallback callback + ) { + readOperationModeAttribute(chipClusterPtr, callback); } - - public void subscribeDoorClosedEventsAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDoorClosedEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeOperationModeAttribute(DefaultClusterCallback callback, Integer value) { + writeOperationModeAttribute(chipClusterPtr, callback, value, null); } - public void readOpenPeriodAttribute(IntegerAttributeCallback callback) { - readOpenPeriodAttribute(chipClusterPtr, callback); + public void writeOperationModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOperationModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void writeOpenPeriodAttribute(DefaultClusterCallback callback, Integer value) { - writeOpenPeriodAttribute(chipClusterPtr, callback, value, null); + public void subscribeOperationModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOperationModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeOpenPeriodAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOpenPeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readControlModeAttribute( + IntegerAttributeCallback callback + ) { + readControlModeAttribute(chipClusterPtr, callback); } - - public void subscribeOpenPeriodAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOpenPeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeControlModeAttribute(DefaultClusterCallback callback, Integer value) { + writeControlModeAttribute(chipClusterPtr, callback, value, null); } - public void readNumberOfTotalUsersSupportedAttribute(IntegerAttributeCallback callback) { - readNumberOfTotalUsersSupportedAttribute(chipClusterPtr, callback); + public void writeControlModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeControlModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeNumberOfTotalUsersSupportedAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfTotalUsersSupportedAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeControlModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeControlModeAttribute(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 readNumberOfWeekDaySchedulesSupportedPerUserAttribute( - IntegerAttributeCallback callback) { - readNumberOfWeekDaySchedulesSupportedPerUserAttribute(chipClusterPtr, callback); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void subscribeNumberOfWeekDaySchedulesSupportedPerUserAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfWeekDaySchedulesSupportedPerUserAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNumberOfYearDaySchedulesSupportedPerUserAttribute( - IntegerAttributeCallback callback) { - readNumberOfYearDaySchedulesSupportedPerUserAttribute(chipClusterPtr, callback); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void subscribeNumberOfYearDaySchedulesSupportedPerUserAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfYearDaySchedulesSupportedPerUserAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNumberOfHolidaySchedulesSupportedAttribute(IntegerAttributeCallback callback) { - readNumberOfHolidaySchedulesSupportedAttribute(chipClusterPtr, callback); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void subscribeNumberOfHolidaySchedulesSupportedAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfHolidaySchedulesSupportedAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxPINCodeLengthAttribute(IntegerAttributeCallback callback) { - readMaxPINCodeLengthAttribute(chipClusterPtr, callback); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void subscribeMaxPINCodeLengthAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxPINCodeLengthAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinPINCodeLengthAttribute(IntegerAttributeCallback callback) { - readMinPINCodeLengthAttribute(chipClusterPtr, callback); - } + 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 void subscribeMinPINCodeLengthAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinPINCodeLengthAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public static class ThermostatCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 513L; - public void readMaxRFIDCodeLengthAttribute(IntegerAttributeCallback callback) { - readMaxRFIDCodeLengthAttribute(chipClusterPtr, callback); + public ThermostatCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void subscribeMaxRFIDCodeLengthAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxRFIDCodeLengthAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void readMinRFIDCodeLengthAttribute(IntegerAttributeCallback callback) { - readMinRFIDCodeLengthAttribute(chipClusterPtr, callback); + public void setpointRaiseLower(DefaultClusterCallback callback + , Integer mode, Integer amount) { + setpointRaiseLower(chipClusterPtr, callback, mode, amount, null); } - public void subscribeMinRFIDCodeLengthAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinRFIDCodeLengthAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void setpointRaiseLower(DefaultClusterCallback callback + , Integer mode, Integer amount + , int timedInvokeTimeoutMs) { + setpointRaiseLower(chipClusterPtr, callback, mode, amount, timedInvokeTimeoutMs); } - public void readCredentialRulesSupportAttribute(IntegerAttributeCallback callback) { - readCredentialRulesSupportAttribute(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 subscribeCredentialRulesSupportAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCredentialRulesSupportAttribute(chipClusterPtr, callback, minInterval, maxInterval); + 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 readNumberOfCredentialsSupportedPerUserAttribute( - IntegerAttributeCallback callback) { - readNumberOfCredentialsSupportedPerUserAttribute(chipClusterPtr, callback); + public void getWeeklySchedule(GetWeeklyScheduleResponseCallback callback + , Integer daysToReturn, Integer modeToReturn) { + getWeeklySchedule(chipClusterPtr, callback, daysToReturn, modeToReturn, null); } - public void subscribeNumberOfCredentialsSupportedPerUserAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfCredentialsSupportedPerUserAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void getWeeklySchedule(GetWeeklyScheduleResponseCallback callback + , Integer daysToReturn, Integer modeToReturn + , int timedInvokeTimeoutMs) { + getWeeklySchedule(chipClusterPtr, callback, daysToReturn, modeToReturn, timedInvokeTimeoutMs); } - public void readLanguageAttribute(CharStringAttributeCallback callback) { - readLanguageAttribute(chipClusterPtr, callback); + public void clearWeeklySchedule(DefaultClusterCallback callback + ) { + clearWeeklySchedule(chipClusterPtr, callback, null); } - public void writeLanguageAttribute(DefaultClusterCallback callback, String value) { - writeLanguageAttribute(chipClusterPtr, callback, value, null); + public void clearWeeklySchedule(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { + clearWeeklySchedule(chipClusterPtr, callback, timedInvokeTimeoutMs); } - - public void writeLanguageAttribute( - DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { - writeLanguageAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + 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 subscribeLanguageAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLanguageAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - public void readLEDSettingsAttribute(IntegerAttributeCallback callback) { - readLEDSettingsAttribute(chipClusterPtr, callback); - } + 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) {} + } - public void writeLEDSettingsAttribute(DefaultClusterCallback callback, Integer value) { - writeLEDSettingsAttribute(chipClusterPtr, callback, value, null); + public void readLocalTemperatureAttribute( + LocalTemperatureAttributeCallback callback + ) { + readLocalTemperatureAttribute(chipClusterPtr, callback); } - - public void writeLEDSettingsAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeLEDSettingsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeLocalTemperatureAttribute( + LocalTemperatureAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeLocalTemperatureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeLEDSettingsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLEDSettingsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readOutdoorTemperatureAttribute( + OutdoorTemperatureAttributeCallback callback + ) { + readOutdoorTemperatureAttribute(chipClusterPtr, callback); } - - public void readAutoRelockTimeAttribute(LongAttributeCallback callback) { - readAutoRelockTimeAttribute(chipClusterPtr, callback); + public void subscribeOutdoorTemperatureAttribute( + OutdoorTemperatureAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeOutdoorTemperatureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeAutoRelockTimeAttribute(DefaultClusterCallback callback, Long value) { - writeAutoRelockTimeAttribute(chipClusterPtr, callback, value, null); + public void readOccupancyAttribute( + IntegerAttributeCallback callback + ) { + readOccupancyAttribute(chipClusterPtr, callback); } - - public void writeAutoRelockTimeAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeAutoRelockTimeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeOccupancyAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOccupancyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAutoRelockTimeAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAutoRelockTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAbsMinHeatSetpointLimitAttribute( + IntegerAttributeCallback callback + ) { + readAbsMinHeatSetpointLimitAttribute(chipClusterPtr, callback); } - - public void readSoundVolumeAttribute(IntegerAttributeCallback callback) { - readSoundVolumeAttribute(chipClusterPtr, callback); + public void subscribeAbsMinHeatSetpointLimitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAbsMinHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeSoundVolumeAttribute(DefaultClusterCallback callback, Integer value) { - writeSoundVolumeAttribute(chipClusterPtr, callback, value, null); + public void readAbsMaxHeatSetpointLimitAttribute( + IntegerAttributeCallback callback + ) { + readAbsMaxHeatSetpointLimitAttribute(chipClusterPtr, callback); } - - public void writeSoundVolumeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeSoundVolumeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeAbsMaxHeatSetpointLimitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAbsMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeSoundVolumeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSoundVolumeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAbsMinCoolSetpointLimitAttribute( + IntegerAttributeCallback callback + ) { + readAbsMinCoolSetpointLimitAttribute(chipClusterPtr, callback); } - - public void readOperatingModeAttribute(IntegerAttributeCallback callback) { - readOperatingModeAttribute(chipClusterPtr, callback); + public void subscribeAbsMinCoolSetpointLimitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAbsMinCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeOperatingModeAttribute(DefaultClusterCallback callback, Integer value) { - writeOperatingModeAttribute(chipClusterPtr, callback, value, null); + public void readAbsMaxCoolSetpointLimitAttribute( + IntegerAttributeCallback callback + ) { + readAbsMaxCoolSetpointLimitAttribute(chipClusterPtr, callback); } - - public void writeOperatingModeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOperatingModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeAbsMaxCoolSetpointLimitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAbsMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeOperatingModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOperatingModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPICoolingDemandAttribute( + IntegerAttributeCallback callback + ) { + readPICoolingDemandAttribute(chipClusterPtr, callback); } - - public void readSupportedOperatingModesAttribute(IntegerAttributeCallback callback) { - readSupportedOperatingModesAttribute(chipClusterPtr, callback); + public void subscribePICoolingDemandAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePICoolingDemandAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeSupportedOperatingModesAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSupportedOperatingModesAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPIHeatingDemandAttribute( + IntegerAttributeCallback callback + ) { + readPIHeatingDemandAttribute(chipClusterPtr, callback); } - - public void readDefaultConfigurationRegisterAttribute(IntegerAttributeCallback callback) { - readDefaultConfigurationRegisterAttribute(chipClusterPtr, callback); + public void subscribePIHeatingDemandAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePIHeatingDemandAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeDefaultConfigurationRegisterAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDefaultConfigurationRegisterAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readHVACSystemTypeConfigurationAttribute( + IntegerAttributeCallback callback + ) { + readHVACSystemTypeConfigurationAttribute(chipClusterPtr, callback); } - - public void readEnableLocalProgrammingAttribute(BooleanAttributeCallback callback) { - readEnableLocalProgrammingAttribute(chipClusterPtr, callback); + public void writeHVACSystemTypeConfigurationAttribute(DefaultClusterCallback callback, Integer value) { + writeHVACSystemTypeConfigurationAttribute(chipClusterPtr, callback, value, null); } - public void writeEnableLocalProgrammingAttribute( - DefaultClusterCallback callback, Boolean value) { - writeEnableLocalProgrammingAttribute(chipClusterPtr, callback, value, null); + public void writeHVACSystemTypeConfigurationAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeHVACSystemTypeConfigurationAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void writeEnableLocalProgrammingAttribute( - DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { - writeEnableLocalProgrammingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeHVACSystemTypeConfigurationAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeHVACSystemTypeConfigurationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEnableLocalProgrammingAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEnableLocalProgrammingAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readLocalTemperatureCalibrationAttribute( + IntegerAttributeCallback callback + ) { + readLocalTemperatureCalibrationAttribute(chipClusterPtr, callback); } - - public void readEnableOneTouchLockingAttribute(BooleanAttributeCallback callback) { - readEnableOneTouchLockingAttribute(chipClusterPtr, callback); + public void writeLocalTemperatureCalibrationAttribute(DefaultClusterCallback callback, Integer value) { + writeLocalTemperatureCalibrationAttribute(chipClusterPtr, callback, value, null); } - public void writeEnableOneTouchLockingAttribute( - DefaultClusterCallback callback, Boolean value) { - writeEnableOneTouchLockingAttribute(chipClusterPtr, callback, value, null); + public void writeLocalTemperatureCalibrationAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeLocalTemperatureCalibrationAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void writeEnableOneTouchLockingAttribute( - DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { - writeEnableOneTouchLockingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeLocalTemperatureCalibrationAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLocalTemperatureCalibrationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEnableOneTouchLockingAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEnableOneTouchLockingAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readOccupiedCoolingSetpointAttribute( + IntegerAttributeCallback callback + ) { + readOccupiedCoolingSetpointAttribute(chipClusterPtr, callback); } - - public void readEnableInsideStatusLEDAttribute(BooleanAttributeCallback callback) { - readEnableInsideStatusLEDAttribute(chipClusterPtr, callback); + public void writeOccupiedCoolingSetpointAttribute(DefaultClusterCallback callback, Integer value) { + writeOccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, null); } - public void writeEnableInsideStatusLEDAttribute( - DefaultClusterCallback callback, Boolean value) { - writeEnableInsideStatusLEDAttribute(chipClusterPtr, callback, value, null); + public void writeOccupiedCoolingSetpointAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void writeEnableInsideStatusLEDAttribute( - DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { - writeEnableInsideStatusLEDAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeOccupiedCoolingSetpointAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOccupiedCoolingSetpointAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEnableInsideStatusLEDAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEnableInsideStatusLEDAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readOccupiedHeatingSetpointAttribute( + IntegerAttributeCallback callback + ) { + readOccupiedHeatingSetpointAttribute(chipClusterPtr, callback); } - - public void readEnablePrivacyModeButtonAttribute(BooleanAttributeCallback callback) { - readEnablePrivacyModeButtonAttribute(chipClusterPtr, callback); + public void writeOccupiedHeatingSetpointAttribute(DefaultClusterCallback callback, Integer value) { + writeOccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, null); } - public void writeEnablePrivacyModeButtonAttribute( - DefaultClusterCallback callback, Boolean value) { - writeEnablePrivacyModeButtonAttribute(chipClusterPtr, callback, value, null); + public void writeOccupiedHeatingSetpointAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void writeEnablePrivacyModeButtonAttribute( - DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { - writeEnablePrivacyModeButtonAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeOccupiedHeatingSetpointAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOccupiedHeatingSetpointAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEnablePrivacyModeButtonAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEnablePrivacyModeButtonAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readUnoccupiedCoolingSetpointAttribute( + IntegerAttributeCallback callback + ) { + readUnoccupiedCoolingSetpointAttribute(chipClusterPtr, callback); } - - public void readLocalProgrammingFeaturesAttribute(IntegerAttributeCallback callback) { - readLocalProgrammingFeaturesAttribute(chipClusterPtr, callback); + public void writeUnoccupiedCoolingSetpointAttribute(DefaultClusterCallback callback, Integer value) { + writeUnoccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, null); } - public void writeLocalProgrammingFeaturesAttribute( - DefaultClusterCallback callback, Integer value) { - writeLocalProgrammingFeaturesAttribute(chipClusterPtr, callback, value, null); + public void writeUnoccupiedCoolingSetpointAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeUnoccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void writeLocalProgrammingFeaturesAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeLocalProgrammingFeaturesAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeUnoccupiedCoolingSetpointAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUnoccupiedCoolingSetpointAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeLocalProgrammingFeaturesAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLocalProgrammingFeaturesAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readUnoccupiedHeatingSetpointAttribute( + IntegerAttributeCallback callback + ) { + readUnoccupiedHeatingSetpointAttribute(chipClusterPtr, callback); } - - public void readWrongCodeEntryLimitAttribute(IntegerAttributeCallback callback) { - readWrongCodeEntryLimitAttribute(chipClusterPtr, callback); + public void writeUnoccupiedHeatingSetpointAttribute(DefaultClusterCallback callback, Integer value) { + writeUnoccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, null); } - public void writeWrongCodeEntryLimitAttribute(DefaultClusterCallback callback, Integer value) { - writeWrongCodeEntryLimitAttribute(chipClusterPtr, callback, value, null); + public void writeUnoccupiedHeatingSetpointAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeUnoccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void writeWrongCodeEntryLimitAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeWrongCodeEntryLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeUnoccupiedHeatingSetpointAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUnoccupiedHeatingSetpointAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeWrongCodeEntryLimitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeWrongCodeEntryLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMinHeatSetpointLimitAttribute( + IntegerAttributeCallback callback + ) { + readMinHeatSetpointLimitAttribute(chipClusterPtr, callback); } - - public void readUserCodeTemporaryDisableTimeAttribute(IntegerAttributeCallback callback) { - readUserCodeTemporaryDisableTimeAttribute(chipClusterPtr, callback); + public void writeMinHeatSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { + writeMinHeatSetpointLimitAttribute(chipClusterPtr, callback, value, null); } - public void writeUserCodeTemporaryDisableTimeAttribute( - DefaultClusterCallback callback, Integer value) { - writeUserCodeTemporaryDisableTimeAttribute(chipClusterPtr, callback, value, null); + public void writeMinHeatSetpointLimitAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeMinHeatSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void writeUserCodeTemporaryDisableTimeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeUserCodeTemporaryDisableTimeAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeMinHeatSetpointLimitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMinHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeUserCodeTemporaryDisableTimeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUserCodeTemporaryDisableTimeAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readMaxHeatSetpointLimitAttribute( + IntegerAttributeCallback callback + ) { + readMaxHeatSetpointLimitAttribute(chipClusterPtr, callback); } - - public void readSendPINOverTheAirAttribute(BooleanAttributeCallback callback) { - readSendPINOverTheAirAttribute(chipClusterPtr, callback); + public void writeMaxHeatSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { + writeMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, value, null); } - public void writeSendPINOverTheAirAttribute(DefaultClusterCallback callback, Boolean value) { - writeSendPINOverTheAirAttribute(chipClusterPtr, callback, value, null); + public void writeMaxHeatSetpointLimitAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void writeSendPINOverTheAirAttribute( - DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { - writeSendPINOverTheAirAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeMaxHeatSetpointLimitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeSendPINOverTheAirAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSendPINOverTheAirAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMinCoolSetpointLimitAttribute( + IntegerAttributeCallback callback + ) { + readMinCoolSetpointLimitAttribute(chipClusterPtr, callback); } - - public void readRequirePINforRemoteOperationAttribute(BooleanAttributeCallback callback) { - readRequirePINforRemoteOperationAttribute(chipClusterPtr, callback); + public void writeMinCoolSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { + writeMinCoolSetpointLimitAttribute(chipClusterPtr, callback, value, null); } - public void writeRequirePINforRemoteOperationAttribute( - DefaultClusterCallback callback, Boolean value) { - writeRequirePINforRemoteOperationAttribute(chipClusterPtr, callback, value, null); + public void writeMinCoolSetpointLimitAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeMinCoolSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void writeRequirePINforRemoteOperationAttribute( - DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { - writeRequirePINforRemoteOperationAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeMinCoolSetpointLimitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMinCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeRequirePINforRemoteOperationAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRequirePINforRemoteOperationAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readMaxCoolSetpointLimitAttribute( + IntegerAttributeCallback callback + ) { + readMaxCoolSetpointLimitAttribute(chipClusterPtr, callback); } - - public void readExpiringUserTimeoutAttribute(IntegerAttributeCallback callback) { - readExpiringUserTimeoutAttribute(chipClusterPtr, callback); + public void writeMaxCoolSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { + writeMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, value, null); } - public void writeExpiringUserTimeoutAttribute(DefaultClusterCallback callback, Integer value) { - writeExpiringUserTimeoutAttribute(chipClusterPtr, callback, value, null); + public void writeMaxCoolSetpointLimitAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeMaxCoolSetpointLimitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeExpiringUserTimeoutAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeExpiringUserTimeoutAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readMinSetpointDeadBandAttribute( + IntegerAttributeCallback callback + ) { + readMinSetpointDeadBandAttribute(chipClusterPtr, callback); + } + public void writeMinSetpointDeadBandAttribute(DefaultClusterCallback callback, Integer value) { + writeMinSetpointDeadBandAttribute(chipClusterPtr, callback, value, null); } - public void subscribeExpiringUserTimeoutAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeExpiringUserTimeoutAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeMinSetpointDeadBandAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeMinSetpointDeadBandAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeMinSetpointDeadBandAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMinSetpointDeadBandAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void readRemoteSensingAttribute( + IntegerAttributeCallback callback + ) { + readRemoteSensingAttribute(chipClusterPtr, callback); + } + public void writeRemoteSensingAttribute(DefaultClusterCallback callback, Integer value) { + writeRemoteSensingAttribute(chipClusterPtr, callback, value, null); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + 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 readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void readControlSequenceOfOperationAttribute( + IntegerAttributeCallback callback + ) { + readControlSequenceOfOperationAttribute(chipClusterPtr, callback); + } + public void writeControlSequenceOfOperationAttribute(DefaultClusterCallback callback, Integer value) { + writeControlSequenceOfOperationAttribute(chipClusterPtr, callback, value, null); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + 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 readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + public void readSystemModeAttribute( + IntegerAttributeCallback callback + ) { + readSystemModeAttribute(chipClusterPtr, callback); + } + public void writeSystemModeAttribute(DefaultClusterCallback callback, Integer value) { + writeSystemModeAttribute(chipClusterPtr, callback, value, null); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + 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 readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void readThermostatRunningModeAttribute( + IntegerAttributeCallback callback + ) { + readThermostatRunningModeAttribute(chipClusterPtr, callback); + } + public void subscribeThermostatRunningModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeThermostatRunningModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readStartOfWeekAttribute( + IntegerAttributeCallback callback + ) { + readStartOfWeekAttribute(chipClusterPtr, callback); + } + public void subscribeStartOfWeekAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeStartOfWeekAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void readNumberOfWeeklyTransitionsAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfWeeklyTransitionsAttribute(chipClusterPtr, callback); + } + public void subscribeNumberOfWeeklyTransitionsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfWeeklyTransitionsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readNumberOfDailyTransitionsAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfDailyTransitionsAttribute(chipClusterPtr, callback); + } + public void subscribeNumberOfDailyTransitionsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfDailyTransitionsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void readTemperatureSetpointHoldAttribute( + IntegerAttributeCallback callback + ) { + readTemperatureSetpointHoldAttribute(chipClusterPtr, callback); + } + public void writeTemperatureSetpointHoldAttribute(DefaultClusterCallback callback, Integer value) { + writeTemperatureSetpointHoldAttribute(chipClusterPtr, callback, value, null); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + 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); } - private native void readLockStateAttribute( - long chipClusterPtr, LockStateAttributeCallback callback); + public void readTemperatureSetpointHoldDurationAttribute( + TemperatureSetpointHoldDurationAttributeCallback callback + ) { + readTemperatureSetpointHoldDurationAttribute(chipClusterPtr, callback); + } + public void writeTemperatureSetpointHoldDurationAttribute(DefaultClusterCallback callback, Integer value) { + writeTemperatureSetpointHoldDurationAttribute(chipClusterPtr, callback, value, null); + } - private native void subscribeLockStateAttribute( - long chipClusterPtr, LockStateAttributeCallback callback, int minInterval, int maxInterval); + 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); + } - private native void readLockTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readThermostatProgrammingOperationModeAttribute( + IntegerAttributeCallback callback + ) { + readThermostatProgrammingOperationModeAttribute(chipClusterPtr, callback); + } + public void writeThermostatProgrammingOperationModeAttribute(DefaultClusterCallback callback, Integer value) { + writeThermostatProgrammingOperationModeAttribute(chipClusterPtr, callback, value, null); + } - private native void subscribeLockTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + 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 readActuatorEnabledAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); + 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 subscribeActuatorEnabledAttribute( - long chipClusterPtr, BooleanAttributeCallback 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 readDoorStateAttribute( - long chipClusterPtr, DoorStateAttributeCallback 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 subscribeDoorStateAttribute( - long chipClusterPtr, DoorStateAttributeCallback 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 readDoorOpenEventsAttribute( - long chipClusterPtr, LongAttributeCallback callback); + public void readOccupiedSetbackAttribute( + OccupiedSetbackAttributeCallback callback + ) { + readOccupiedSetbackAttribute(chipClusterPtr, callback); + } + public void writeOccupiedSetbackAttribute(DefaultClusterCallback callback, Integer value) { + writeOccupiedSetbackAttribute(chipClusterPtr, callback, value, null); + } - private native void writeDoorOpenEventsAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); + 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); + } - private native void subscribeDoorOpenEventsAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + public void readOccupiedSetbackMinAttribute( + OccupiedSetbackMinAttributeCallback callback + ) { + readOccupiedSetbackMinAttribute(chipClusterPtr, callback); + } + public void subscribeOccupiedSetbackMinAttribute( + OccupiedSetbackMinAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeOccupiedSetbackMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readDoorClosedEventsAttribute( - long chipClusterPtr, LongAttributeCallback callback); + public void readOccupiedSetbackMaxAttribute( + OccupiedSetbackMaxAttributeCallback callback + ) { + readOccupiedSetbackMaxAttribute(chipClusterPtr, callback); + } + public void subscribeOccupiedSetbackMaxAttribute( + OccupiedSetbackMaxAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeOccupiedSetbackMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void writeDoorClosedEventsAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); + public void readUnoccupiedSetbackAttribute( + UnoccupiedSetbackAttributeCallback callback + ) { + readUnoccupiedSetbackAttribute(chipClusterPtr, callback); + } + public void writeUnoccupiedSetbackAttribute(DefaultClusterCallback callback, Integer value) { + writeUnoccupiedSetbackAttribute(chipClusterPtr, callback, value, null); + } - private native void subscribeDoorClosedEventsAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + 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); + } - private native void readOpenPeriodAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readUnoccupiedSetbackMinAttribute( + UnoccupiedSetbackMinAttributeCallback callback + ) { + readUnoccupiedSetbackMinAttribute(chipClusterPtr, callback); + } + public void subscribeUnoccupiedSetbackMinAttribute( + UnoccupiedSetbackMinAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeUnoccupiedSetbackMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void writeOpenPeriodAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public void readUnoccupiedSetbackMaxAttribute( + UnoccupiedSetbackMaxAttributeCallback callback + ) { + readUnoccupiedSetbackMaxAttribute(chipClusterPtr, callback); + } + public void subscribeUnoccupiedSetbackMaxAttribute( + UnoccupiedSetbackMaxAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeUnoccupiedSetbackMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeOpenPeriodAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readEmergencyHeatDeltaAttribute( + IntegerAttributeCallback callback + ) { + readEmergencyHeatDeltaAttribute(chipClusterPtr, callback); + } + public void writeEmergencyHeatDeltaAttribute(DefaultClusterCallback callback, Integer value) { + writeEmergencyHeatDeltaAttribute(chipClusterPtr, callback, value, null); + } - private native void readNumberOfTotalUsersSupportedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + 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); + } - private native void subscribeNumberOfTotalUsersSupportedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readACTypeAttribute( + IntegerAttributeCallback callback + ) { + readACTypeAttribute(chipClusterPtr, callback); + } + public void writeACTypeAttribute(DefaultClusterCallback callback, Integer value) { + writeACTypeAttribute(chipClusterPtr, callback, value, null); + } - private native void readNumberOfPINUsersSupportedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + 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); + } - private native void subscribeNumberOfPINUsersSupportedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readACCapacityAttribute( + IntegerAttributeCallback callback + ) { + readACCapacityAttribute(chipClusterPtr, callback); + } + public void writeACCapacityAttribute(DefaultClusterCallback callback, Integer value) { + writeACCapacityAttribute(chipClusterPtr, callback, value, null); + } - private native void readNumberOfRFIDUsersSupportedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + 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); + } - private native void subscribeNumberOfRFIDUsersSupportedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readACRefrigerantTypeAttribute( + IntegerAttributeCallback callback + ) { + readACRefrigerantTypeAttribute(chipClusterPtr, callback); + } + public void writeACRefrigerantTypeAttribute(DefaultClusterCallback callback, Integer value) { + writeACRefrigerantTypeAttribute(chipClusterPtr, callback, value, null); + } - private native void readNumberOfWeekDaySchedulesSupportedPerUserAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + 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); + } - private native void subscribeNumberOfWeekDaySchedulesSupportedPerUserAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readACCompressorTypeAttribute( + IntegerAttributeCallback callback + ) { + readACCompressorTypeAttribute(chipClusterPtr, callback); + } + public void writeACCompressorTypeAttribute(DefaultClusterCallback callback, Integer value) { + writeACCompressorTypeAttribute(chipClusterPtr, callback, value, null); + } - private native void readNumberOfYearDaySchedulesSupportedPerUserAttribute( - long chipClusterPtr, IntegerAttributeCallback 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); + } - private native void subscribeNumberOfYearDaySchedulesSupportedPerUserAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readACErrorCodeAttribute( + LongAttributeCallback callback + ) { + readACErrorCodeAttribute(chipClusterPtr, callback); + } + public void writeACErrorCodeAttribute(DefaultClusterCallback callback, Long value) { + writeACErrorCodeAttribute(chipClusterPtr, callback, value, null); + } - private native void readNumberOfHolidaySchedulesSupportedAttribute( - long chipClusterPtr, IntegerAttributeCallback 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); + } - private native void subscribeNumberOfHolidaySchedulesSupportedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readACLouverPositionAttribute( + IntegerAttributeCallback callback + ) { + readACLouverPositionAttribute(chipClusterPtr, callback); + } + public void writeACLouverPositionAttribute(DefaultClusterCallback callback, Integer value) { + writeACLouverPositionAttribute(chipClusterPtr, callback, value, null); + } - private native void readMaxPINCodeLengthAttribute( - long chipClusterPtr, IntegerAttributeCallback 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); + } - private native void subscribeMaxPINCodeLengthAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readACCoilTemperatureAttribute( + ACCoilTemperatureAttributeCallback callback + ) { + readACCoilTemperatureAttribute(chipClusterPtr, callback); + } + public void subscribeACCoilTemperatureAttribute( + ACCoilTemperatureAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeACCoilTemperatureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readMinPINCodeLengthAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readACCapacityformatAttribute( + IntegerAttributeCallback callback + ) { + readACCapacityformatAttribute(chipClusterPtr, callback); + } + public void writeACCapacityformatAttribute(DefaultClusterCallback callback, Integer value) { + writeACCapacityformatAttribute(chipClusterPtr, callback, value, null); + } - private native void subscribeMinPINCodeLengthAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int 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); + } - private native void readMaxRFIDCodeLengthAttribute( - 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 subscribeMaxRFIDCodeLengthAttribute( - 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 readMinRFIDCodeLengthAttribute( - 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 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); + 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 writeOperatingModeAttribute( - 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 subscribeOperatingModeAttribute( - 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 readSupportedOperatingModesAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + 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); + } - private native void subscribeSupportedOperatingModesAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public static class FanControlCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 514L; - private native void readDefaultConfigurationRegisterAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public FanControlCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void subscribeDefaultConfigurationRegisterAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void readEnableLocalProgrammingAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); + 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) {} + } - private native void writeEnableLocalProgrammingAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Boolean value, - @Nullable Integer timedWriteTimeoutMs); + public void readFanModeAttribute( + IntegerAttributeCallback callback + ) { + readFanModeAttribute(chipClusterPtr, callback); + } + public void writeFanModeAttribute(DefaultClusterCallback callback, Integer value) { + writeFanModeAttribute(chipClusterPtr, callback, value, null); + } - private native void subscribeEnableLocalProgrammingAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); + 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); + } - private native void readEnableOneTouchLockingAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); + public void readFanModeSequenceAttribute( + IntegerAttributeCallback callback + ) { + readFanModeSequenceAttribute(chipClusterPtr, callback); + } + public void writeFanModeSequenceAttribute(DefaultClusterCallback callback, Integer value) { + writeFanModeSequenceAttribute(chipClusterPtr, callback, value, null); + } - private native void writeEnableOneTouchLockingAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Boolean value, - @Nullable Integer timedWriteTimeoutMs); + 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); + } - private native void subscribeEnableOneTouchLockingAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); + public void readPercentSettingAttribute( + PercentSettingAttributeCallback callback + ) { + readPercentSettingAttribute(chipClusterPtr, callback); + } + public void writePercentSettingAttribute(DefaultClusterCallback callback, Integer value) { + writePercentSettingAttribute(chipClusterPtr, callback, value, null); + } - private native void readEnableInsideStatusLEDAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); + 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); + } - private native void writeEnableInsideStatusLEDAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Boolean value, - @Nullable Integer timedWriteTimeoutMs); + public void readPercentCurrentAttribute( + IntegerAttributeCallback callback + ) { + readPercentCurrentAttribute(chipClusterPtr, callback); + } + public void subscribePercentCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePercentCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeEnableInsideStatusLEDAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); + public void readSpeedMaxAttribute( + IntegerAttributeCallback callback + ) { + readSpeedMaxAttribute(chipClusterPtr, callback); + } + public void subscribeSpeedMaxAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSpeedMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readEnablePrivacyModeButtonAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); + public void readSpeedSettingAttribute( + SpeedSettingAttributeCallback callback + ) { + readSpeedSettingAttribute(chipClusterPtr, callback); + } + public void writeSpeedSettingAttribute(DefaultClusterCallback callback, Integer value) { + writeSpeedSettingAttribute(chipClusterPtr, callback, value, null); + } - private native void writeEnablePrivacyModeButtonAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Boolean value, - @Nullable Integer timedWriteTimeoutMs); + public void writeSpeedSettingAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeSpeedSettingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeSpeedSettingAttribute( + SpeedSettingAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeSpeedSettingAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeEnablePrivacyModeButtonAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); + public void readSpeedCurrentAttribute( + IntegerAttributeCallback callback + ) { + readSpeedCurrentAttribute(chipClusterPtr, callback); + } + public void subscribeSpeedCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSpeedCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readLocalProgrammingFeaturesAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readRockSupportAttribute( + IntegerAttributeCallback callback + ) { + readRockSupportAttribute(chipClusterPtr, callback); + } + public void subscribeRockSupportAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRockSupportAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void writeLocalProgrammingFeaturesAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public void readRockSettingAttribute( + IntegerAttributeCallback callback + ) { + readRockSettingAttribute(chipClusterPtr, callback); + } + public void writeRockSettingAttribute(DefaultClusterCallback callback, Integer value) { + writeRockSettingAttribute(chipClusterPtr, callback, value, null); + } - private native void subscribeLocalProgrammingFeaturesAttribute( - long chipClusterPtr, IntegerAttributeCallback 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 readWrongCodeEntryLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback 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 writeWrongCodeEntryLimitAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public void readWindSettingAttribute( + IntegerAttributeCallback callback + ) { + readWindSettingAttribute(chipClusterPtr, callback); + } + public void writeWindSettingAttribute(DefaultClusterCallback callback, Integer value) { + writeWindSettingAttribute(chipClusterPtr, callback, value, null); + } - private native void subscribeWrongCodeEntryLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + 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 readUserCodeTemporaryDisableTimeAttribute( - 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 writeUserCodeTemporaryDisableTimeAttribute( - 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 subscribeUserCodeTemporaryDisableTimeAttribute( - 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 readSendPINOverTheAirAttribute( - long chipClusterPtr, BooleanAttributeCallback 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 writeSendPINOverTheAirAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Boolean 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 subscribeSendPINOverTheAirAttribute( - long chipClusterPtr, BooleanAttributeCallback 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 readRequirePINforRemoteOperationAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); + 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 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 writeRequirePINforRemoteOperationAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Boolean value, - @Nullable Integer timedWriteTimeoutMs); + public static class ThermostatUserInterfaceConfigurationCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 516L; - private native void subscribeRequirePINforRemoteOperationAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); + public ThermostatUserInterfaceConfigurationCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void readExpiringUserTimeoutAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void writeExpiringUserTimeoutAttribute( - 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 subscribeExpiringUserTimeoutAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readTemperatureDisplayModeAttribute( + IntegerAttributeCallback callback + ) { + readTemperatureDisplayModeAttribute(chipClusterPtr, callback); + } + public void writeTemperatureDisplayModeAttribute(DefaultClusterCallback callback, Integer value) { + writeTemperatureDisplayModeAttribute(chipClusterPtr, callback, value, null); + } - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); + public void writeTemperatureDisplayModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeTemperatureDisplayModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeTemperatureDisplayModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTemperatureDisplayModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readKeypadLockoutAttribute( + IntegerAttributeCallback callback + ) { + readKeypadLockoutAttribute(chipClusterPtr, callback); + } + public void writeKeypadLockoutAttribute(DefaultClusterCallback callback, Integer value) { + writeKeypadLockoutAttribute(chipClusterPtr, callback, value, null); + } - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); + public void writeKeypadLockoutAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeKeypadLockoutAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeKeypadLockoutAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeKeypadLockoutAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readScheduleProgrammingVisibilityAttribute( + IntegerAttributeCallback callback + ) { + readScheduleProgrammingVisibilityAttribute(chipClusterPtr, callback); + } + public void writeScheduleProgrammingVisibilityAttribute(DefaultClusterCallback callback, Integer value) { + writeScheduleProgrammingVisibilityAttribute(chipClusterPtr, callback, value, null); + } - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); + public void writeScheduleProgrammingVisibilityAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeScheduleProgrammingVisibilityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeScheduleProgrammingVisibilityAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeScheduleProgrammingVisibilityAttribute(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 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 static class WindowCoveringCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 258L; + public static class ColorControlCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 768L; - public WindowCoveringCluster(long devicePtr, int endpointId) { + public ColorControlCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public void upOrOpen(DefaultClusterCallback callback) { - upOrOpen(chipClusterPtr, callback, null); + 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 upOrOpen(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { + 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); + } - upOrOpen(chipClusterPtr, callback, timedInvokeTimeoutMs); + public void moveHue(DefaultClusterCallback callback + , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride) { + moveHue(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null); } - public void downOrClose(DefaultClusterCallback callback) { - downOrClose(chipClusterPtr, callback, null); + 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 downOrClose(DefaultClusterCallback callback, int 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); + } - downOrClose(chipClusterPtr, callback, timedInvokeTimeoutMs); + 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 stopMotion(DefaultClusterCallback callback) { - stopMotion(chipClusterPtr, callback, null); + public void moveToSaturation(DefaultClusterCallback callback + , Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride) { + moveToSaturation(chipClusterPtr, callback, saturation, transitionTime, optionsMask, optionsOverride, null); } - public void stopMotion(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { + public void moveToSaturation(DefaultClusterCallback callback + , Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + moveToSaturation(chipClusterPtr, callback, saturation, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs); + } - stopMotion(chipClusterPtr, callback, timedInvokeTimeoutMs); + public void moveSaturation(DefaultClusterCallback callback + , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride) { + moveSaturation(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null); } - public void goToLiftValue(DefaultClusterCallback callback, Integer liftValue) { - goToLiftValue(chipClusterPtr, callback, liftValue, null); + 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 goToLiftValue( - DefaultClusterCallback callback, Integer liftValue, int timedInvokeTimeoutMs) { - goToLiftValue(chipClusterPtr, callback, liftValue, 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 goToLiftPercentage( - DefaultClusterCallback callback, Integer liftPercent100thsValue) { - goToLiftPercentage(chipClusterPtr, callback, liftPercent100thsValue, 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 goToLiftPercentage( - DefaultClusterCallback callback, Integer liftPercent100thsValue, int timedInvokeTimeoutMs) { - goToLiftPercentage(chipClusterPtr, callback, liftPercent100thsValue, 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 goToTiltValue(DefaultClusterCallback callback, Integer tiltValue) { - goToTiltValue(chipClusterPtr, callback, tiltValue, 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 goToTiltValue( - DefaultClusterCallback callback, Integer tiltValue, int timedInvokeTimeoutMs) { - goToTiltValue(chipClusterPtr, callback, tiltValue, 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 goToTiltPercentage( - DefaultClusterCallback callback, Integer tiltPercent100thsValue) { - goToTiltPercentage(chipClusterPtr, callback, tiltPercent100thsValue, 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 goToTiltPercentage( - DefaultClusterCallback callback, Integer tiltPercent100thsValue, int timedInvokeTimeoutMs) { - goToTiltPercentage(chipClusterPtr, callback, tiltPercent100thsValue, timedInvokeTimeoutMs); + public void moveColor(DefaultClusterCallback callback + , Integer rateX, Integer rateY, Integer optionsMask, Integer optionsOverride) { + moveColor(chipClusterPtr, callback, rateX, rateY, optionsMask, optionsOverride, null); } - private native void upOrOpen( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); + public void moveColor(DefaultClusterCallback callback + , Integer rateX, Integer rateY, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + moveColor(chipClusterPtr, callback, rateX, rateY, optionsMask, optionsOverride, 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 stepColor(DefaultClusterCallback callback + , Integer stepX, Integer stepY, Integer transitionTime, Integer optionsMask, Integer optionsOverride) { + stepColor(chipClusterPtr, callback, stepX, stepY, transitionTime, optionsMask, optionsOverride, null); } - public interface CurrentPositionTiltAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + 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 interface CurrentPositionLiftPercentageAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void moveToColorTemperature(DefaultClusterCallback callback + , Integer colorTemperatureMireds, Integer transitionTime, Integer optionsMask, Integer optionsOverride) { + moveToColorTemperature(chipClusterPtr, callback, colorTemperatureMireds, transitionTime, optionsMask, optionsOverride, null); } - public interface CurrentPositionTiltPercentageAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void moveToColorTemperature(DefaultClusterCallback callback + , Integer colorTemperatureMireds, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + moveToColorTemperature(chipClusterPtr, callback, colorTemperatureMireds, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public interface TargetPositionLiftPercent100thsAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + 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 interface TargetPositionTiltPercent100thsAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + 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 interface CurrentPositionLiftPercent100thsAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void enhancedMoveHue(DefaultClusterCallback callback + , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride) { + enhancedMoveHue(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null); } - public interface CurrentPositionTiltPercent100thsAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void enhancedMoveHue(DefaultClusterCallback callback + , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + enhancedMoveHue(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 enhancedStepHue(DefaultClusterCallback callback + , Integer stepMode, Integer stepSize, Integer transitionTime, Integer optionsMask, Integer optionsOverride) { + enhancedStepHue(chipClusterPtr, callback, stepMode, stepSize, transitionTime, optionsMask, optionsOverride, null); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); + 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); + } - void onError(Exception ex); + public void enhancedMoveToHueAndSaturation(DefaultClusterCallback callback + , Integer enhancedHue, Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride) { + enhancedMoveToHueAndSaturation(chipClusterPtr, callback, enhancedHue, saturation, transitionTime, optionsMask, optionsOverride, null); + } - default void onSubscriptionEstablished(long subscriptionId) {} + 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 interface EventListAttributeCallback { - void onSuccess(List valueList); + 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); + } - void onError(Exception ex); + 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); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void stopMoveStep(DefaultClusterCallback callback + , Integer optionsMask, Integer optionsOverride) { + stopMoveStep(chipClusterPtr, callback, optionsMask, optionsOverride, null); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); + public void stopMoveStep(DefaultClusterCallback callback + , Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + stopMoveStep(chipClusterPtr, callback, optionsMask, optionsOverride, timedInvokeTimeoutMs); + } - void onError(Exception ex); + 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) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readCurrentHueAttribute( + IntegerAttributeCallback callback + ) { + readCurrentHueAttribute(chipClusterPtr, callback); } - - public void readTypeAttribute(IntegerAttributeCallback callback) { - readTypeAttribute(chipClusterPtr, callback); + public void subscribeCurrentHueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentHueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeTypeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readCurrentSaturationAttribute( + IntegerAttributeCallback callback + ) { + readCurrentSaturationAttribute(chipClusterPtr, callback); } - - public void readPhysicalClosedLimitLiftAttribute(IntegerAttributeCallback callback) { - readPhysicalClosedLimitLiftAttribute(chipClusterPtr, callback); + public void subscribeCurrentSaturationAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentSaturationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePhysicalClosedLimitLiftAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePhysicalClosedLimitLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readRemainingTimeAttribute( + IntegerAttributeCallback callback + ) { + readRemainingTimeAttribute(chipClusterPtr, callback); } - - public void readPhysicalClosedLimitTiltAttribute(IntegerAttributeCallback callback) { - readPhysicalClosedLimitTiltAttribute(chipClusterPtr, callback); + public void subscribeRemainingTimeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRemainingTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePhysicalClosedLimitTiltAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePhysicalClosedLimitTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readCurrentXAttribute( + IntegerAttributeCallback callback + ) { + readCurrentXAttribute(chipClusterPtr, callback); } - - public void readCurrentPositionLiftAttribute(CurrentPositionLiftAttributeCallback callback) { - readCurrentPositionLiftAttribute(chipClusterPtr, callback); + public void subscribeCurrentXAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentXAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentPositionLiftAttribute( - CurrentPositionLiftAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentPositionLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readCurrentYAttribute( + IntegerAttributeCallback callback + ) { + readCurrentYAttribute(chipClusterPtr, callback); } - - public void readCurrentPositionTiltAttribute(CurrentPositionTiltAttributeCallback callback) { - readCurrentPositionTiltAttribute(chipClusterPtr, callback); + public void subscribeCurrentYAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentYAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentPositionTiltAttribute( - CurrentPositionTiltAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentPositionTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readDriftCompensationAttribute( + IntegerAttributeCallback callback + ) { + readDriftCompensationAttribute(chipClusterPtr, callback); } - - public void readNumberOfActuationsLiftAttribute(IntegerAttributeCallback callback) { - readNumberOfActuationsLiftAttribute(chipClusterPtr, callback); + public void subscribeDriftCompensationAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDriftCompensationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeNumberOfActuationsLiftAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfActuationsLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readCompensationTextAttribute( + CharStringAttributeCallback callback + ) { + readCompensationTextAttribute(chipClusterPtr, callback); } - - public void readNumberOfActuationsTiltAttribute(IntegerAttributeCallback callback) { - readNumberOfActuationsTiltAttribute(chipClusterPtr, callback); + public void subscribeCompensationTextAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCompensationTextAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeNumberOfActuationsTiltAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfActuationsTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readColorTemperatureMiredsAttribute( + IntegerAttributeCallback callback + ) { + readColorTemperatureMiredsAttribute(chipClusterPtr, callback); } - - public void readConfigStatusAttribute(IntegerAttributeCallback callback) { - readConfigStatusAttribute(chipClusterPtr, callback); + public void subscribeColorTemperatureMiredsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorTemperatureMiredsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeConfigStatusAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeConfigStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readColorModeAttribute( + IntegerAttributeCallback callback + ) { + readColorModeAttribute(chipClusterPtr, callback); } - - public void readCurrentPositionLiftPercentageAttribute( - CurrentPositionLiftPercentageAttributeCallback callback) { - readCurrentPositionLiftPercentageAttribute(chipClusterPtr, callback); + public void subscribeColorModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentPositionLiftPercentageAttribute( - CurrentPositionLiftPercentageAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentPositionLiftPercentageAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readOptionsAttribute( + IntegerAttributeCallback callback + ) { + readOptionsAttribute(chipClusterPtr, callback); } - - public void readCurrentPositionTiltPercentageAttribute( - CurrentPositionTiltPercentageAttributeCallback callback) { - readCurrentPositionTiltPercentageAttribute(chipClusterPtr, callback); + public void writeOptionsAttribute(DefaultClusterCallback callback, Integer value) { + writeOptionsAttribute(chipClusterPtr, callback, value, null); } - public void subscribeCurrentPositionTiltPercentageAttribute( - CurrentPositionTiltPercentageAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentPositionTiltPercentageAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void writeOptionsAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOptionsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readOperationalStatusAttribute(IntegerAttributeCallback callback) { - readOperationalStatusAttribute(chipClusterPtr, callback); + public void subscribeOptionsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOptionsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeOperationalStatusAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOperationalStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readNumberOfPrimariesAttribute( + NumberOfPrimariesAttributeCallback callback + ) { + readNumberOfPrimariesAttribute(chipClusterPtr, callback); } - - public void readTargetPositionLiftPercent100thsAttribute( - TargetPositionLiftPercent100thsAttributeCallback callback) { - readTargetPositionLiftPercent100thsAttribute(chipClusterPtr, callback); + public void subscribeNumberOfPrimariesAttribute( + NumberOfPrimariesAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeNumberOfPrimariesAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeTargetPositionLiftPercent100thsAttribute( - TargetPositionLiftPercent100thsAttributeCallback callback, - int minInterval, - int maxInterval) { - subscribeTargetPositionLiftPercent100thsAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary1XAttribute( + IntegerAttributeCallback callback + ) { + readPrimary1XAttribute(chipClusterPtr, callback); } - - public void readTargetPositionTiltPercent100thsAttribute( - TargetPositionTiltPercent100thsAttributeCallback callback) { - readTargetPositionTiltPercent100thsAttribute(chipClusterPtr, callback); + public void subscribePrimary1XAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary1XAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeTargetPositionTiltPercent100thsAttribute( - TargetPositionTiltPercent100thsAttributeCallback callback, - int minInterval, - int maxInterval) { - subscribeTargetPositionTiltPercent100thsAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary1YAttribute( + IntegerAttributeCallback callback + ) { + readPrimary1YAttribute(chipClusterPtr, callback); } - - public void readEndProductTypeAttribute(IntegerAttributeCallback callback) { - readEndProductTypeAttribute(chipClusterPtr, callback); + public void subscribePrimary1YAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary1YAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEndProductTypeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEndProductTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary1IntensityAttribute( + Primary1IntensityAttributeCallback callback + ) { + readPrimary1IntensityAttribute(chipClusterPtr, callback); } - - public void readCurrentPositionLiftPercent100thsAttribute( - CurrentPositionLiftPercent100thsAttributeCallback callback) { - readCurrentPositionLiftPercent100thsAttribute(chipClusterPtr, callback); + public void subscribePrimary1IntensityAttribute( + Primary1IntensityAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePrimary1IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentPositionLiftPercent100thsAttribute( - CurrentPositionLiftPercent100thsAttributeCallback callback, - int minInterval, - int maxInterval) { - subscribeCurrentPositionLiftPercent100thsAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary2XAttribute( + IntegerAttributeCallback callback + ) { + readPrimary2XAttribute(chipClusterPtr, callback); } - - public void readCurrentPositionTiltPercent100thsAttribute( - CurrentPositionTiltPercent100thsAttributeCallback callback) { - readCurrentPositionTiltPercent100thsAttribute(chipClusterPtr, callback); + public void subscribePrimary2XAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary2XAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentPositionTiltPercent100thsAttribute( - CurrentPositionTiltPercent100thsAttributeCallback callback, - int minInterval, - int maxInterval) { - subscribeCurrentPositionTiltPercent100thsAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary2YAttribute( + IntegerAttributeCallback callback + ) { + readPrimary2YAttribute(chipClusterPtr, callback); } - - public void readInstalledOpenLimitLiftAttribute(IntegerAttributeCallback callback) { - readInstalledOpenLimitLiftAttribute(chipClusterPtr, callback); + public void subscribePrimary2YAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary2YAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeInstalledOpenLimitLiftAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInstalledOpenLimitLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary2IntensityAttribute( + Primary2IntensityAttributeCallback callback + ) { + readPrimary2IntensityAttribute(chipClusterPtr, callback); } - - public void readInstalledClosedLimitLiftAttribute(IntegerAttributeCallback callback) { - readInstalledClosedLimitLiftAttribute(chipClusterPtr, callback); + public void subscribePrimary2IntensityAttribute( + Primary2IntensityAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePrimary2IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeInstalledClosedLimitLiftAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInstalledClosedLimitLiftAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary3XAttribute( + IntegerAttributeCallback callback + ) { + readPrimary3XAttribute(chipClusterPtr, callback); } - - public void readInstalledOpenLimitTiltAttribute(IntegerAttributeCallback callback) { - readInstalledOpenLimitTiltAttribute(chipClusterPtr, callback); + public void subscribePrimary3XAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary3XAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeInstalledOpenLimitTiltAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInstalledOpenLimitTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary3YAttribute( + IntegerAttributeCallback callback + ) { + readPrimary3YAttribute(chipClusterPtr, callback); } - - public void readInstalledClosedLimitTiltAttribute(IntegerAttributeCallback callback) { - readInstalledClosedLimitTiltAttribute(chipClusterPtr, callback); + public void subscribePrimary3YAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary3YAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeInstalledClosedLimitTiltAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInstalledClosedLimitTiltAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary3IntensityAttribute( + Primary3IntensityAttributeCallback callback + ) { + readPrimary3IntensityAttribute(chipClusterPtr, callback); } - - public void readModeAttribute(IntegerAttributeCallback callback) { - readModeAttribute(chipClusterPtr, callback); + public void subscribePrimary3IntensityAttribute( + Primary3IntensityAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePrimary3IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeModeAttribute(DefaultClusterCallback callback, Integer value) { - writeModeAttribute(chipClusterPtr, callback, value, null); + public void readPrimary4XAttribute( + IntegerAttributeCallback callback + ) { + readPrimary4XAttribute(chipClusterPtr, callback); } - - public void writeModeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribePrimary4XAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary4XAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary4YAttribute( + IntegerAttributeCallback callback + ) { + readPrimary4YAttribute(chipClusterPtr, callback); } - - public void readSafetyStatusAttribute(IntegerAttributeCallback callback) { - readSafetyStatusAttribute(chipClusterPtr, callback); + public void subscribePrimary4YAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary4YAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeSafetyStatusAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSafetyStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary4IntensityAttribute( + Primary4IntensityAttributeCallback callback + ) { + readPrimary4IntensityAttribute(chipClusterPtr, callback); } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void subscribePrimary4IntensityAttribute( + Primary4IntensityAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePrimary4IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary5XAttribute( + IntegerAttributeCallback callback + ) { + readPrimary5XAttribute(chipClusterPtr, callback); } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void subscribePrimary5XAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary5XAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary5YAttribute( + IntegerAttributeCallback callback + ) { + readPrimary5YAttribute(chipClusterPtr, callback); } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + public void subscribePrimary5YAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary5YAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary5IntensityAttribute( + Primary5IntensityAttributeCallback callback + ) { + readPrimary5IntensityAttribute(chipClusterPtr, callback); } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void subscribePrimary5IntensityAttribute( + Primary5IntensityAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePrimary5IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary6XAttribute( + IntegerAttributeCallback callback + ) { + readPrimary6XAttribute(chipClusterPtr, callback); } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void subscribePrimary6XAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary6XAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary6YAttribute( + IntegerAttributeCallback callback + ) { + readPrimary6YAttribute(chipClusterPtr, callback); + } + public void subscribePrimary6YAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary6YAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void readPrimary6IntensityAttribute( + Primary6IntensityAttributeCallback callback + ) { + readPrimary6IntensityAttribute(chipClusterPtr, callback); + } + public void subscribePrimary6IntensityAttribute( + Primary6IntensityAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePrimary6IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readWhitePointXAttribute( + IntegerAttributeCallback callback + ) { + readWhitePointXAttribute(chipClusterPtr, callback); + } + public void writeWhitePointXAttribute(DefaultClusterCallback callback, Integer value) { + writeWhitePointXAttribute(chipClusterPtr, callback, value, null); } - 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 BarrierControlCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 259L; - - public BarrierControlCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void writeWhitePointXAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeWhitePointXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public void barrierControlGoToPercent(DefaultClusterCallback callback, Integer percentOpen) { - barrierControlGoToPercent(chipClusterPtr, callback, percentOpen, null); + public void subscribeWhitePointXAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeWhitePointXAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void barrierControlGoToPercent( - DefaultClusterCallback callback, Integer percentOpen, int timedInvokeTimeoutMs) { - barrierControlGoToPercent(chipClusterPtr, callback, percentOpen, timedInvokeTimeoutMs); + public void readWhitePointYAttribute( + IntegerAttributeCallback callback + ) { + readWhitePointYAttribute(chipClusterPtr, callback); } - - public void barrierControlStop(DefaultClusterCallback callback) { - barrierControlStop(chipClusterPtr, callback, null); + public void writeWhitePointYAttribute(DefaultClusterCallback callback, Integer value) { + writeWhitePointYAttribute(chipClusterPtr, callback, value, null); } - public void barrierControlStop(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - - barrierControlStop(chipClusterPtr, callback, timedInvokeTimeoutMs); + public void writeWhitePointYAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeWhitePointYAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - 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 subscribeWhitePointYAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeWhitePointYAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readColorPointRXAttribute( + IntegerAttributeCallback callback + ) { + readColorPointRXAttribute(chipClusterPtr, callback); } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeColorPointRXAttribute(DefaultClusterCallback callback, Integer value) { + writeColorPointRXAttribute(chipClusterPtr, callback, value, null); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeColorPointRXAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeColorPointRXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readBarrierMovingStateAttribute(IntegerAttributeCallback callback) { - readBarrierMovingStateAttribute(chipClusterPtr, callback); + public void subscribeColorPointRXAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorPointRXAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeBarrierMovingStateAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBarrierMovingStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readColorPointRYAttribute( + IntegerAttributeCallback callback + ) { + readColorPointRYAttribute(chipClusterPtr, callback); } - - public void readBarrierSafetyStatusAttribute(IntegerAttributeCallback callback) { - readBarrierSafetyStatusAttribute(chipClusterPtr, callback); + public void writeColorPointRYAttribute(DefaultClusterCallback callback, Integer value) { + writeColorPointRYAttribute(chipClusterPtr, callback, value, null); } - public void subscribeBarrierSafetyStatusAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBarrierSafetyStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeColorPointRYAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeColorPointRYAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readBarrierCapabilitiesAttribute(IntegerAttributeCallback callback) { - readBarrierCapabilitiesAttribute(chipClusterPtr, callback); + public void subscribeColorPointRYAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorPointRYAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeBarrierCapabilitiesAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBarrierCapabilitiesAttribute(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 readBarrierOpenEventsAttribute(IntegerAttributeCallback callback) { - readBarrierOpenEventsAttribute(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 writeBarrierOpenEventsAttribute(DefaultClusterCallback callback, Integer value) { - writeBarrierOpenEventsAttribute(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 writeBarrierOpenEventsAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeBarrierOpenEventsAttribute(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 subscribeBarrierOpenEventsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBarrierOpenEventsAttribute(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 readBarrierCloseEventsAttribute(IntegerAttributeCallback callback) { - readBarrierCloseEventsAttribute(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 writeBarrierCloseEventsAttribute(DefaultClusterCallback callback, Integer value) { - writeBarrierCloseEventsAttribute(chipClusterPtr, callback, value, null); + public void readColorPointGIntensityAttribute( + ColorPointGIntensityAttributeCallback callback + ) { + readColorPointGIntensityAttribute(chipClusterPtr, callback); + } + public void writeColorPointGIntensityAttribute(DefaultClusterCallback callback, Integer value) { + writeColorPointGIntensityAttribute(chipClusterPtr, callback, value, null); } - public void writeBarrierCloseEventsAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeBarrierCloseEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + 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 subscribeBarrierCloseEventsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBarrierCloseEventsAttribute(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 readBarrierCommandOpenEventsAttribute(IntegerAttributeCallback callback) { - readBarrierCommandOpenEventsAttribute(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 writeBarrierCommandOpenEventsAttribute( - DefaultClusterCallback callback, Integer value) { - writeBarrierCommandOpenEventsAttribute(chipClusterPtr, callback, value, null); + public void readColorPointBYAttribute( + IntegerAttributeCallback callback + ) { + readColorPointBYAttribute(chipClusterPtr, callback); + } + public void writeColorPointBYAttribute(DefaultClusterCallback callback, Integer value) { + writeColorPointBYAttribute(chipClusterPtr, callback, value, null); } - public void writeBarrierCommandOpenEventsAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeBarrierCommandOpenEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + 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 subscribeBarrierCommandOpenEventsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBarrierCommandOpenEventsAttribute( - 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 readBarrierCommandCloseEventsAttribute(IntegerAttributeCallback callback) { - readBarrierCommandCloseEventsAttribute(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 writeBarrierCommandCloseEventsAttribute( - DefaultClusterCallback callback, Integer value) { - writeBarrierCommandCloseEventsAttribute(chipClusterPtr, callback, value, null); + public void readEnhancedCurrentHueAttribute( + IntegerAttributeCallback callback + ) { + readEnhancedCurrentHueAttribute(chipClusterPtr, callback); + } + public void subscribeEnhancedCurrentHueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeEnhancedCurrentHueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeBarrierCommandCloseEventsAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeBarrierCommandCloseEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readEnhancedColorModeAttribute( + IntegerAttributeCallback callback + ) { + readEnhancedColorModeAttribute(chipClusterPtr, callback); + } + public void subscribeEnhancedColorModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeEnhancedColorModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeBarrierCommandCloseEventsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBarrierCommandCloseEventsAttribute( - 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); } - public void readBarrierOpenPeriodAttribute(IntegerAttributeCallback callback) { - readBarrierOpenPeriodAttribute(chipClusterPtr, callback); + public void readColorLoopDirectionAttribute( + IntegerAttributeCallback callback + ) { + readColorLoopDirectionAttribute(chipClusterPtr, callback); + } + public void subscribeColorLoopDirectionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorLoopDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeBarrierOpenPeriodAttribute(DefaultClusterCallback callback, Integer value) { - writeBarrierOpenPeriodAttribute(chipClusterPtr, callback, value, null); + public void readColorLoopTimeAttribute( + IntegerAttributeCallback callback + ) { + readColorLoopTimeAttribute(chipClusterPtr, callback); + } + public void subscribeColorLoopTimeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorLoopTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeBarrierOpenPeriodAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeBarrierOpenPeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readColorLoopStartEnhancedHueAttribute( + IntegerAttributeCallback callback + ) { + readColorLoopStartEnhancedHueAttribute(chipClusterPtr, callback); + } + public void subscribeColorLoopStartEnhancedHueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorLoopStartEnhancedHueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeBarrierOpenPeriodAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBarrierOpenPeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readColorLoopStoredEnhancedHueAttribute( + IntegerAttributeCallback callback + ) { + readColorLoopStoredEnhancedHueAttribute(chipClusterPtr, callback); + } + public void subscribeColorLoopStoredEnhancedHueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorLoopStoredEnhancedHueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBarrierClosePeriodAttribute(IntegerAttributeCallback callback) { - readBarrierClosePeriodAttribute(chipClusterPtr, callback); + public void readColorCapabilitiesAttribute( + IntegerAttributeCallback callback + ) { + readColorCapabilitiesAttribute(chipClusterPtr, callback); + } + public void subscribeColorCapabilitiesAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorCapabilitiesAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeBarrierClosePeriodAttribute(DefaultClusterCallback callback, Integer value) { - writeBarrierClosePeriodAttribute(chipClusterPtr, callback, value, null); + public void readColorTempPhysicalMinMiredsAttribute( + IntegerAttributeCallback callback + ) { + readColorTempPhysicalMinMiredsAttribute(chipClusterPtr, callback); + } + public void subscribeColorTempPhysicalMinMiredsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorTempPhysicalMinMiredsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeBarrierClosePeriodAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeBarrierClosePeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readColorTempPhysicalMaxMiredsAttribute( + IntegerAttributeCallback callback + ) { + readColorTempPhysicalMaxMiredsAttribute(chipClusterPtr, callback); + } + public void subscribeColorTempPhysicalMaxMiredsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorTempPhysicalMaxMiredsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeBarrierClosePeriodAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBarrierClosePeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readCoupleColorTempToLevelMinMiredsAttribute( + IntegerAttributeCallback callback + ) { + readCoupleColorTempToLevelMinMiredsAttribute(chipClusterPtr, callback); + } + public void subscribeCoupleColorTempToLevelMinMiredsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCoupleColorTempToLevelMinMiredsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBarrierPositionAttribute(IntegerAttributeCallback callback) { - readBarrierPositionAttribute(chipClusterPtr, callback); + public void readStartUpColorTemperatureMiredsAttribute( + StartUpColorTemperatureMiredsAttributeCallback callback + ) { + readStartUpColorTemperatureMiredsAttribute(chipClusterPtr, callback); + } + public void writeStartUpColorTemperatureMiredsAttribute(DefaultClusterCallback callback, Integer value) { + writeStartUpColorTemperatureMiredsAttribute(chipClusterPtr, callback, value, null); } - public void subscribeBarrierPositionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBarrierPositionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + 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); } - 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 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); + 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); } - public static class PumpConfigurationAndControlCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 512L; + public static class BallastConfigurationCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 769L; - public PumpConfigurationAndControlCluster(long devicePtr, int endpointId) { + public BallastConfigurationCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface MaxPressureAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); + 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) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readPhysicalMinLevelAttribute( + IntegerAttributeCallback callback + ) { + readPhysicalMinLevelAttribute(chipClusterPtr, callback); } - - public interface MaxSpeedAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribePhysicalMinLevelAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePhysicalMinLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MaxFlowAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readPhysicalMaxLevelAttribute( + IntegerAttributeCallback callback + ) { + readPhysicalMaxLevelAttribute(chipClusterPtr, callback); } - - public interface MinConstPressureAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribePhysicalMaxLevelAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePhysicalMaxLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MaxConstPressureAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readBallastStatusAttribute( + IntegerAttributeCallback callback + ) { + readBallastStatusAttribute(chipClusterPtr, callback); } - - public interface MinCompPressureAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeBallastStatusAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBallastStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MaxCompPressureAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMinLevelAttribute( + IntegerAttributeCallback callback + ) { + readMinLevelAttribute(chipClusterPtr, callback); } - - public interface MinConstSpeedAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeMinLevelAttribute(DefaultClusterCallback callback, Integer value) { + writeMinLevelAttribute(chipClusterPtr, callback, value, null); } - public interface MaxConstSpeedAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeMinLevelAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeMinLevelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public interface MinConstFlowAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMinLevelAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMinLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MaxConstFlowAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMaxLevelAttribute( + IntegerAttributeCallback callback + ) { + readMaxLevelAttribute(chipClusterPtr, callback); } - - public interface MinConstTempAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeMaxLevelAttribute(DefaultClusterCallback callback, Integer value) { + writeMaxLevelAttribute(chipClusterPtr, callback, value, null); } - public interface MaxConstTempAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeMaxLevelAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeMaxLevelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public interface CapacityAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMaxLevelAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMaxLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface SpeedAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readIntrinsicBallastFactorAttribute( + IntrinsicBallastFactorAttributeCallback callback + ) { + readIntrinsicBallastFactorAttribute(chipClusterPtr, callback); } - - public interface LifetimeRunningHoursAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeIntrinsicBallastFactorAttribute(DefaultClusterCallback callback, Integer value) { + writeIntrinsicBallastFactorAttribute(chipClusterPtr, callback, value, null); } - public interface PowerAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeIntrinsicBallastFactorAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeIntrinsicBallastFactorAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public interface LifetimeEnergyConsumedAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeIntrinsicBallastFactorAttribute( + IntrinsicBallastFactorAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeIntrinsicBallastFactorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readBallastFactorAdjustmentAttribute( + BallastFactorAdjustmentAttributeCallback callback + ) { + readBallastFactorAdjustmentAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeBallastFactorAdjustmentAttribute(DefaultClusterCallback callback, Integer value) { + writeBallastFactorAdjustmentAttribute(chipClusterPtr, callback, value, null); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeBallastFactorAdjustmentAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBallastFactorAdjustmentAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeBallastFactorAdjustmentAttribute( + BallastFactorAdjustmentAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeBallastFactorAdjustmentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxPressureAttribute(MaxPressureAttributeCallback callback) { - readMaxPressureAttribute(chipClusterPtr, callback); + public void readLampQuantityAttribute( + IntegerAttributeCallback callback + ) { + readLampQuantityAttribute(chipClusterPtr, callback); } - - public void subscribeMaxPressureAttribute( - MaxPressureAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLampQuantityAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLampQuantityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxSpeedAttribute(MaxSpeedAttributeCallback callback) { - readMaxSpeedAttribute(chipClusterPtr, callback); + public void readLampTypeAttribute( + CharStringAttributeCallback callback + ) { + readLampTypeAttribute(chipClusterPtr, callback); } - - public void subscribeMaxSpeedAttribute( - MaxSpeedAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeLampTypeAttribute(DefaultClusterCallback callback, String value) { + writeLampTypeAttribute(chipClusterPtr, callback, value, null); } - public void readMaxFlowAttribute(MaxFlowAttributeCallback callback) { - readMaxFlowAttribute(chipClusterPtr, callback); + public void writeLampTypeAttribute(DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { + writeLampTypeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeMaxFlowAttribute( - MaxFlowAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxFlowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLampTypeAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLampTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinConstPressureAttribute(MinConstPressureAttributeCallback callback) { - readMinConstPressureAttribute(chipClusterPtr, callback); + public void readLampManufacturerAttribute( + CharStringAttributeCallback callback + ) { + readLampManufacturerAttribute(chipClusterPtr, callback); } - - public void subscribeMinConstPressureAttribute( - MinConstPressureAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinConstPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeLampManufacturerAttribute(DefaultClusterCallback callback, String value) { + writeLampManufacturerAttribute(chipClusterPtr, callback, value, null); } - public void readMaxConstPressureAttribute(MaxConstPressureAttributeCallback callback) { - readMaxConstPressureAttribute(chipClusterPtr, callback); + public void writeLampManufacturerAttribute(DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { + writeLampManufacturerAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeMaxConstPressureAttribute( - MaxConstPressureAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxConstPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLampManufacturerAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLampManufacturerAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinCompPressureAttribute(MinCompPressureAttributeCallback callback) { - readMinCompPressureAttribute(chipClusterPtr, callback); + public void readLampRatedHoursAttribute( + LampRatedHoursAttributeCallback callback + ) { + readLampRatedHoursAttribute(chipClusterPtr, callback); } - - public void subscribeMinCompPressureAttribute( - MinCompPressureAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinCompPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeLampRatedHoursAttribute(DefaultClusterCallback callback, Long value) { + writeLampRatedHoursAttribute(chipClusterPtr, callback, value, null); } - public void readMaxCompPressureAttribute(MaxCompPressureAttributeCallback callback) { - readMaxCompPressureAttribute(chipClusterPtr, callback); + public void writeLampRatedHoursAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeLampRatedHoursAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeMaxCompPressureAttribute( - MaxCompPressureAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxCompPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLampRatedHoursAttribute( + LampRatedHoursAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeLampRatedHoursAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinConstSpeedAttribute(MinConstSpeedAttributeCallback callback) { - readMinConstSpeedAttribute(chipClusterPtr, callback); + public void readLampBurnHoursAttribute( + LampBurnHoursAttributeCallback callback + ) { + readLampBurnHoursAttribute(chipClusterPtr, callback); } - - public void subscribeMinConstSpeedAttribute( - MinConstSpeedAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinConstSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeLampBurnHoursAttribute(DefaultClusterCallback callback, Long value) { + writeLampBurnHoursAttribute(chipClusterPtr, callback, value, null); } - public void readMaxConstSpeedAttribute(MaxConstSpeedAttributeCallback callback) { - readMaxConstSpeedAttribute(chipClusterPtr, callback); + public void writeLampBurnHoursAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeLampBurnHoursAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeMaxConstSpeedAttribute( - MaxConstSpeedAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxConstSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLampBurnHoursAttribute( + LampBurnHoursAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeLampBurnHoursAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinConstFlowAttribute(MinConstFlowAttributeCallback callback) { - readMinConstFlowAttribute(chipClusterPtr, callback); + public void readLampAlarmModeAttribute( + IntegerAttributeCallback callback + ) { + readLampAlarmModeAttribute(chipClusterPtr, callback); } - - public void subscribeMinConstFlowAttribute( - MinConstFlowAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinConstFlowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeLampAlarmModeAttribute(DefaultClusterCallback callback, Integer value) { + writeLampAlarmModeAttribute(chipClusterPtr, callback, value, null); } - public void readMaxConstFlowAttribute(MaxConstFlowAttributeCallback callback) { - readMaxConstFlowAttribute(chipClusterPtr, callback); + public void writeLampAlarmModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeLampAlarmModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeMaxConstFlowAttribute( - MaxConstFlowAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxConstFlowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLampAlarmModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLampAlarmModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinConstTempAttribute(MinConstTempAttributeCallback callback) { - readMinConstTempAttribute(chipClusterPtr, callback); + public void readLampBurnHoursTripPointAttribute( + LampBurnHoursTripPointAttributeCallback callback + ) { + readLampBurnHoursTripPointAttribute(chipClusterPtr, callback); } - - public void subscribeMinConstTempAttribute( - MinConstTempAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinConstTempAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeLampBurnHoursTripPointAttribute(DefaultClusterCallback callback, Long value) { + writeLampBurnHoursTripPointAttribute(chipClusterPtr, callback, value, null); } - public void readMaxConstTempAttribute(MaxConstTempAttributeCallback callback) { - readMaxConstTempAttribute(chipClusterPtr, callback); + public void writeLampBurnHoursTripPointAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeLampBurnHoursTripPointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeMaxConstTempAttribute( - MaxConstTempAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxConstTempAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLampBurnHoursTripPointAttribute( + LampBurnHoursTripPointAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeLampBurnHoursTripPointAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPumpStatusAttribute(IntegerAttributeCallback callback) { - readPumpStatusAttribute(chipClusterPtr, callback); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void subscribePumpStatusAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePumpStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEffectiveOperationModeAttribute(IntegerAttributeCallback callback) { - readEffectiveOperationModeAttribute(chipClusterPtr, callback); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void subscribeEffectiveOperationModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEffectiveOperationModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEffectiveControlModeAttribute(IntegerAttributeCallback callback) { - readEffectiveControlModeAttribute(chipClusterPtr, callback); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void subscribeEffectiveControlModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEffectiveControlModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCapacityAttribute(CapacityAttributeCallback callback) { - readCapacityAttribute(chipClusterPtr, callback); - } - - public void subscribeCapacityAttribute( - CapacityAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCapacityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void readSpeedAttribute(SpeedAttributeCallback callback) { - readSpeedAttribute(chipClusterPtr, callback); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeSpeedAttribute( - SpeedAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void readLifetimeRunningHoursAttribute(LifetimeRunningHoursAttributeCallback callback) { - readLifetimeRunningHoursAttribute(chipClusterPtr, callback); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLifetimeRunningHoursAttribute(DefaultClusterCallback callback, Long value) { - writeLifetimeRunningHoursAttribute(chipClusterPtr, callback, value, null); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void writeLifetimeRunningHoursAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeLifetimeRunningHoursAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeLifetimeRunningHoursAttribute( - LifetimeRunningHoursAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLifetimeRunningHoursAttribute(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); + } - public void readPowerAttribute(PowerAttributeCallback callback) { - readPowerAttribute(chipClusterPtr, callback); - } + public static class IlluminanceMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1024L; - public void subscribePowerAttribute( - PowerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public IlluminanceMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void readLifetimeEnergyConsumedAttribute( - LifetimeEnergyConsumedAttributeCallback callback) { - readLifetimeEnergyConsumedAttribute(chipClusterPtr, callback); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void writeLifetimeEnergyConsumedAttribute(DefaultClusterCallback callback, Long value) { - writeLifetimeEnergyConsumedAttribute(chipClusterPtr, callback, value, null); - } + 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) {} + } - public void writeLifetimeEnergyConsumedAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeLifetimeEnergyConsumedAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeLifetimeEnergyConsumedAttribute( - LifetimeEnergyConsumedAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLifetimeEnergyConsumedAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOperationModeAttribute(IntegerAttributeCallback callback) { - readOperationModeAttribute(chipClusterPtr, callback); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeOperationModeAttribute(DefaultClusterCallback callback, Integer value) { - writeOperationModeAttribute(chipClusterPtr, callback, value, null); + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeOperationModeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOperationModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeOperationModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOperationModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readControlModeAttribute(IntegerAttributeCallback callback) { - readControlModeAttribute(chipClusterPtr, callback); + public void readToleranceAttribute( + IntegerAttributeCallback callback + ) { + readToleranceAttribute(chipClusterPtr, callback); } - - public void writeControlModeAttribute(DefaultClusterCallback callback, Integer value) { - writeControlModeAttribute(chipClusterPtr, callback, value, null); + public void subscribeToleranceAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeControlModeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeControlModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readLightSensorTypeAttribute( + LightSensorTypeAttributeCallback callback + ) { + readLightSensorTypeAttribute(chipClusterPtr, callback); } - - public void subscribeControlModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeControlModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLightSensorTypeAttribute( + LightSensorTypeAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeLightSensorTypeAttribute(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 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 ThermostatCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 513L; + public static class TemperatureMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1026L; - public ThermostatCluster(long devicePtr, int endpointId) { + public TemperatureMeasurementCluster(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 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 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 readToleranceAttribute( + IntegerAttributeCallback callback + ) { + readToleranceAttribute(chipClusterPtr, callback); } - - public interface OutdoorTemperatureAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeToleranceAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface TemperatureSetpointHoldDurationAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public interface SetpointChangeAmountAttributeCallback { - 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 OccupiedSetbackAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public interface OccupiedSetbackMinAttributeCallback { - void onSuccess(@Nullable Integer 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 OccupiedSetbackMaxAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public interface UnoccupiedSetbackAttributeCallback { - void onSuccess(@Nullable Integer value); - - 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 UnoccupiedSetbackMinAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public interface UnoccupiedSetbackMaxAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface ACCoilTemperatureAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - 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 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); + } - void onError(Exception ex); + public static class PressureMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1027L; - default void onSubscriptionEstablished(long subscriptionId) {} + public PressureMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void readLocalTemperatureAttribute(LocalTemperatureAttributeCallback callback) { - readLocalTemperatureAttribute(chipClusterPtr, callback); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void subscribeLocalTemperatureAttribute( - LocalTemperatureAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLocalTemperatureAttribute(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 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 readOutdoorTemperatureAttribute(OutdoorTemperatureAttributeCallback callback) { - readOutdoorTemperatureAttribute(chipClusterPtr, callback); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeOutdoorTemperatureAttribute( - OutdoorTemperatureAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOutdoorTemperatureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOccupancyAttribute(IntegerAttributeCallback callback) { - readOccupancyAttribute(chipClusterPtr, callback); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeOccupancyAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOccupancyAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAbsMinHeatSetpointLimitAttribute(IntegerAttributeCallback callback) { - readAbsMinHeatSetpointLimitAttribute(chipClusterPtr, callback); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeAbsMinHeatSetpointLimitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAbsMinHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAbsMaxHeatSetpointLimitAttribute(IntegerAttributeCallback callback) { - readAbsMaxHeatSetpointLimitAttribute(chipClusterPtr, callback); + public void readToleranceAttribute( + IntegerAttributeCallback callback + ) { + readToleranceAttribute(chipClusterPtr, callback); } - - public void subscribeAbsMaxHeatSetpointLimitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAbsMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeToleranceAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAbsMinCoolSetpointLimitAttribute(IntegerAttributeCallback callback) { - readAbsMinCoolSetpointLimitAttribute(chipClusterPtr, callback); + public void readScaledValueAttribute( + ScaledValueAttributeCallback callback + ) { + readScaledValueAttribute(chipClusterPtr, callback); } - - public void subscribeAbsMinCoolSetpointLimitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAbsMinCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeScaledValueAttribute( + ScaledValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeScaledValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAbsMaxCoolSetpointLimitAttribute(IntegerAttributeCallback callback) { - readAbsMaxCoolSetpointLimitAttribute(chipClusterPtr, callback); + public void readMinScaledValueAttribute( + MinScaledValueAttributeCallback callback + ) { + readMinScaledValueAttribute(chipClusterPtr, callback); } - - public void subscribeAbsMaxCoolSetpointLimitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAbsMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMinScaledValueAttribute( + MinScaledValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinScaledValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPICoolingDemandAttribute(IntegerAttributeCallback callback) { - readPICoolingDemandAttribute(chipClusterPtr, callback); + public void readMaxScaledValueAttribute( + MaxScaledValueAttributeCallback callback + ) { + readMaxScaledValueAttribute(chipClusterPtr, callback); } - - public void subscribePICoolingDemandAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePICoolingDemandAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMaxScaledValueAttribute( + MaxScaledValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxScaledValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPIHeatingDemandAttribute(IntegerAttributeCallback callback) { - readPIHeatingDemandAttribute(chipClusterPtr, callback); + public void readScaledToleranceAttribute( + IntegerAttributeCallback callback + ) { + readScaledToleranceAttribute(chipClusterPtr, callback); } - - public void subscribePIHeatingDemandAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePIHeatingDemandAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeScaledToleranceAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeScaledToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readHVACSystemTypeConfigurationAttribute(IntegerAttributeCallback callback) { - readHVACSystemTypeConfigurationAttribute(chipClusterPtr, callback); + public void readScaleAttribute( + IntegerAttributeCallback callback + ) { + readScaleAttribute(chipClusterPtr, callback); } - - public void writeHVACSystemTypeConfigurationAttribute( - DefaultClusterCallback callback, Integer value) { - writeHVACSystemTypeConfigurationAttribute(chipClusterPtr, callback, value, null); + public void subscribeScaleAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeScaleAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeHVACSystemTypeConfigurationAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeHVACSystemTypeConfigurationAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void subscribeHVACSystemTypeConfigurationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeHVACSystemTypeConfigurationAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLocalTemperatureCalibrationAttribute(IntegerAttributeCallback callback) { - readLocalTemperatureCalibrationAttribute(chipClusterPtr, callback); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void writeLocalTemperatureCalibrationAttribute( - DefaultClusterCallback callback, Integer value) { - writeLocalTemperatureCalibrationAttribute(chipClusterPtr, callback, value, null); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLocalTemperatureCalibrationAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeLocalTemperatureCalibrationAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void subscribeLocalTemperatureCalibrationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLocalTemperatureCalibrationAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOccupiedCoolingSetpointAttribute(IntegerAttributeCallback callback) { - readOccupiedCoolingSetpointAttribute(chipClusterPtr, callback); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void writeOccupiedCoolingSetpointAttribute( - DefaultClusterCallback callback, Integer value) { - writeOccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, null); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeOccupiedCoolingSetpointAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void subscribeOccupiedCoolingSetpointAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOccupiedCoolingSetpointAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOccupiedHeatingSetpointAttribute(IntegerAttributeCallback callback) { - readOccupiedHeatingSetpointAttribute(chipClusterPtr, callback); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void writeOccupiedHeatingSetpointAttribute( - DefaultClusterCallback callback, Integer value) { - writeOccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, null); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeOccupiedHeatingSetpointAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOccupiedHeatingSetpointAttribute(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 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 void subscribeOccupiedHeatingSetpointAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOccupiedHeatingSetpointAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public static class FlowMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1028L; - public void readUnoccupiedCoolingSetpointAttribute(IntegerAttributeCallback callback) { - readUnoccupiedCoolingSetpointAttribute(chipClusterPtr, callback); + public FlowMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void writeUnoccupiedCoolingSetpointAttribute( - DefaultClusterCallback callback, Integer value) { - writeUnoccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, null); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void writeUnoccupiedCoolingSetpointAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeUnoccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } + 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 subscribeUnoccupiedCoolingSetpointAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUnoccupiedCoolingSetpointAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public void readUnoccupiedHeatingSetpointAttribute(IntegerAttributeCallback callback) { - readUnoccupiedHeatingSetpointAttribute(chipClusterPtr, callback); + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeUnoccupiedHeatingSetpointAttribute( - DefaultClusterCallback callback, Integer value) { - writeUnoccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, null); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeUnoccupiedHeatingSetpointAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeUnoccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeUnoccupiedHeatingSetpointAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUnoccupiedHeatingSetpointAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public void readMinHeatSetpointLimitAttribute(IntegerAttributeCallback callback) { - readMinHeatSetpointLimitAttribute(chipClusterPtr, callback); + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeMinHeatSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { - writeMinHeatSetpointLimitAttribute(chipClusterPtr, callback, value, null); + public void readToleranceAttribute( + IntegerAttributeCallback callback + ) { + readToleranceAttribute(chipClusterPtr, callback); } - - public void writeMinHeatSetpointLimitAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeMinHeatSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeToleranceAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMinHeatSetpointLimitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void readMaxHeatSetpointLimitAttribute(IntegerAttributeCallback callback) { - readMaxHeatSetpointLimitAttribute(chipClusterPtr, callback); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeMaxHeatSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { - writeMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, value, null); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void writeMaxHeatSetpointLimitAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxHeatSetpointLimitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void readMinCoolSetpointLimitAttribute(IntegerAttributeCallback callback) { - readMinCoolSetpointLimitAttribute(chipClusterPtr, callback); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeMinCoolSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { - writeMinCoolSetpointLimitAttribute(chipClusterPtr, callback, value, null); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void writeMinCoolSetpointLimitAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeMinCoolSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMinCoolSetpointLimitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void readMaxCoolSetpointLimitAttribute(IntegerAttributeCallback callback) { - readMaxCoolSetpointLimitAttribute(chipClusterPtr, callback); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeMaxCoolSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { - writeMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, value, null); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void writeMaxCoolSetpointLimitAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxCoolSetpointLimitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxCoolSetpointLimitAttribute(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); + } - public void readMinSetpointDeadBandAttribute(IntegerAttributeCallback callback) { - readMinSetpointDeadBandAttribute(chipClusterPtr, callback); - } + public static class RelativeHumidityMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1029L; - public void writeMinSetpointDeadBandAttribute(DefaultClusterCallback callback, Integer value) { - writeMinSetpointDeadBandAttribute(chipClusterPtr, callback, value, null); + public RelativeHumidityMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void writeMinSetpointDeadBandAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeMinSetpointDeadBandAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void subscribeMinSetpointDeadBandAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinSetpointDeadBandAttribute(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 readRemoteSensingAttribute(IntegerAttributeCallback callback) { - readRemoteSensingAttribute(chipClusterPtr, callback); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeRemoteSensingAttribute(DefaultClusterCallback callback, Integer value) { - writeRemoteSensingAttribute(chipClusterPtr, callback, value, null); + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeRemoteSensingAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeRemoteSensingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeRemoteSensingAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRemoteSensingAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readControlSequenceOfOperationAttribute(IntegerAttributeCallback callback) { - readControlSequenceOfOperationAttribute(chipClusterPtr, callback); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeControlSequenceOfOperationAttribute( - DefaultClusterCallback callback, Integer value) { - writeControlSequenceOfOperationAttribute(chipClusterPtr, callback, value, null); + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeControlSequenceOfOperationAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeControlSequenceOfOperationAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readToleranceAttribute( + IntegerAttributeCallback callback + ) { + readToleranceAttribute(chipClusterPtr, callback); } - - public void subscribeControlSequenceOfOperationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeControlSequenceOfOperationAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeToleranceAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSystemModeAttribute(IntegerAttributeCallback callback) { - readSystemModeAttribute(chipClusterPtr, callback); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void writeSystemModeAttribute(DefaultClusterCallback callback, Integer value) { - writeSystemModeAttribute(chipClusterPtr, callback, value, null); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeSystemModeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeSystemModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - 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 readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void subscribeThermostatRunningModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeThermostatRunningModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readStartOfWeekAttribute(IntegerAttributeCallback callback) { - readStartOfWeekAttribute(chipClusterPtr, callback); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void subscribeStartOfWeekAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeStartOfWeekAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNumberOfWeeklyTransitionsAttribute(IntegerAttributeCallback callback) { - readNumberOfWeeklyTransitionsAttribute(chipClusterPtr, callback); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void subscribeNumberOfWeeklyTransitionsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfWeeklyTransitionsAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNumberOfDailyTransitionsAttribute(IntegerAttributeCallback callback) { - readNumberOfDailyTransitionsAttribute(chipClusterPtr, callback); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void subscribeNumberOfDailyTransitionsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfDailyTransitionsAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTemperatureSetpointHoldAttribute(IntegerAttributeCallback callback) { - readTemperatureSetpointHoldAttribute(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 void writeTemperatureSetpointHoldAttribute( - DefaultClusterCallback callback, Integer value) { - writeTemperatureSetpointHoldAttribute(chipClusterPtr, callback, value, null); - } + public static class OccupancySensingCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1030L; - public void writeTemperatureSetpointHoldAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeTemperatureSetpointHoldAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public OccupancySensingCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void subscribeTemperatureSetpointHoldAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTemperatureSetpointHoldAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void readTemperatureSetpointHoldDurationAttribute( - TemperatureSetpointHoldDurationAttributeCallback callback) { - readTemperatureSetpointHoldDurationAttribute(chipClusterPtr, 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) {} + } - public void writeTemperatureSetpointHoldDurationAttribute( - DefaultClusterCallback callback, Integer value) { - writeTemperatureSetpointHoldDurationAttribute(chipClusterPtr, callback, value, null); + public void readOccupancyAttribute( + IntegerAttributeCallback callback + ) { + readOccupancyAttribute(chipClusterPtr, callback); } - - public void writeTemperatureSetpointHoldDurationAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeTemperatureSetpointHoldDurationAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeOccupancyAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOccupancyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeTemperatureSetpointHoldDurationAttribute( - TemperatureSetpointHoldDurationAttributeCallback callback, - int minInterval, - int maxInterval) { - subscribeTemperatureSetpointHoldDurationAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readOccupancySensorTypeAttribute( + IntegerAttributeCallback callback + ) { + readOccupancySensorTypeAttribute(chipClusterPtr, callback); } - - public void readThermostatProgrammingOperationModeAttribute(IntegerAttributeCallback callback) { - readThermostatProgrammingOperationModeAttribute(chipClusterPtr, callback); + public void subscribeOccupancySensorTypeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOccupancySensorTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeThermostatProgrammingOperationModeAttribute( - DefaultClusterCallback callback, Integer value) { - writeThermostatProgrammingOperationModeAttribute(chipClusterPtr, callback, value, null); + public void readOccupancySensorTypeBitmapAttribute( + IntegerAttributeCallback callback + ) { + readOccupancySensorTypeBitmapAttribute(chipClusterPtr, callback); } - - public void writeThermostatProgrammingOperationModeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeThermostatProgrammingOperationModeAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeOccupancySensorTypeBitmapAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOccupancySensorTypeBitmapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeThermostatProgrammingOperationModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeThermostatProgrammingOperationModeAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readPIROccupiedToUnoccupiedDelayAttribute( + IntegerAttributeCallback callback + ) { + readPIROccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback); } - - public void readThermostatRunningStateAttribute(IntegerAttributeCallback callback) { - readThermostatRunningStateAttribute(chipClusterPtr, callback); + public void writePIROccupiedToUnoccupiedDelayAttribute(DefaultClusterCallback callback, Integer value) { + writePIROccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, null); } - public void subscribeThermostatRunningStateAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeThermostatRunningStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writePIROccupiedToUnoccupiedDelayAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writePIROccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readSetpointChangeSourceAttribute(IntegerAttributeCallback callback) { - readSetpointChangeSourceAttribute(chipClusterPtr, callback); + public void subscribePIROccupiedToUnoccupiedDelayAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePIROccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeSetpointChangeSourceAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSetpointChangeSourceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPIRUnoccupiedToOccupiedDelayAttribute( + IntegerAttributeCallback callback + ) { + readPIRUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback); } - - public void readSetpointChangeAmountAttribute(SetpointChangeAmountAttributeCallback callback) { - readSetpointChangeAmountAttribute(chipClusterPtr, callback); + public void writePIRUnoccupiedToOccupiedDelayAttribute(DefaultClusterCallback callback, Integer value) { + writePIRUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, null); } - public void subscribeSetpointChangeAmountAttribute( - SetpointChangeAmountAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSetpointChangeAmountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writePIRUnoccupiedToOccupiedDelayAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writePIRUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readSetpointChangeSourceTimestampAttribute(LongAttributeCallback callback) { - readSetpointChangeSourceTimestampAttribute(chipClusterPtr, callback); + public void subscribePIRUnoccupiedToOccupiedDelayAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePIRUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeSetpointChangeSourceTimestampAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSetpointChangeSourceTimestampAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readPIRUnoccupiedToOccupiedThresholdAttribute( + IntegerAttributeCallback callback + ) { + readPIRUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback); } - - public void readOccupiedSetbackAttribute(OccupiedSetbackAttributeCallback callback) { - readOccupiedSetbackAttribute(chipClusterPtr, callback); + public void writePIRUnoccupiedToOccupiedThresholdAttribute(DefaultClusterCallback callback, Integer value) { + writePIRUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, null); } - public void writeOccupiedSetbackAttribute(DefaultClusterCallback callback, Integer value) { - writeOccupiedSetbackAttribute(chipClusterPtr, callback, value, null); + public void writePIRUnoccupiedToOccupiedThresholdAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writePIRUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void writeOccupiedSetbackAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOccupiedSetbackAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribePIRUnoccupiedToOccupiedThresholdAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePIRUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeOccupiedSetbackAttribute( - OccupiedSetbackAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOccupiedSetbackAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readUltrasonicOccupiedToUnoccupiedDelayAttribute( + IntegerAttributeCallback callback + ) { + readUltrasonicOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback); } - - public void readOccupiedSetbackMinAttribute(OccupiedSetbackMinAttributeCallback callback) { - readOccupiedSetbackMinAttribute(chipClusterPtr, callback); + public void writeUltrasonicOccupiedToUnoccupiedDelayAttribute(DefaultClusterCallback callback, Integer value) { + writeUltrasonicOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, null); } - public void subscribeOccupiedSetbackMinAttribute( - OccupiedSetbackMinAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOccupiedSetbackMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeUltrasonicOccupiedToUnoccupiedDelayAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeUltrasonicOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readOccupiedSetbackMaxAttribute(OccupiedSetbackMaxAttributeCallback callback) { - readOccupiedSetbackMaxAttribute(chipClusterPtr, callback); + public void subscribeUltrasonicOccupiedToUnoccupiedDelayAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUltrasonicOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeOccupiedSetbackMaxAttribute( - OccupiedSetbackMaxAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOccupiedSetbackMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readUltrasonicUnoccupiedToOccupiedDelayAttribute( + IntegerAttributeCallback callback + ) { + readUltrasonicUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback); } - - public void readUnoccupiedSetbackAttribute(UnoccupiedSetbackAttributeCallback callback) { - readUnoccupiedSetbackAttribute(chipClusterPtr, callback); + public void writeUltrasonicUnoccupiedToOccupiedDelayAttribute(DefaultClusterCallback callback, Integer value) { + writeUltrasonicUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, null); } - public void writeUnoccupiedSetbackAttribute(DefaultClusterCallback callback, Integer value) { - writeUnoccupiedSetbackAttribute(chipClusterPtr, callback, value, null); + public void writeUltrasonicUnoccupiedToOccupiedDelayAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeUltrasonicUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void writeUnoccupiedSetbackAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeUnoccupiedSetbackAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeUltrasonicUnoccupiedToOccupiedDelayAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUltrasonicUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeUnoccupiedSetbackAttribute( - UnoccupiedSetbackAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUnoccupiedSetbackAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readUltrasonicUnoccupiedToOccupiedThresholdAttribute( + IntegerAttributeCallback callback + ) { + readUltrasonicUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback); } - - public void readUnoccupiedSetbackMinAttribute(UnoccupiedSetbackMinAttributeCallback callback) { - readUnoccupiedSetbackMinAttribute(chipClusterPtr, callback); + public void writeUltrasonicUnoccupiedToOccupiedThresholdAttribute(DefaultClusterCallback callback, Integer value) { + writeUltrasonicUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, null); } - public void subscribeUnoccupiedSetbackMinAttribute( - UnoccupiedSetbackMinAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUnoccupiedSetbackMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeUltrasonicUnoccupiedToOccupiedThresholdAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeUltrasonicUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readUnoccupiedSetbackMaxAttribute(UnoccupiedSetbackMaxAttributeCallback callback) { - readUnoccupiedSetbackMaxAttribute(chipClusterPtr, callback); + public void subscribeUltrasonicUnoccupiedToOccupiedThresholdAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUltrasonicUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeUnoccupiedSetbackMaxAttribute( - UnoccupiedSetbackMaxAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUnoccupiedSetbackMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPhysicalContactOccupiedToUnoccupiedDelayAttribute( + IntegerAttributeCallback callback + ) { + readPhysicalContactOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback); } - - public void readEmergencyHeatDeltaAttribute(IntegerAttributeCallback callback) { - readEmergencyHeatDeltaAttribute(chipClusterPtr, callback); + public void writePhysicalContactOccupiedToUnoccupiedDelayAttribute(DefaultClusterCallback callback, Integer value) { + writePhysicalContactOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, null); } - public void writeEmergencyHeatDeltaAttribute(DefaultClusterCallback callback, Integer value) { - writeEmergencyHeatDeltaAttribute(chipClusterPtr, callback, value, null); + public void writePhysicalContactOccupiedToUnoccupiedDelayAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writePhysicalContactOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void writeEmergencyHeatDeltaAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeEmergencyHeatDeltaAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribePhysicalContactOccupiedToUnoccupiedDelayAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePhysicalContactOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEmergencyHeatDeltaAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEmergencyHeatDeltaAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPhysicalContactUnoccupiedToOccupiedDelayAttribute( + IntegerAttributeCallback callback + ) { + readPhysicalContactUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback); } - - public void readACTypeAttribute(IntegerAttributeCallback callback) { - readACTypeAttribute(chipClusterPtr, callback); + public void writePhysicalContactUnoccupiedToOccupiedDelayAttribute(DefaultClusterCallback callback, Integer value) { + writePhysicalContactUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, null); } - public void writeACTypeAttribute(DefaultClusterCallback callback, Integer value) { - writeACTypeAttribute(chipClusterPtr, callback, value, null); + public void writePhysicalContactUnoccupiedToOccupiedDelayAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writePhysicalContactUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void writeACTypeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeACTypeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribePhysicalContactUnoccupiedToOccupiedDelayAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePhysicalContactUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeACTypeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeACTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPhysicalContactUnoccupiedToOccupiedThresholdAttribute( + IntegerAttributeCallback callback + ) { + readPhysicalContactUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback); } - - public void readACCapacityAttribute(IntegerAttributeCallback callback) { - readACCapacityAttribute(chipClusterPtr, callback); + public void writePhysicalContactUnoccupiedToOccupiedThresholdAttribute(DefaultClusterCallback callback, Integer value) { + writePhysicalContactUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, null); } - public void writeACCapacityAttribute(DefaultClusterCallback callback, Integer value) { - writeACCapacityAttribute(chipClusterPtr, callback, value, null); + public void writePhysicalContactUnoccupiedToOccupiedThresholdAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writePhysicalContactUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void writeACCapacityAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeACCapacityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribePhysicalContactUnoccupiedToOccupiedThresholdAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePhysicalContactUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeACCapacityAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeACCapacityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void readACRefrigerantTypeAttribute(IntegerAttributeCallback callback) { - readACRefrigerantTypeAttribute(chipClusterPtr, callback); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeACRefrigerantTypeAttribute(DefaultClusterCallback callback, Integer value) { - writeACRefrigerantTypeAttribute(chipClusterPtr, callback, value, null); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void writeACRefrigerantTypeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeACRefrigerantTypeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeACRefrigerantTypeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeACRefrigerantTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void readACCompressorTypeAttribute(IntegerAttributeCallback callback) { - readACCompressorTypeAttribute(chipClusterPtr, callback); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeACCompressorTypeAttribute(DefaultClusterCallback callback, Integer value) { - writeACCompressorTypeAttribute(chipClusterPtr, callback, value, null); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void writeACCompressorTypeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeACCompressorTypeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeACCompressorTypeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeACCompressorTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void readACErrorCodeAttribute(LongAttributeCallback callback) { - readACErrorCodeAttribute(chipClusterPtr, callback); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeACErrorCodeAttribute(DefaultClusterCallback callback, Long value) { - writeACErrorCodeAttribute(chipClusterPtr, callback, value, null); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void writeACErrorCodeAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeACErrorCodeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeACErrorCodeAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeACErrorCodeAttribute(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); + } - public void readACLouverPositionAttribute(IntegerAttributeCallback callback) { - readACLouverPositionAttribute(chipClusterPtr, callback); - } + public static class WakeOnLanCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1283L; - public void writeACLouverPositionAttribute(DefaultClusterCallback callback, Integer value) { - writeACLouverPositionAttribute(chipClusterPtr, callback, value, null); + public WakeOnLanCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void writeACLouverPositionAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeACLouverPositionAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void subscribeACLouverPositionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeACLouverPositionAttribute(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 readACCoilTemperatureAttribute(ACCoilTemperatureAttributeCallback callback) { - readACCoilTemperatureAttribute(chipClusterPtr, callback); + public void readMACAddressAttribute( + CharStringAttributeCallback callback + ) { + readMACAddressAttribute(chipClusterPtr, callback); } - - public void subscribeACCoilTemperatureAttribute( - ACCoilTemperatureAttributeCallback callback, int minInterval, int maxInterval) { - subscribeACCoilTemperatureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMACAddressAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMACAddressAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readACCapacityformatAttribute(IntegerAttributeCallback callback) { - readACCapacityformatAttribute(chipClusterPtr, callback); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void writeACCapacityformatAttribute(DefaultClusterCallback callback, Integer value) { - writeACCapacityformatAttribute(chipClusterPtr, callback, value, null); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeACCapacityformatAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeACCapacityformatAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void subscribeACCapacityformatAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeACCapacityformatAttribute(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) { + 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 subscribeOutdoorTemperatureAttribute( - long chipClusterPtr, - OutdoorTemperatureAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readOccupancyAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + 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); + } - private native void subscribeOccupancyAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public static class ChannelCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1284L; - private native void readAbsMinHeatSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public ChannelCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void subscribeAbsMinHeatSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void readAbsMaxHeatSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void changeChannel(ChangeChannelResponseCallback callback + , String match) { + changeChannel(chipClusterPtr, callback, match, null); + } - private native void subscribeAbsMaxHeatSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void changeChannel(ChangeChannelResponseCallback callback + , String match + , int timedInvokeTimeoutMs) { + changeChannel(chipClusterPtr, callback, match, timedInvokeTimeoutMs); + } - private native void readAbsMinCoolSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void changeChannelByNumber(DefaultClusterCallback callback + , Integer majorNumber, Integer minorNumber) { + changeChannelByNumber(chipClusterPtr, callback, majorNumber, minorNumber, null); + } - private native void subscribeAbsMinCoolSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void changeChannelByNumber(DefaultClusterCallback callback + , Integer majorNumber, Integer minorNumber + , int timedInvokeTimeoutMs) { + changeChannelByNumber(chipClusterPtr, callback, majorNumber, minorNumber, timedInvokeTimeoutMs); + } - private native void readAbsMaxCoolSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void skipChannel(DefaultClusterCallback callback + , Integer count) { + skipChannel(chipClusterPtr, callback, count, null); + } - private native void subscribeAbsMaxCoolSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + 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); + } - private native void readPICoolingDemandAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - private native void subscribePICoolingDemandAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + 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) {} + } - private native void readPIHeatingDemandAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readChannelListAttribute( + ChannelListAttributeCallback callback + ) { + readChannelListAttribute(chipClusterPtr, callback); + } + public void subscribeChannelListAttribute( + ChannelListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeChannelListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribePIHeatingDemandAttribute( - 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 readHVACSystemTypeConfigurationAttribute( - 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 writeHVACSystemTypeConfigurationAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer 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 subscribeHVACSystemTypeConfigurationAttribute( - long chipClusterPtr, IntegerAttributeCallback 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 readLocalTemperatureCalibrationAttribute( - 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 writeLocalTemperatureCalibrationAttribute( - 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 subscribeLocalTemperatureCalibrationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int 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); + } - private native void readOccupiedCoolingSetpointAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public static class TargetNavigatorCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1285L; - private native void writeOccupiedCoolingSetpointAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public TargetNavigatorCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void subscribeOccupiedCoolingSetpointAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void readOccupiedHeatingSetpointAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void navigateTarget(NavigateTargetResponseCallback callback + , Integer target, Optional data) { + navigateTarget(chipClusterPtr, callback, target, data, null); + } - private native void writeOccupiedHeatingSetpointAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + 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); + } - private native void subscribeOccupiedHeatingSetpointAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - private native void readUnoccupiedCoolingSetpointAttribute( - long chipClusterPtr, IntegerAttributeCallback 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) {} + } - private native void writeUnoccupiedCoolingSetpointAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public void readTargetListAttribute( + TargetListAttributeCallback callback + ) { + readTargetListAttribute(chipClusterPtr, callback); + } + public void subscribeTargetListAttribute( + TargetListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeTargetListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeUnoccupiedCoolingSetpointAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readCurrentTargetAttribute( + IntegerAttributeCallback callback + ) { + readCurrentTargetAttribute(chipClusterPtr, callback); + } + public void subscribeCurrentTargetAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentTargetAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readUnoccupiedHeatingSetpointAttribute( - 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 writeUnoccupiedHeatingSetpointAttribute( - 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 subscribeUnoccupiedHeatingSetpointAttribute( - 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 readMinHeatSetpointLimitAttribute( - 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 writeMinHeatSetpointLimitAttribute( - 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 subscribeMinHeatSetpointLimitAttribute( - 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 readMaxHeatSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + 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); + } - private native void writeMaxHeatSetpointLimitAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public static class MediaPlaybackCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1286L; - private native void subscribeMaxHeatSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public MediaPlaybackCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void readMinCoolSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void writeMinCoolSetpointLimitAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public void play(PlaybackResponseCallback callback + ) { + play(chipClusterPtr, callback, null); + } - private native void subscribeMinCoolSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void play(PlaybackResponseCallback callback + + , int timedInvokeTimeoutMs) { + play(chipClusterPtr, callback, timedInvokeTimeoutMs); + } - private native void readMaxCoolSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void pause(PlaybackResponseCallback callback + ) { + pause(chipClusterPtr, callback, null); + } - private native void writeMaxCoolSetpointLimitAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public void pause(PlaybackResponseCallback callback + + , int timedInvokeTimeoutMs) { + pause(chipClusterPtr, callback, timedInvokeTimeoutMs); + } - private native void subscribeMaxCoolSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void stop(PlaybackResponseCallback callback + ) { + stop(chipClusterPtr, callback, null); + } - private native void readMinSetpointDeadBandAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void stop(PlaybackResponseCallback callback + + , int timedInvokeTimeoutMs) { + stop(chipClusterPtr, callback, timedInvokeTimeoutMs); + } - private native void writeMinSetpointDeadBandAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public void startOver(PlaybackResponseCallback callback + ) { + startOver(chipClusterPtr, callback, null); + } - private native void subscribeMinSetpointDeadBandAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void startOver(PlaybackResponseCallback callback + + , int timedInvokeTimeoutMs) { + startOver(chipClusterPtr, callback, timedInvokeTimeoutMs); + } - private native void readRemoteSensingAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void previous(PlaybackResponseCallback callback + ) { + previous(chipClusterPtr, callback, null); + } - private native void writeRemoteSensingAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public void previous(PlaybackResponseCallback callback + + , int timedInvokeTimeoutMs) { + previous(chipClusterPtr, callback, timedInvokeTimeoutMs); + } - private native void subscribeRemoteSensingAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void next(PlaybackResponseCallback callback + ) { + next(chipClusterPtr, callback, null); + } - private native void readControlSequenceOfOperationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void next(PlaybackResponseCallback callback + + , int timedInvokeTimeoutMs) { + next(chipClusterPtr, callback, timedInvokeTimeoutMs); + } - private native void writeControlSequenceOfOperationAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public void rewind(PlaybackResponseCallback callback + ) { + rewind(chipClusterPtr, callback, null); + } - private native void subscribeControlSequenceOfOperationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void rewind(PlaybackResponseCallback callback + + , int timedInvokeTimeoutMs) { + rewind(chipClusterPtr, callback, timedInvokeTimeoutMs); + } - private native void readSystemModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void fastForward(PlaybackResponseCallback callback + ) { + fastForward(chipClusterPtr, callback, null); + } - private native void writeSystemModeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public void fastForward(PlaybackResponseCallback callback + + , int timedInvokeTimeoutMs) { + fastForward(chipClusterPtr, callback, timedInvokeTimeoutMs); + } - private native void subscribeSystemModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void skipForward(PlaybackResponseCallback callback + , Long deltaPositionMilliseconds) { + skipForward(chipClusterPtr, callback, deltaPositionMilliseconds, null); + } - private native void readThermostatRunningModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void skipForward(PlaybackResponseCallback callback + , Long deltaPositionMilliseconds + , int timedInvokeTimeoutMs) { + skipForward(chipClusterPtr, callback, deltaPositionMilliseconds, timedInvokeTimeoutMs); + } - private native void subscribeThermostatRunningModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void skipBackward(PlaybackResponseCallback callback + , Long deltaPositionMilliseconds) { + skipBackward(chipClusterPtr, callback, deltaPositionMilliseconds, null); + } - private native void readStartOfWeekAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void skipBackward(PlaybackResponseCallback callback + , Long deltaPositionMilliseconds + , int timedInvokeTimeoutMs) { + skipBackward(chipClusterPtr, callback, deltaPositionMilliseconds, timedInvokeTimeoutMs); + } - private native void subscribeStartOfWeekAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void seek(PlaybackResponseCallback callback + , Long position) { + seek(chipClusterPtr, callback, position, null); + } - private native void readNumberOfWeeklyTransitionsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + 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); + } - private native void subscribeNumberOfWeeklyTransitionsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - private native void readNumberOfDailyTransitionsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + 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) {} + } - private native void subscribeNumberOfDailyTransitionsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readCurrentStateAttribute( + IntegerAttributeCallback callback + ) { + readCurrentStateAttribute(chipClusterPtr, callback); + } + public void subscribeCurrentStateAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readTemperatureSetpointHoldAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readStartTimeAttribute( + StartTimeAttributeCallback callback + ) { + readStartTimeAttribute(chipClusterPtr, callback); + } + public void subscribeStartTimeAttribute( + StartTimeAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeStartTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void writeTemperatureSetpointHoldAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public void readDurationAttribute( + DurationAttributeCallback callback + ) { + readDurationAttribute(chipClusterPtr, callback); + } + public void subscribeDurationAttribute( + DurationAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeDurationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeTemperatureSetpointHoldAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readPlaybackSpeedAttribute( + FloatAttributeCallback callback + ) { + readPlaybackSpeedAttribute(chipClusterPtr, callback); + } + public void subscribePlaybackSpeedAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePlaybackSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readTemperatureSetpointHoldDurationAttribute( - long chipClusterPtr, TemperatureSetpointHoldDurationAttributeCallback callback); + public void readSeekRangeEndAttribute( + SeekRangeEndAttributeCallback callback + ) { + readSeekRangeEndAttribute(chipClusterPtr, callback); + } + public void subscribeSeekRangeEndAttribute( + SeekRangeEndAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeSeekRangeEndAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void writeTemperatureSetpointHoldDurationAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public void readSeekRangeStartAttribute( + SeekRangeStartAttributeCallback callback + ) { + readSeekRangeStartAttribute(chipClusterPtr, callback); + } + public void subscribeSeekRangeStartAttribute( + SeekRangeStartAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeSeekRangeStartAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeTemperatureSetpointHoldDurationAttribute( - long chipClusterPtr, - TemperatureSetpointHoldDurationAttributeCallback 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 readThermostatProgrammingOperationModeAttribute( - 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 writeThermostatProgrammingOperationModeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer 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 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); + 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 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 FanControlCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 514L; + public static class MediaInputCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1287L; - public FanControlCluster(long devicePtr, int endpointId) { + public MediaInputCluster(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 void selectInput(DefaultClusterCallback callback + , Integer index) { + selectInput(chipClusterPtr, callback, index, null); } - public interface SpeedSettingAttributeCallback { - void onSuccess(@Nullable Integer 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 GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void showInputStatus(DefaultClusterCallback callback + ) { + showInputStatus(chipClusterPtr, callback, null); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void showInputStatus(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { + showInputStatus(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void hideInputStatus(DefaultClusterCallback callback + ) { + hideInputStatus(chipClusterPtr, callback, null); } - public interface AttributeListAttributeCallback { - 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 void readFanModeAttribute(IntegerAttributeCallback callback) { - readFanModeAttribute(chipClusterPtr, callback); + public void renameInput(DefaultClusterCallback callback + , Integer index, String name) { + renameInput(chipClusterPtr, callback, index, name, null); } - public void writeFanModeAttribute(DefaultClusterCallback callback, Integer value) { - writeFanModeAttribute(chipClusterPtr, callback, value, 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 writeFanModeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeFanModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readInputListAttribute( + InputListAttributeCallback callback + ) { + readInputListAttribute(chipClusterPtr, callback); } - - public void subscribeFanModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFanModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeInputListAttribute( + InputListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeInputListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFanModeSequenceAttribute(IntegerAttributeCallback callback) { - readFanModeSequenceAttribute(chipClusterPtr, callback); + public void readCurrentInputAttribute( + IntegerAttributeCallback callback + ) { + readCurrentInputAttribute(chipClusterPtr, callback); } - - public void writeFanModeSequenceAttribute(DefaultClusterCallback callback, Integer value) { - writeFanModeSequenceAttribute(chipClusterPtr, callback, value, null); + public void subscribeCurrentInputAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentInputAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeFanModeSequenceAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeFanModeSequenceAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void subscribeFanModeSequenceAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFanModeSequenceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPercentSettingAttribute(PercentSettingAttributeCallback callback) { - readPercentSettingAttribute(chipClusterPtr, callback); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void writePercentSettingAttribute(DefaultClusterCallback callback, Integer value) { - writePercentSettingAttribute(chipClusterPtr, callback, value, null); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writePercentSettingAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writePercentSettingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void subscribePercentSettingAttribute( - PercentSettingAttributeCallback callback, int minInterval, int maxInterval) { - subscribePercentSettingAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPercentCurrentAttribute(IntegerAttributeCallback callback) { - readPercentCurrentAttribute(chipClusterPtr, callback); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void subscribePercentCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePercentCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSpeedMaxAttribute(IntegerAttributeCallback callback) { - readSpeedMaxAttribute(chipClusterPtr, callback); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void subscribeSpeedMaxAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSpeedMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSpeedSettingAttribute(SpeedSettingAttributeCallback callback) { - readSpeedSettingAttribute(chipClusterPtr, callback); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void writeSpeedSettingAttribute(DefaultClusterCallback callback, Integer value) { - writeSpeedSettingAttribute(chipClusterPtr, callback, value, null); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeSpeedSettingAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeSpeedSettingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } + 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 subscribeSpeedSettingAttribute( - SpeedSettingAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSpeedSettingAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public static class LowPowerCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1288L; - public void readSpeedCurrentAttribute(IntegerAttributeCallback callback) { - readSpeedCurrentAttribute(chipClusterPtr, callback); + public LowPowerCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void subscribeSpeedCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSpeedCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void readRockSupportAttribute(IntegerAttributeCallback callback) { - readRockSupportAttribute(chipClusterPtr, callback); + public void sleep(DefaultClusterCallback callback + ) { + sleep(chipClusterPtr, callback, null); } - public void subscribeRockSupportAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRockSupportAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void sleep(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { + sleep(chipClusterPtr, callback, timedInvokeTimeoutMs); } + private native void sleep(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); - public void readRockSettingAttribute(IntegerAttributeCallback callback) { - readRockSettingAttribute(chipClusterPtr, 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) {} + } - public void writeRockSettingAttribute(DefaultClusterCallback callback, Integer value) { - writeRockSettingAttribute(chipClusterPtr, callback, value, null); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeRockSettingAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeRockSettingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeRockSettingAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRockSettingAttribute(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 readWindSupportAttribute(IntegerAttributeCallback callback) { - readWindSupportAttribute(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 subscribeWindSupportAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeWindSupportAttribute(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 readWindSettingAttribute(IntegerAttributeCallback callback) { - readWindSettingAttribute(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 writeWindSettingAttribute(DefaultClusterCallback callback, Integer value) { - writeWindSettingAttribute(chipClusterPtr, callback, value, null); + 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); } - public void writeWindSettingAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeWindSettingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + @Override + public native long initWithDevice(long devicePtr, int endpointId); + + public void sendKey(SendKeyResponseCallback callback + , Integer keyCode) { + sendKey(chipClusterPtr, callback, keyCode, null); } - public void subscribeWindSettingAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeWindSettingAttribute(chipClusterPtr, callback, minInterval, maxInterval); + 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 void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback 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) {} + } + + 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 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 writeFanModeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public static class ContentLauncherCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1290L; - private native void subscribeFanModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public ContentLauncherCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void readFanModeSequenceAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void writeFanModeSequenceAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public void launchContent(LauncherResponseCallback callback + , ChipStructs.ContentLauncherClusterContentSearchStruct search, Boolean autoPlay, Optional data) { + launchContent(chipClusterPtr, callback, search, autoPlay, data, null); + } - private native void subscribeFanModeSequenceAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void launchContent(LauncherResponseCallback callback + , ChipStructs.ContentLauncherClusterContentSearchStruct search, Boolean autoPlay, Optional data + , int timedInvokeTimeoutMs) { + launchContent(chipClusterPtr, callback, search, autoPlay, data, timedInvokeTimeoutMs); + } - private native void readPercentSettingAttribute( - long chipClusterPtr, PercentSettingAttributeCallback callback); + public void launchURL(LauncherResponseCallback callback + , String contentURL, Optional displayString, Optional brandingInformation) { + launchURL(chipClusterPtr, callback, contentURL, displayString, brandingInformation, null); + } - private native void writePercentSettingAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + 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); + } - private native void subscribePercentSettingAttribute( - long chipClusterPtr, - PercentSettingAttributeCallback callback, - int minInterval, - int maxInterval); - private native void readPercentCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + 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) {} + } - private native void subscribePercentCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readAcceptHeaderAttribute( + AcceptHeaderAttributeCallback callback + ) { + readAcceptHeaderAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptHeaderAttribute( + AcceptHeaderAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptHeaderAttribute(chipClusterPtr, callback, minInterval, 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 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 ThermostatUserInterfaceConfigurationCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void readSupportedStreamingProtocolsAttribute( + LongAttributeCallback callback + ) { + readSupportedStreamingProtocolsAttribute(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 writeSupportedStreamingProtocolsAttribute(DefaultClusterCallback callback, Long value) { + writeSupportedStreamingProtocolsAttribute(chipClusterPtr, callback, value, null); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeSupportedStreamingProtocolsAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeSupportedStreamingProtocolsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeSupportedStreamingProtocolsAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSupportedStreamingProtocolsAttribute(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 subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTemperatureDisplayModeAttribute(IntegerAttributeCallback callback) { - readTemperatureDisplayModeAttribute(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 writeTemperatureDisplayModeAttribute( - DefaultClusterCallback callback, Integer value) { - writeTemperatureDisplayModeAttribute(chipClusterPtr, callback, value, null); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeTemperatureDisplayModeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeTemperatureDisplayModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeTemperatureDisplayModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTemperatureDisplayModeAttribute(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 readKeypadLockoutAttribute(IntegerAttributeCallback callback) { - readKeypadLockoutAttribute(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 writeKeypadLockoutAttribute(DefaultClusterCallback callback, Integer value) { - writeKeypadLockoutAttribute(chipClusterPtr, callback, value, null); + 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); } - public void writeKeypadLockoutAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeKeypadLockoutAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + @Override + public native long initWithDevice(long devicePtr, int endpointId); + + public void selectOutput(DefaultClusterCallback callback + , Integer index) { + selectOutput(chipClusterPtr, callback, index, null); } - public void subscribeKeypadLockoutAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeKeypadLockoutAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void selectOutput(DefaultClusterCallback callback + , Integer index + , int timedInvokeTimeoutMs) { + selectOutput(chipClusterPtr, callback, index, timedInvokeTimeoutMs); } - public void readScheduleProgrammingVisibilityAttribute(IntegerAttributeCallback callback) { - readScheduleProgrammingVisibilityAttribute(chipClusterPtr, callback); + public void renameOutput(DefaultClusterCallback callback + , Integer index, String name) { + renameOutput(chipClusterPtr, callback, index, name, null); } - public void writeScheduleProgrammingVisibilityAttribute( - DefaultClusterCallback callback, Integer value) { - writeScheduleProgrammingVisibilityAttribute(chipClusterPtr, callback, value, 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 writeScheduleProgrammingVisibilityAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeScheduleProgrammingVisibilityAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readOutputListAttribute( + OutputListAttributeCallback callback + ) { + readOutputListAttribute(chipClusterPtr, callback); + } + public void subscribeOutputListAttribute( + OutputListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeOutputListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeScheduleProgrammingVisibilityAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeScheduleProgrammingVisibilityAttribute( - 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) { + 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 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 ColorControlCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 768L; + public static class ApplicationLauncherCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1292L; - public ColorControlCluster(long devicePtr, int endpointId) { + public ApplicationLauncherCluster(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 void launchApp(LauncherResponseCallback callback + , Optional application, Optional data) { + launchApp(chipClusterPtr, callback, application, data, null); } - 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 launchApp(LauncherResponseCallback callback + , Optional application, Optional data + , int timedInvokeTimeoutMs) { + launchApp(chipClusterPtr, callback, application, data, timedInvokeTimeoutMs); } - 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 stopApp(LauncherResponseCallback callback + , Optional application) { + stopApp(chipClusterPtr, callback, application, null); } - 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 stopApp(LauncherResponseCallback callback + , Optional application + , int timedInvokeTimeoutMs) { + stopApp(chipClusterPtr, callback, application, timedInvokeTimeoutMs); } - 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 hideApp(LauncherResponseCallback callback + , Optional application) { + hideApp(chipClusterPtr, callback, application, null); } - public void stopMoveStep( - DefaultClusterCallback callback, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - stopMoveStep(chipClusterPtr, callback, optionsMask, optionsOverride, timedInvokeTimeoutMs); + public void hideApp(LauncherResponseCallback callback + , Optional application + , int timedInvokeTimeoutMs) { + hideApp(chipClusterPtr, callback, application, timedInvokeTimeoutMs); } - - 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) {} + 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 Primary1IntensityAttributeCallback { - void onSuccess(@Nullable Integer value); - void onError(Exception ex); + 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) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readCatalogListAttribute( + CatalogListAttributeCallback callback + ) { + readCatalogListAttribute(chipClusterPtr, callback); } - - public interface Primary2IntensityAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeCatalogListAttribute( + CatalogListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeCatalogListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface Primary3IntensityAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public interface Primary4IntensityAttributeCallback { - 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 Primary5IntensityAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public interface Primary6IntensityAttributeCallback { - void onSuccess(@Nullable Integer 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 ColorPointRIntensityAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public interface ColorPointGIntensityAttributeCallback { - void onSuccess(@Nullable Integer value); - - 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 ColorPointBIntensityAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public interface StartUpColorTemperatureMiredsAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - 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 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); + } - void onError(Exception ex); + public static class ApplicationBasicCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1293L; - default void onSubscriptionEstablished(long subscriptionId) {} + public ApplicationBasicCluster(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 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 void readCurrentHueAttribute(IntegerAttributeCallback callback) { - readCurrentHueAttribute(chipClusterPtr, callback); + public void subscribeVendorNameAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeVendorNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentHueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentHueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readVendorIDAttribute( + IntegerAttributeCallback callback + ) { + readVendorIDAttribute(chipClusterPtr, callback); } - - public void readCurrentSaturationAttribute(IntegerAttributeCallback callback) { - readCurrentSaturationAttribute(chipClusterPtr, callback); + public void subscribeVendorIDAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeVendorIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentSaturationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentSaturationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readApplicationNameAttribute( + CharStringAttributeCallback callback + ) { + readApplicationNameAttribute(chipClusterPtr, callback); } - - public void readRemainingTimeAttribute(IntegerAttributeCallback callback) { - readRemainingTimeAttribute(chipClusterPtr, callback); + public void subscribeApplicationNameAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeApplicationNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeRemainingTimeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRemainingTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readProductIDAttribute( + IntegerAttributeCallback callback + ) { + readProductIDAttribute(chipClusterPtr, callback); } - - public void readCurrentXAttribute(IntegerAttributeCallback callback) { - readCurrentXAttribute(chipClusterPtr, callback); + public void subscribeProductIDAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeProductIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentXAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentXAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readStatusAttribute( + IntegerAttributeCallback callback + ) { + readStatusAttribute(chipClusterPtr, callback); } - - public void readCurrentYAttribute(IntegerAttributeCallback callback) { - readCurrentYAttribute(chipClusterPtr, callback); + public void subscribeStatusAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentYAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentYAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readApplicationVersionAttribute( + CharStringAttributeCallback callback + ) { + readApplicationVersionAttribute(chipClusterPtr, callback); } - - public void readDriftCompensationAttribute(IntegerAttributeCallback callback) { - readDriftCompensationAttribute(chipClusterPtr, callback); + public void subscribeApplicationVersionAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeApplicationVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeDriftCompensationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDriftCompensationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAllowedVendorListAttribute( + AllowedVendorListAttributeCallback callback + ) { + readAllowedVendorListAttribute(chipClusterPtr, callback); } - - public void readCompensationTextAttribute(CharStringAttributeCallback callback) { - readCompensationTextAttribute(chipClusterPtr, callback); + public void subscribeAllowedVendorListAttribute( + AllowedVendorListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAllowedVendorListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCompensationTextAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCompensationTextAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void readColorTemperatureMiredsAttribute(IntegerAttributeCallback callback) { - readColorTemperatureMiredsAttribute(chipClusterPtr, callback); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorTemperatureMiredsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorTemperatureMiredsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void readColorModeAttribute(IntegerAttributeCallback callback) { - readColorModeAttribute(chipClusterPtr, callback); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void readOptionsAttribute(IntegerAttributeCallback callback) { - readOptionsAttribute(chipClusterPtr, callback); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeOptionsAttribute(DefaultClusterCallback callback, Integer value) { - writeOptionsAttribute(chipClusterPtr, callback, value, null); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void writeOptionsAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOptionsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeOptionsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOptionsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void readNumberOfPrimariesAttribute(NumberOfPrimariesAttributeCallback callback) { - readNumberOfPrimariesAttribute(chipClusterPtr, callback); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeNumberOfPrimariesAttribute( - NumberOfPrimariesAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfPrimariesAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void readPrimary1XAttribute(IntegerAttributeCallback callback) { - readPrimary1XAttribute(chipClusterPtr, callback); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePrimary1XAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary1XAttribute(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 readPrimary1YAttribute(IntegerAttributeCallback callback) { - readPrimary1YAttribute(chipClusterPtr, callback); - } + public static class AccountLoginCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1294L; - public void subscribePrimary1YAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary1YAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public AccountLoginCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void readPrimary1IntensityAttribute(Primary1IntensityAttributeCallback callback) { - readPrimary1IntensityAttribute(chipClusterPtr, callback); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void subscribePrimary1IntensityAttribute( - Primary1IntensityAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary1IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - public void readPrimary2XAttribute(IntegerAttributeCallback callback) { - readPrimary2XAttribute(chipClusterPtr, callback); + public void getSetupPIN(GetSetupPINResponseCallback callback + , String tempAccountIdentifier + , int timedInvokeTimeoutMs) { + getSetupPIN(chipClusterPtr, callback, tempAccountIdentifier, timedInvokeTimeoutMs); } - public void subscribePrimary2XAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary2XAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - public void readPrimary2YAttribute(IntegerAttributeCallback callback) { - readPrimary2YAttribute(chipClusterPtr, callback); + public void login(DefaultClusterCallback callback + , String tempAccountIdentifier, String setupPIN + , int timedInvokeTimeoutMs) { + login(chipClusterPtr, callback, tempAccountIdentifier, setupPIN, timedInvokeTimeoutMs); } - public void subscribePrimary2YAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary2YAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - public void readPrimary2IntensityAttribute(Primary2IntensityAttributeCallback callback) { - readPrimary2IntensityAttribute(chipClusterPtr, callback); + public void logout(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { + logout(chipClusterPtr, callback, timedInvokeTimeoutMs); } - - public void subscribePrimary2IntensityAttribute( - Primary2IntensityAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary2IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + 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 void readPrimary3XAttribute(IntegerAttributeCallback callback) { - readPrimary3XAttribute(chipClusterPtr, callback); - } - public void subscribePrimary3XAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary3XAttribute(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 readPrimary3YAttribute(IntegerAttributeCallback callback) { - readPrimary3YAttribute(chipClusterPtr, callback); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void subscribePrimary3YAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary3YAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary3IntensityAttribute(Primary3IntensityAttributeCallback callback) { - readPrimary3IntensityAttribute(chipClusterPtr, callback); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void subscribePrimary3IntensityAttribute( - Primary3IntensityAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary3IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary4XAttribute(IntegerAttributeCallback callback) { - readPrimary4XAttribute(chipClusterPtr, callback); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void subscribePrimary4XAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary4XAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary4YAttribute(IntegerAttributeCallback callback) { - readPrimary4YAttribute(chipClusterPtr, callback); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void subscribePrimary4YAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary4YAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary4IntensityAttribute(Primary4IntensityAttributeCallback callback) { - readPrimary4IntensityAttribute(chipClusterPtr, callback); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void subscribePrimary4IntensityAttribute( - Primary4IntensityAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary4IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary5XAttribute(IntegerAttributeCallback callback) { - readPrimary5XAttribute(chipClusterPtr, callback); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void subscribePrimary5XAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary5XAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary5YAttribute(IntegerAttributeCallback callback) { - readPrimary5YAttribute(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 void subscribePrimary5YAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary5YAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public static class ElectricalMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 2820L; - public void readPrimary5IntensityAttribute(Primary5IntensityAttributeCallback callback) { - readPrimary5IntensityAttribute(chipClusterPtr, callback); + public ElectricalMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void subscribePrimary5IntensityAttribute( - Primary5IntensityAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary5IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void readPrimary6XAttribute(IntegerAttributeCallback callback) { - readPrimary6XAttribute(chipClusterPtr, 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) {} + } - public void subscribePrimary6XAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary6XAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasurementTypeAttribute( + LongAttributeCallback callback + ) { + readMeasurementTypeAttribute(chipClusterPtr, callback); } - - public void readPrimary6YAttribute(IntegerAttributeCallback callback) { - readPrimary6YAttribute(chipClusterPtr, callback); + public void subscribeMeasurementTypeAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePrimary6YAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary6YAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readDcVoltageAttribute( + IntegerAttributeCallback callback + ) { + readDcVoltageAttribute(chipClusterPtr, callback); } - - public void readPrimary6IntensityAttribute(Primary6IntensityAttributeCallback callback) { - readPrimary6IntensityAttribute(chipClusterPtr, callback); + public void subscribeDcVoltageAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePrimary6IntensityAttribute( - Primary6IntensityAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary6IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readDcVoltageMinAttribute( + IntegerAttributeCallback callback + ) { + readDcVoltageMinAttribute(chipClusterPtr, callback); } - - public void readWhitePointXAttribute(IntegerAttributeCallback callback) { - readWhitePointXAttribute(chipClusterPtr, callback); + public void subscribeDcVoltageMinAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcVoltageMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeWhitePointXAttribute(DefaultClusterCallback callback, Integer value) { - writeWhitePointXAttribute(chipClusterPtr, callback, value, null); + public void readDcVoltageMaxAttribute( + IntegerAttributeCallback callback + ) { + readDcVoltageMaxAttribute(chipClusterPtr, callback); } - - public void writeWhitePointXAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeWhitePointXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeDcVoltageMaxAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcVoltageMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeWhitePointXAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeWhitePointXAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readDcCurrentAttribute( + IntegerAttributeCallback callback + ) { + readDcCurrentAttribute(chipClusterPtr, callback); } - - public void readWhitePointYAttribute(IntegerAttributeCallback callback) { - readWhitePointYAttribute(chipClusterPtr, callback); + public void subscribeDcCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeWhitePointYAttribute(DefaultClusterCallback callback, Integer value) { - writeWhitePointYAttribute(chipClusterPtr, callback, value, null); + public void readDcCurrentMinAttribute( + IntegerAttributeCallback callback + ) { + readDcCurrentMinAttribute(chipClusterPtr, callback); } - - public void writeWhitePointYAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeWhitePointYAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeDcCurrentMinAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcCurrentMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeWhitePointYAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeWhitePointYAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readDcCurrentMaxAttribute( + IntegerAttributeCallback callback + ) { + readDcCurrentMaxAttribute(chipClusterPtr, callback); } - - public void readColorPointRXAttribute(IntegerAttributeCallback callback) { - readColorPointRXAttribute(chipClusterPtr, callback); + public void subscribeDcCurrentMaxAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcCurrentMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeColorPointRXAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointRXAttribute(chipClusterPtr, callback, value, null); + public void readDcPowerAttribute( + IntegerAttributeCallback callback + ) { + readDcPowerAttribute(chipClusterPtr, callback); } - - public void writeColorPointRXAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeColorPointRXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeDcPowerAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcPowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorPointRXAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorPointRXAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readDcPowerMinAttribute( + IntegerAttributeCallback callback + ) { + readDcPowerMinAttribute(chipClusterPtr, callback); } - - public void readColorPointRYAttribute(IntegerAttributeCallback callback) { - readColorPointRYAttribute(chipClusterPtr, callback); + public void subscribeDcPowerMinAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcPowerMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeColorPointRYAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointRYAttribute(chipClusterPtr, callback, value, null); + public void readDcPowerMaxAttribute( + IntegerAttributeCallback callback + ) { + readDcPowerMaxAttribute(chipClusterPtr, callback); } - - public void writeColorPointRYAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeColorPointRYAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeDcPowerMaxAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcPowerMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorPointRYAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorPointRYAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readDcVoltageMultiplierAttribute( + IntegerAttributeCallback callback + ) { + readDcVoltageMultiplierAttribute(chipClusterPtr, callback); } - - public void readColorPointRIntensityAttribute(ColorPointRIntensityAttributeCallback callback) { - readColorPointRIntensityAttribute(chipClusterPtr, callback); + public void subscribeDcVoltageMultiplierAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcVoltageMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeColorPointRIntensityAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointRIntensityAttribute(chipClusterPtr, callback, value, null); + public void readDcVoltageDivisorAttribute( + IntegerAttributeCallback callback + ) { + readDcVoltageDivisorAttribute(chipClusterPtr, callback); } - - public void writeColorPointRIntensityAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeColorPointRIntensityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeDcVoltageDivisorAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcVoltageDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorPointRIntensityAttribute( - ColorPointRIntensityAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorPointRIntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readDcCurrentMultiplierAttribute( + IntegerAttributeCallback callback + ) { + readDcCurrentMultiplierAttribute(chipClusterPtr, callback); } - - public void readColorPointGXAttribute(IntegerAttributeCallback callback) { - readColorPointGXAttribute(chipClusterPtr, callback); + public void subscribeDcCurrentMultiplierAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcCurrentMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeColorPointGXAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointGXAttribute(chipClusterPtr, callback, value, null); + public void readDcCurrentDivisorAttribute( + IntegerAttributeCallback callback + ) { + readDcCurrentDivisorAttribute(chipClusterPtr, callback); } - - public void writeColorPointGXAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeColorPointGXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeDcCurrentDivisorAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcCurrentDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorPointGXAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorPointGXAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readDcPowerMultiplierAttribute( + IntegerAttributeCallback callback + ) { + readDcPowerMultiplierAttribute(chipClusterPtr, callback); } - - public void readColorPointGYAttribute(IntegerAttributeCallback callback) { - readColorPointGYAttribute(chipClusterPtr, callback); + public void subscribeDcPowerMultiplierAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcPowerMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeColorPointGYAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointGYAttribute(chipClusterPtr, callback, value, null); + public void readDcPowerDivisorAttribute( + IntegerAttributeCallback callback + ) { + readDcPowerDivisorAttribute(chipClusterPtr, callback); } - - public void writeColorPointGYAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeColorPointGYAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeDcPowerDivisorAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcPowerDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorPointGYAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorPointGYAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAcFrequencyAttribute( + IntegerAttributeCallback callback + ) { + readAcFrequencyAttribute(chipClusterPtr, callback); } - - public void readColorPointGIntensityAttribute(ColorPointGIntensityAttributeCallback callback) { - readColorPointGIntensityAttribute(chipClusterPtr, callback); + public void subscribeAcFrequencyAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcFrequencyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeColorPointGIntensityAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointGIntensityAttribute(chipClusterPtr, callback, value, null); + public void readAcFrequencyMinAttribute( + IntegerAttributeCallback callback + ) { + readAcFrequencyMinAttribute(chipClusterPtr, callback); } - - public void writeColorPointGIntensityAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeColorPointGIntensityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeAcFrequencyMinAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcFrequencyMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorPointGIntensityAttribute( - ColorPointGIntensityAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorPointGIntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAcFrequencyMaxAttribute( + IntegerAttributeCallback callback + ) { + readAcFrequencyMaxAttribute(chipClusterPtr, callback); } - - public void readColorPointBXAttribute(IntegerAttributeCallback callback) { - readColorPointBXAttribute(chipClusterPtr, callback); + public void subscribeAcFrequencyMaxAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcFrequencyMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeColorPointBXAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointBXAttribute(chipClusterPtr, callback, value, null); + public void readNeutralCurrentAttribute( + IntegerAttributeCallback callback + ) { + readNeutralCurrentAttribute(chipClusterPtr, callback); } - - public void writeColorPointBXAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeColorPointBXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeNeutralCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNeutralCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorPointBXAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorPointBXAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readTotalActivePowerAttribute( + LongAttributeCallback callback + ) { + readTotalActivePowerAttribute(chipClusterPtr, callback); } - - public void readColorPointBYAttribute(IntegerAttributeCallback callback) { - readColorPointBYAttribute(chipClusterPtr, callback); + public void subscribeTotalActivePowerAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTotalActivePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeColorPointBYAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointBYAttribute(chipClusterPtr, callback, value, null); + public void readTotalReactivePowerAttribute( + LongAttributeCallback callback + ) { + readTotalReactivePowerAttribute(chipClusterPtr, callback); } - - public void writeColorPointBYAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeColorPointBYAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeTotalReactivePowerAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTotalReactivePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorPointBYAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorPointBYAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readTotalApparentPowerAttribute( + LongAttributeCallback callback + ) { + readTotalApparentPowerAttribute(chipClusterPtr, callback); } - - public void readColorPointBIntensityAttribute(ColorPointBIntensityAttributeCallback callback) { - readColorPointBIntensityAttribute(chipClusterPtr, callback); + public void subscribeTotalApparentPowerAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTotalApparentPowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeColorPointBIntensityAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointBIntensityAttribute(chipClusterPtr, callback, value, null); + public void readMeasured1stHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasured1stHarmonicCurrentAttribute(chipClusterPtr, callback); } - - public void writeColorPointBIntensityAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeColorPointBIntensityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeMeasured1stHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasured1stHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorPointBIntensityAttribute( - ColorPointBIntensityAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorPointBIntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasured3rdHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasured3rdHarmonicCurrentAttribute(chipClusterPtr, callback); } - - public void readEnhancedCurrentHueAttribute(IntegerAttributeCallback callback) { - readEnhancedCurrentHueAttribute(chipClusterPtr, callback); + public void subscribeMeasured3rdHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasured3rdHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEnhancedCurrentHueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEnhancedCurrentHueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasured5thHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasured5thHarmonicCurrentAttribute(chipClusterPtr, callback); } - - public void readEnhancedColorModeAttribute(IntegerAttributeCallback callback) { - readEnhancedColorModeAttribute(chipClusterPtr, callback); + public void subscribeMeasured5thHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasured5thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEnhancedColorModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEnhancedColorModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasured7thHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasured7thHarmonicCurrentAttribute(chipClusterPtr, callback); } - - public void readColorLoopActiveAttribute(IntegerAttributeCallback callback) { - readColorLoopActiveAttribute(chipClusterPtr, callback); + public void subscribeMeasured7thHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasured7thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorLoopActiveAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorLoopActiveAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasured9thHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasured9thHarmonicCurrentAttribute(chipClusterPtr, callback); } - - public void readColorLoopDirectionAttribute(IntegerAttributeCallback callback) { - readColorLoopDirectionAttribute(chipClusterPtr, callback); + public void subscribeMeasured9thHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasured9thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorLoopDirectionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorLoopDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasured11thHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasured11thHarmonicCurrentAttribute(chipClusterPtr, callback); } - - public void readColorLoopTimeAttribute(IntegerAttributeCallback callback) { - readColorLoopTimeAttribute(chipClusterPtr, callback); + public void subscribeMeasured11thHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasured11thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorLoopTimeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorLoopTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasuredPhase1stHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasuredPhase1stHarmonicCurrentAttribute(chipClusterPtr, callback); } - - public void readColorLoopStartEnhancedHueAttribute(IntegerAttributeCallback callback) { - readColorLoopStartEnhancedHueAttribute(chipClusterPtr, callback); + public void subscribeMeasuredPhase1stHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasuredPhase1stHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorLoopStartEnhancedHueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorLoopStartEnhancedHueAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasuredPhase3rdHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasuredPhase3rdHarmonicCurrentAttribute(chipClusterPtr, callback); } - - public void readColorLoopStoredEnhancedHueAttribute(IntegerAttributeCallback callback) { - readColorLoopStoredEnhancedHueAttribute(chipClusterPtr, callback); + public void subscribeMeasuredPhase3rdHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasuredPhase3rdHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorLoopStoredEnhancedHueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorLoopStoredEnhancedHueAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasuredPhase5thHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasuredPhase5thHarmonicCurrentAttribute(chipClusterPtr, callback); } - - public void readColorCapabilitiesAttribute(IntegerAttributeCallback callback) { - readColorCapabilitiesAttribute(chipClusterPtr, callback); + public void subscribeMeasuredPhase5thHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasuredPhase5thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorCapabilitiesAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorCapabilitiesAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasuredPhase7thHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasuredPhase7thHarmonicCurrentAttribute(chipClusterPtr, callback); } - - public void readColorTempPhysicalMinMiredsAttribute(IntegerAttributeCallback callback) { - readColorTempPhysicalMinMiredsAttribute(chipClusterPtr, callback); + public void subscribeMeasuredPhase7thHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasuredPhase7thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorTempPhysicalMinMiredsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorTempPhysicalMinMiredsAttribute( - 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 readColorTempPhysicalMaxMiredsAttribute(IntegerAttributeCallback callback) { - readColorTempPhysicalMaxMiredsAttribute(chipClusterPtr, callback); + public void readMeasuredPhase11thHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasuredPhase11thHarmonicCurrentAttribute(chipClusterPtr, callback); + } + public void subscribeMeasuredPhase11thHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasuredPhase11thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorTempPhysicalMaxMiredsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorTempPhysicalMaxMiredsAttribute( - 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 readCoupleColorTempToLevelMinMiredsAttribute(IntegerAttributeCallback callback) { - readCoupleColorTempToLevelMinMiredsAttribute(chipClusterPtr, callback); + public void readAcFrequencyDivisorAttribute( + IntegerAttributeCallback callback + ) { + readAcFrequencyDivisorAttribute(chipClusterPtr, callback); + } + public void subscribeAcFrequencyDivisorAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcFrequencyDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCoupleColorTempToLevelMinMiredsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCoupleColorTempToLevelMinMiredsAttribute( - 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 readStartUpColorTemperatureMiredsAttribute( - StartUpColorTemperatureMiredsAttributeCallback callback) { - readStartUpColorTemperatureMiredsAttribute(chipClusterPtr, callback); + public void readPowerDivisorAttribute( + LongAttributeCallback callback + ) { + readPowerDivisorAttribute(chipClusterPtr, callback); + } + public void subscribePowerDivisorAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePowerDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeStartUpColorTemperatureMiredsAttribute( - DefaultClusterCallback callback, Integer value) { - writeStartUpColorTemperatureMiredsAttribute(chipClusterPtr, callback, value, null); + public void readHarmonicCurrentMultiplierAttribute( + IntegerAttributeCallback callback + ) { + readHarmonicCurrentMultiplierAttribute(chipClusterPtr, callback); + } + public void subscribeHarmonicCurrentMultiplierAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeHarmonicCurrentMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeStartUpColorTemperatureMiredsAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeStartUpColorTemperatureMiredsAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readPhaseHarmonicCurrentMultiplierAttribute( + IntegerAttributeCallback callback + ) { + readPhaseHarmonicCurrentMultiplierAttribute(chipClusterPtr, callback); + } + public void subscribePhaseHarmonicCurrentMultiplierAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePhaseHarmonicCurrentMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeStartUpColorTemperatureMiredsAttribute( - StartUpColorTemperatureMiredsAttributeCallback callback, int minInterval, int maxInterval) { - subscribeStartUpColorTemperatureMiredsAttribute( - 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 readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void readInstantaneousLineCurrentAttribute( + IntegerAttributeCallback callback + ) { + readInstantaneousLineCurrentAttribute(chipClusterPtr, callback); + } + public void subscribeInstantaneousLineCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInstantaneousLineCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(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 readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void readInstantaneousReactiveCurrentAttribute( + IntegerAttributeCallback callback + ) { + readInstantaneousReactiveCurrentAttribute(chipClusterPtr, callback); + } + public void subscribeInstantaneousReactiveCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInstantaneousReactiveCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(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 readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + public void readRmsVoltageAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageAttribute(chipClusterPtr, callback); + } + public void subscribeRmsVoltageAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(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 readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void readRmsVoltageMaxAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageMaxAttribute(chipClusterPtr, callback); + } + public void subscribeRmsVoltageMaxAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(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 readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void readRmsCurrentMinAttribute( + IntegerAttributeCallback callback + ) { + readRmsCurrentMinAttribute(chipClusterPtr, callback); + } + public void subscribeRmsCurrentMinAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsCurrentMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(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 readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void readActivePowerAttribute( + IntegerAttributeCallback callback + ) { + readActivePowerAttribute(chipClusterPtr, callback); + } + public void subscribeActivePowerAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActivePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(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); } - private native void readCurrentHueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readActivePowerMaxAttribute( + IntegerAttributeCallback callback + ) { + readActivePowerMaxAttribute(chipClusterPtr, callback); + } + public void subscribeActivePowerMaxAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActivePowerMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeCurrentHueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readReactivePowerAttribute( + IntegerAttributeCallback callback + ) { + readReactivePowerAttribute(chipClusterPtr, callback); + } + public void subscribeReactivePowerAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeReactivePowerAttribute(chipClusterPtr, callback, minInterval, 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); - } - - public static class BallastConfigurationCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 769L; - - public BallastConfigurationCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void readApparentPowerAttribute( + IntegerAttributeCallback callback + ) { + readApparentPowerAttribute(chipClusterPtr, callback); } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface IntrinsicBallastFactorAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeApparentPowerAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeApparentPowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface BallastFactorAdjustmentAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readPowerFactorAttribute( + IntegerAttributeCallback callback + ) { + readPowerFactorAttribute(chipClusterPtr, callback); } - - public interface LampRatedHoursAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribePowerFactorAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePowerFactorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface LampBurnHoursAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readAverageRmsVoltageMeasurementPeriodAttribute( + IntegerAttributeCallback callback + ) { + readAverageRmsVoltageMeasurementPeriodAttribute(chipClusterPtr, callback); } - - public interface LampBurnHoursTripPointAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeAverageRmsVoltageMeasurementPeriodAttribute(DefaultClusterCallback callback, Integer value) { + writeAverageRmsVoltageMeasurementPeriodAttribute(chipClusterPtr, callback, value, null); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeAverageRmsVoltageMeasurementPeriodAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeAverageRmsVoltageMeasurementPeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeAverageRmsVoltageMeasurementPeriodAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageRmsVoltageMeasurementPeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readAverageRmsUnderVoltageCounterAttribute( + IntegerAttributeCallback callback + ) { + readAverageRmsUnderVoltageCounterAttribute(chipClusterPtr, callback); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeAverageRmsUnderVoltageCounterAttribute(DefaultClusterCallback callback, Integer value) { + writeAverageRmsUnderVoltageCounterAttribute(chipClusterPtr, callback, value, null); } - public void readPhysicalMinLevelAttribute(IntegerAttributeCallback callback) { - readPhysicalMinLevelAttribute(chipClusterPtr, callback); + public void writeAverageRmsUnderVoltageCounterAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeAverageRmsUnderVoltageCounterAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribePhysicalMinLevelAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePhysicalMinLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageRmsUnderVoltageCounterAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageRmsUnderVoltageCounterAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPhysicalMaxLevelAttribute(IntegerAttributeCallback callback) { - readPhysicalMaxLevelAttribute(chipClusterPtr, callback); + public void readRmsExtremeOverVoltagePeriodAttribute( + IntegerAttributeCallback callback + ) { + readRmsExtremeOverVoltagePeriodAttribute(chipClusterPtr, callback); } - - public void subscribePhysicalMaxLevelAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePhysicalMaxLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeRmsExtremeOverVoltagePeriodAttribute(DefaultClusterCallback callback, Integer value) { + writeRmsExtremeOverVoltagePeriodAttribute(chipClusterPtr, callback, value, null); } - public void readBallastStatusAttribute(IntegerAttributeCallback callback) { - readBallastStatusAttribute(chipClusterPtr, callback); + public void writeRmsExtremeOverVoltagePeriodAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeRmsExtremeOverVoltagePeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeBallastStatusAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBallastStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeRmsExtremeOverVoltagePeriodAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsExtremeOverVoltagePeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinLevelAttribute(IntegerAttributeCallback callback) { - readMinLevelAttribute(chipClusterPtr, callback); + public void readRmsExtremeUnderVoltagePeriodAttribute( + IntegerAttributeCallback callback + ) { + readRmsExtremeUnderVoltagePeriodAttribute(chipClusterPtr, callback); } - - public void writeMinLevelAttribute(DefaultClusterCallback callback, Integer value) { - writeMinLevelAttribute(chipClusterPtr, callback, value, null); + public void writeRmsExtremeUnderVoltagePeriodAttribute(DefaultClusterCallback callback, Integer value) { + writeRmsExtremeUnderVoltagePeriodAttribute(chipClusterPtr, callback, value, null); } - public void writeMinLevelAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeMinLevelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeRmsExtremeUnderVoltagePeriodAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeRmsExtremeUnderVoltagePeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeMinLevelAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeRmsExtremeUnderVoltagePeriodAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsExtremeUnderVoltagePeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxLevelAttribute(IntegerAttributeCallback callback) { - readMaxLevelAttribute(chipClusterPtr, callback); + public void readRmsVoltageSagPeriodAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageSagPeriodAttribute(chipClusterPtr, callback); } - - public void writeMaxLevelAttribute(DefaultClusterCallback callback, Integer value) { - writeMaxLevelAttribute(chipClusterPtr, callback, value, null); + public void writeRmsVoltageSagPeriodAttribute(DefaultClusterCallback callback, Integer value) { + writeRmsVoltageSagPeriodAttribute(chipClusterPtr, callback, value, null); } - public void writeMaxLevelAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeMaxLevelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeRmsVoltageSagPeriodAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeRmsVoltageSagPeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeMaxLevelAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeRmsVoltageSagPeriodAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageSagPeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readIntrinsicBallastFactorAttribute( - IntrinsicBallastFactorAttributeCallback callback) { - readIntrinsicBallastFactorAttribute(chipClusterPtr, callback); + public void readRmsVoltageSwellPeriodAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageSwellPeriodAttribute(chipClusterPtr, callback); } - - public void writeIntrinsicBallastFactorAttribute( - DefaultClusterCallback callback, Integer value) { - writeIntrinsicBallastFactorAttribute(chipClusterPtr, callback, value, null); + public void writeRmsVoltageSwellPeriodAttribute(DefaultClusterCallback callback, Integer value) { + writeRmsVoltageSwellPeriodAttribute(chipClusterPtr, callback, value, null); } - public void writeIntrinsicBallastFactorAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeIntrinsicBallastFactorAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeRmsVoltageSwellPeriodAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeRmsVoltageSwellPeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeIntrinsicBallastFactorAttribute( - IntrinsicBallastFactorAttributeCallback callback, int minInterval, int maxInterval) { - subscribeIntrinsicBallastFactorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeRmsVoltageSwellPeriodAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageSwellPeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBallastFactorAdjustmentAttribute( - BallastFactorAdjustmentAttributeCallback callback) { - readBallastFactorAdjustmentAttribute(chipClusterPtr, callback); + public void readAcVoltageMultiplierAttribute( + IntegerAttributeCallback callback + ) { + readAcVoltageMultiplierAttribute(chipClusterPtr, callback); } - - public void writeBallastFactorAdjustmentAttribute( - DefaultClusterCallback callback, Integer value) { - writeBallastFactorAdjustmentAttribute(chipClusterPtr, callback, value, null); + public void subscribeAcVoltageMultiplierAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcVoltageMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeBallastFactorAdjustmentAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeBallastFactorAdjustmentAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readAcVoltageDivisorAttribute( + IntegerAttributeCallback callback + ) { + readAcVoltageDivisorAttribute(chipClusterPtr, callback); } - - public void subscribeBallastFactorAdjustmentAttribute( - BallastFactorAdjustmentAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBallastFactorAdjustmentAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAcVoltageDivisorAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcVoltageDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLampQuantityAttribute(IntegerAttributeCallback callback) { - readLampQuantityAttribute(chipClusterPtr, callback); + public void readAcCurrentMultiplierAttribute( + IntegerAttributeCallback callback + ) { + readAcCurrentMultiplierAttribute(chipClusterPtr, callback); } - - public void subscribeLampQuantityAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLampQuantityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAcCurrentMultiplierAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcCurrentMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLampTypeAttribute(CharStringAttributeCallback callback) { - readLampTypeAttribute(chipClusterPtr, callback); + public void readAcCurrentDivisorAttribute( + IntegerAttributeCallback callback + ) { + readAcCurrentDivisorAttribute(chipClusterPtr, callback); } - - public void writeLampTypeAttribute(DefaultClusterCallback callback, String value) { - writeLampTypeAttribute(chipClusterPtr, callback, value, null); + public void subscribeAcCurrentDivisorAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcCurrentDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLampTypeAttribute( - DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { - writeLampTypeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readAcPowerMultiplierAttribute( + IntegerAttributeCallback callback + ) { + readAcPowerMultiplierAttribute(chipClusterPtr, callback); } - - public void subscribeLampTypeAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLampTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAcPowerMultiplierAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcPowerMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLampManufacturerAttribute(CharStringAttributeCallback callback) { - readLampManufacturerAttribute(chipClusterPtr, callback); + public void readAcPowerDivisorAttribute( + IntegerAttributeCallback callback + ) { + readAcPowerDivisorAttribute(chipClusterPtr, callback); } - - public void writeLampManufacturerAttribute(DefaultClusterCallback callback, String value) { - writeLampManufacturerAttribute(chipClusterPtr, callback, value, null); + public void subscribeAcPowerDivisorAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcPowerDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLampManufacturerAttribute( - DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { - writeLampManufacturerAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readOverloadAlarmsMaskAttribute( + IntegerAttributeCallback callback + ) { + readOverloadAlarmsMaskAttribute(chipClusterPtr, callback); } - - public void subscribeLampManufacturerAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLampManufacturerAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeOverloadAlarmsMaskAttribute(DefaultClusterCallback callback, Integer value) { + writeOverloadAlarmsMaskAttribute(chipClusterPtr, callback, value, null); } - public void readLampRatedHoursAttribute(LampRatedHoursAttributeCallback callback) { - readLampRatedHoursAttribute(chipClusterPtr, callback); + public void writeOverloadAlarmsMaskAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOverloadAlarmsMaskAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void writeLampRatedHoursAttribute(DefaultClusterCallback callback, Long value) { - writeLampRatedHoursAttribute(chipClusterPtr, callback, value, null); + public void subscribeOverloadAlarmsMaskAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOverloadAlarmsMaskAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLampRatedHoursAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeLampRatedHoursAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readVoltageOverloadAttribute( + IntegerAttributeCallback callback + ) { + readVoltageOverloadAttribute(chipClusterPtr, callback); } - - public void subscribeLampRatedHoursAttribute( - LampRatedHoursAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLampRatedHoursAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeVoltageOverloadAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeVoltageOverloadAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLampBurnHoursAttribute(LampBurnHoursAttributeCallback callback) { - readLampBurnHoursAttribute(chipClusterPtr, callback); + public void readCurrentOverloadAttribute( + IntegerAttributeCallback callback + ) { + readCurrentOverloadAttribute(chipClusterPtr, callback); } - - public void writeLampBurnHoursAttribute(DefaultClusterCallback callback, Long value) { - writeLampBurnHoursAttribute(chipClusterPtr, callback, value, null); + public void subscribeCurrentOverloadAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentOverloadAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLampBurnHoursAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeLampBurnHoursAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readAcOverloadAlarmsMaskAttribute( + IntegerAttributeCallback callback + ) { + readAcOverloadAlarmsMaskAttribute(chipClusterPtr, callback); } - - public void subscribeLampBurnHoursAttribute( - LampBurnHoursAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLampBurnHoursAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeAcOverloadAlarmsMaskAttribute(DefaultClusterCallback callback, Integer value) { + writeAcOverloadAlarmsMaskAttribute(chipClusterPtr, callback, value, null); } - public void readLampAlarmModeAttribute(IntegerAttributeCallback callback) { - readLampAlarmModeAttribute(chipClusterPtr, callback); + public void writeAcOverloadAlarmsMaskAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeAcOverloadAlarmsMaskAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void writeLampAlarmModeAttribute(DefaultClusterCallback callback, Integer value) { - writeLampAlarmModeAttribute(chipClusterPtr, callback, value, null); + public void subscribeAcOverloadAlarmsMaskAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcOverloadAlarmsMaskAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLampAlarmModeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeLampAlarmModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readAcVoltageOverloadAttribute( + IntegerAttributeCallback callback + ) { + readAcVoltageOverloadAttribute(chipClusterPtr, callback); } - - public void subscribeLampAlarmModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLampAlarmModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAcVoltageOverloadAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcVoltageOverloadAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLampBurnHoursTripPointAttribute( - LampBurnHoursTripPointAttributeCallback callback) { - readLampBurnHoursTripPointAttribute(chipClusterPtr, callback); + public void readAcCurrentOverloadAttribute( + IntegerAttributeCallback callback + ) { + readAcCurrentOverloadAttribute(chipClusterPtr, callback); } - - public void writeLampBurnHoursTripPointAttribute(DefaultClusterCallback callback, Long value) { - writeLampBurnHoursTripPointAttribute(chipClusterPtr, callback, value, null); + public void subscribeAcCurrentOverloadAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcCurrentOverloadAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLampBurnHoursTripPointAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeLampBurnHoursTripPointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readAcActivePowerOverloadAttribute( + IntegerAttributeCallback callback + ) { + readAcActivePowerOverloadAttribute(chipClusterPtr, callback); } - - public void subscribeLampBurnHoursTripPointAttribute( - LampBurnHoursTripPointAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLampBurnHoursTripPointAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAcActivePowerOverloadAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcActivePowerOverloadAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void readAcReactivePowerOverloadAttribute( + IntegerAttributeCallback callback + ) { + readAcReactivePowerOverloadAttribute(chipClusterPtr, callback); } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAcReactivePowerOverloadAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcReactivePowerOverloadAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void readAverageRmsOverVoltageAttribute( + IntegerAttributeCallback callback + ) { + readAverageRmsOverVoltageAttribute(chipClusterPtr, callback); } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageRmsOverVoltageAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageRmsOverVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + public void readAverageRmsUnderVoltageAttribute( + IntegerAttributeCallback callback + ) { + readAverageRmsUnderVoltageAttribute(chipClusterPtr, callback); } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageRmsUnderVoltageAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageRmsUnderVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void readRmsExtremeOverVoltageAttribute( + IntegerAttributeCallback callback + ) { + readRmsExtremeOverVoltageAttribute(chipClusterPtr, callback); } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeRmsExtremeOverVoltageAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsExtremeOverVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void readRmsExtremeUnderVoltageAttribute( + IntegerAttributeCallback callback + ) { + readRmsExtremeUnderVoltageAttribute(chipClusterPtr, callback); } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeRmsExtremeUnderVoltageAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsExtremeUnderVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void readRmsVoltageSagAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageSagAttribute(chipClusterPtr, callback); } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeRmsVoltageSagAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageSagAttribute(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); - } - - public static class IlluminanceMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1024L; - - public IlluminanceMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void readRmsVoltageSwellAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageSwellAttribute(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 subscribeRmsVoltageSwellAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageSwellAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readLineCurrentPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readLineCurrentPhaseBAttribute(chipClusterPtr, callback); } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeLineCurrentPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLineCurrentPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface LightSensorTypeAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readActiveCurrentPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readActiveCurrentPhaseBAttribute(chipClusterPtr, callback); } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeActiveCurrentPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActiveCurrentPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readReactiveCurrentPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readReactiveCurrentPhaseBAttribute(chipClusterPtr, callback); } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeReactiveCurrentPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeReactiveCurrentPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readRmsVoltagePhaseBAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltagePhaseBAttribute(chipClusterPtr, callback); } - - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); + public void subscribeRmsVoltagePhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltagePhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readRmsVoltageMinPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageMinPhaseBAttribute(chipClusterPtr, callback); } - - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); + public void subscribeRmsVoltageMinPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageMinPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readRmsVoltageMaxPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageMaxPhaseBAttribute(chipClusterPtr, callback); } - - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); + public void subscribeRmsVoltageMaxPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageMaxPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readRmsCurrentPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readRmsCurrentPhaseBAttribute(chipClusterPtr, callback); } - - public void readToleranceAttribute(IntegerAttributeCallback callback) { - readToleranceAttribute(chipClusterPtr, callback); + public void subscribeRmsCurrentPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsCurrentPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeToleranceAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readRmsCurrentMinPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readRmsCurrentMinPhaseBAttribute(chipClusterPtr, callback); } - - public void readLightSensorTypeAttribute(LightSensorTypeAttributeCallback callback) { - readLightSensorTypeAttribute(chipClusterPtr, callback); + public void subscribeRmsCurrentMinPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsCurrentMinPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeLightSensorTypeAttribute( - LightSensorTypeAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLightSensorTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readRmsCurrentMaxPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readRmsCurrentMaxPhaseBAttribute(chipClusterPtr, callback); } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void subscribeRmsCurrentMaxPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsCurrentMaxPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readActivePowerPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readActivePowerPhaseBAttribute(chipClusterPtr, callback); } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void subscribeActivePowerPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActivePowerPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readActivePowerMinPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readActivePowerMinPhaseBAttribute(chipClusterPtr, callback); } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + public void subscribeActivePowerMinPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActivePowerMinPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readActivePowerMaxPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readActivePowerMaxPhaseBAttribute(chipClusterPtr, callback); } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(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 readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void subscribeReactivePowerPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeReactivePowerPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(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 readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void readPowerFactorPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readPowerFactorPhaseBAttribute(chipClusterPtr, callback); + } + public void subscribePowerFactorPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePowerFactorPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(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); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); + 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 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 static class TemperatureMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1026L; - - public TemperatureMeasurementCluster(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 void readAverageRmsUnderVoltageCounterPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readAverageRmsUnderVoltageCounterPhaseBAttribute(chipClusterPtr, callback); } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - 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 AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readRmsExtremeOverVoltagePeriodPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readRmsExtremeOverVoltagePeriodPhaseBAttribute(chipClusterPtr, callback); } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - 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 AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readRmsExtremeUnderVoltagePeriodPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readRmsExtremeUnderVoltagePeriodPhaseBAttribute(chipClusterPtr, callback); } - - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); + public void subscribeRmsExtremeUnderVoltagePeriodPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsExtremeUnderVoltagePeriodPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readRmsVoltageSagPeriodPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageSagPeriodPhaseBAttribute(chipClusterPtr, callback); } - - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); + public void subscribeRmsVoltageSagPeriodPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageSagPeriodPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readRmsVoltageSwellPeriodPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageSwellPeriodPhaseBAttribute(chipClusterPtr, callback); } - - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); + public void subscribeRmsVoltageSwellPeriodPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageSwellPeriodPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readLineCurrentPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readLineCurrentPhaseCAttribute(chipClusterPtr, callback); } - - public void readToleranceAttribute(IntegerAttributeCallback callback) { - readToleranceAttribute(chipClusterPtr, callback); + public void subscribeLineCurrentPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLineCurrentPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeToleranceAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readActiveCurrentPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readActiveCurrentPhaseCAttribute(chipClusterPtr, callback); } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void subscribeActiveCurrentPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActiveCurrentPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readReactiveCurrentPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readReactiveCurrentPhaseCAttribute(chipClusterPtr, callback); } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void subscribeReactiveCurrentPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeReactiveCurrentPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readRmsVoltagePhaseCAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltagePhaseCAttribute(chipClusterPtr, callback); } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + public void subscribeRmsVoltagePhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltagePhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readRmsVoltageMinPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageMinPhaseCAttribute(chipClusterPtr, callback); } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void subscribeRmsVoltageMinPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageMinPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readRmsVoltageMaxPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageMaxPhaseCAttribute(chipClusterPtr, callback); } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void subscribeRmsVoltageMaxPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageMaxPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readRmsCurrentPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readRmsCurrentPhaseCAttribute(chipClusterPtr, callback); } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void subscribeRmsCurrentPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsCurrentPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readRmsCurrentMinPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readRmsCurrentMinPhaseCAttribute(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 subscribeRmsCurrentMinPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsCurrentMinPhaseCAttribute(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 void readRmsCurrentMaxPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readRmsCurrentMaxPhaseCAttribute(chipClusterPtr, callback); } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeRmsCurrentMaxPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsCurrentMaxPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readActivePowerPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readActivePowerPhaseCAttribute(chipClusterPtr, callback); } - - public interface ScaledValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeActivePowerPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActivePowerPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MinScaledValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readActivePowerMinPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readActivePowerMinPhaseCAttribute(chipClusterPtr, callback); } - - public interface MaxScaledValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeActivePowerMinPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActivePowerMinPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readActivePowerMaxPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readActivePowerMaxPhaseCAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeActivePowerMaxPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActivePowerMaxPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readReactivePowerPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readReactivePowerPhaseCAttribute(chipClusterPtr, callback); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeReactivePowerPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeReactivePowerPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); + public void readApparentPowerPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readApparentPowerPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeApparentPowerPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeApparentPowerPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); + public void readPowerFactorPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readPowerFactorPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePowerFactorPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePowerFactorPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); + public void readAverageRmsVoltageMeasurementPeriodPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readAverageRmsVoltageMeasurementPeriodPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageRmsVoltageMeasurementPeriodPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageRmsVoltageMeasurementPeriodPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readToleranceAttribute(IntegerAttributeCallback callback) { - readToleranceAttribute(chipClusterPtr, callback); + public void readAverageRmsOverVoltageCounterPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readAverageRmsOverVoltageCounterPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeToleranceAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageRmsOverVoltageCounterPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageRmsOverVoltageCounterPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readScaledValueAttribute(ScaledValueAttributeCallback callback) { - readScaledValueAttribute(chipClusterPtr, callback); + public void readAverageRmsUnderVoltageCounterPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readAverageRmsUnderVoltageCounterPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeScaledValueAttribute( - ScaledValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeScaledValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageRmsUnderVoltageCounterPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageRmsUnderVoltageCounterPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinScaledValueAttribute(MinScaledValueAttributeCallback callback) { - readMinScaledValueAttribute(chipClusterPtr, callback); + public void readRmsExtremeOverVoltagePeriodPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readRmsExtremeOverVoltagePeriodPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeMinScaledValueAttribute( - MinScaledValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinScaledValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeRmsExtremeOverVoltagePeriodPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsExtremeOverVoltagePeriodPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxScaledValueAttribute(MaxScaledValueAttributeCallback callback) { - readMaxScaledValueAttribute(chipClusterPtr, callback); + public void readRmsExtremeUnderVoltagePeriodPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readRmsExtremeUnderVoltagePeriodPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeMaxScaledValueAttribute( - MaxScaledValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxScaledValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeRmsExtremeUnderVoltagePeriodPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsExtremeUnderVoltagePeriodPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readScaledToleranceAttribute(IntegerAttributeCallback callback) { - readScaledToleranceAttribute(chipClusterPtr, callback); + public void readRmsVoltageSagPeriodPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageSagPeriodPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeScaledToleranceAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeScaledToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeRmsVoltageSagPeriodPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageSagPeriodPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readScaleAttribute(IntegerAttributeCallback callback) { - readScaleAttribute(chipClusterPtr, callback); + public void readRmsVoltageSwellPeriodPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageSwellPeriodPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeScaleAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeScaleAttribute(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) { - 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 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); - } - - @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 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 readToleranceAttribute(IntegerAttributeCallback callback) { - readToleranceAttribute(chipClusterPtr, callback); - } - - public void subscribeToleranceAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeToleranceAttribute(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) { + 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); - } - - public static class RelativeHumidityMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1029L; - - public RelativeHumidityMeasurementCluster(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 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 readToleranceAttribute(IntegerAttributeCallback callback) { - readToleranceAttribute(chipClusterPtr, callback); - } - - public void subscribeToleranceAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeToleranceAttribute(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 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 OccupancySensingCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1030L; - - public OccupancySensingCluster(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 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 writeUltrasonicUnoccupiedToOccupiedDelayAttribute( - DefaultClusterCallback callback, Integer value) { - writeUltrasonicUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, null); - } - - public void writeUltrasonicUnoccupiedToOccupiedDelayAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeUltrasonicUnoccupiedToOccupiedDelayAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - - public void subscribeUltrasonicUnoccupiedToOccupiedDelayAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUltrasonicUnoccupiedToOccupiedDelayAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readUltrasonicUnoccupiedToOccupiedThresholdAttribute( - IntegerAttributeCallback callback) { - readUltrasonicUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback); - } - - public void writeUltrasonicUnoccupiedToOccupiedThresholdAttribute( - DefaultClusterCallback callback, Integer value) { - writeUltrasonicUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, null); - } - - public void writeUltrasonicUnoccupiedToOccupiedThresholdAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeUltrasonicUnoccupiedToOccupiedThresholdAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - - public void subscribeUltrasonicUnoccupiedToOccupiedThresholdAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUltrasonicUnoccupiedToOccupiedThresholdAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPhysicalContactOccupiedToUnoccupiedDelayAttribute( - IntegerAttributeCallback callback) { - readPhysicalContactOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback); - } - - public void writePhysicalContactOccupiedToUnoccupiedDelayAttribute( - DefaultClusterCallback callback, Integer value) { - writePhysicalContactOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, null); - } - - public void writePhysicalContactOccupiedToUnoccupiedDelayAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writePhysicalContactOccupiedToUnoccupiedDelayAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - - public void subscribePhysicalContactOccupiedToUnoccupiedDelayAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePhysicalContactOccupiedToUnoccupiedDelayAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPhysicalContactUnoccupiedToOccupiedDelayAttribute( - IntegerAttributeCallback callback) { - readPhysicalContactUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback); - } - - public void writePhysicalContactUnoccupiedToOccupiedDelayAttribute( - DefaultClusterCallback callback, Integer value) { - writePhysicalContactUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, null); - } - - 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 readPhysicalContactUnoccupiedToOccupiedThresholdAttribute( - IntegerAttributeCallback callback) { - readPhysicalContactUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback); - } - - public void writePhysicalContactUnoccupiedToOccupiedThresholdAttribute( - DefaultClusterCallback callback, Integer value) { - writePhysicalContactUnoccupiedToOccupiedThresholdAttribute( - chipClusterPtr, callback, value, null); - } - - 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) { - 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 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); - } - - 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); - - 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 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 ClientMonitoringCluster extends BaseChipCluster { @@ -27570,242 +26758,249 @@ public ClientMonitoringCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public void registerClientMonitoring( - DefaultClusterCallback callback, Long clientNodeId, Long ICid) { + public void registerClientMonitoring(DefaultClusterCallback callback + , Long clientNodeId, Long ICid) { registerClientMonitoring(chipClusterPtr, callback, clientNodeId, ICid, null); } - public void registerClientMonitoring( - DefaultClusterCallback callback, Long clientNodeId, Long ICid, int timedInvokeTimeoutMs) { + public void registerClientMonitoring(DefaultClusterCallback callback + , Long clientNodeId, Long ICid + , int timedInvokeTimeoutMs) { registerClientMonitoring(chipClusterPtr, callback, clientNodeId, ICid, timedInvokeTimeoutMs); } - public void unregisterClientMonitoring( - DefaultClusterCallback callback, Long clientNodeId, Long ICid) { + public void unregisterClientMonitoring(DefaultClusterCallback callback + , Long clientNodeId, Long ICid) { unregisterClientMonitoring(chipClusterPtr, callback, clientNodeId, ICid, null); } - public void unregisterClientMonitoring( - DefaultClusterCallback callback, Long clientNodeId, Long ICid, int timedInvokeTimeoutMs) { - unregisterClientMonitoring( - chipClusterPtr, callback, clientNodeId, ICid, timedInvokeTimeoutMs); - } - - private native void registerClientMonitoring( - long chipClusterPtr, - DefaultClusterCallback Callback, - Long clientNodeId, - Long ICid, - @Nullable Integer timedInvokeTimeoutMs); - - private native void unregisterClientMonitoring( - long chipClusterPtr, - DefaultClusterCallback Callback, - Long clientNodeId, - Long ICid, - @Nullable Integer timedInvokeTimeoutMs); - - public interface ExpectedClientsAttributeCallback { - 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 void unregisterClientMonitoring(DefaultClusterCallback callback + , Long clientNodeId, Long ICid + , int timedInvokeTimeoutMs) { + unregisterClientMonitoring(chipClusterPtr, callback, clientNodeId, ICid, timedInvokeTimeoutMs); } + private native void registerClientMonitoring(long chipClusterPtr, DefaultClusterCallback Callback + , Long clientNodeId, Long ICid + , @Nullable Integer timedInvokeTimeoutMs); + private native void unregisterClientMonitoring(long chipClusterPtr, DefaultClusterCallback Callback + , Long clientNodeId, Long ICid + , @Nullable Integer timedInvokeTimeoutMs); - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface ExpectedClientsAttributeCallback { + 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 readIdleModeIntervalAttribute(LongAttributeCallback callback) { + public void readIdleModeIntervalAttribute( + LongAttributeCallback callback + ) { readIdleModeIntervalAttribute(chipClusterPtr, callback); } - public void subscribeIdleModeIntervalAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeIdleModeIntervalAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readActiveModeIntervalAttribute(LongAttributeCallback callback) { + public void readActiveModeIntervalAttribute( + LongAttributeCallback callback + ) { readActiveModeIntervalAttribute(chipClusterPtr, callback); } - public void subscribeActiveModeIntervalAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeActiveModeIntervalAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readActiveModeThresholdAttribute(IntegerAttributeCallback callback) { + public void readActiveModeThresholdAttribute( + IntegerAttributeCallback callback + ) { readActiveModeThresholdAttribute(chipClusterPtr, callback); } - public void subscribeActiveModeThresholdAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeActiveModeThresholdAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readExpectedClientsAttribute(ExpectedClientsAttributeCallback callback) { + public void readExpectedClientsAttribute( + ExpectedClientsAttributeCallback callback + ) { readExpectedClientsAttribute(chipClusterPtr, callback); } - public void subscribeExpectedClientsAttribute( - ExpectedClientsAttributeCallback callback, int minInterval, int maxInterval) { + ExpectedClientsAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeExpectedClientsAttribute(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 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 readExpectedClientsAttribute( - long chipClusterPtr, ExpectedClientsAttributeCallback callback); - - private native void subscribeExpectedClientsAttribute( - long chipClusterPtr, - ExpectedClientsAttributeCallback 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 readExpectedClientsAttribute(long chipClusterPtr, + ExpectedClientsAttributeCallback callback + ); + private native void subscribeExpectedClientsAttribute(long chipClusterPtr, + ExpectedClientsAttributeCallback 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 { @@ -27818,3328 +27013,2862 @@ 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); } } diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ChipEventStructs.java b/src/controller/java/zap-generated/chip/devicecontroller/ChipEventStructs.java index 9f079111c14841..6df7fa94597826 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ChipEventStructs.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ChipEventStructs.java @@ -18,1356 +18,1474 @@ // 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 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 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 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("PumpConfigurationAndControlClusterSystemPressureLowEvent {\n"); - output.append("}\n"); - return output.toString(); - } + @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 PumpConfigurationAndControlClusterSystemPressureHighEvent { - - public PumpConfigurationAndControlClusterSystemPressureHighEvent() {} +public static class WiFiNetworkDiagnosticsClusterDisconnectionEvent { +public Integer reasonCode; - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterSystemPressureHighEvent {\n"); - output.append("}\n"); - return output.toString(); - } + public WiFiNetworkDiagnosticsClusterDisconnectionEvent( + Integer reasonCode + ) { + this.reasonCode = reasonCode; } - public static class PumpConfigurationAndControlClusterDryRunningEvent { + @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 PumpConfigurationAndControlClusterDryRunningEvent() {} +public static class WiFiNetworkDiagnosticsClusterAssociationFailureEvent { +public Integer associationFailure; +public Integer status; - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterDryRunningEvent {\n"); - output.append("}\n"); - return output.toString(); - } + public WiFiNetworkDiagnosticsClusterAssociationFailureEvent( + Integer associationFailure + , Integer status + ) { + this.associationFailure = associationFailure; + this.status = status; } - public static class PumpConfigurationAndControlClusterMotorTemperatureHighEvent { + @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 PumpConfigurationAndControlClusterMotorTemperatureHighEvent() {} +public static class WiFiNetworkDiagnosticsClusterConnectionStatusEvent { +public Integer connectionStatus; - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterMotorTemperatureHighEvent {\n"); - output.append("}\n"); - return output.toString(); - } + public WiFiNetworkDiagnosticsClusterConnectionStatusEvent( + Integer connectionStatus + ) { + this.connectionStatus = connectionStatus; } - public static class PumpConfigurationAndControlClusterPumpMotorFatalFailureEvent { + @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 PumpConfigurationAndControlClusterPumpMotorFatalFailureEvent() {} +public static class BridgedDeviceBasicInformationClusterStartUpEvent { +public Long softwareVersion; - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterPumpMotorFatalFailureEvent {\n"); - output.append("}\n"); - return output.toString(); - } + public BridgedDeviceBasicInformationClusterStartUpEvent( + Long softwareVersion + ) { + this.softwareVersion = softwareVersion; } - public static class PumpConfigurationAndControlClusterElectronicTemperatureHighEvent { + @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 PumpConfigurationAndControlClusterElectronicTemperatureHighEvent() {} +public static class BridgedDeviceBasicInformationClusterShutDownEvent { - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterElectronicTemperatureHighEvent {\n"); - output.append("}\n"); - return output.toString(); - } + public BridgedDeviceBasicInformationClusterShutDownEvent( +) { } - public static class PumpConfigurationAndControlClusterPumpBlockedEvent { + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("BridgedDeviceBasicInformationClusterShutDownEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} - public PumpConfigurationAndControlClusterPumpBlockedEvent() {} +public static class BridgedDeviceBasicInformationClusterLeaveEvent { - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterPumpBlockedEvent {\n"); - output.append("}\n"); - return output.toString(); - } + public BridgedDeviceBasicInformationClusterLeaveEvent( +) { } - public static class PumpConfigurationAndControlClusterSensorFailureEvent { + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("BridgedDeviceBasicInformationClusterLeaveEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} - public PumpConfigurationAndControlClusterSensorFailureEvent() {} +public static class BridgedDeviceBasicInformationClusterReachableChangedEvent { +public Boolean reachableNewValue; - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterSensorFailureEvent {\n"); - output.append("}\n"); - return output.toString(); - } + public BridgedDeviceBasicInformationClusterReachableChangedEvent( + Boolean reachableNewValue + ) { + this.reachableNewValue = reachableNewValue; } - public static class PumpConfigurationAndControlClusterElectronicNonFatalFailureEvent { + @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 PumpConfigurationAndControlClusterElectronicNonFatalFailureEvent() {} +public static class SwitchClusterSwitchLatchedEvent { +public Integer newPosition; - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterElectronicNonFatalFailureEvent {\n"); - output.append("}\n"); - return output.toString(); - } + public SwitchClusterSwitchLatchedEvent( + Integer newPosition + ) { + this.newPosition = newPosition; } - public static class PumpConfigurationAndControlClusterElectronicFatalFailureEvent { + @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 PumpConfigurationAndControlClusterElectronicFatalFailureEvent() {} +public static class SwitchClusterInitialPressEvent { +public Integer newPosition; - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterElectronicFatalFailureEvent {\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class PumpConfigurationAndControlClusterGeneralFaultEvent { + public SwitchClusterInitialPressEvent( + Integer newPosition + ) { + this.newPosition = newPosition; + } - public PumpConfigurationAndControlClusterGeneralFaultEvent() {} + @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(); + } +} - @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(); - } +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 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( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterSystemPressureLowEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class PumpConfigurationAndControlClusterSystemPressureHighEvent { + + public PumpConfigurationAndControlClusterSystemPressureHighEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterSystemPressureHighEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class PumpConfigurationAndControlClusterDryRunningEvent { + + public PumpConfigurationAndControlClusterDryRunningEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterDryRunningEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class PumpConfigurationAndControlClusterMotorTemperatureHighEvent { + + public PumpConfigurationAndControlClusterMotorTemperatureHighEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterMotorTemperatureHighEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class PumpConfigurationAndControlClusterPumpMotorFatalFailureEvent { + + public PumpConfigurationAndControlClusterPumpMotorFatalFailureEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterPumpMotorFatalFailureEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class PumpConfigurationAndControlClusterElectronicTemperatureHighEvent { + + public PumpConfigurationAndControlClusterElectronicTemperatureHighEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterElectronicTemperatureHighEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class PumpConfigurationAndControlClusterPumpBlockedEvent { + + public PumpConfigurationAndControlClusterPumpBlockedEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterPumpBlockedEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class PumpConfigurationAndControlClusterSensorFailureEvent { + + public PumpConfigurationAndControlClusterSensorFailureEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterSensorFailureEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class PumpConfigurationAndControlClusterElectronicNonFatalFailureEvent { + + public PumpConfigurationAndControlClusterElectronicNonFatalFailureEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterElectronicNonFatalFailureEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class PumpConfigurationAndControlClusterElectronicFatalFailureEvent { + + public PumpConfigurationAndControlClusterElectronicFatalFailureEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterElectronicFatalFailureEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class PumpConfigurationAndControlClusterGeneralFaultEvent { + + public PumpConfigurationAndControlClusterGeneralFaultEvent( +) { + } + + @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(); + } +} + +} \ 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 3ec024468a2f3d..020df3ad680b84 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ChipIdLookup.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ChipIdLookup.java @@ -21,8 +21,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) { @@ -227,8 +227,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) { @@ -3919,8 +3919,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) { diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ChipStructs.java b/src/controller/java/zap-generated/chip/devicecontroller/ChipStructs.java index 56810ab1fb2871..383b9fea2ea749 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ChipStructs.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ChipStructs.java @@ -18,2178 +18,2302 @@ // 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 ArrayList attributeValue; - - public ScenesClusterAttributeValuePair( - Optional attributeID, ArrayList 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 AccessControlClusterTarget { - public @Nullable Long cluster; - public @Nullable Integer endpoint; - public @Nullable Long deviceType; - - public AccessControlClusterTarget( - @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("AccessControlClusterTarget {\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 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 ThreadNetworkDiagnosticsClusterNeighborTable { - 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 ThreadNetworkDiagnosticsClusterNeighborTable( - 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("ThreadNetworkDiagnosticsClusterNeighborTable {\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 ThreadNetworkDiagnosticsClusterRouteTable { - 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 ThreadNetworkDiagnosticsClusterRouteTable( - 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("ThreadNetworkDiagnosticsClusterRouteTable {\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 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 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 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 ClientMonitoringClusterMonitoringRegistration { - public Long clientNodeId; - public Long ICid; - public Integer fabricIndex; - - public ClientMonitoringClusterMonitoringRegistration( - Long clientNodeId, Long ICid, Integer fabricIndex) { - this.clientNodeId = clientNodeId; - this.ICid = ICid; - this.fabricIndex = fabricIndex; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ClientMonitoringClusterMonitoringRegistration {\n"); - output.append("\tclientNodeId: "); - output.append(clientNodeId); - output.append("\n"); - output.append("\tICid: "); - output.append(ICid); - output.append("\n"); - output.append("\tfabricIndex: "); - output.append(fabricIndex); - 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 ArrayList attributeValue; + + public ScenesClusterAttributeValuePair( + Optional attributeID + , ArrayList 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 AccessControlClusterTarget { +public @Nullable Long cluster; +public @Nullable Integer endpoint; +public @Nullable Long deviceType; + + public AccessControlClusterTarget( + @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("AccessControlClusterTarget {\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 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 ThreadNetworkDiagnosticsClusterNeighborTable { +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 ThreadNetworkDiagnosticsClusterNeighborTable( + 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("ThreadNetworkDiagnosticsClusterNeighborTable {\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 ThreadNetworkDiagnosticsClusterRouteTable { +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 ThreadNetworkDiagnosticsClusterRouteTable( + 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("ThreadNetworkDiagnosticsClusterRouteTable {\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 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 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 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 ClientMonitoringClusterMonitoringRegistration { +public Long clientNodeId; +public Long ICid; +public Integer fabricIndex; + + public ClientMonitoringClusterMonitoringRegistration( + Long clientNodeId + , Long ICid + , Integer fabricIndex + ) { + this.clientNodeId = clientNodeId; + this.ICid = ICid; + this.fabricIndex = fabricIndex; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ClientMonitoringClusterMonitoringRegistration {\n"); + output.append("\tclientNodeId: "); + output.append(clientNodeId); + output.append("\n"); + output.append("\tICid: "); + output.append(ICid); + output.append("\n"); + output.append("\tfabricIndex: "); + output.append(fabricIndex); + 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 e532a920d45eaa..116bfed299c48e 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java @@ -19,13 +19,7 @@ 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; @@ -33,11 +27,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; @@ -60,8 +62,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; @@ -84,8 +85,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 @@ -107,8 +107,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 @@ -130,8 +129,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 @@ -153,8 +151,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 @@ -176,8 +173,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 @@ -199,8 +195,7 @@ public void onError(Exception error) { } } - public static class DelegatedDefaultClusterCallback - implements DefaultClusterCallback, DelegatedClusterCallback { + public static class DelegatedDefaultClusterCallback implements DefaultClusterCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @Override @@ -208,8 +203,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<>(); @@ -221,17970 +215,14608 @@ 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 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 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 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 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 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 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 DelegatedClientMonitoringClusterExpectedClientsAttributeCallback implements ChipClusters.ClientMonitoringCluster.ExpectedClientsAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedClientMonitoringClusterGeneratedCommandListAttributeCallback implements ChipClusters.ClientMonitoringCluster.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 DelegatedClientMonitoringClusterAcceptedCommandListAttributeCallback implements ChipClusters.ClientMonitoringCluster.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 DelegatedClientMonitoringClusterEventListAttributeCallback implements ChipClusters.ClientMonitoringCluster.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 DelegatedClientMonitoringClusterAttributeListAttributeCallback implements ChipClusters.ClientMonitoringCluster.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 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 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 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 booleanStateClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.BooleanStateCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("booleanState", booleanStateClusterInfo); + ClusterInfo modeSelectClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ModeSelectCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("modeSelect", modeSelectClusterInfo); + 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 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 clientMonitoringClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ClientMonitoringCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("clientMonitoring", clientMonitoringClusterInfo); + ClusterInfo unitTestingClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.UnitTestingCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("unitTesting", unitTestingClusterInfo); + 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("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("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("booleanState").combineCommands(source.get("booleanState")); + destination.get("modeSelect").combineCommands(source.get("modeSelect")); + 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("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("clientMonitoring").combineCommands(source.get("clientMonitoring")); + destination.get("unitTesting").combineCommands(source.get("unitTesting")); + } + + @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, Object.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 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, Object.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 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, Object.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 booleanStateClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("booleanState", booleanStateClusterInteractionInfoMap); + 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 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 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 clientMonitoringClusterInteractionInfoMap = new LinkedHashMap<>(); + Map clientMonitoringregisterClientMonitoringCommandParams = new LinkedHashMap(); + CommandParameterInfo clientMonitoringregisterClientMonitoringclientNodeIdCommandParameterInfo = new CommandParameterInfo("clientNodeId", Long.class, Long.class); + clientMonitoringregisterClientMonitoringCommandParams.put("clientNodeId",clientMonitoringregisterClientMonitoringclientNodeIdCommandParameterInfo); + + CommandParameterInfo clientMonitoringregisterClientMonitoringICidCommandParameterInfo = new CommandParameterInfo("ICid", Long.class, Long.class); + clientMonitoringregisterClientMonitoringCommandParams.put("ICid",clientMonitoringregisterClientMonitoringICidCommandParameterInfo); + + InteractionInfo clientMonitoringregisterClientMonitoringInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster) + .registerClientMonitoring((DefaultClusterCallback) callback + , (Long) + commandArguments.get("clientNodeId") + , (Long) + commandArguments.get("ICid") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + clientMonitoringregisterClientMonitoringCommandParams + ); + clientMonitoringClusterInteractionInfoMap.put("registerClientMonitoring", clientMonitoringregisterClientMonitoringInteractionInfo); + Map clientMonitoringunregisterClientMonitoringCommandParams = new LinkedHashMap(); + CommandParameterInfo clientMonitoringunregisterClientMonitoringclientNodeIdCommandParameterInfo = new CommandParameterInfo("clientNodeId", Long.class, Long.class); + clientMonitoringunregisterClientMonitoringCommandParams.put("clientNodeId",clientMonitoringunregisterClientMonitoringclientNodeIdCommandParameterInfo); + + CommandParameterInfo clientMonitoringunregisterClientMonitoringICidCommandParameterInfo = new CommandParameterInfo("ICid", Long.class, Long.class); + clientMonitoringunregisterClientMonitoringCommandParams.put("ICid",clientMonitoringunregisterClientMonitoringICidCommandParameterInfo); + + InteractionInfo clientMonitoringunregisterClientMonitoringInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster) + .unregisterClientMonitoring((DefaultClusterCallback) callback + , (Long) + commandArguments.get("clientNodeId") + , (Long) + commandArguments.get("ICid") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + clientMonitoringunregisterClientMonitoringCommandParams + ); + clientMonitoringClusterInteractionInfoMap.put("unregisterClientMonitoring", clientMonitoringunregisterClientMonitoringInteractionInfo); + commandMap.put("clientMonitoring", clientMonitoringClusterInteractionInfoMap); + 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, Object.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, Object.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); + 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 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 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 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 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 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 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 DelegatedClientMonitoringClusterExpectedClientsAttributeCallback - implements ChipClusters.ClientMonitoringCluster.ExpectedClientsAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedClientMonitoringClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ClientMonitoringCluster.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 DelegatedClientMonitoringClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ClientMonitoringCluster.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 DelegatedClientMonitoringClusterEventListAttributeCallback - implements ChipClusters.ClientMonitoringCluster.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 DelegatedClientMonitoringClusterAttributeListAttributeCallback - implements ChipClusters.ClientMonitoringCluster.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 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 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 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 booleanStateClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.BooleanStateCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("booleanState", booleanStateClusterInfo); - ClusterInfo modeSelectClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.ModeSelectCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("modeSelect", modeSelectClusterInfo); - 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 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 clientMonitoringClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.ClientMonitoringCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("clientMonitoring", clientMonitoringClusterInfo); - ClusterInfo unitTestingClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.UnitTestingCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("unitTesting", unitTestingClusterInfo); - 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("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("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("booleanState").combineCommands(source.get("booleanState")); - destination.get("modeSelect").combineCommands(source.get("modeSelect")); - 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("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("clientMonitoring").combineCommands(source.get("clientMonitoring")); - destination.get("unitTesting").combineCommands(source.get("unitTesting")); - } - - @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, Object.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 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, Object.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 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, Object.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 booleanStateClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("booleanState", booleanStateClusterInteractionInfoMap); - 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 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 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 clientMonitoringClusterInteractionInfoMap = new LinkedHashMap<>(); - Map clientMonitoringregisterClientMonitoringCommandParams = - new LinkedHashMap(); - CommandParameterInfo clientMonitoringregisterClientMonitoringclientNodeIdCommandParameterInfo = - new CommandParameterInfo("clientNodeId", Long.class, Long.class); - clientMonitoringregisterClientMonitoringCommandParams.put( - "clientNodeId", clientMonitoringregisterClientMonitoringclientNodeIdCommandParameterInfo); - - CommandParameterInfo clientMonitoringregisterClientMonitoringICidCommandParameterInfo = - new CommandParameterInfo("ICid", Long.class, Long.class); - clientMonitoringregisterClientMonitoringCommandParams.put( - "ICid", clientMonitoringregisterClientMonitoringICidCommandParameterInfo); - - InteractionInfo clientMonitoringregisterClientMonitoringInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster) - .registerClientMonitoring( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("clientNodeId"), - (Long) commandArguments.get("ICid")); - }, - () -> new DelegatedDefaultClusterCallback(), - clientMonitoringregisterClientMonitoringCommandParams); - clientMonitoringClusterInteractionInfoMap.put( - "registerClientMonitoring", clientMonitoringregisterClientMonitoringInteractionInfo); - Map clientMonitoringunregisterClientMonitoringCommandParams = - new LinkedHashMap(); - CommandParameterInfo - clientMonitoringunregisterClientMonitoringclientNodeIdCommandParameterInfo = - new CommandParameterInfo("clientNodeId", Long.class, Long.class); - clientMonitoringunregisterClientMonitoringCommandParams.put( - "clientNodeId", clientMonitoringunregisterClientMonitoringclientNodeIdCommandParameterInfo); - - CommandParameterInfo clientMonitoringunregisterClientMonitoringICidCommandParameterInfo = - new CommandParameterInfo("ICid", Long.class, Long.class); - clientMonitoringunregisterClientMonitoringCommandParams.put( - "ICid", clientMonitoringunregisterClientMonitoringICidCommandParameterInfo); - - InteractionInfo clientMonitoringunregisterClientMonitoringInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster) - .unregisterClientMonitoring( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("clientNodeId"), - (Long) commandArguments.get("ICid")); - }, - () -> new DelegatedDefaultClusterCallback(), - clientMonitoringunregisterClientMonitoringCommandParams); - clientMonitoringClusterInteractionInfoMap.put( - "unregisterClientMonitoring", clientMonitoringunregisterClientMonitoringInteractionInfo); - commandMap.put("clientMonitoring", clientMonitoringClusterInteractionInfoMap); - 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, Object.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, Object.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); - return commandMap; - } -} diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java b/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java index 59f9942c5c7c51..102c67c7b59711 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java @@ -29,16622 +29,14623 @@ public class ClusterReadMapping { public Map> getReadAttributeMap() { Map> readAttributeMap = new HashMap<>(); - Map readIdentifyInteractionInfo = new LinkedHashMap<>(); - Map readIdentifyIdentifyTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readIdentifyIdentifyTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster) - .readIdentifyTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readIdentifyIdentifyTimeCommandParams); - readIdentifyInteractionInfo.put( - "readIdentifyTimeAttribute", readIdentifyIdentifyTimeAttributeInteractionInfo); - Map readIdentifyIdentifyTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readIdentifyIdentifyTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster) - .readIdentifyTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readIdentifyIdentifyTypeCommandParams); - readIdentifyInteractionInfo.put( - "readIdentifyTypeAttribute", readIdentifyIdentifyTypeAttributeInteractionInfo); - Map readIdentifyGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readIdentifyGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.IdentifyCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedIdentifyClusterGeneratedCommandListAttributeCallback(), - readIdentifyGeneratedCommandListCommandParams); - readIdentifyInteractionInfo.put( - "readGeneratedCommandListAttribute", - readIdentifyGeneratedCommandListAttributeInteractionInfo); - Map readIdentifyAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readIdentifyAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.IdentifyCluster.AcceptedCommandListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedIdentifyClusterAcceptedCommandListAttributeCallback(), - readIdentifyAcceptedCommandListCommandParams); - readIdentifyInteractionInfo.put( - "readAcceptedCommandListAttribute", - readIdentifyAcceptedCommandListAttributeInteractionInfo); - Map readIdentifyEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readIdentifyEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster) - .readEventListAttribute( - (ChipClusters.IdentifyCluster.EventListAttributeCallback) callback); - }, + Map readIdentifyInteractionInfo = new LinkedHashMap<>(); + Map readIdentifyIdentifyTimeCommandParams = new LinkedHashMap(); + InteractionInfo readIdentifyIdentifyTimeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster).readIdentifyTimeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readIdentifyIdentifyTimeCommandParams + ); + readIdentifyInteractionInfo.put("readIdentifyTimeAttribute", readIdentifyIdentifyTimeAttributeInteractionInfo); + Map readIdentifyIdentifyTypeCommandParams = new LinkedHashMap(); + InteractionInfo readIdentifyIdentifyTypeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster).readIdentifyTypeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readIdentifyIdentifyTypeCommandParams + ); + readIdentifyInteractionInfo.put("readIdentifyTypeAttribute", readIdentifyIdentifyTypeAttributeInteractionInfo); + Map readIdentifyGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readIdentifyGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.IdentifyCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIdentifyClusterGeneratedCommandListAttributeCallback(), + readIdentifyGeneratedCommandListCommandParams + ); + readIdentifyInteractionInfo.put("readGeneratedCommandListAttribute", readIdentifyGeneratedCommandListAttributeInteractionInfo); + Map readIdentifyAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readIdentifyAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.IdentifyCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIdentifyClusterAcceptedCommandListAttributeCallback(), + readIdentifyAcceptedCommandListCommandParams + ); + readIdentifyInteractionInfo.put("readAcceptedCommandListAttribute", readIdentifyAcceptedCommandListAttributeInteractionInfo); + Map readIdentifyEventListCommandParams = new LinkedHashMap(); + InteractionInfo readIdentifyEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster).readEventListAttribute( + ( ChipClusters.IdentifyCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedIdentifyClusterEventListAttributeCallback(), - readIdentifyEventListCommandParams); - readIdentifyInteractionInfo.put( - "readEventListAttribute", readIdentifyEventListAttributeInteractionInfo); - Map readIdentifyAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readIdentifyAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.IdentifyCluster.AttributeListAttributeCallback) callback); - }, + readIdentifyEventListCommandParams + ); + readIdentifyInteractionInfo.put("readEventListAttribute", readIdentifyEventListAttributeInteractionInfo); + Map readIdentifyAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readIdentifyAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster).readAttributeListAttribute( + ( ChipClusters.IdentifyCluster.AttributeListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedIdentifyClusterAttributeListAttributeCallback(), - readIdentifyAttributeListCommandParams); - readIdentifyInteractionInfo.put( - "readAttributeListAttribute", readIdentifyAttributeListAttributeInteractionInfo); - Map readIdentifyFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readIdentifyFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readIdentifyFeatureMapCommandParams); - readIdentifyInteractionInfo.put( - "readFeatureMapAttribute", readIdentifyFeatureMapAttributeInteractionInfo); - Map readIdentifyClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readIdentifyClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readIdentifyClusterRevisionCommandParams); - readIdentifyInteractionInfo.put( - "readClusterRevisionAttribute", readIdentifyClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("identify", readIdentifyInteractionInfo); - Map readGroupsInteractionInfo = new LinkedHashMap<>(); - Map readGroupsNameSupportCommandParams = - new LinkedHashMap(); - InteractionInfo readGroupsNameSupportAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupsCluster) cluster) - .readNameSupportAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readGroupsNameSupportCommandParams); - readGroupsInteractionInfo.put( - "readNameSupportAttribute", readGroupsNameSupportAttributeInteractionInfo); - Map readGroupsGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readGroupsGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupsCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.GroupsCluster.GeneratedCommandListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedGroupsClusterGeneratedCommandListAttributeCallback(), - readGroupsGeneratedCommandListCommandParams); - readGroupsInteractionInfo.put( - "readGeneratedCommandListAttribute", - readGroupsGeneratedCommandListAttributeInteractionInfo); - Map readGroupsAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readGroupsAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupsCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.GroupsCluster.AcceptedCommandListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedGroupsClusterAcceptedCommandListAttributeCallback(), - readGroupsAcceptedCommandListCommandParams); - readGroupsInteractionInfo.put( - "readAcceptedCommandListAttribute", readGroupsAcceptedCommandListAttributeInteractionInfo); - Map readGroupsEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readGroupsEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupsCluster) cluster) - .readEventListAttribute( - (ChipClusters.GroupsCluster.EventListAttributeCallback) callback); - }, + readIdentifyAttributeListCommandParams + ); + readIdentifyInteractionInfo.put("readAttributeListAttribute", readIdentifyAttributeListAttributeInteractionInfo); + Map readIdentifyFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readIdentifyFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readIdentifyFeatureMapCommandParams + ); + readIdentifyInteractionInfo.put("readFeatureMapAttribute", readIdentifyFeatureMapAttributeInteractionInfo); + Map readIdentifyClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readIdentifyClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readIdentifyClusterRevisionCommandParams + ); + readIdentifyInteractionInfo.put("readClusterRevisionAttribute", readIdentifyClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("identify", readIdentifyInteractionInfo); + Map readGroupsInteractionInfo = new LinkedHashMap<>(); + Map readGroupsNameSupportCommandParams = new LinkedHashMap(); + InteractionInfo readGroupsNameSupportAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupsCluster) cluster).readNameSupportAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readGroupsNameSupportCommandParams + ); + readGroupsInteractionInfo.put("readNameSupportAttribute", readGroupsNameSupportAttributeInteractionInfo); + Map readGroupsGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readGroupsGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupsCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.GroupsCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedGroupsClusterGeneratedCommandListAttributeCallback(), + readGroupsGeneratedCommandListCommandParams + ); + readGroupsInteractionInfo.put("readGeneratedCommandListAttribute", readGroupsGeneratedCommandListAttributeInteractionInfo); + Map readGroupsAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readGroupsAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupsCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.GroupsCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedGroupsClusterAcceptedCommandListAttributeCallback(), + readGroupsAcceptedCommandListCommandParams + ); + readGroupsInteractionInfo.put("readAcceptedCommandListAttribute", readGroupsAcceptedCommandListAttributeInteractionInfo); + Map readGroupsEventListCommandParams = new LinkedHashMap(); + InteractionInfo readGroupsEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupsCluster) cluster).readEventListAttribute( + ( ChipClusters.GroupsCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedGroupsClusterEventListAttributeCallback(), - readGroupsEventListCommandParams); - readGroupsInteractionInfo.put( - "readEventListAttribute", readGroupsEventListAttributeInteractionInfo); - Map readGroupsAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readGroupsAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupsCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.GroupsCluster.AttributeListAttributeCallback) callback); - }, + readGroupsEventListCommandParams + ); + readGroupsInteractionInfo.put("readEventListAttribute", readGroupsEventListAttributeInteractionInfo); + Map readGroupsAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readGroupsAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupsCluster) cluster).readAttributeListAttribute( + ( ChipClusters.GroupsCluster.AttributeListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedGroupsClusterAttributeListAttributeCallback(), - readGroupsAttributeListCommandParams); - readGroupsInteractionInfo.put( - "readAttributeListAttribute", readGroupsAttributeListAttributeInteractionInfo); - Map readGroupsFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readGroupsFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupsCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readGroupsFeatureMapCommandParams); - readGroupsInteractionInfo.put( - "readFeatureMapAttribute", readGroupsFeatureMapAttributeInteractionInfo); - Map readGroupsClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readGroupsClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupsCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readGroupsClusterRevisionCommandParams); - readGroupsInteractionInfo.put( - "readClusterRevisionAttribute", readGroupsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("groups", readGroupsInteractionInfo); - Map readScenesInteractionInfo = new LinkedHashMap<>(); - Map readScenesSceneCountCommandParams = - new LinkedHashMap(); - InteractionInfo readScenesSceneCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .readSceneCountAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readScenesSceneCountCommandParams); - readScenesInteractionInfo.put( - "readSceneCountAttribute", readScenesSceneCountAttributeInteractionInfo); - Map readScenesCurrentSceneCommandParams = - new LinkedHashMap(); - InteractionInfo readScenesCurrentSceneAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .readCurrentSceneAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readScenesCurrentSceneCommandParams); - readScenesInteractionInfo.put( - "readCurrentSceneAttribute", readScenesCurrentSceneAttributeInteractionInfo); - Map readScenesCurrentGroupCommandParams = - new LinkedHashMap(); - InteractionInfo readScenesCurrentGroupAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .readCurrentGroupAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readScenesCurrentGroupCommandParams); - readScenesInteractionInfo.put( - "readCurrentGroupAttribute", readScenesCurrentGroupAttributeInteractionInfo); - Map readScenesSceneValidCommandParams = - new LinkedHashMap(); - InteractionInfo readScenesSceneValidAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .readSceneValidAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, + readGroupsAttributeListCommandParams + ); + readGroupsInteractionInfo.put("readAttributeListAttribute", readGroupsAttributeListAttributeInteractionInfo); + Map readGroupsFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readGroupsFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupsCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readGroupsFeatureMapCommandParams + ); + readGroupsInteractionInfo.put("readFeatureMapAttribute", readGroupsFeatureMapAttributeInteractionInfo); + Map readGroupsClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readGroupsClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupsCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readGroupsClusterRevisionCommandParams + ); + readGroupsInteractionInfo.put("readClusterRevisionAttribute", readGroupsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("groups", readGroupsInteractionInfo); + Map readScenesInteractionInfo = new LinkedHashMap<>(); + Map readScenesSceneCountCommandParams = new LinkedHashMap(); + InteractionInfo readScenesSceneCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster).readSceneCountAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readScenesSceneCountCommandParams + ); + readScenesInteractionInfo.put("readSceneCountAttribute", readScenesSceneCountAttributeInteractionInfo); + Map readScenesCurrentSceneCommandParams = new LinkedHashMap(); + InteractionInfo readScenesCurrentSceneAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster).readCurrentSceneAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readScenesCurrentSceneCommandParams + ); + readScenesInteractionInfo.put("readCurrentSceneAttribute", readScenesCurrentSceneAttributeInteractionInfo); + Map readScenesCurrentGroupCommandParams = new LinkedHashMap(); + InteractionInfo readScenesCurrentGroupAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster).readCurrentGroupAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readScenesCurrentGroupCommandParams + ); + readScenesInteractionInfo.put("readCurrentGroupAttribute", readScenesCurrentGroupAttributeInteractionInfo); + Map readScenesSceneValidCommandParams = new LinkedHashMap(); + InteractionInfo readScenesSceneValidAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster).readSceneValidAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readScenesSceneValidCommandParams); - readScenesInteractionInfo.put( - "readSceneValidAttribute", readScenesSceneValidAttributeInteractionInfo); - Map readScenesNameSupportCommandParams = - new LinkedHashMap(); - InteractionInfo readScenesNameSupportAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .readNameSupportAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readScenesNameSupportCommandParams); - readScenesInteractionInfo.put( - "readNameSupportAttribute", readScenesNameSupportAttributeInteractionInfo); - Map readScenesLastConfiguredByCommandParams = - new LinkedHashMap(); - InteractionInfo readScenesLastConfiguredByAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .readLastConfiguredByAttribute( - (ChipClusters.ScenesCluster.LastConfiguredByAttributeCallback) callback); - }, + readScenesSceneValidCommandParams + ); + readScenesInteractionInfo.put("readSceneValidAttribute", readScenesSceneValidAttributeInteractionInfo); + Map readScenesNameSupportCommandParams = new LinkedHashMap(); + InteractionInfo readScenesNameSupportAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster).readNameSupportAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readScenesNameSupportCommandParams + ); + readScenesInteractionInfo.put("readNameSupportAttribute", readScenesNameSupportAttributeInteractionInfo); + Map readScenesLastConfiguredByCommandParams = new LinkedHashMap(); + InteractionInfo readScenesLastConfiguredByAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster).readLastConfiguredByAttribute( + ( ChipClusters.ScenesCluster.LastConfiguredByAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedScenesClusterLastConfiguredByAttributeCallback(), - readScenesLastConfiguredByCommandParams); - readScenesInteractionInfo.put( - "readLastConfiguredByAttribute", readScenesLastConfiguredByAttributeInteractionInfo); - Map readScenesGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readScenesGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.ScenesCluster.GeneratedCommandListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedScenesClusterGeneratedCommandListAttributeCallback(), - readScenesGeneratedCommandListCommandParams); - readScenesInteractionInfo.put( - "readGeneratedCommandListAttribute", - readScenesGeneratedCommandListAttributeInteractionInfo); - Map readScenesAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readScenesAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.ScenesCluster.AcceptedCommandListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedScenesClusterAcceptedCommandListAttributeCallback(), - readScenesAcceptedCommandListCommandParams); - readScenesInteractionInfo.put( - "readAcceptedCommandListAttribute", readScenesAcceptedCommandListAttributeInteractionInfo); - Map readScenesEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readScenesEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .readEventListAttribute( - (ChipClusters.ScenesCluster.EventListAttributeCallback) callback); - }, + readScenesLastConfiguredByCommandParams + ); + readScenesInteractionInfo.put("readLastConfiguredByAttribute", readScenesLastConfiguredByAttributeInteractionInfo); + Map readScenesGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readScenesGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.ScenesCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedScenesClusterGeneratedCommandListAttributeCallback(), + readScenesGeneratedCommandListCommandParams + ); + readScenesInteractionInfo.put("readGeneratedCommandListAttribute", readScenesGeneratedCommandListAttributeInteractionInfo); + Map readScenesAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readScenesAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.ScenesCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedScenesClusterAcceptedCommandListAttributeCallback(), + readScenesAcceptedCommandListCommandParams + ); + readScenesInteractionInfo.put("readAcceptedCommandListAttribute", readScenesAcceptedCommandListAttributeInteractionInfo); + Map readScenesEventListCommandParams = new LinkedHashMap(); + InteractionInfo readScenesEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster).readEventListAttribute( + ( ChipClusters.ScenesCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedScenesClusterEventListAttributeCallback(), - readScenesEventListCommandParams); - readScenesInteractionInfo.put( - "readEventListAttribute", readScenesEventListAttributeInteractionInfo); - Map readScenesAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readScenesAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.ScenesCluster.AttributeListAttributeCallback) callback); - }, + readScenesEventListCommandParams + ); + readScenesInteractionInfo.put("readEventListAttribute", readScenesEventListAttributeInteractionInfo); + Map readScenesAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readScenesAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster).readAttributeListAttribute( + ( ChipClusters.ScenesCluster.AttributeListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedScenesClusterAttributeListAttributeCallback(), - readScenesAttributeListCommandParams); - readScenesInteractionInfo.put( - "readAttributeListAttribute", readScenesAttributeListAttributeInteractionInfo); - Map readScenesFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readScenesFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readScenesFeatureMapCommandParams); - readScenesInteractionInfo.put( - "readFeatureMapAttribute", readScenesFeatureMapAttributeInteractionInfo); - Map readScenesClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readScenesClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readScenesClusterRevisionCommandParams); - readScenesInteractionInfo.put( - "readClusterRevisionAttribute", readScenesClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("scenes", readScenesInteractionInfo); - Map readOnOffInteractionInfo = new LinkedHashMap<>(); - Map readOnOffOnOffCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffOnOffAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .readOnOffAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, + readScenesAttributeListCommandParams + ); + readScenesInteractionInfo.put("readAttributeListAttribute", readScenesAttributeListAttributeInteractionInfo); + Map readScenesFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readScenesFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readScenesFeatureMapCommandParams + ); + readScenesInteractionInfo.put("readFeatureMapAttribute", readScenesFeatureMapAttributeInteractionInfo); + Map readScenesClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readScenesClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readScenesClusterRevisionCommandParams + ); + readScenesInteractionInfo.put("readClusterRevisionAttribute", readScenesClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("scenes", readScenesInteractionInfo); + Map readOnOffInteractionInfo = new LinkedHashMap<>(); + Map readOnOffOnOffCommandParams = new LinkedHashMap(); + InteractionInfo readOnOffOnOffAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster).readOnOffAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readOnOffOnOffCommandParams); - readOnOffInteractionInfo.put("readOnOffAttribute", readOnOffOnOffAttributeInteractionInfo); - Map readOnOffGlobalSceneControlCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffGlobalSceneControlAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .readGlobalSceneControlAttribute( - (ChipClusters.BooleanAttributeCallback) callback); - }, + readOnOffOnOffCommandParams + ); + readOnOffInteractionInfo.put("readOnOffAttribute", readOnOffOnOffAttributeInteractionInfo); + Map readOnOffGlobalSceneControlCommandParams = new LinkedHashMap(); + InteractionInfo readOnOffGlobalSceneControlAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster).readGlobalSceneControlAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readOnOffGlobalSceneControlCommandParams); - readOnOffInteractionInfo.put( - "readGlobalSceneControlAttribute", readOnOffGlobalSceneControlAttributeInteractionInfo); - Map readOnOffOnTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffOnTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .readOnTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOnOffOnTimeCommandParams); - readOnOffInteractionInfo.put("readOnTimeAttribute", readOnOffOnTimeAttributeInteractionInfo); - Map readOnOffOffWaitTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffOffWaitTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .readOffWaitTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOnOffOffWaitTimeCommandParams); - readOnOffInteractionInfo.put( - "readOffWaitTimeAttribute", readOnOffOffWaitTimeAttributeInteractionInfo); - Map readOnOffStartUpOnOffCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffStartUpOnOffAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .readStartUpOnOffAttribute( - (ChipClusters.OnOffCluster.StartUpOnOffAttributeCallback) callback); - }, + readOnOffGlobalSceneControlCommandParams + ); + readOnOffInteractionInfo.put("readGlobalSceneControlAttribute", readOnOffGlobalSceneControlAttributeInteractionInfo); + Map readOnOffOnTimeCommandParams = new LinkedHashMap(); + InteractionInfo readOnOffOnTimeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster).readOnTimeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOnOffOnTimeCommandParams + ); + readOnOffInteractionInfo.put("readOnTimeAttribute", readOnOffOnTimeAttributeInteractionInfo); + Map readOnOffOffWaitTimeCommandParams = new LinkedHashMap(); + InteractionInfo readOnOffOffWaitTimeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster).readOffWaitTimeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOnOffOffWaitTimeCommandParams + ); + readOnOffInteractionInfo.put("readOffWaitTimeAttribute", readOnOffOffWaitTimeAttributeInteractionInfo); + Map readOnOffStartUpOnOffCommandParams = new LinkedHashMap(); + InteractionInfo readOnOffStartUpOnOffAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster).readStartUpOnOffAttribute( + ( ChipClusters.OnOffCluster.StartUpOnOffAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedOnOffClusterStartUpOnOffAttributeCallback(), - readOnOffStartUpOnOffCommandParams); - readOnOffInteractionInfo.put( - "readStartUpOnOffAttribute", readOnOffStartUpOnOffAttributeInteractionInfo); - Map readOnOffGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.OnOffCluster.GeneratedCommandListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedOnOffClusterGeneratedCommandListAttributeCallback(), - readOnOffGeneratedCommandListCommandParams); - readOnOffInteractionInfo.put( - "readGeneratedCommandListAttribute", readOnOffGeneratedCommandListAttributeInteractionInfo); - Map readOnOffAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.OnOffCluster.AcceptedCommandListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedOnOffClusterAcceptedCommandListAttributeCallback(), - readOnOffAcceptedCommandListCommandParams); - readOnOffInteractionInfo.put( - "readAcceptedCommandListAttribute", readOnOffAcceptedCommandListAttributeInteractionInfo); - Map readOnOffEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .readEventListAttribute( - (ChipClusters.OnOffCluster.EventListAttributeCallback) callback); - }, + readOnOffStartUpOnOffCommandParams + ); + readOnOffInteractionInfo.put("readStartUpOnOffAttribute", readOnOffStartUpOnOffAttributeInteractionInfo); + Map readOnOffGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readOnOffGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.OnOffCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOnOffClusterGeneratedCommandListAttributeCallback(), + readOnOffGeneratedCommandListCommandParams + ); + readOnOffInteractionInfo.put("readGeneratedCommandListAttribute", readOnOffGeneratedCommandListAttributeInteractionInfo); + Map readOnOffAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readOnOffAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.OnOffCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOnOffClusterAcceptedCommandListAttributeCallback(), + readOnOffAcceptedCommandListCommandParams + ); + readOnOffInteractionInfo.put("readAcceptedCommandListAttribute", readOnOffAcceptedCommandListAttributeInteractionInfo); + Map readOnOffEventListCommandParams = new LinkedHashMap(); + InteractionInfo readOnOffEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster).readEventListAttribute( + ( ChipClusters.OnOffCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedOnOffClusterEventListAttributeCallback(), - readOnOffEventListCommandParams); - readOnOffInteractionInfo.put( - "readEventListAttribute", readOnOffEventListAttributeInteractionInfo); - Map readOnOffAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.OnOffCluster.AttributeListAttributeCallback) callback); - }, + readOnOffEventListCommandParams + ); + readOnOffInteractionInfo.put("readEventListAttribute", readOnOffEventListAttributeInteractionInfo); + Map readOnOffAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readOnOffAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster).readAttributeListAttribute( + ( ChipClusters.OnOffCluster.AttributeListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedOnOffClusterAttributeListAttributeCallback(), - readOnOffAttributeListCommandParams); - readOnOffInteractionInfo.put( - "readAttributeListAttribute", readOnOffAttributeListAttributeInteractionInfo); - Map readOnOffFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readOnOffFeatureMapCommandParams); - readOnOffInteractionInfo.put( - "readFeatureMapAttribute", readOnOffFeatureMapAttributeInteractionInfo); - Map readOnOffClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOnOffClusterRevisionCommandParams); - readOnOffInteractionInfo.put( - "readClusterRevisionAttribute", readOnOffClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("onOff", readOnOffInteractionInfo); - Map readOnOffSwitchConfigurationInteractionInfo = - new LinkedHashMap<>(); - Map readOnOffSwitchConfigurationSwitchTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffSwitchConfigurationSwitchTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) - .readSwitchTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOnOffSwitchConfigurationSwitchTypeCommandParams); - readOnOffSwitchConfigurationInteractionInfo.put( - "readSwitchTypeAttribute", readOnOffSwitchConfigurationSwitchTypeAttributeInteractionInfo); - Map readOnOffSwitchConfigurationSwitchActionsCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffSwitchConfigurationSwitchActionsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) - .readSwitchActionsAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOnOffSwitchConfigurationSwitchActionsCommandParams); - readOnOffSwitchConfigurationInteractionInfo.put( - "readSwitchActionsAttribute", - readOnOffSwitchConfigurationSwitchActionsAttributeInteractionInfo); - Map - readOnOffSwitchConfigurationGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffSwitchConfigurationGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.OnOffSwitchConfigurationCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOnOffSwitchConfigurationClusterGeneratedCommandListAttributeCallback(), - readOnOffSwitchConfigurationGeneratedCommandListCommandParams); - readOnOffSwitchConfigurationInteractionInfo.put( - "readGeneratedCommandListAttribute", - readOnOffSwitchConfigurationGeneratedCommandListAttributeInteractionInfo); - Map readOnOffSwitchConfigurationAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffSwitchConfigurationAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.OnOffSwitchConfigurationCluster - .AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOnOffSwitchConfigurationClusterAcceptedCommandListAttributeCallback(), - readOnOffSwitchConfigurationAcceptedCommandListCommandParams); - readOnOffSwitchConfigurationInteractionInfo.put( - "readAcceptedCommandListAttribute", - readOnOffSwitchConfigurationAcceptedCommandListAttributeInteractionInfo); - Map readOnOffSwitchConfigurationEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffSwitchConfigurationEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) - .readEventListAttribute( - (ChipClusters.OnOffSwitchConfigurationCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOnOffSwitchConfigurationClusterEventListAttributeCallback(), - readOnOffSwitchConfigurationEventListCommandParams); - readOnOffSwitchConfigurationInteractionInfo.put( - "readEventListAttribute", readOnOffSwitchConfigurationEventListAttributeInteractionInfo); - Map readOnOffSwitchConfigurationAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffSwitchConfigurationAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.OnOffSwitchConfigurationCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOnOffSwitchConfigurationClusterAttributeListAttributeCallback(), - readOnOffSwitchConfigurationAttributeListCommandParams); - readOnOffSwitchConfigurationInteractionInfo.put( - "readAttributeListAttribute", - readOnOffSwitchConfigurationAttributeListAttributeInteractionInfo); - Map readOnOffSwitchConfigurationFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffSwitchConfigurationFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readOnOffSwitchConfigurationFeatureMapCommandParams); - readOnOffSwitchConfigurationInteractionInfo.put( - "readFeatureMapAttribute", readOnOffSwitchConfigurationFeatureMapAttributeInteractionInfo); - Map readOnOffSwitchConfigurationClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readOnOffSwitchConfigurationClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOnOffSwitchConfigurationClusterRevisionCommandParams); - readOnOffSwitchConfigurationInteractionInfo.put( - "readClusterRevisionAttribute", - readOnOffSwitchConfigurationClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("onOffSwitchConfiguration", readOnOffSwitchConfigurationInteractionInfo); - Map readLevelControlInteractionInfo = new LinkedHashMap<>(); - Map readLevelControlCurrentLevelCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlCurrentLevelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readCurrentLevelAttribute( - (ChipClusters.LevelControlCluster.CurrentLevelAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedLevelControlClusterCurrentLevelAttributeCallback(), - readLevelControlCurrentLevelCommandParams); - readLevelControlInteractionInfo.put( - "readCurrentLevelAttribute", readLevelControlCurrentLevelAttributeInteractionInfo); - Map readLevelControlRemainingTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlRemainingTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readRemainingTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readLevelControlRemainingTimeCommandParams); - readLevelControlInteractionInfo.put( - "readRemainingTimeAttribute", readLevelControlRemainingTimeAttributeInteractionInfo); - Map readLevelControlMinLevelCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlMinLevelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readMinLevelAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readLevelControlMinLevelCommandParams); - readLevelControlInteractionInfo.put( - "readMinLevelAttribute", readLevelControlMinLevelAttributeInteractionInfo); - Map readLevelControlMaxLevelCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlMaxLevelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readMaxLevelAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readLevelControlMaxLevelCommandParams); - readLevelControlInteractionInfo.put( - "readMaxLevelAttribute", readLevelControlMaxLevelAttributeInteractionInfo); - Map readLevelControlCurrentFrequencyCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlCurrentFrequencyAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readCurrentFrequencyAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readLevelControlCurrentFrequencyCommandParams); - readLevelControlInteractionInfo.put( - "readCurrentFrequencyAttribute", readLevelControlCurrentFrequencyAttributeInteractionInfo); - Map readLevelControlMinFrequencyCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlMinFrequencyAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readMinFrequencyAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readLevelControlMinFrequencyCommandParams); - readLevelControlInteractionInfo.put( - "readMinFrequencyAttribute", readLevelControlMinFrequencyAttributeInteractionInfo); - Map readLevelControlMaxFrequencyCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlMaxFrequencyAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readMaxFrequencyAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readLevelControlMaxFrequencyCommandParams); - readLevelControlInteractionInfo.put( - "readMaxFrequencyAttribute", readLevelControlMaxFrequencyAttributeInteractionInfo); - Map readLevelControlOptionsCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlOptionsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readOptionsAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readLevelControlOptionsCommandParams); - readLevelControlInteractionInfo.put( - "readOptionsAttribute", readLevelControlOptionsAttributeInteractionInfo); - Map readLevelControlOnOffTransitionTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlOnOffTransitionTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readOnOffTransitionTimeAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readLevelControlOnOffTransitionTimeCommandParams); - readLevelControlInteractionInfo.put( - "readOnOffTransitionTimeAttribute", - readLevelControlOnOffTransitionTimeAttributeInteractionInfo); - Map readLevelControlOnLevelCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlOnLevelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readOnLevelAttribute( - (ChipClusters.LevelControlCluster.OnLevelAttributeCallback) callback); - }, + readOnOffAttributeListCommandParams + ); + readOnOffInteractionInfo.put("readAttributeListAttribute", readOnOffAttributeListAttributeInteractionInfo); + Map readOnOffFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readOnOffFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readOnOffFeatureMapCommandParams + ); + readOnOffInteractionInfo.put("readFeatureMapAttribute", readOnOffFeatureMapAttributeInteractionInfo); + Map readOnOffClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readOnOffClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOnOffClusterRevisionCommandParams + ); + readOnOffInteractionInfo.put("readClusterRevisionAttribute", readOnOffClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("onOff", readOnOffInteractionInfo); + Map readOnOffSwitchConfigurationInteractionInfo = new LinkedHashMap<>(); + Map readOnOffSwitchConfigurationSwitchTypeCommandParams = new LinkedHashMap(); + InteractionInfo readOnOffSwitchConfigurationSwitchTypeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffSwitchConfigurationCluster) cluster).readSwitchTypeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOnOffSwitchConfigurationSwitchTypeCommandParams + ); + readOnOffSwitchConfigurationInteractionInfo.put("readSwitchTypeAttribute", readOnOffSwitchConfigurationSwitchTypeAttributeInteractionInfo); + Map readOnOffSwitchConfigurationSwitchActionsCommandParams = new LinkedHashMap(); + InteractionInfo readOnOffSwitchConfigurationSwitchActionsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffSwitchConfigurationCluster) cluster).readSwitchActionsAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOnOffSwitchConfigurationSwitchActionsCommandParams + ); + readOnOffSwitchConfigurationInteractionInfo.put("readSwitchActionsAttribute", readOnOffSwitchConfigurationSwitchActionsAttributeInteractionInfo); + Map readOnOffSwitchConfigurationGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readOnOffSwitchConfigurationGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffSwitchConfigurationCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.OnOffSwitchConfigurationCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOnOffSwitchConfigurationClusterGeneratedCommandListAttributeCallback(), + readOnOffSwitchConfigurationGeneratedCommandListCommandParams + ); + readOnOffSwitchConfigurationInteractionInfo.put("readGeneratedCommandListAttribute", readOnOffSwitchConfigurationGeneratedCommandListAttributeInteractionInfo); + Map readOnOffSwitchConfigurationAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readOnOffSwitchConfigurationAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffSwitchConfigurationCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.OnOffSwitchConfigurationCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOnOffSwitchConfigurationClusterAcceptedCommandListAttributeCallback(), + readOnOffSwitchConfigurationAcceptedCommandListCommandParams + ); + readOnOffSwitchConfigurationInteractionInfo.put("readAcceptedCommandListAttribute", readOnOffSwitchConfigurationAcceptedCommandListAttributeInteractionInfo); + Map readOnOffSwitchConfigurationEventListCommandParams = new LinkedHashMap(); + InteractionInfo readOnOffSwitchConfigurationEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffSwitchConfigurationCluster) cluster).readEventListAttribute( + ( ChipClusters.OnOffSwitchConfigurationCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOnOffSwitchConfigurationClusterEventListAttributeCallback(), + readOnOffSwitchConfigurationEventListCommandParams + ); + readOnOffSwitchConfigurationInteractionInfo.put("readEventListAttribute", readOnOffSwitchConfigurationEventListAttributeInteractionInfo); + Map readOnOffSwitchConfigurationAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readOnOffSwitchConfigurationAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffSwitchConfigurationCluster) cluster).readAttributeListAttribute( + ( ChipClusters.OnOffSwitchConfigurationCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOnOffSwitchConfigurationClusterAttributeListAttributeCallback(), + readOnOffSwitchConfigurationAttributeListCommandParams + ); + readOnOffSwitchConfigurationInteractionInfo.put("readAttributeListAttribute", readOnOffSwitchConfigurationAttributeListAttributeInteractionInfo); + Map readOnOffSwitchConfigurationFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readOnOffSwitchConfigurationFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffSwitchConfigurationCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readOnOffSwitchConfigurationFeatureMapCommandParams + ); + readOnOffSwitchConfigurationInteractionInfo.put("readFeatureMapAttribute", readOnOffSwitchConfigurationFeatureMapAttributeInteractionInfo); + Map readOnOffSwitchConfigurationClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readOnOffSwitchConfigurationClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffSwitchConfigurationCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOnOffSwitchConfigurationClusterRevisionCommandParams + ); + readOnOffSwitchConfigurationInteractionInfo.put("readClusterRevisionAttribute", readOnOffSwitchConfigurationClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("onOffSwitchConfiguration", readOnOffSwitchConfigurationInteractionInfo); + Map readLevelControlInteractionInfo = new LinkedHashMap<>(); + Map readLevelControlCurrentLevelCommandParams = new LinkedHashMap(); + InteractionInfo readLevelControlCurrentLevelAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster).readCurrentLevelAttribute( + ( ChipClusters.LevelControlCluster.CurrentLevelAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLevelControlClusterCurrentLevelAttributeCallback(), + readLevelControlCurrentLevelCommandParams + ); + readLevelControlInteractionInfo.put("readCurrentLevelAttribute", readLevelControlCurrentLevelAttributeInteractionInfo); + Map readLevelControlRemainingTimeCommandParams = new LinkedHashMap(); + InteractionInfo readLevelControlRemainingTimeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster).readRemainingTimeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readLevelControlRemainingTimeCommandParams + ); + readLevelControlInteractionInfo.put("readRemainingTimeAttribute", readLevelControlRemainingTimeAttributeInteractionInfo); + Map readLevelControlMinLevelCommandParams = new LinkedHashMap(); + InteractionInfo readLevelControlMinLevelAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster).readMinLevelAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readLevelControlMinLevelCommandParams + ); + readLevelControlInteractionInfo.put("readMinLevelAttribute", readLevelControlMinLevelAttributeInteractionInfo); + Map readLevelControlMaxLevelCommandParams = new LinkedHashMap(); + InteractionInfo readLevelControlMaxLevelAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster).readMaxLevelAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readLevelControlMaxLevelCommandParams + ); + readLevelControlInteractionInfo.put("readMaxLevelAttribute", readLevelControlMaxLevelAttributeInteractionInfo); + Map readLevelControlCurrentFrequencyCommandParams = new LinkedHashMap(); + InteractionInfo readLevelControlCurrentFrequencyAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster).readCurrentFrequencyAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readLevelControlCurrentFrequencyCommandParams + ); + readLevelControlInteractionInfo.put("readCurrentFrequencyAttribute", readLevelControlCurrentFrequencyAttributeInteractionInfo); + Map readLevelControlMinFrequencyCommandParams = new LinkedHashMap(); + InteractionInfo readLevelControlMinFrequencyAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster).readMinFrequencyAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readLevelControlMinFrequencyCommandParams + ); + readLevelControlInteractionInfo.put("readMinFrequencyAttribute", readLevelControlMinFrequencyAttributeInteractionInfo); + Map readLevelControlMaxFrequencyCommandParams = new LinkedHashMap(); + InteractionInfo readLevelControlMaxFrequencyAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster).readMaxFrequencyAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readLevelControlMaxFrequencyCommandParams + ); + readLevelControlInteractionInfo.put("readMaxFrequencyAttribute", readLevelControlMaxFrequencyAttributeInteractionInfo); + Map readLevelControlOptionsCommandParams = new LinkedHashMap(); + InteractionInfo readLevelControlOptionsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster).readOptionsAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readLevelControlOptionsCommandParams + ); + readLevelControlInteractionInfo.put("readOptionsAttribute", readLevelControlOptionsAttributeInteractionInfo); + Map readLevelControlOnOffTransitionTimeCommandParams = new LinkedHashMap(); + InteractionInfo readLevelControlOnOffTransitionTimeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster).readOnOffTransitionTimeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readLevelControlOnOffTransitionTimeCommandParams + ); + readLevelControlInteractionInfo.put("readOnOffTransitionTimeAttribute", readLevelControlOnOffTransitionTimeAttributeInteractionInfo); + Map readLevelControlOnLevelCommandParams = new LinkedHashMap(); + InteractionInfo readLevelControlOnLevelAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster).readOnLevelAttribute( + ( ChipClusters.LevelControlCluster.OnLevelAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedLevelControlClusterOnLevelAttributeCallback(), - readLevelControlOnLevelCommandParams); - readLevelControlInteractionInfo.put( - "readOnLevelAttribute", readLevelControlOnLevelAttributeInteractionInfo); - Map readLevelControlOnTransitionTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlOnTransitionTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readOnTransitionTimeAttribute( - (ChipClusters.LevelControlCluster.OnTransitionTimeAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedLevelControlClusterOnTransitionTimeAttributeCallback(), - readLevelControlOnTransitionTimeCommandParams); - readLevelControlInteractionInfo.put( - "readOnTransitionTimeAttribute", readLevelControlOnTransitionTimeAttributeInteractionInfo); - Map readLevelControlOffTransitionTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlOffTransitionTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readOffTransitionTimeAttribute( - (ChipClusters.LevelControlCluster.OffTransitionTimeAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedLevelControlClusterOffTransitionTimeAttributeCallback(), - readLevelControlOffTransitionTimeCommandParams); - readLevelControlInteractionInfo.put( - "readOffTransitionTimeAttribute", - readLevelControlOffTransitionTimeAttributeInteractionInfo); - Map readLevelControlDefaultMoveRateCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlDefaultMoveRateAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readDefaultMoveRateAttribute( - (ChipClusters.LevelControlCluster.DefaultMoveRateAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedLevelControlClusterDefaultMoveRateAttributeCallback(), - readLevelControlDefaultMoveRateCommandParams); - readLevelControlInteractionInfo.put( - "readDefaultMoveRateAttribute", readLevelControlDefaultMoveRateAttributeInteractionInfo); - Map readLevelControlStartUpCurrentLevelCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlStartUpCurrentLevelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readStartUpCurrentLevelAttribute( - (ChipClusters.LevelControlCluster.StartUpCurrentLevelAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedLevelControlClusterStartUpCurrentLevelAttributeCallback(), - readLevelControlStartUpCurrentLevelCommandParams); - readLevelControlInteractionInfo.put( - "readStartUpCurrentLevelAttribute", - readLevelControlStartUpCurrentLevelAttributeInteractionInfo); - Map readLevelControlGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.LevelControlCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedLevelControlClusterGeneratedCommandListAttributeCallback(), - readLevelControlGeneratedCommandListCommandParams); - readLevelControlInteractionInfo.put( - "readGeneratedCommandListAttribute", - readLevelControlGeneratedCommandListAttributeInteractionInfo); - Map readLevelControlAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.LevelControlCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedLevelControlClusterAcceptedCommandListAttributeCallback(), - readLevelControlAcceptedCommandListCommandParams); - readLevelControlInteractionInfo.put( - "readAcceptedCommandListAttribute", - readLevelControlAcceptedCommandListAttributeInteractionInfo); - Map readLevelControlEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readEventListAttribute( - (ChipClusters.LevelControlCluster.EventListAttributeCallback) callback); - }, + readLevelControlOnLevelCommandParams + ); + readLevelControlInteractionInfo.put("readOnLevelAttribute", readLevelControlOnLevelAttributeInteractionInfo); + Map readLevelControlOnTransitionTimeCommandParams = new LinkedHashMap(); + InteractionInfo readLevelControlOnTransitionTimeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster).readOnTransitionTimeAttribute( + ( ChipClusters.LevelControlCluster.OnTransitionTimeAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLevelControlClusterOnTransitionTimeAttributeCallback(), + readLevelControlOnTransitionTimeCommandParams + ); + readLevelControlInteractionInfo.put("readOnTransitionTimeAttribute", readLevelControlOnTransitionTimeAttributeInteractionInfo); + Map readLevelControlOffTransitionTimeCommandParams = new LinkedHashMap(); + InteractionInfo readLevelControlOffTransitionTimeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster).readOffTransitionTimeAttribute( + ( ChipClusters.LevelControlCluster.OffTransitionTimeAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLevelControlClusterOffTransitionTimeAttributeCallback(), + readLevelControlOffTransitionTimeCommandParams + ); + readLevelControlInteractionInfo.put("readOffTransitionTimeAttribute", readLevelControlOffTransitionTimeAttributeInteractionInfo); + Map readLevelControlDefaultMoveRateCommandParams = new LinkedHashMap(); + InteractionInfo readLevelControlDefaultMoveRateAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster).readDefaultMoveRateAttribute( + ( ChipClusters.LevelControlCluster.DefaultMoveRateAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLevelControlClusterDefaultMoveRateAttributeCallback(), + readLevelControlDefaultMoveRateCommandParams + ); + readLevelControlInteractionInfo.put("readDefaultMoveRateAttribute", readLevelControlDefaultMoveRateAttributeInteractionInfo); + Map readLevelControlStartUpCurrentLevelCommandParams = new LinkedHashMap(); + InteractionInfo readLevelControlStartUpCurrentLevelAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster).readStartUpCurrentLevelAttribute( + ( ChipClusters.LevelControlCluster.StartUpCurrentLevelAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLevelControlClusterStartUpCurrentLevelAttributeCallback(), + readLevelControlStartUpCurrentLevelCommandParams + ); + readLevelControlInteractionInfo.put("readStartUpCurrentLevelAttribute", readLevelControlStartUpCurrentLevelAttributeInteractionInfo); + Map readLevelControlGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readLevelControlGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.LevelControlCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLevelControlClusterGeneratedCommandListAttributeCallback(), + readLevelControlGeneratedCommandListCommandParams + ); + readLevelControlInteractionInfo.put("readGeneratedCommandListAttribute", readLevelControlGeneratedCommandListAttributeInteractionInfo); + Map readLevelControlAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readLevelControlAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.LevelControlCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLevelControlClusterAcceptedCommandListAttributeCallback(), + readLevelControlAcceptedCommandListCommandParams + ); + readLevelControlInteractionInfo.put("readAcceptedCommandListAttribute", readLevelControlAcceptedCommandListAttributeInteractionInfo); + Map readLevelControlEventListCommandParams = new LinkedHashMap(); + InteractionInfo readLevelControlEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster).readEventListAttribute( + ( ChipClusters.LevelControlCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedLevelControlClusterEventListAttributeCallback(), - readLevelControlEventListCommandParams); - readLevelControlInteractionInfo.put( - "readEventListAttribute", readLevelControlEventListAttributeInteractionInfo); - Map readLevelControlAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.LevelControlCluster.AttributeListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedLevelControlClusterAttributeListAttributeCallback(), - readLevelControlAttributeListCommandParams); - readLevelControlInteractionInfo.put( - "readAttributeListAttribute", readLevelControlAttributeListAttributeInteractionInfo); - Map readLevelControlFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readLevelControlFeatureMapCommandParams); - readLevelControlInteractionInfo.put( - "readFeatureMapAttribute", readLevelControlFeatureMapAttributeInteractionInfo); - Map readLevelControlClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readLevelControlClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readLevelControlClusterRevisionCommandParams); - readLevelControlInteractionInfo.put( - "readClusterRevisionAttribute", readLevelControlClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("levelControl", readLevelControlInteractionInfo); - Map readBinaryInputBasicInteractionInfo = new LinkedHashMap<>(); - Map readBinaryInputBasicActiveTextCommandParams = - new LinkedHashMap(); - InteractionInfo readBinaryInputBasicActiveTextAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .readActiveTextAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readLevelControlEventListCommandParams + ); + readLevelControlInteractionInfo.put("readEventListAttribute", readLevelControlEventListAttributeInteractionInfo); + Map readLevelControlAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readLevelControlAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster).readAttributeListAttribute( + ( ChipClusters.LevelControlCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLevelControlClusterAttributeListAttributeCallback(), + readLevelControlAttributeListCommandParams + ); + readLevelControlInteractionInfo.put("readAttributeListAttribute", readLevelControlAttributeListAttributeInteractionInfo); + Map readLevelControlFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readLevelControlFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readLevelControlFeatureMapCommandParams + ); + readLevelControlInteractionInfo.put("readFeatureMapAttribute", readLevelControlFeatureMapAttributeInteractionInfo); + Map readLevelControlClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readLevelControlClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readLevelControlClusterRevisionCommandParams + ); + readLevelControlInteractionInfo.put("readClusterRevisionAttribute", readLevelControlClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("levelControl", readLevelControlInteractionInfo); + Map readBinaryInputBasicInteractionInfo = new LinkedHashMap<>(); + Map readBinaryInputBasicActiveTextCommandParams = new LinkedHashMap(); + InteractionInfo readBinaryInputBasicActiveTextAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster).readActiveTextAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBinaryInputBasicActiveTextCommandParams); - readBinaryInputBasicInteractionInfo.put( - "readActiveTextAttribute", readBinaryInputBasicActiveTextAttributeInteractionInfo); - Map readBinaryInputBasicDescriptionCommandParams = - new LinkedHashMap(); - InteractionInfo readBinaryInputBasicDescriptionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .readDescriptionAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readBinaryInputBasicActiveTextCommandParams + ); + readBinaryInputBasicInteractionInfo.put("readActiveTextAttribute", readBinaryInputBasicActiveTextAttributeInteractionInfo); + Map readBinaryInputBasicDescriptionCommandParams = new LinkedHashMap(); + InteractionInfo readBinaryInputBasicDescriptionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster).readDescriptionAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBinaryInputBasicDescriptionCommandParams); - readBinaryInputBasicInteractionInfo.put( - "readDescriptionAttribute", readBinaryInputBasicDescriptionAttributeInteractionInfo); - Map readBinaryInputBasicInactiveTextCommandParams = - new LinkedHashMap(); - InteractionInfo readBinaryInputBasicInactiveTextAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .readInactiveTextAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readBinaryInputBasicDescriptionCommandParams + ); + readBinaryInputBasicInteractionInfo.put("readDescriptionAttribute", readBinaryInputBasicDescriptionAttributeInteractionInfo); + Map readBinaryInputBasicInactiveTextCommandParams = new LinkedHashMap(); + InteractionInfo readBinaryInputBasicInactiveTextAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster).readInactiveTextAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBinaryInputBasicInactiveTextCommandParams); - readBinaryInputBasicInteractionInfo.put( - "readInactiveTextAttribute", readBinaryInputBasicInactiveTextAttributeInteractionInfo); - Map readBinaryInputBasicOutOfServiceCommandParams = - new LinkedHashMap(); - InteractionInfo readBinaryInputBasicOutOfServiceAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .readOutOfServiceAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, + readBinaryInputBasicInactiveTextCommandParams + ); + readBinaryInputBasicInteractionInfo.put("readInactiveTextAttribute", readBinaryInputBasicInactiveTextAttributeInteractionInfo); + Map readBinaryInputBasicOutOfServiceCommandParams = new LinkedHashMap(); + InteractionInfo readBinaryInputBasicOutOfServiceAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster).readOutOfServiceAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readBinaryInputBasicOutOfServiceCommandParams); - readBinaryInputBasicInteractionInfo.put( - "readOutOfServiceAttribute", readBinaryInputBasicOutOfServiceAttributeInteractionInfo); - Map readBinaryInputBasicPolarityCommandParams = - new LinkedHashMap(); - InteractionInfo readBinaryInputBasicPolarityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .readPolarityAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBinaryInputBasicPolarityCommandParams); - readBinaryInputBasicInteractionInfo.put( - "readPolarityAttribute", readBinaryInputBasicPolarityAttributeInteractionInfo); - Map readBinaryInputBasicPresentValueCommandParams = - new LinkedHashMap(); - InteractionInfo readBinaryInputBasicPresentValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .readPresentValueAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, + readBinaryInputBasicOutOfServiceCommandParams + ); + readBinaryInputBasicInteractionInfo.put("readOutOfServiceAttribute", readBinaryInputBasicOutOfServiceAttributeInteractionInfo); + Map readBinaryInputBasicPolarityCommandParams = new LinkedHashMap(); + InteractionInfo readBinaryInputBasicPolarityAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster).readPolarityAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBinaryInputBasicPolarityCommandParams + ); + readBinaryInputBasicInteractionInfo.put("readPolarityAttribute", readBinaryInputBasicPolarityAttributeInteractionInfo); + Map readBinaryInputBasicPresentValueCommandParams = new LinkedHashMap(); + InteractionInfo readBinaryInputBasicPresentValueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster).readPresentValueAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readBinaryInputBasicPresentValueCommandParams); - readBinaryInputBasicInteractionInfo.put( - "readPresentValueAttribute", readBinaryInputBasicPresentValueAttributeInteractionInfo); - Map readBinaryInputBasicReliabilityCommandParams = - new LinkedHashMap(); - InteractionInfo readBinaryInputBasicReliabilityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .readReliabilityAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBinaryInputBasicReliabilityCommandParams); - readBinaryInputBasicInteractionInfo.put( - "readReliabilityAttribute", readBinaryInputBasicReliabilityAttributeInteractionInfo); - Map readBinaryInputBasicStatusFlagsCommandParams = - new LinkedHashMap(); - InteractionInfo readBinaryInputBasicStatusFlagsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .readStatusFlagsAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBinaryInputBasicStatusFlagsCommandParams); - readBinaryInputBasicInteractionInfo.put( - "readStatusFlagsAttribute", readBinaryInputBasicStatusFlagsAttributeInteractionInfo); - Map readBinaryInputBasicApplicationTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readBinaryInputBasicApplicationTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .readApplicationTypeAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readBinaryInputBasicApplicationTypeCommandParams); - readBinaryInputBasicInteractionInfo.put( - "readApplicationTypeAttribute", - readBinaryInputBasicApplicationTypeAttributeInteractionInfo); - Map readBinaryInputBasicGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readBinaryInputBasicGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.BinaryInputBasicCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBinaryInputBasicClusterGeneratedCommandListAttributeCallback(), - readBinaryInputBasicGeneratedCommandListCommandParams); - readBinaryInputBasicInteractionInfo.put( - "readGeneratedCommandListAttribute", - readBinaryInputBasicGeneratedCommandListAttributeInteractionInfo); - Map readBinaryInputBasicAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readBinaryInputBasicAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.BinaryInputBasicCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBinaryInputBasicClusterAcceptedCommandListAttributeCallback(), - readBinaryInputBasicAcceptedCommandListCommandParams); - readBinaryInputBasicInteractionInfo.put( - "readAcceptedCommandListAttribute", - readBinaryInputBasicAcceptedCommandListAttributeInteractionInfo); - Map readBinaryInputBasicEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readBinaryInputBasicEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .readEventListAttribute( - (ChipClusters.BinaryInputBasicCluster.EventListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedBinaryInputBasicClusterEventListAttributeCallback(), - readBinaryInputBasicEventListCommandParams); - readBinaryInputBasicInteractionInfo.put( - "readEventListAttribute", readBinaryInputBasicEventListAttributeInteractionInfo); - Map readBinaryInputBasicAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readBinaryInputBasicAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.BinaryInputBasicCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBinaryInputBasicClusterAttributeListAttributeCallback(), - readBinaryInputBasicAttributeListCommandParams); - readBinaryInputBasicInteractionInfo.put( - "readAttributeListAttribute", readBinaryInputBasicAttributeListAttributeInteractionInfo); - Map readBinaryInputBasicFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readBinaryInputBasicFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readBinaryInputBasicFeatureMapCommandParams); - readBinaryInputBasicInteractionInfo.put( - "readFeatureMapAttribute", readBinaryInputBasicFeatureMapAttributeInteractionInfo); - Map readBinaryInputBasicClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readBinaryInputBasicClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBinaryInputBasicClusterRevisionCommandParams); - readBinaryInputBasicInteractionInfo.put( - "readClusterRevisionAttribute", - readBinaryInputBasicClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("binaryInputBasic", readBinaryInputBasicInteractionInfo); - Map readDescriptorInteractionInfo = new LinkedHashMap<>(); - Map readDescriptorDeviceTypeListCommandParams = - new LinkedHashMap(); - InteractionInfo readDescriptorDeviceTypeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster) - .readDeviceTypeListAttribute( - (ChipClusters.DescriptorCluster.DeviceTypeListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedDescriptorClusterDeviceTypeListAttributeCallback(), - readDescriptorDeviceTypeListCommandParams); - readDescriptorInteractionInfo.put( - "readDeviceTypeListAttribute", readDescriptorDeviceTypeListAttributeInteractionInfo); - Map readDescriptorServerListCommandParams = - new LinkedHashMap(); - InteractionInfo readDescriptorServerListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster) - .readServerListAttribute( - (ChipClusters.DescriptorCluster.ServerListAttributeCallback) callback); - }, + readBinaryInputBasicPresentValueCommandParams + ); + readBinaryInputBasicInteractionInfo.put("readPresentValueAttribute", readBinaryInputBasicPresentValueAttributeInteractionInfo); + Map readBinaryInputBasicReliabilityCommandParams = new LinkedHashMap(); + InteractionInfo readBinaryInputBasicReliabilityAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster).readReliabilityAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBinaryInputBasicReliabilityCommandParams + ); + readBinaryInputBasicInteractionInfo.put("readReliabilityAttribute", readBinaryInputBasicReliabilityAttributeInteractionInfo); + Map readBinaryInputBasicStatusFlagsCommandParams = new LinkedHashMap(); + InteractionInfo readBinaryInputBasicStatusFlagsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster).readStatusFlagsAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBinaryInputBasicStatusFlagsCommandParams + ); + readBinaryInputBasicInteractionInfo.put("readStatusFlagsAttribute", readBinaryInputBasicStatusFlagsAttributeInteractionInfo); + Map readBinaryInputBasicApplicationTypeCommandParams = new LinkedHashMap(); + InteractionInfo readBinaryInputBasicApplicationTypeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster).readApplicationTypeAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readBinaryInputBasicApplicationTypeCommandParams + ); + readBinaryInputBasicInteractionInfo.put("readApplicationTypeAttribute", readBinaryInputBasicApplicationTypeAttributeInteractionInfo); + Map readBinaryInputBasicGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readBinaryInputBasicGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.BinaryInputBasicCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBinaryInputBasicClusterGeneratedCommandListAttributeCallback(), + readBinaryInputBasicGeneratedCommandListCommandParams + ); + readBinaryInputBasicInteractionInfo.put("readGeneratedCommandListAttribute", readBinaryInputBasicGeneratedCommandListAttributeInteractionInfo); + Map readBinaryInputBasicAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readBinaryInputBasicAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.BinaryInputBasicCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBinaryInputBasicClusterAcceptedCommandListAttributeCallback(), + readBinaryInputBasicAcceptedCommandListCommandParams + ); + readBinaryInputBasicInteractionInfo.put("readAcceptedCommandListAttribute", readBinaryInputBasicAcceptedCommandListAttributeInteractionInfo); + Map readBinaryInputBasicEventListCommandParams = new LinkedHashMap(); + InteractionInfo readBinaryInputBasicEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster).readEventListAttribute( + ( ChipClusters.BinaryInputBasicCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBinaryInputBasicClusterEventListAttributeCallback(), + readBinaryInputBasicEventListCommandParams + ); + readBinaryInputBasicInteractionInfo.put("readEventListAttribute", readBinaryInputBasicEventListAttributeInteractionInfo); + Map readBinaryInputBasicAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readBinaryInputBasicAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster).readAttributeListAttribute( + ( ChipClusters.BinaryInputBasicCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBinaryInputBasicClusterAttributeListAttributeCallback(), + readBinaryInputBasicAttributeListCommandParams + ); + readBinaryInputBasicInteractionInfo.put("readAttributeListAttribute", readBinaryInputBasicAttributeListAttributeInteractionInfo); + Map readBinaryInputBasicFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readBinaryInputBasicFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readBinaryInputBasicFeatureMapCommandParams + ); + readBinaryInputBasicInteractionInfo.put("readFeatureMapAttribute", readBinaryInputBasicFeatureMapAttributeInteractionInfo); + Map readBinaryInputBasicClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readBinaryInputBasicClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBinaryInputBasicClusterRevisionCommandParams + ); + readBinaryInputBasicInteractionInfo.put("readClusterRevisionAttribute", readBinaryInputBasicClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("binaryInputBasic", readBinaryInputBasicInteractionInfo); + Map readDescriptorInteractionInfo = new LinkedHashMap<>(); + Map readDescriptorDeviceTypeListCommandParams = new LinkedHashMap(); + InteractionInfo readDescriptorDeviceTypeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster).readDeviceTypeListAttribute( + ( ChipClusters.DescriptorCluster.DeviceTypeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedDescriptorClusterDeviceTypeListAttributeCallback(), + readDescriptorDeviceTypeListCommandParams + ); + readDescriptorInteractionInfo.put("readDeviceTypeListAttribute", readDescriptorDeviceTypeListAttributeInteractionInfo); + Map readDescriptorServerListCommandParams = new LinkedHashMap(); + InteractionInfo readDescriptorServerListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster).readServerListAttribute( + ( ChipClusters.DescriptorCluster.ServerListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedDescriptorClusterServerListAttributeCallback(), - readDescriptorServerListCommandParams); - readDescriptorInteractionInfo.put( - "readServerListAttribute", readDescriptorServerListAttributeInteractionInfo); - Map readDescriptorClientListCommandParams = - new LinkedHashMap(); - InteractionInfo readDescriptorClientListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster) - .readClientListAttribute( - (ChipClusters.DescriptorCluster.ClientListAttributeCallback) callback); - }, + readDescriptorServerListCommandParams + ); + readDescriptorInteractionInfo.put("readServerListAttribute", readDescriptorServerListAttributeInteractionInfo); + Map readDescriptorClientListCommandParams = new LinkedHashMap(); + InteractionInfo readDescriptorClientListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster).readClientListAttribute( + ( ChipClusters.DescriptorCluster.ClientListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedDescriptorClusterClientListAttributeCallback(), - readDescriptorClientListCommandParams); - readDescriptorInteractionInfo.put( - "readClientListAttribute", readDescriptorClientListAttributeInteractionInfo); - Map readDescriptorPartsListCommandParams = - new LinkedHashMap(); - InteractionInfo readDescriptorPartsListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster) - .readPartsListAttribute( - (ChipClusters.DescriptorCluster.PartsListAttributeCallback) callback); - }, + readDescriptorClientListCommandParams + ); + readDescriptorInteractionInfo.put("readClientListAttribute", readDescriptorClientListAttributeInteractionInfo); + Map readDescriptorPartsListCommandParams = new LinkedHashMap(); + InteractionInfo readDescriptorPartsListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster).readPartsListAttribute( + ( ChipClusters.DescriptorCluster.PartsListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedDescriptorClusterPartsListAttributeCallback(), - readDescriptorPartsListCommandParams); - readDescriptorInteractionInfo.put( - "readPartsListAttribute", readDescriptorPartsListAttributeInteractionInfo); - Map readDescriptorGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readDescriptorGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.DescriptorCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedDescriptorClusterGeneratedCommandListAttributeCallback(), - readDescriptorGeneratedCommandListCommandParams); - readDescriptorInteractionInfo.put( - "readGeneratedCommandListAttribute", - readDescriptorGeneratedCommandListAttributeInteractionInfo); - Map readDescriptorAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readDescriptorAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.DescriptorCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedDescriptorClusterAcceptedCommandListAttributeCallback(), - readDescriptorAcceptedCommandListCommandParams); - readDescriptorInteractionInfo.put( - "readAcceptedCommandListAttribute", - readDescriptorAcceptedCommandListAttributeInteractionInfo); - Map readDescriptorEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readDescriptorEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster) - .readEventListAttribute( - (ChipClusters.DescriptorCluster.EventListAttributeCallback) callback); - }, + readDescriptorPartsListCommandParams + ); + readDescriptorInteractionInfo.put("readPartsListAttribute", readDescriptorPartsListAttributeInteractionInfo); + Map readDescriptorGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readDescriptorGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.DescriptorCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedDescriptorClusterGeneratedCommandListAttributeCallback(), + readDescriptorGeneratedCommandListCommandParams + ); + readDescriptorInteractionInfo.put("readGeneratedCommandListAttribute", readDescriptorGeneratedCommandListAttributeInteractionInfo); + Map readDescriptorAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readDescriptorAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.DescriptorCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedDescriptorClusterAcceptedCommandListAttributeCallback(), + readDescriptorAcceptedCommandListCommandParams + ); + readDescriptorInteractionInfo.put("readAcceptedCommandListAttribute", readDescriptorAcceptedCommandListAttributeInteractionInfo); + Map readDescriptorEventListCommandParams = new LinkedHashMap(); + InteractionInfo readDescriptorEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster).readEventListAttribute( + ( ChipClusters.DescriptorCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedDescriptorClusterEventListAttributeCallback(), - readDescriptorEventListCommandParams); - readDescriptorInteractionInfo.put( - "readEventListAttribute", readDescriptorEventListAttributeInteractionInfo); - Map readDescriptorAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readDescriptorAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.DescriptorCluster.AttributeListAttributeCallback) callback); - }, + readDescriptorEventListCommandParams + ); + readDescriptorInteractionInfo.put("readEventListAttribute", readDescriptorEventListAttributeInteractionInfo); + Map readDescriptorAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readDescriptorAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster).readAttributeListAttribute( + ( ChipClusters.DescriptorCluster.AttributeListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedDescriptorClusterAttributeListAttributeCallback(), - readDescriptorAttributeListCommandParams); - readDescriptorInteractionInfo.put( - "readAttributeListAttribute", readDescriptorAttributeListAttributeInteractionInfo); - Map readDescriptorFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readDescriptorFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readDescriptorFeatureMapCommandParams); - readDescriptorInteractionInfo.put( - "readFeatureMapAttribute", readDescriptorFeatureMapAttributeInteractionInfo); - Map readDescriptorClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readDescriptorClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDescriptorClusterRevisionCommandParams); - readDescriptorInteractionInfo.put( - "readClusterRevisionAttribute", readDescriptorClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("descriptor", readDescriptorInteractionInfo); - Map readBindingInteractionInfo = new LinkedHashMap<>(); - Map readBindingBindingCommandParams = - new LinkedHashMap(); - InteractionInfo readBindingBindingAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BindingCluster) cluster) - .readBindingAttribute( - (ChipClusters.BindingCluster.BindingAttributeCallback) callback); - }, + readDescriptorAttributeListCommandParams + ); + readDescriptorInteractionInfo.put("readAttributeListAttribute", readDescriptorAttributeListAttributeInteractionInfo); + Map readDescriptorFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readDescriptorFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readDescriptorFeatureMapCommandParams + ); + readDescriptorInteractionInfo.put("readFeatureMapAttribute", readDescriptorFeatureMapAttributeInteractionInfo); + Map readDescriptorClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readDescriptorClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDescriptorClusterRevisionCommandParams + ); + readDescriptorInteractionInfo.put("readClusterRevisionAttribute", readDescriptorClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("descriptor", readDescriptorInteractionInfo); + Map readBindingInteractionInfo = new LinkedHashMap<>(); + Map readBindingBindingCommandParams = new LinkedHashMap(); + InteractionInfo readBindingBindingAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BindingCluster) cluster).readBindingAttribute( + ( ChipClusters.BindingCluster.BindingAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBindingClusterBindingAttributeCallback(), - readBindingBindingCommandParams); - readBindingInteractionInfo.put( - "readBindingAttribute", readBindingBindingAttributeInteractionInfo); - Map readBindingGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readBindingGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BindingCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.BindingCluster.GeneratedCommandListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBindingClusterGeneratedCommandListAttributeCallback(), - readBindingGeneratedCommandListCommandParams); - readBindingInteractionInfo.put( - "readGeneratedCommandListAttribute", - readBindingGeneratedCommandListAttributeInteractionInfo); - Map readBindingAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readBindingAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BindingCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.BindingCluster.AcceptedCommandListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBindingClusterAcceptedCommandListAttributeCallback(), - readBindingAcceptedCommandListCommandParams); - readBindingInteractionInfo.put( - "readAcceptedCommandListAttribute", readBindingAcceptedCommandListAttributeInteractionInfo); - Map readBindingEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readBindingEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BindingCluster) cluster) - .readEventListAttribute( - (ChipClusters.BindingCluster.EventListAttributeCallback) callback); - }, + readBindingBindingCommandParams + ); + readBindingInteractionInfo.put("readBindingAttribute", readBindingBindingAttributeInteractionInfo); + Map readBindingGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readBindingGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BindingCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.BindingCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBindingClusterGeneratedCommandListAttributeCallback(), + readBindingGeneratedCommandListCommandParams + ); + readBindingInteractionInfo.put("readGeneratedCommandListAttribute", readBindingGeneratedCommandListAttributeInteractionInfo); + Map readBindingAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readBindingAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BindingCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.BindingCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBindingClusterAcceptedCommandListAttributeCallback(), + readBindingAcceptedCommandListCommandParams + ); + readBindingInteractionInfo.put("readAcceptedCommandListAttribute", readBindingAcceptedCommandListAttributeInteractionInfo); + Map readBindingEventListCommandParams = new LinkedHashMap(); + InteractionInfo readBindingEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BindingCluster) cluster).readEventListAttribute( + ( ChipClusters.BindingCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBindingClusterEventListAttributeCallback(), - readBindingEventListCommandParams); - readBindingInteractionInfo.put( - "readEventListAttribute", readBindingEventListAttributeInteractionInfo); - Map readBindingAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readBindingAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BindingCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.BindingCluster.AttributeListAttributeCallback) callback); - }, + readBindingEventListCommandParams + ); + readBindingInteractionInfo.put("readEventListAttribute", readBindingEventListAttributeInteractionInfo); + Map readBindingAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readBindingAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BindingCluster) cluster).readAttributeListAttribute( + ( ChipClusters.BindingCluster.AttributeListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBindingClusterAttributeListAttributeCallback(), - readBindingAttributeListCommandParams); - readBindingInteractionInfo.put( - "readAttributeListAttribute", readBindingAttributeListAttributeInteractionInfo); - Map readBindingFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readBindingFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BindingCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readBindingFeatureMapCommandParams); - readBindingInteractionInfo.put( - "readFeatureMapAttribute", readBindingFeatureMapAttributeInteractionInfo); - Map readBindingClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readBindingClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BindingCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBindingClusterRevisionCommandParams); - readBindingInteractionInfo.put( - "readClusterRevisionAttribute", readBindingClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("binding", readBindingInteractionInfo); - Map readAccessControlInteractionInfo = new LinkedHashMap<>(); - Map readAccessControlAclCommandParams = - new LinkedHashMap(); - InteractionInfo readAccessControlAclAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccessControlCluster) cluster) - .readAclAttribute( - (ChipClusters.AccessControlCluster.AclAttributeCallback) callback); - }, + readBindingAttributeListCommandParams + ); + readBindingInteractionInfo.put("readAttributeListAttribute", readBindingAttributeListAttributeInteractionInfo); + Map readBindingFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readBindingFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BindingCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readBindingFeatureMapCommandParams + ); + readBindingInteractionInfo.put("readFeatureMapAttribute", readBindingFeatureMapAttributeInteractionInfo); + Map readBindingClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readBindingClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BindingCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBindingClusterRevisionCommandParams + ); + readBindingInteractionInfo.put("readClusterRevisionAttribute", readBindingClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("binding", readBindingInteractionInfo); + Map readAccessControlInteractionInfo = new LinkedHashMap<>(); + Map readAccessControlAclCommandParams = new LinkedHashMap(); + InteractionInfo readAccessControlAclAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccessControlCluster) cluster).readAclAttribute( + ( ChipClusters.AccessControlCluster.AclAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedAccessControlClusterAclAttributeCallback(), - readAccessControlAclCommandParams); - readAccessControlInteractionInfo.put( - "readAclAttribute", readAccessControlAclAttributeInteractionInfo); - Map readAccessControlExtensionCommandParams = - new LinkedHashMap(); - InteractionInfo readAccessControlExtensionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccessControlCluster) cluster) - .readExtensionAttribute( - (ChipClusters.AccessControlCluster.ExtensionAttributeCallback) callback); - }, + readAccessControlAclCommandParams + ); + readAccessControlInteractionInfo.put("readAclAttribute", readAccessControlAclAttributeInteractionInfo); + Map readAccessControlExtensionCommandParams = new LinkedHashMap(); + InteractionInfo readAccessControlExtensionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccessControlCluster) cluster).readExtensionAttribute( + ( ChipClusters.AccessControlCluster.ExtensionAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedAccessControlClusterExtensionAttributeCallback(), - readAccessControlExtensionCommandParams); - readAccessControlInteractionInfo.put( - "readExtensionAttribute", readAccessControlExtensionAttributeInteractionInfo); - Map readAccessControlSubjectsPerAccessControlEntryCommandParams = - new LinkedHashMap(); - InteractionInfo readAccessControlSubjectsPerAccessControlEntryAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccessControlCluster) cluster) - .readSubjectsPerAccessControlEntryAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readAccessControlSubjectsPerAccessControlEntryCommandParams); - readAccessControlInteractionInfo.put( - "readSubjectsPerAccessControlEntryAttribute", - readAccessControlSubjectsPerAccessControlEntryAttributeInteractionInfo); - Map readAccessControlTargetsPerAccessControlEntryCommandParams = - new LinkedHashMap(); - InteractionInfo readAccessControlTargetsPerAccessControlEntryAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccessControlCluster) cluster) - .readTargetsPerAccessControlEntryAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readAccessControlTargetsPerAccessControlEntryCommandParams); - readAccessControlInteractionInfo.put( - "readTargetsPerAccessControlEntryAttribute", - readAccessControlTargetsPerAccessControlEntryAttributeInteractionInfo); - Map readAccessControlAccessControlEntriesPerFabricCommandParams = - new LinkedHashMap(); - InteractionInfo readAccessControlAccessControlEntriesPerFabricAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccessControlCluster) cluster) - .readAccessControlEntriesPerFabricAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readAccessControlAccessControlEntriesPerFabricCommandParams); - readAccessControlInteractionInfo.put( - "readAccessControlEntriesPerFabricAttribute", - readAccessControlAccessControlEntriesPerFabricAttributeInteractionInfo); - Map readAccessControlGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readAccessControlGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccessControlCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.AccessControlCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedAccessControlClusterGeneratedCommandListAttributeCallback(), - readAccessControlGeneratedCommandListCommandParams); - readAccessControlInteractionInfo.put( - "readGeneratedCommandListAttribute", - readAccessControlGeneratedCommandListAttributeInteractionInfo); - Map readAccessControlAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readAccessControlAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccessControlCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.AccessControlCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedAccessControlClusterAcceptedCommandListAttributeCallback(), - readAccessControlAcceptedCommandListCommandParams); - readAccessControlInteractionInfo.put( - "readAcceptedCommandListAttribute", - readAccessControlAcceptedCommandListAttributeInteractionInfo); - Map readAccessControlEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readAccessControlEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccessControlCluster) cluster) - .readEventListAttribute( - (ChipClusters.AccessControlCluster.EventListAttributeCallback) callback); - }, + readAccessControlExtensionCommandParams + ); + readAccessControlInteractionInfo.put("readExtensionAttribute", readAccessControlExtensionAttributeInteractionInfo); + Map readAccessControlSubjectsPerAccessControlEntryCommandParams = new LinkedHashMap(); + InteractionInfo readAccessControlSubjectsPerAccessControlEntryAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccessControlCluster) cluster).readSubjectsPerAccessControlEntryAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readAccessControlSubjectsPerAccessControlEntryCommandParams + ); + readAccessControlInteractionInfo.put("readSubjectsPerAccessControlEntryAttribute", readAccessControlSubjectsPerAccessControlEntryAttributeInteractionInfo); + Map readAccessControlTargetsPerAccessControlEntryCommandParams = new LinkedHashMap(); + InteractionInfo readAccessControlTargetsPerAccessControlEntryAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccessControlCluster) cluster).readTargetsPerAccessControlEntryAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readAccessControlTargetsPerAccessControlEntryCommandParams + ); + readAccessControlInteractionInfo.put("readTargetsPerAccessControlEntryAttribute", readAccessControlTargetsPerAccessControlEntryAttributeInteractionInfo); + Map readAccessControlAccessControlEntriesPerFabricCommandParams = new LinkedHashMap(); + InteractionInfo readAccessControlAccessControlEntriesPerFabricAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccessControlCluster) cluster).readAccessControlEntriesPerFabricAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readAccessControlAccessControlEntriesPerFabricCommandParams + ); + readAccessControlInteractionInfo.put("readAccessControlEntriesPerFabricAttribute", readAccessControlAccessControlEntriesPerFabricAttributeInteractionInfo); + Map readAccessControlGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readAccessControlGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccessControlCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.AccessControlCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedAccessControlClusterGeneratedCommandListAttributeCallback(), + readAccessControlGeneratedCommandListCommandParams + ); + readAccessControlInteractionInfo.put("readGeneratedCommandListAttribute", readAccessControlGeneratedCommandListAttributeInteractionInfo); + Map readAccessControlAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readAccessControlAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccessControlCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.AccessControlCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedAccessControlClusterAcceptedCommandListAttributeCallback(), + readAccessControlAcceptedCommandListCommandParams + ); + readAccessControlInteractionInfo.put("readAcceptedCommandListAttribute", readAccessControlAcceptedCommandListAttributeInteractionInfo); + Map readAccessControlEventListCommandParams = new LinkedHashMap(); + InteractionInfo readAccessControlEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccessControlCluster) cluster).readEventListAttribute( + ( ChipClusters.AccessControlCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedAccessControlClusterEventListAttributeCallback(), - readAccessControlEventListCommandParams); - readAccessControlInteractionInfo.put( - "readEventListAttribute", readAccessControlEventListAttributeInteractionInfo); - Map readAccessControlAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readAccessControlAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccessControlCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.AccessControlCluster.AttributeListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedAccessControlClusterAttributeListAttributeCallback(), - readAccessControlAttributeListCommandParams); - readAccessControlInteractionInfo.put( - "readAttributeListAttribute", readAccessControlAttributeListAttributeInteractionInfo); - Map readAccessControlFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readAccessControlFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccessControlCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readAccessControlFeatureMapCommandParams); - readAccessControlInteractionInfo.put( - "readFeatureMapAttribute", readAccessControlFeatureMapAttributeInteractionInfo); - Map readAccessControlClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readAccessControlClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccessControlCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readAccessControlClusterRevisionCommandParams); - readAccessControlInteractionInfo.put( - "readClusterRevisionAttribute", readAccessControlClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("accessControl", readAccessControlInteractionInfo); - Map readActionsInteractionInfo = new LinkedHashMap<>(); - Map readActionsActionListCommandParams = - new LinkedHashMap(); - InteractionInfo readActionsActionListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster) - .readActionListAttribute( - (ChipClusters.ActionsCluster.ActionListAttributeCallback) callback); - }, + readAccessControlEventListCommandParams + ); + readAccessControlInteractionInfo.put("readEventListAttribute", readAccessControlEventListAttributeInteractionInfo); + Map readAccessControlAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readAccessControlAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccessControlCluster) cluster).readAttributeListAttribute( + ( ChipClusters.AccessControlCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedAccessControlClusterAttributeListAttributeCallback(), + readAccessControlAttributeListCommandParams + ); + readAccessControlInteractionInfo.put("readAttributeListAttribute", readAccessControlAttributeListAttributeInteractionInfo); + Map readAccessControlFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readAccessControlFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccessControlCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readAccessControlFeatureMapCommandParams + ); + readAccessControlInteractionInfo.put("readFeatureMapAttribute", readAccessControlFeatureMapAttributeInteractionInfo); + Map readAccessControlClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readAccessControlClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccessControlCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readAccessControlClusterRevisionCommandParams + ); + readAccessControlInteractionInfo.put("readClusterRevisionAttribute", readAccessControlClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("accessControl", readAccessControlInteractionInfo); + Map readActionsInteractionInfo = new LinkedHashMap<>(); + Map readActionsActionListCommandParams = new LinkedHashMap(); + InteractionInfo readActionsActionListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster).readActionListAttribute( + ( ChipClusters.ActionsCluster.ActionListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedActionsClusterActionListAttributeCallback(), - readActionsActionListCommandParams); - readActionsInteractionInfo.put( - "readActionListAttribute", readActionsActionListAttributeInteractionInfo); - Map readActionsEndpointListsCommandParams = - new LinkedHashMap(); - InteractionInfo readActionsEndpointListsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster) - .readEndpointListsAttribute( - (ChipClusters.ActionsCluster.EndpointListsAttributeCallback) callback); - }, + readActionsActionListCommandParams + ); + readActionsInteractionInfo.put("readActionListAttribute", readActionsActionListAttributeInteractionInfo); + Map readActionsEndpointListsCommandParams = new LinkedHashMap(); + InteractionInfo readActionsEndpointListsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster).readEndpointListsAttribute( + ( ChipClusters.ActionsCluster.EndpointListsAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedActionsClusterEndpointListsAttributeCallback(), - readActionsEndpointListsCommandParams); - readActionsInteractionInfo.put( - "readEndpointListsAttribute", readActionsEndpointListsAttributeInteractionInfo); - Map readActionsSetupURLCommandParams = - new LinkedHashMap(); - InteractionInfo readActionsSetupURLAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster) - .readSetupURLAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readActionsEndpointListsCommandParams + ); + readActionsInteractionInfo.put("readEndpointListsAttribute", readActionsEndpointListsAttributeInteractionInfo); + Map readActionsSetupURLCommandParams = new LinkedHashMap(); + InteractionInfo readActionsSetupURLAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster).readSetupURLAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readActionsSetupURLCommandParams); - readActionsInteractionInfo.put( - "readSetupURLAttribute", readActionsSetupURLAttributeInteractionInfo); - Map readActionsGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readActionsGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.ActionsCluster.GeneratedCommandListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedActionsClusterGeneratedCommandListAttributeCallback(), - readActionsGeneratedCommandListCommandParams); - readActionsInteractionInfo.put( - "readGeneratedCommandListAttribute", - readActionsGeneratedCommandListAttributeInteractionInfo); - Map readActionsAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readActionsAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.ActionsCluster.AcceptedCommandListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedActionsClusterAcceptedCommandListAttributeCallback(), - readActionsAcceptedCommandListCommandParams); - readActionsInteractionInfo.put( - "readAcceptedCommandListAttribute", readActionsAcceptedCommandListAttributeInteractionInfo); - Map readActionsEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readActionsEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster) - .readEventListAttribute( - (ChipClusters.ActionsCluster.EventListAttributeCallback) callback); - }, + readActionsSetupURLCommandParams + ); + readActionsInteractionInfo.put("readSetupURLAttribute", readActionsSetupURLAttributeInteractionInfo); + Map readActionsGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readActionsGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.ActionsCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedActionsClusterGeneratedCommandListAttributeCallback(), + readActionsGeneratedCommandListCommandParams + ); + readActionsInteractionInfo.put("readGeneratedCommandListAttribute", readActionsGeneratedCommandListAttributeInteractionInfo); + Map readActionsAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readActionsAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.ActionsCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedActionsClusterAcceptedCommandListAttributeCallback(), + readActionsAcceptedCommandListCommandParams + ); + readActionsInteractionInfo.put("readAcceptedCommandListAttribute", readActionsAcceptedCommandListAttributeInteractionInfo); + Map readActionsEventListCommandParams = new LinkedHashMap(); + InteractionInfo readActionsEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster).readEventListAttribute( + ( ChipClusters.ActionsCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedActionsClusterEventListAttributeCallback(), - readActionsEventListCommandParams); - readActionsInteractionInfo.put( - "readEventListAttribute", readActionsEventListAttributeInteractionInfo); - Map readActionsAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readActionsAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.ActionsCluster.AttributeListAttributeCallback) callback); - }, + readActionsEventListCommandParams + ); + readActionsInteractionInfo.put("readEventListAttribute", readActionsEventListAttributeInteractionInfo); + Map readActionsAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readActionsAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster).readAttributeListAttribute( + ( ChipClusters.ActionsCluster.AttributeListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedActionsClusterAttributeListAttributeCallback(), - readActionsAttributeListCommandParams); - readActionsInteractionInfo.put( - "readAttributeListAttribute", readActionsAttributeListAttributeInteractionInfo); - Map readActionsFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readActionsFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readActionsFeatureMapCommandParams); - readActionsInteractionInfo.put( - "readFeatureMapAttribute", readActionsFeatureMapAttributeInteractionInfo); - Map readActionsClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readActionsClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readActionsClusterRevisionCommandParams); - readActionsInteractionInfo.put( - "readClusterRevisionAttribute", readActionsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("actions", readActionsInteractionInfo); - Map readBasicInformationInteractionInfo = new LinkedHashMap<>(); - Map readBasicInformationDataModelRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationDataModelRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readDataModelRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBasicInformationDataModelRevisionCommandParams); - readBasicInformationInteractionInfo.put( - "readDataModelRevisionAttribute", - readBasicInformationDataModelRevisionAttributeInteractionInfo); - Map readBasicInformationVendorNameCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationVendorNameAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readVendorNameAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readActionsAttributeListCommandParams + ); + readActionsInteractionInfo.put("readAttributeListAttribute", readActionsAttributeListAttributeInteractionInfo); + Map readActionsFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readActionsFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readActionsFeatureMapCommandParams + ); + readActionsInteractionInfo.put("readFeatureMapAttribute", readActionsFeatureMapAttributeInteractionInfo); + Map readActionsClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readActionsClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readActionsClusterRevisionCommandParams + ); + readActionsInteractionInfo.put("readClusterRevisionAttribute", readActionsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("actions", readActionsInteractionInfo); + Map readBasicInformationInteractionInfo = new LinkedHashMap<>(); + Map readBasicInformationDataModelRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationDataModelRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readDataModelRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBasicInformationDataModelRevisionCommandParams + ); + readBasicInformationInteractionInfo.put("readDataModelRevisionAttribute", readBasicInformationDataModelRevisionAttributeInteractionInfo); + Map readBasicInformationVendorNameCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationVendorNameAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readVendorNameAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationVendorNameCommandParams); - readBasicInformationInteractionInfo.put( - "readVendorNameAttribute", readBasicInformationVendorNameAttributeInteractionInfo); - Map readBasicInformationVendorIDCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationVendorIDAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readVendorIDAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBasicInformationVendorIDCommandParams); - readBasicInformationInteractionInfo.put( - "readVendorIDAttribute", readBasicInformationVendorIDAttributeInteractionInfo); - Map readBasicInformationProductNameCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationProductNameAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readProductNameAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readBasicInformationVendorNameCommandParams + ); + readBasicInformationInteractionInfo.put("readVendorNameAttribute", readBasicInformationVendorNameAttributeInteractionInfo); + Map readBasicInformationVendorIDCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationVendorIDAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readVendorIDAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBasicInformationVendorIDCommandParams + ); + readBasicInformationInteractionInfo.put("readVendorIDAttribute", readBasicInformationVendorIDAttributeInteractionInfo); + Map readBasicInformationProductNameCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationProductNameAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readProductNameAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationProductNameCommandParams); - readBasicInformationInteractionInfo.put( - "readProductNameAttribute", readBasicInformationProductNameAttributeInteractionInfo); - Map readBasicInformationProductIDCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationProductIDAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readProductIDAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBasicInformationProductIDCommandParams); - readBasicInformationInteractionInfo.put( - "readProductIDAttribute", readBasicInformationProductIDAttributeInteractionInfo); - Map readBasicInformationNodeLabelCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationNodeLabelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readNodeLabelAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readBasicInformationProductNameCommandParams + ); + readBasicInformationInteractionInfo.put("readProductNameAttribute", readBasicInformationProductNameAttributeInteractionInfo); + Map readBasicInformationProductIDCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationProductIDAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readProductIDAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBasicInformationProductIDCommandParams + ); + readBasicInformationInteractionInfo.put("readProductIDAttribute", readBasicInformationProductIDAttributeInteractionInfo); + Map readBasicInformationNodeLabelCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationNodeLabelAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readNodeLabelAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationNodeLabelCommandParams); - readBasicInformationInteractionInfo.put( - "readNodeLabelAttribute", readBasicInformationNodeLabelAttributeInteractionInfo); - Map readBasicInformationLocationCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationLocationAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readLocationAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readBasicInformationNodeLabelCommandParams + ); + readBasicInformationInteractionInfo.put("readNodeLabelAttribute", readBasicInformationNodeLabelAttributeInteractionInfo); + Map readBasicInformationLocationCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationLocationAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readLocationAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationLocationCommandParams); - readBasicInformationInteractionInfo.put( - "readLocationAttribute", readBasicInformationLocationAttributeInteractionInfo); - Map readBasicInformationHardwareVersionCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationHardwareVersionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readHardwareVersionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBasicInformationHardwareVersionCommandParams); - readBasicInformationInteractionInfo.put( - "readHardwareVersionAttribute", - readBasicInformationHardwareVersionAttributeInteractionInfo); - Map readBasicInformationHardwareVersionStringCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationHardwareVersionStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readHardwareVersionStringAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, + readBasicInformationLocationCommandParams + ); + readBasicInformationInteractionInfo.put("readLocationAttribute", readBasicInformationLocationAttributeInteractionInfo); + Map readBasicInformationHardwareVersionCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationHardwareVersionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readHardwareVersionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBasicInformationHardwareVersionCommandParams + ); + readBasicInformationInteractionInfo.put("readHardwareVersionAttribute", readBasicInformationHardwareVersionAttributeInteractionInfo); + Map readBasicInformationHardwareVersionStringCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationHardwareVersionStringAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readHardwareVersionStringAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationHardwareVersionStringCommandParams); - readBasicInformationInteractionInfo.put( - "readHardwareVersionStringAttribute", - readBasicInformationHardwareVersionStringAttributeInteractionInfo); - Map readBasicInformationSoftwareVersionCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationSoftwareVersionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readSoftwareVersionAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readBasicInformationSoftwareVersionCommandParams); - readBasicInformationInteractionInfo.put( - "readSoftwareVersionAttribute", - readBasicInformationSoftwareVersionAttributeInteractionInfo); - Map readBasicInformationSoftwareVersionStringCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationSoftwareVersionStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readSoftwareVersionStringAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, + readBasicInformationHardwareVersionStringCommandParams + ); + readBasicInformationInteractionInfo.put("readHardwareVersionStringAttribute", readBasicInformationHardwareVersionStringAttributeInteractionInfo); + Map readBasicInformationSoftwareVersionCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationSoftwareVersionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readSoftwareVersionAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readBasicInformationSoftwareVersionCommandParams + ); + readBasicInformationInteractionInfo.put("readSoftwareVersionAttribute", readBasicInformationSoftwareVersionAttributeInteractionInfo); + Map readBasicInformationSoftwareVersionStringCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationSoftwareVersionStringAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readSoftwareVersionStringAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationSoftwareVersionStringCommandParams); - readBasicInformationInteractionInfo.put( - "readSoftwareVersionStringAttribute", - readBasicInformationSoftwareVersionStringAttributeInteractionInfo); - Map readBasicInformationManufacturingDateCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationManufacturingDateAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readManufacturingDateAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, + readBasicInformationSoftwareVersionStringCommandParams + ); + readBasicInformationInteractionInfo.put("readSoftwareVersionStringAttribute", readBasicInformationSoftwareVersionStringAttributeInteractionInfo); + Map readBasicInformationManufacturingDateCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationManufacturingDateAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readManufacturingDateAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationManufacturingDateCommandParams); - readBasicInformationInteractionInfo.put( - "readManufacturingDateAttribute", - readBasicInformationManufacturingDateAttributeInteractionInfo); - Map readBasicInformationPartNumberCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationPartNumberAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readPartNumberAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readBasicInformationManufacturingDateCommandParams + ); + readBasicInformationInteractionInfo.put("readManufacturingDateAttribute", readBasicInformationManufacturingDateAttributeInteractionInfo); + Map readBasicInformationPartNumberCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationPartNumberAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readPartNumberAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationPartNumberCommandParams); - readBasicInformationInteractionInfo.put( - "readPartNumberAttribute", readBasicInformationPartNumberAttributeInteractionInfo); - Map readBasicInformationProductURLCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationProductURLAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readProductURLAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readBasicInformationPartNumberCommandParams + ); + readBasicInformationInteractionInfo.put("readPartNumberAttribute", readBasicInformationPartNumberAttributeInteractionInfo); + Map readBasicInformationProductURLCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationProductURLAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readProductURLAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationProductURLCommandParams); - readBasicInformationInteractionInfo.put( - "readProductURLAttribute", readBasicInformationProductURLAttributeInteractionInfo); - Map readBasicInformationProductLabelCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationProductLabelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readProductLabelAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readBasicInformationProductURLCommandParams + ); + readBasicInformationInteractionInfo.put("readProductURLAttribute", readBasicInformationProductURLAttributeInteractionInfo); + Map readBasicInformationProductLabelCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationProductLabelAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readProductLabelAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationProductLabelCommandParams); - readBasicInformationInteractionInfo.put( - "readProductLabelAttribute", readBasicInformationProductLabelAttributeInteractionInfo); - Map readBasicInformationSerialNumberCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationSerialNumberAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readSerialNumberAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readBasicInformationProductLabelCommandParams + ); + readBasicInformationInteractionInfo.put("readProductLabelAttribute", readBasicInformationProductLabelAttributeInteractionInfo); + Map readBasicInformationSerialNumberCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationSerialNumberAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readSerialNumberAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationSerialNumberCommandParams); - readBasicInformationInteractionInfo.put( - "readSerialNumberAttribute", readBasicInformationSerialNumberAttributeInteractionInfo); - Map readBasicInformationLocalConfigDisabledCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationLocalConfigDisabledAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readLocalConfigDisabledAttribute( - (ChipClusters.BooleanAttributeCallback) callback); - }, + readBasicInformationSerialNumberCommandParams + ); + readBasicInformationInteractionInfo.put("readSerialNumberAttribute", readBasicInformationSerialNumberAttributeInteractionInfo); + Map readBasicInformationLocalConfigDisabledCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationLocalConfigDisabledAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readLocalConfigDisabledAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readBasicInformationLocalConfigDisabledCommandParams); - readBasicInformationInteractionInfo.put( - "readLocalConfigDisabledAttribute", - readBasicInformationLocalConfigDisabledAttributeInteractionInfo); - Map readBasicInformationReachableCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationReachableAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readReachableAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, + readBasicInformationLocalConfigDisabledCommandParams + ); + readBasicInformationInteractionInfo.put("readLocalConfigDisabledAttribute", readBasicInformationLocalConfigDisabledAttributeInteractionInfo); + Map readBasicInformationReachableCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationReachableAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readReachableAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readBasicInformationReachableCommandParams); - readBasicInformationInteractionInfo.put( - "readReachableAttribute", readBasicInformationReachableAttributeInteractionInfo); - Map readBasicInformationUniqueIDCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationUniqueIDAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readUniqueIDAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readBasicInformationReachableCommandParams + ); + readBasicInformationInteractionInfo.put("readReachableAttribute", readBasicInformationReachableAttributeInteractionInfo); + Map readBasicInformationUniqueIDCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationUniqueIDAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readUniqueIDAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationUniqueIDCommandParams); - readBasicInformationInteractionInfo.put( - "readUniqueIDAttribute", readBasicInformationUniqueIDAttributeInteractionInfo); - Map readBasicInformationGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.BasicInformationCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBasicInformationClusterGeneratedCommandListAttributeCallback(), - readBasicInformationGeneratedCommandListCommandParams); - readBasicInformationInteractionInfo.put( - "readGeneratedCommandListAttribute", - readBasicInformationGeneratedCommandListAttributeInteractionInfo); - Map readBasicInformationAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.BasicInformationCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBasicInformationClusterAcceptedCommandListAttributeCallback(), - readBasicInformationAcceptedCommandListCommandParams); - readBasicInformationInteractionInfo.put( - "readAcceptedCommandListAttribute", - readBasicInformationAcceptedCommandListAttributeInteractionInfo); - Map readBasicInformationEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readEventListAttribute( - (ChipClusters.BasicInformationCluster.EventListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedBasicInformationClusterEventListAttributeCallback(), - readBasicInformationEventListCommandParams); - readBasicInformationInteractionInfo.put( - "readEventListAttribute", readBasicInformationEventListAttributeInteractionInfo); - Map readBasicInformationAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.BasicInformationCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBasicInformationClusterAttributeListAttributeCallback(), - readBasicInformationAttributeListCommandParams); - readBasicInformationInteractionInfo.put( - "readAttributeListAttribute", readBasicInformationAttributeListAttributeInteractionInfo); - Map readBasicInformationFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readBasicInformationFeatureMapCommandParams); - readBasicInformationInteractionInfo.put( - "readFeatureMapAttribute", readBasicInformationFeatureMapAttributeInteractionInfo); - Map readBasicInformationClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readBasicInformationClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBasicInformationClusterRevisionCommandParams); - readBasicInformationInteractionInfo.put( - "readClusterRevisionAttribute", - readBasicInformationClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("basicInformation", readBasicInformationInteractionInfo); - Map readOtaSoftwareUpdateProviderInteractionInfo = - new LinkedHashMap<>(); - Map - readOtaSoftwareUpdateProviderGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateProviderGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.OtaSoftwareUpdateProviderCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOtaSoftwareUpdateProviderClusterGeneratedCommandListAttributeCallback(), - readOtaSoftwareUpdateProviderGeneratedCommandListCommandParams); - readOtaSoftwareUpdateProviderInteractionInfo.put( - "readGeneratedCommandListAttribute", - readOtaSoftwareUpdateProviderGeneratedCommandListAttributeInteractionInfo); - Map - readOtaSoftwareUpdateProviderAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateProviderAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.OtaSoftwareUpdateProviderCluster - .AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOtaSoftwareUpdateProviderClusterAcceptedCommandListAttributeCallback(), - readOtaSoftwareUpdateProviderAcceptedCommandListCommandParams); - readOtaSoftwareUpdateProviderInteractionInfo.put( - "readAcceptedCommandListAttribute", - readOtaSoftwareUpdateProviderAcceptedCommandListAttributeInteractionInfo); - Map readOtaSoftwareUpdateProviderEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateProviderEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster) - .readEventListAttribute( - (ChipClusters.OtaSoftwareUpdateProviderCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOtaSoftwareUpdateProviderClusterEventListAttributeCallback(), - readOtaSoftwareUpdateProviderEventListCommandParams); - readOtaSoftwareUpdateProviderInteractionInfo.put( - "readEventListAttribute", readOtaSoftwareUpdateProviderEventListAttributeInteractionInfo); - Map readOtaSoftwareUpdateProviderAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateProviderAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.OtaSoftwareUpdateProviderCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOtaSoftwareUpdateProviderClusterAttributeListAttributeCallback(), - readOtaSoftwareUpdateProviderAttributeListCommandParams); - readOtaSoftwareUpdateProviderInteractionInfo.put( - "readAttributeListAttribute", - readOtaSoftwareUpdateProviderAttributeListAttributeInteractionInfo); - Map readOtaSoftwareUpdateProviderFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateProviderFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readOtaSoftwareUpdateProviderFeatureMapCommandParams); - readOtaSoftwareUpdateProviderInteractionInfo.put( - "readFeatureMapAttribute", readOtaSoftwareUpdateProviderFeatureMapAttributeInteractionInfo); - Map readOtaSoftwareUpdateProviderClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateProviderClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOtaSoftwareUpdateProviderClusterRevisionCommandParams); - readOtaSoftwareUpdateProviderInteractionInfo.put( - "readClusterRevisionAttribute", - readOtaSoftwareUpdateProviderClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("otaSoftwareUpdateProvider", readOtaSoftwareUpdateProviderInteractionInfo); - Map readOtaSoftwareUpdateRequestorInteractionInfo = - new LinkedHashMap<>(); - Map - readOtaSoftwareUpdateRequestorDefaultOTAProvidersCommandParams = - new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorDefaultOTAProvidersAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) - .readDefaultOTAProvidersAttribute( - (ChipClusters.OtaSoftwareUpdateRequestorCluster - .DefaultOTAProvidersAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOtaSoftwareUpdateRequestorClusterDefaultOTAProvidersAttributeCallback(), - readOtaSoftwareUpdateRequestorDefaultOTAProvidersCommandParams); - readOtaSoftwareUpdateRequestorInteractionInfo.put( - "readDefaultOTAProvidersAttribute", - readOtaSoftwareUpdateRequestorDefaultOTAProvidersAttributeInteractionInfo); - Map readOtaSoftwareUpdateRequestorUpdatePossibleCommandParams = - new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorUpdatePossibleAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) - .readUpdatePossibleAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, + readBasicInformationUniqueIDCommandParams + ); + readBasicInformationInteractionInfo.put("readUniqueIDAttribute", readBasicInformationUniqueIDAttributeInteractionInfo); + Map readBasicInformationGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.BasicInformationCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBasicInformationClusterGeneratedCommandListAttributeCallback(), + readBasicInformationGeneratedCommandListCommandParams + ); + readBasicInformationInteractionInfo.put("readGeneratedCommandListAttribute", readBasicInformationGeneratedCommandListAttributeInteractionInfo); + Map readBasicInformationAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.BasicInformationCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBasicInformationClusterAcceptedCommandListAttributeCallback(), + readBasicInformationAcceptedCommandListCommandParams + ); + readBasicInformationInteractionInfo.put("readAcceptedCommandListAttribute", readBasicInformationAcceptedCommandListAttributeInteractionInfo); + Map readBasicInformationEventListCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readEventListAttribute( + ( ChipClusters.BasicInformationCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBasicInformationClusterEventListAttributeCallback(), + readBasicInformationEventListCommandParams + ); + readBasicInformationInteractionInfo.put("readEventListAttribute", readBasicInformationEventListAttributeInteractionInfo); + Map readBasicInformationAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readAttributeListAttribute( + ( ChipClusters.BasicInformationCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBasicInformationClusterAttributeListAttributeCallback(), + readBasicInformationAttributeListCommandParams + ); + readBasicInformationInteractionInfo.put("readAttributeListAttribute", readBasicInformationAttributeListAttributeInteractionInfo); + Map readBasicInformationFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readBasicInformationFeatureMapCommandParams + ); + readBasicInformationInteractionInfo.put("readFeatureMapAttribute", readBasicInformationFeatureMapAttributeInteractionInfo); + Map readBasicInformationClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readBasicInformationClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBasicInformationClusterRevisionCommandParams + ); + readBasicInformationInteractionInfo.put("readClusterRevisionAttribute", readBasicInformationClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("basicInformation", readBasicInformationInteractionInfo); + Map readOtaSoftwareUpdateProviderInteractionInfo = new LinkedHashMap<>(); + Map readOtaSoftwareUpdateProviderGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateProviderGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.OtaSoftwareUpdateProviderCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOtaSoftwareUpdateProviderClusterGeneratedCommandListAttributeCallback(), + readOtaSoftwareUpdateProviderGeneratedCommandListCommandParams + ); + readOtaSoftwareUpdateProviderInteractionInfo.put("readGeneratedCommandListAttribute", readOtaSoftwareUpdateProviderGeneratedCommandListAttributeInteractionInfo); + Map readOtaSoftwareUpdateProviderAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateProviderAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.OtaSoftwareUpdateProviderCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOtaSoftwareUpdateProviderClusterAcceptedCommandListAttributeCallback(), + readOtaSoftwareUpdateProviderAcceptedCommandListCommandParams + ); + readOtaSoftwareUpdateProviderInteractionInfo.put("readAcceptedCommandListAttribute", readOtaSoftwareUpdateProviderAcceptedCommandListAttributeInteractionInfo); + Map readOtaSoftwareUpdateProviderEventListCommandParams = new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateProviderEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster).readEventListAttribute( + ( ChipClusters.OtaSoftwareUpdateProviderCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOtaSoftwareUpdateProviderClusterEventListAttributeCallback(), + readOtaSoftwareUpdateProviderEventListCommandParams + ); + readOtaSoftwareUpdateProviderInteractionInfo.put("readEventListAttribute", readOtaSoftwareUpdateProviderEventListAttributeInteractionInfo); + Map readOtaSoftwareUpdateProviderAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateProviderAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster).readAttributeListAttribute( + ( ChipClusters.OtaSoftwareUpdateProviderCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOtaSoftwareUpdateProviderClusterAttributeListAttributeCallback(), + readOtaSoftwareUpdateProviderAttributeListCommandParams + ); + readOtaSoftwareUpdateProviderInteractionInfo.put("readAttributeListAttribute", readOtaSoftwareUpdateProviderAttributeListAttributeInteractionInfo); + Map readOtaSoftwareUpdateProviderFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateProviderFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readOtaSoftwareUpdateProviderFeatureMapCommandParams + ); + readOtaSoftwareUpdateProviderInteractionInfo.put("readFeatureMapAttribute", readOtaSoftwareUpdateProviderFeatureMapAttributeInteractionInfo); + Map readOtaSoftwareUpdateProviderClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateProviderClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOtaSoftwareUpdateProviderClusterRevisionCommandParams + ); + readOtaSoftwareUpdateProviderInteractionInfo.put("readClusterRevisionAttribute", readOtaSoftwareUpdateProviderClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("otaSoftwareUpdateProvider", readOtaSoftwareUpdateProviderInteractionInfo); + Map readOtaSoftwareUpdateRequestorInteractionInfo = new LinkedHashMap<>(); + Map readOtaSoftwareUpdateRequestorDefaultOTAProvidersCommandParams = new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorDefaultOTAProvidersAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster).readDefaultOTAProvidersAttribute( + ( ChipClusters.OtaSoftwareUpdateRequestorCluster.DefaultOTAProvidersAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOtaSoftwareUpdateRequestorClusterDefaultOTAProvidersAttributeCallback(), + readOtaSoftwareUpdateRequestorDefaultOTAProvidersCommandParams + ); + readOtaSoftwareUpdateRequestorInteractionInfo.put("readDefaultOTAProvidersAttribute", readOtaSoftwareUpdateRequestorDefaultOTAProvidersAttributeInteractionInfo); + Map readOtaSoftwareUpdateRequestorUpdatePossibleCommandParams = new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorUpdatePossibleAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster).readUpdatePossibleAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readOtaSoftwareUpdateRequestorUpdatePossibleCommandParams); - readOtaSoftwareUpdateRequestorInteractionInfo.put( - "readUpdatePossibleAttribute", - readOtaSoftwareUpdateRequestorUpdatePossibleAttributeInteractionInfo); - Map readOtaSoftwareUpdateRequestorUpdateStateCommandParams = - new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorUpdateStateAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) - .readUpdateStateAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOtaSoftwareUpdateRequestorUpdateStateCommandParams); - readOtaSoftwareUpdateRequestorInteractionInfo.put( - "readUpdateStateAttribute", - readOtaSoftwareUpdateRequestorUpdateStateAttributeInteractionInfo); - Map - readOtaSoftwareUpdateRequestorUpdateStateProgressCommandParams = - new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorUpdateStateProgressAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) - .readUpdateStateProgressAttribute( - (ChipClusters.OtaSoftwareUpdateRequestorCluster - .UpdateStateProgressAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOtaSoftwareUpdateRequestorClusterUpdateStateProgressAttributeCallback(), - readOtaSoftwareUpdateRequestorUpdateStateProgressCommandParams); - readOtaSoftwareUpdateRequestorInteractionInfo.put( - "readUpdateStateProgressAttribute", - readOtaSoftwareUpdateRequestorUpdateStateProgressAttributeInteractionInfo); - Map - readOtaSoftwareUpdateRequestorGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.OtaSoftwareUpdateRequestorCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOtaSoftwareUpdateRequestorClusterGeneratedCommandListAttributeCallback(), - readOtaSoftwareUpdateRequestorGeneratedCommandListCommandParams); - readOtaSoftwareUpdateRequestorInteractionInfo.put( - "readGeneratedCommandListAttribute", - readOtaSoftwareUpdateRequestorGeneratedCommandListAttributeInteractionInfo); - Map - readOtaSoftwareUpdateRequestorAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.OtaSoftwareUpdateRequestorCluster - .AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOtaSoftwareUpdateRequestorClusterAcceptedCommandListAttributeCallback(), - readOtaSoftwareUpdateRequestorAcceptedCommandListCommandParams); - readOtaSoftwareUpdateRequestorInteractionInfo.put( - "readAcceptedCommandListAttribute", - readOtaSoftwareUpdateRequestorAcceptedCommandListAttributeInteractionInfo); - Map readOtaSoftwareUpdateRequestorEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) - .readEventListAttribute( - (ChipClusters.OtaSoftwareUpdateRequestorCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOtaSoftwareUpdateRequestorClusterEventListAttributeCallback(), - readOtaSoftwareUpdateRequestorEventListCommandParams); - readOtaSoftwareUpdateRequestorInteractionInfo.put( - "readEventListAttribute", readOtaSoftwareUpdateRequestorEventListAttributeInteractionInfo); - Map readOtaSoftwareUpdateRequestorAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.OtaSoftwareUpdateRequestorCluster - .AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOtaSoftwareUpdateRequestorClusterAttributeListAttributeCallback(), - readOtaSoftwareUpdateRequestorAttributeListCommandParams); - readOtaSoftwareUpdateRequestorInteractionInfo.put( - "readAttributeListAttribute", - readOtaSoftwareUpdateRequestorAttributeListAttributeInteractionInfo); - Map readOtaSoftwareUpdateRequestorFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readOtaSoftwareUpdateRequestorFeatureMapCommandParams); - readOtaSoftwareUpdateRequestorInteractionInfo.put( - "readFeatureMapAttribute", - readOtaSoftwareUpdateRequestorFeatureMapAttributeInteractionInfo); - Map readOtaSoftwareUpdateRequestorClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOtaSoftwareUpdateRequestorClusterRevisionCommandParams); - readOtaSoftwareUpdateRequestorInteractionInfo.put( - "readClusterRevisionAttribute", - readOtaSoftwareUpdateRequestorClusterRevisionAttributeInteractionInfo); - readAttributeMap.put( - "otaSoftwareUpdateRequestor", readOtaSoftwareUpdateRequestorInteractionInfo); - Map readLocalizationConfigurationInteractionInfo = - new LinkedHashMap<>(); - Map readLocalizationConfigurationActiveLocaleCommandParams = - new LinkedHashMap(); - InteractionInfo readLocalizationConfigurationActiveLocaleAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LocalizationConfigurationCluster) cluster) - .readActiveLocaleAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readOtaSoftwareUpdateRequestorUpdatePossibleCommandParams + ); + readOtaSoftwareUpdateRequestorInteractionInfo.put("readUpdatePossibleAttribute", readOtaSoftwareUpdateRequestorUpdatePossibleAttributeInteractionInfo); + Map readOtaSoftwareUpdateRequestorUpdateStateCommandParams = new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorUpdateStateAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster).readUpdateStateAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOtaSoftwareUpdateRequestorUpdateStateCommandParams + ); + readOtaSoftwareUpdateRequestorInteractionInfo.put("readUpdateStateAttribute", readOtaSoftwareUpdateRequestorUpdateStateAttributeInteractionInfo); + Map readOtaSoftwareUpdateRequestorUpdateStateProgressCommandParams = new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorUpdateStateProgressAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster).readUpdateStateProgressAttribute( + ( ChipClusters.OtaSoftwareUpdateRequestorCluster.UpdateStateProgressAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOtaSoftwareUpdateRequestorClusterUpdateStateProgressAttributeCallback(), + readOtaSoftwareUpdateRequestorUpdateStateProgressCommandParams + ); + readOtaSoftwareUpdateRequestorInteractionInfo.put("readUpdateStateProgressAttribute", readOtaSoftwareUpdateRequestorUpdateStateProgressAttributeInteractionInfo); + Map readOtaSoftwareUpdateRequestorGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.OtaSoftwareUpdateRequestorCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOtaSoftwareUpdateRequestorClusterGeneratedCommandListAttributeCallback(), + readOtaSoftwareUpdateRequestorGeneratedCommandListCommandParams + ); + readOtaSoftwareUpdateRequestorInteractionInfo.put("readGeneratedCommandListAttribute", readOtaSoftwareUpdateRequestorGeneratedCommandListAttributeInteractionInfo); + Map readOtaSoftwareUpdateRequestorAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.OtaSoftwareUpdateRequestorCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOtaSoftwareUpdateRequestorClusterAcceptedCommandListAttributeCallback(), + readOtaSoftwareUpdateRequestorAcceptedCommandListCommandParams + ); + readOtaSoftwareUpdateRequestorInteractionInfo.put("readAcceptedCommandListAttribute", readOtaSoftwareUpdateRequestorAcceptedCommandListAttributeInteractionInfo); + Map readOtaSoftwareUpdateRequestorEventListCommandParams = new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster).readEventListAttribute( + ( ChipClusters.OtaSoftwareUpdateRequestorCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOtaSoftwareUpdateRequestorClusterEventListAttributeCallback(), + readOtaSoftwareUpdateRequestorEventListCommandParams + ); + readOtaSoftwareUpdateRequestorInteractionInfo.put("readEventListAttribute", readOtaSoftwareUpdateRequestorEventListAttributeInteractionInfo); + Map readOtaSoftwareUpdateRequestorAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster).readAttributeListAttribute( + ( ChipClusters.OtaSoftwareUpdateRequestorCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOtaSoftwareUpdateRequestorClusterAttributeListAttributeCallback(), + readOtaSoftwareUpdateRequestorAttributeListCommandParams + ); + readOtaSoftwareUpdateRequestorInteractionInfo.put("readAttributeListAttribute", readOtaSoftwareUpdateRequestorAttributeListAttributeInteractionInfo); + Map readOtaSoftwareUpdateRequestorFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readOtaSoftwareUpdateRequestorFeatureMapCommandParams + ); + readOtaSoftwareUpdateRequestorInteractionInfo.put("readFeatureMapAttribute", readOtaSoftwareUpdateRequestorFeatureMapAttributeInteractionInfo); + Map readOtaSoftwareUpdateRequestorClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOtaSoftwareUpdateRequestorClusterRevisionCommandParams + ); + readOtaSoftwareUpdateRequestorInteractionInfo.put("readClusterRevisionAttribute", readOtaSoftwareUpdateRequestorClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("otaSoftwareUpdateRequestor", readOtaSoftwareUpdateRequestorInteractionInfo); + Map readLocalizationConfigurationInteractionInfo = new LinkedHashMap<>(); + Map readLocalizationConfigurationActiveLocaleCommandParams = new LinkedHashMap(); + InteractionInfo readLocalizationConfigurationActiveLocaleAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LocalizationConfigurationCluster) cluster).readActiveLocaleAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readLocalizationConfigurationActiveLocaleCommandParams); - readLocalizationConfigurationInteractionInfo.put( - "readActiveLocaleAttribute", - readLocalizationConfigurationActiveLocaleAttributeInteractionInfo); - Map readLocalizationConfigurationSupportedLocalesCommandParams = - new LinkedHashMap(); - InteractionInfo readLocalizationConfigurationSupportedLocalesAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LocalizationConfigurationCluster) cluster) - .readSupportedLocalesAttribute( - (ChipClusters.LocalizationConfigurationCluster - .SupportedLocalesAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedLocalizationConfigurationClusterSupportedLocalesAttributeCallback(), - readLocalizationConfigurationSupportedLocalesCommandParams); - readLocalizationConfigurationInteractionInfo.put( - "readSupportedLocalesAttribute", - readLocalizationConfigurationSupportedLocalesAttributeInteractionInfo); - Map - readLocalizationConfigurationGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readLocalizationConfigurationGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LocalizationConfigurationCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.LocalizationConfigurationCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedLocalizationConfigurationClusterGeneratedCommandListAttributeCallback(), - readLocalizationConfigurationGeneratedCommandListCommandParams); - readLocalizationConfigurationInteractionInfo.put( - "readGeneratedCommandListAttribute", - readLocalizationConfigurationGeneratedCommandListAttributeInteractionInfo); - Map - readLocalizationConfigurationAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readLocalizationConfigurationAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LocalizationConfigurationCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.LocalizationConfigurationCluster - .AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedLocalizationConfigurationClusterAcceptedCommandListAttributeCallback(), - readLocalizationConfigurationAcceptedCommandListCommandParams); - readLocalizationConfigurationInteractionInfo.put( - "readAcceptedCommandListAttribute", - readLocalizationConfigurationAcceptedCommandListAttributeInteractionInfo); - Map readLocalizationConfigurationEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readLocalizationConfigurationEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LocalizationConfigurationCluster) cluster) - .readEventListAttribute( - (ChipClusters.LocalizationConfigurationCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedLocalizationConfigurationClusterEventListAttributeCallback(), - readLocalizationConfigurationEventListCommandParams); - readLocalizationConfigurationInteractionInfo.put( - "readEventListAttribute", readLocalizationConfigurationEventListAttributeInteractionInfo); - Map readLocalizationConfigurationAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readLocalizationConfigurationAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LocalizationConfigurationCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.LocalizationConfigurationCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedLocalizationConfigurationClusterAttributeListAttributeCallback(), - readLocalizationConfigurationAttributeListCommandParams); - readLocalizationConfigurationInteractionInfo.put( - "readAttributeListAttribute", - readLocalizationConfigurationAttributeListAttributeInteractionInfo); - Map readLocalizationConfigurationFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readLocalizationConfigurationFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LocalizationConfigurationCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readLocalizationConfigurationFeatureMapCommandParams); - readLocalizationConfigurationInteractionInfo.put( - "readFeatureMapAttribute", readLocalizationConfigurationFeatureMapAttributeInteractionInfo); - Map readLocalizationConfigurationClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readLocalizationConfigurationClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LocalizationConfigurationCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readLocalizationConfigurationClusterRevisionCommandParams); - readLocalizationConfigurationInteractionInfo.put( - "readClusterRevisionAttribute", - readLocalizationConfigurationClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("localizationConfiguration", readLocalizationConfigurationInteractionInfo); - Map readTimeFormatLocalizationInteractionInfo = new LinkedHashMap<>(); - Map readTimeFormatLocalizationHourFormatCommandParams = - new LinkedHashMap(); - InteractionInfo readTimeFormatLocalizationHourFormatAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeFormatLocalizationCluster) cluster) - .readHourFormatAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readTimeFormatLocalizationHourFormatCommandParams); - readTimeFormatLocalizationInteractionInfo.put( - "readHourFormatAttribute", readTimeFormatLocalizationHourFormatAttributeInteractionInfo); - Map readTimeFormatLocalizationActiveCalendarTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readTimeFormatLocalizationActiveCalendarTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeFormatLocalizationCluster) cluster) - .readActiveCalendarTypeAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readTimeFormatLocalizationActiveCalendarTypeCommandParams); - readTimeFormatLocalizationInteractionInfo.put( - "readActiveCalendarTypeAttribute", - readTimeFormatLocalizationActiveCalendarTypeAttributeInteractionInfo); - Map - readTimeFormatLocalizationSupportedCalendarTypesCommandParams = - new LinkedHashMap(); - InteractionInfo readTimeFormatLocalizationSupportedCalendarTypesAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeFormatLocalizationCluster) cluster) - .readSupportedCalendarTypesAttribute( - (ChipClusters.TimeFormatLocalizationCluster - .SupportedCalendarTypesAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedTimeFormatLocalizationClusterSupportedCalendarTypesAttributeCallback(), - readTimeFormatLocalizationSupportedCalendarTypesCommandParams); - readTimeFormatLocalizationInteractionInfo.put( - "readSupportedCalendarTypesAttribute", - readTimeFormatLocalizationSupportedCalendarTypesAttributeInteractionInfo); - Map readTimeFormatLocalizationGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readTimeFormatLocalizationGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeFormatLocalizationCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.TimeFormatLocalizationCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedTimeFormatLocalizationClusterGeneratedCommandListAttributeCallback(), - readTimeFormatLocalizationGeneratedCommandListCommandParams); - readTimeFormatLocalizationInteractionInfo.put( - "readGeneratedCommandListAttribute", - readTimeFormatLocalizationGeneratedCommandListAttributeInteractionInfo); - Map readTimeFormatLocalizationAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readTimeFormatLocalizationAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeFormatLocalizationCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.TimeFormatLocalizationCluster - .AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedTimeFormatLocalizationClusterAcceptedCommandListAttributeCallback(), - readTimeFormatLocalizationAcceptedCommandListCommandParams); - readTimeFormatLocalizationInteractionInfo.put( - "readAcceptedCommandListAttribute", - readTimeFormatLocalizationAcceptedCommandListAttributeInteractionInfo); - Map readTimeFormatLocalizationEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readTimeFormatLocalizationEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeFormatLocalizationCluster) cluster) - .readEventListAttribute( - (ChipClusters.TimeFormatLocalizationCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedTimeFormatLocalizationClusterEventListAttributeCallback(), - readTimeFormatLocalizationEventListCommandParams); - readTimeFormatLocalizationInteractionInfo.put( - "readEventListAttribute", readTimeFormatLocalizationEventListAttributeInteractionInfo); - Map readTimeFormatLocalizationAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readTimeFormatLocalizationAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeFormatLocalizationCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.TimeFormatLocalizationCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedTimeFormatLocalizationClusterAttributeListAttributeCallback(), - readTimeFormatLocalizationAttributeListCommandParams); - readTimeFormatLocalizationInteractionInfo.put( - "readAttributeListAttribute", - readTimeFormatLocalizationAttributeListAttributeInteractionInfo); - Map readTimeFormatLocalizationFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readTimeFormatLocalizationFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeFormatLocalizationCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readTimeFormatLocalizationFeatureMapCommandParams); - readTimeFormatLocalizationInteractionInfo.put( - "readFeatureMapAttribute", readTimeFormatLocalizationFeatureMapAttributeInteractionInfo); - Map readTimeFormatLocalizationClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readTimeFormatLocalizationClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeFormatLocalizationCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readTimeFormatLocalizationClusterRevisionCommandParams); - readTimeFormatLocalizationInteractionInfo.put( - "readClusterRevisionAttribute", - readTimeFormatLocalizationClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("timeFormatLocalization", readTimeFormatLocalizationInteractionInfo); - Map readUnitLocalizationInteractionInfo = new LinkedHashMap<>(); - Map readUnitLocalizationTemperatureUnitCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitLocalizationTemperatureUnitAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitLocalizationCluster) cluster) - .readTemperatureUnitAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitLocalizationTemperatureUnitCommandParams); - readUnitLocalizationInteractionInfo.put( - "readTemperatureUnitAttribute", - readUnitLocalizationTemperatureUnitAttributeInteractionInfo); - Map readUnitLocalizationGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitLocalizationGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitLocalizationCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.UnitLocalizationCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitLocalizationClusterGeneratedCommandListAttributeCallback(), - readUnitLocalizationGeneratedCommandListCommandParams); - readUnitLocalizationInteractionInfo.put( - "readGeneratedCommandListAttribute", - readUnitLocalizationGeneratedCommandListAttributeInteractionInfo); - Map readUnitLocalizationAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitLocalizationAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitLocalizationCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.UnitLocalizationCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitLocalizationClusterAcceptedCommandListAttributeCallback(), - readUnitLocalizationAcceptedCommandListCommandParams); - readUnitLocalizationInteractionInfo.put( - "readAcceptedCommandListAttribute", - readUnitLocalizationAcceptedCommandListAttributeInteractionInfo); - Map readUnitLocalizationEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitLocalizationEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitLocalizationCluster) cluster) - .readEventListAttribute( - (ChipClusters.UnitLocalizationCluster.EventListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedUnitLocalizationClusterEventListAttributeCallback(), - readUnitLocalizationEventListCommandParams); - readUnitLocalizationInteractionInfo.put( - "readEventListAttribute", readUnitLocalizationEventListAttributeInteractionInfo); - Map readUnitLocalizationAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitLocalizationAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitLocalizationCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.UnitLocalizationCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitLocalizationClusterAttributeListAttributeCallback(), - readUnitLocalizationAttributeListCommandParams); - readUnitLocalizationInteractionInfo.put( - "readAttributeListAttribute", readUnitLocalizationAttributeListAttributeInteractionInfo); - Map readUnitLocalizationFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitLocalizationFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitLocalizationCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitLocalizationFeatureMapCommandParams); - readUnitLocalizationInteractionInfo.put( - "readFeatureMapAttribute", readUnitLocalizationFeatureMapAttributeInteractionInfo); - Map readUnitLocalizationClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitLocalizationClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitLocalizationCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitLocalizationClusterRevisionCommandParams); - readUnitLocalizationInteractionInfo.put( - "readClusterRevisionAttribute", - readUnitLocalizationClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("unitLocalization", readUnitLocalizationInteractionInfo); - Map readPowerSourceConfigurationInteractionInfo = - new LinkedHashMap<>(); - Map readPowerSourceConfigurationSourcesCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceConfigurationSourcesAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceConfigurationCluster) cluster) - .readSourcesAttribute( - (ChipClusters.PowerSourceConfigurationCluster.SourcesAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPowerSourceConfigurationClusterSourcesAttributeCallback(), - readPowerSourceConfigurationSourcesCommandParams); - readPowerSourceConfigurationInteractionInfo.put( - "readSourcesAttribute", readPowerSourceConfigurationSourcesAttributeInteractionInfo); - Map - readPowerSourceConfigurationGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceConfigurationGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceConfigurationCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.PowerSourceConfigurationCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPowerSourceConfigurationClusterGeneratedCommandListAttributeCallback(), - readPowerSourceConfigurationGeneratedCommandListCommandParams); - readPowerSourceConfigurationInteractionInfo.put( - "readGeneratedCommandListAttribute", - readPowerSourceConfigurationGeneratedCommandListAttributeInteractionInfo); - Map readPowerSourceConfigurationAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceConfigurationAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceConfigurationCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.PowerSourceConfigurationCluster - .AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPowerSourceConfigurationClusterAcceptedCommandListAttributeCallback(), - readPowerSourceConfigurationAcceptedCommandListCommandParams); - readPowerSourceConfigurationInteractionInfo.put( - "readAcceptedCommandListAttribute", - readPowerSourceConfigurationAcceptedCommandListAttributeInteractionInfo); - Map readPowerSourceConfigurationEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceConfigurationEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceConfigurationCluster) cluster) - .readEventListAttribute( - (ChipClusters.PowerSourceConfigurationCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPowerSourceConfigurationClusterEventListAttributeCallback(), - readPowerSourceConfigurationEventListCommandParams); - readPowerSourceConfigurationInteractionInfo.put( - "readEventListAttribute", readPowerSourceConfigurationEventListAttributeInteractionInfo); - Map readPowerSourceConfigurationAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceConfigurationAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceConfigurationCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.PowerSourceConfigurationCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPowerSourceConfigurationClusterAttributeListAttributeCallback(), - readPowerSourceConfigurationAttributeListCommandParams); - readPowerSourceConfigurationInteractionInfo.put( - "readAttributeListAttribute", - readPowerSourceConfigurationAttributeListAttributeInteractionInfo); - Map readPowerSourceConfigurationFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceConfigurationFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceConfigurationCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readPowerSourceConfigurationFeatureMapCommandParams); - readPowerSourceConfigurationInteractionInfo.put( - "readFeatureMapAttribute", readPowerSourceConfigurationFeatureMapAttributeInteractionInfo); - Map readPowerSourceConfigurationClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceConfigurationClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceConfigurationCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPowerSourceConfigurationClusterRevisionCommandParams); - readPowerSourceConfigurationInteractionInfo.put( - "readClusterRevisionAttribute", - readPowerSourceConfigurationClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("powerSourceConfiguration", readPowerSourceConfigurationInteractionInfo); - Map readPowerSourceInteractionInfo = new LinkedHashMap<>(); - Map readPowerSourceStatusCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceStatusAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPowerSourceStatusCommandParams); - readPowerSourceInteractionInfo.put( - "readStatusAttribute", readPowerSourceStatusAttributeInteractionInfo); - Map readPowerSourceOrderCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceOrderAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readOrderAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPowerSourceOrderCommandParams); - readPowerSourceInteractionInfo.put( - "readOrderAttribute", readPowerSourceOrderAttributeInteractionInfo); - Map readPowerSourceDescriptionCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceDescriptionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readDescriptionAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readLocalizationConfigurationActiveLocaleCommandParams + ); + readLocalizationConfigurationInteractionInfo.put("readActiveLocaleAttribute", readLocalizationConfigurationActiveLocaleAttributeInteractionInfo); + Map readLocalizationConfigurationSupportedLocalesCommandParams = new LinkedHashMap(); + InteractionInfo readLocalizationConfigurationSupportedLocalesAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LocalizationConfigurationCluster) cluster).readSupportedLocalesAttribute( + ( ChipClusters.LocalizationConfigurationCluster.SupportedLocalesAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLocalizationConfigurationClusterSupportedLocalesAttributeCallback(), + readLocalizationConfigurationSupportedLocalesCommandParams + ); + readLocalizationConfigurationInteractionInfo.put("readSupportedLocalesAttribute", readLocalizationConfigurationSupportedLocalesAttributeInteractionInfo); + Map readLocalizationConfigurationGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readLocalizationConfigurationGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LocalizationConfigurationCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.LocalizationConfigurationCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLocalizationConfigurationClusterGeneratedCommandListAttributeCallback(), + readLocalizationConfigurationGeneratedCommandListCommandParams + ); + readLocalizationConfigurationInteractionInfo.put("readGeneratedCommandListAttribute", readLocalizationConfigurationGeneratedCommandListAttributeInteractionInfo); + Map readLocalizationConfigurationAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readLocalizationConfigurationAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LocalizationConfigurationCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.LocalizationConfigurationCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLocalizationConfigurationClusterAcceptedCommandListAttributeCallback(), + readLocalizationConfigurationAcceptedCommandListCommandParams + ); + readLocalizationConfigurationInteractionInfo.put("readAcceptedCommandListAttribute", readLocalizationConfigurationAcceptedCommandListAttributeInteractionInfo); + Map readLocalizationConfigurationEventListCommandParams = new LinkedHashMap(); + InteractionInfo readLocalizationConfigurationEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LocalizationConfigurationCluster) cluster).readEventListAttribute( + ( ChipClusters.LocalizationConfigurationCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLocalizationConfigurationClusterEventListAttributeCallback(), + readLocalizationConfigurationEventListCommandParams + ); + readLocalizationConfigurationInteractionInfo.put("readEventListAttribute", readLocalizationConfigurationEventListAttributeInteractionInfo); + Map readLocalizationConfigurationAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readLocalizationConfigurationAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LocalizationConfigurationCluster) cluster).readAttributeListAttribute( + ( ChipClusters.LocalizationConfigurationCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLocalizationConfigurationClusterAttributeListAttributeCallback(), + readLocalizationConfigurationAttributeListCommandParams + ); + readLocalizationConfigurationInteractionInfo.put("readAttributeListAttribute", readLocalizationConfigurationAttributeListAttributeInteractionInfo); + Map readLocalizationConfigurationFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readLocalizationConfigurationFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LocalizationConfigurationCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readLocalizationConfigurationFeatureMapCommandParams + ); + readLocalizationConfigurationInteractionInfo.put("readFeatureMapAttribute", readLocalizationConfigurationFeatureMapAttributeInteractionInfo); + Map readLocalizationConfigurationClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readLocalizationConfigurationClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LocalizationConfigurationCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readLocalizationConfigurationClusterRevisionCommandParams + ); + readLocalizationConfigurationInteractionInfo.put("readClusterRevisionAttribute", readLocalizationConfigurationClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("localizationConfiguration", readLocalizationConfigurationInteractionInfo); + Map readTimeFormatLocalizationInteractionInfo = new LinkedHashMap<>(); + Map readTimeFormatLocalizationHourFormatCommandParams = new LinkedHashMap(); + InteractionInfo readTimeFormatLocalizationHourFormatAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeFormatLocalizationCluster) cluster).readHourFormatAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readTimeFormatLocalizationHourFormatCommandParams + ); + readTimeFormatLocalizationInteractionInfo.put("readHourFormatAttribute", readTimeFormatLocalizationHourFormatAttributeInteractionInfo); + Map readTimeFormatLocalizationActiveCalendarTypeCommandParams = new LinkedHashMap(); + InteractionInfo readTimeFormatLocalizationActiveCalendarTypeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeFormatLocalizationCluster) cluster).readActiveCalendarTypeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readTimeFormatLocalizationActiveCalendarTypeCommandParams + ); + readTimeFormatLocalizationInteractionInfo.put("readActiveCalendarTypeAttribute", readTimeFormatLocalizationActiveCalendarTypeAttributeInteractionInfo); + Map readTimeFormatLocalizationSupportedCalendarTypesCommandParams = new LinkedHashMap(); + InteractionInfo readTimeFormatLocalizationSupportedCalendarTypesAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeFormatLocalizationCluster) cluster).readSupportedCalendarTypesAttribute( + ( ChipClusters.TimeFormatLocalizationCluster.SupportedCalendarTypesAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedTimeFormatLocalizationClusterSupportedCalendarTypesAttributeCallback(), + readTimeFormatLocalizationSupportedCalendarTypesCommandParams + ); + readTimeFormatLocalizationInteractionInfo.put("readSupportedCalendarTypesAttribute", readTimeFormatLocalizationSupportedCalendarTypesAttributeInteractionInfo); + Map readTimeFormatLocalizationGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readTimeFormatLocalizationGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeFormatLocalizationCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.TimeFormatLocalizationCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedTimeFormatLocalizationClusterGeneratedCommandListAttributeCallback(), + readTimeFormatLocalizationGeneratedCommandListCommandParams + ); + readTimeFormatLocalizationInteractionInfo.put("readGeneratedCommandListAttribute", readTimeFormatLocalizationGeneratedCommandListAttributeInteractionInfo); + Map readTimeFormatLocalizationAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readTimeFormatLocalizationAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeFormatLocalizationCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.TimeFormatLocalizationCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedTimeFormatLocalizationClusterAcceptedCommandListAttributeCallback(), + readTimeFormatLocalizationAcceptedCommandListCommandParams + ); + readTimeFormatLocalizationInteractionInfo.put("readAcceptedCommandListAttribute", readTimeFormatLocalizationAcceptedCommandListAttributeInteractionInfo); + Map readTimeFormatLocalizationEventListCommandParams = new LinkedHashMap(); + InteractionInfo readTimeFormatLocalizationEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeFormatLocalizationCluster) cluster).readEventListAttribute( + ( ChipClusters.TimeFormatLocalizationCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedTimeFormatLocalizationClusterEventListAttributeCallback(), + readTimeFormatLocalizationEventListCommandParams + ); + readTimeFormatLocalizationInteractionInfo.put("readEventListAttribute", readTimeFormatLocalizationEventListAttributeInteractionInfo); + Map readTimeFormatLocalizationAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readTimeFormatLocalizationAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeFormatLocalizationCluster) cluster).readAttributeListAttribute( + ( ChipClusters.TimeFormatLocalizationCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedTimeFormatLocalizationClusterAttributeListAttributeCallback(), + readTimeFormatLocalizationAttributeListCommandParams + ); + readTimeFormatLocalizationInteractionInfo.put("readAttributeListAttribute", readTimeFormatLocalizationAttributeListAttributeInteractionInfo); + Map readTimeFormatLocalizationFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readTimeFormatLocalizationFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeFormatLocalizationCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readTimeFormatLocalizationFeatureMapCommandParams + ); + readTimeFormatLocalizationInteractionInfo.put("readFeatureMapAttribute", readTimeFormatLocalizationFeatureMapAttributeInteractionInfo); + Map readTimeFormatLocalizationClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readTimeFormatLocalizationClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeFormatLocalizationCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readTimeFormatLocalizationClusterRevisionCommandParams + ); + readTimeFormatLocalizationInteractionInfo.put("readClusterRevisionAttribute", readTimeFormatLocalizationClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("timeFormatLocalization", readTimeFormatLocalizationInteractionInfo); + Map readUnitLocalizationInteractionInfo = new LinkedHashMap<>(); + Map readUnitLocalizationTemperatureUnitCommandParams = new LinkedHashMap(); + InteractionInfo readUnitLocalizationTemperatureUnitAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitLocalizationCluster) cluster).readTemperatureUnitAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitLocalizationTemperatureUnitCommandParams + ); + readUnitLocalizationInteractionInfo.put("readTemperatureUnitAttribute", readUnitLocalizationTemperatureUnitAttributeInteractionInfo); + Map readUnitLocalizationGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readUnitLocalizationGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitLocalizationCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.UnitLocalizationCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitLocalizationClusterGeneratedCommandListAttributeCallback(), + readUnitLocalizationGeneratedCommandListCommandParams + ); + readUnitLocalizationInteractionInfo.put("readGeneratedCommandListAttribute", readUnitLocalizationGeneratedCommandListAttributeInteractionInfo); + Map readUnitLocalizationAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readUnitLocalizationAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitLocalizationCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.UnitLocalizationCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitLocalizationClusterAcceptedCommandListAttributeCallback(), + readUnitLocalizationAcceptedCommandListCommandParams + ); + readUnitLocalizationInteractionInfo.put("readAcceptedCommandListAttribute", readUnitLocalizationAcceptedCommandListAttributeInteractionInfo); + Map readUnitLocalizationEventListCommandParams = new LinkedHashMap(); + InteractionInfo readUnitLocalizationEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitLocalizationCluster) cluster).readEventListAttribute( + ( ChipClusters.UnitLocalizationCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitLocalizationClusterEventListAttributeCallback(), + readUnitLocalizationEventListCommandParams + ); + readUnitLocalizationInteractionInfo.put("readEventListAttribute", readUnitLocalizationEventListAttributeInteractionInfo); + Map readUnitLocalizationAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readUnitLocalizationAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitLocalizationCluster) cluster).readAttributeListAttribute( + ( ChipClusters.UnitLocalizationCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitLocalizationClusterAttributeListAttributeCallback(), + readUnitLocalizationAttributeListCommandParams + ); + readUnitLocalizationInteractionInfo.put("readAttributeListAttribute", readUnitLocalizationAttributeListAttributeInteractionInfo); + Map readUnitLocalizationFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readUnitLocalizationFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitLocalizationCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitLocalizationFeatureMapCommandParams + ); + readUnitLocalizationInteractionInfo.put("readFeatureMapAttribute", readUnitLocalizationFeatureMapAttributeInteractionInfo); + Map readUnitLocalizationClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readUnitLocalizationClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitLocalizationCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitLocalizationClusterRevisionCommandParams + ); + readUnitLocalizationInteractionInfo.put("readClusterRevisionAttribute", readUnitLocalizationClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("unitLocalization", readUnitLocalizationInteractionInfo); + Map readPowerSourceConfigurationInteractionInfo = new LinkedHashMap<>(); + Map readPowerSourceConfigurationSourcesCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceConfigurationSourcesAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceConfigurationCluster) cluster).readSourcesAttribute( + ( ChipClusters.PowerSourceConfigurationCluster.SourcesAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPowerSourceConfigurationClusterSourcesAttributeCallback(), + readPowerSourceConfigurationSourcesCommandParams + ); + readPowerSourceConfigurationInteractionInfo.put("readSourcesAttribute", readPowerSourceConfigurationSourcesAttributeInteractionInfo); + Map readPowerSourceConfigurationGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceConfigurationGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceConfigurationCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.PowerSourceConfigurationCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPowerSourceConfigurationClusterGeneratedCommandListAttributeCallback(), + readPowerSourceConfigurationGeneratedCommandListCommandParams + ); + readPowerSourceConfigurationInteractionInfo.put("readGeneratedCommandListAttribute", readPowerSourceConfigurationGeneratedCommandListAttributeInteractionInfo); + Map readPowerSourceConfigurationAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceConfigurationAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceConfigurationCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.PowerSourceConfigurationCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPowerSourceConfigurationClusterAcceptedCommandListAttributeCallback(), + readPowerSourceConfigurationAcceptedCommandListCommandParams + ); + readPowerSourceConfigurationInteractionInfo.put("readAcceptedCommandListAttribute", readPowerSourceConfigurationAcceptedCommandListAttributeInteractionInfo); + Map readPowerSourceConfigurationEventListCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceConfigurationEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceConfigurationCluster) cluster).readEventListAttribute( + ( ChipClusters.PowerSourceConfigurationCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPowerSourceConfigurationClusterEventListAttributeCallback(), + readPowerSourceConfigurationEventListCommandParams + ); + readPowerSourceConfigurationInteractionInfo.put("readEventListAttribute", readPowerSourceConfigurationEventListAttributeInteractionInfo); + Map readPowerSourceConfigurationAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceConfigurationAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceConfigurationCluster) cluster).readAttributeListAttribute( + ( ChipClusters.PowerSourceConfigurationCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPowerSourceConfigurationClusterAttributeListAttributeCallback(), + readPowerSourceConfigurationAttributeListCommandParams + ); + readPowerSourceConfigurationInteractionInfo.put("readAttributeListAttribute", readPowerSourceConfigurationAttributeListAttributeInteractionInfo); + Map readPowerSourceConfigurationFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceConfigurationFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceConfigurationCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readPowerSourceConfigurationFeatureMapCommandParams + ); + readPowerSourceConfigurationInteractionInfo.put("readFeatureMapAttribute", readPowerSourceConfigurationFeatureMapAttributeInteractionInfo); + Map readPowerSourceConfigurationClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceConfigurationClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceConfigurationCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPowerSourceConfigurationClusterRevisionCommandParams + ); + readPowerSourceConfigurationInteractionInfo.put("readClusterRevisionAttribute", readPowerSourceConfigurationClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("powerSourceConfiguration", readPowerSourceConfigurationInteractionInfo); + Map readPowerSourceInteractionInfo = new LinkedHashMap<>(); + Map readPowerSourceStatusCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceStatusAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readStatusAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPowerSourceStatusCommandParams + ); + readPowerSourceInteractionInfo.put("readStatusAttribute", readPowerSourceStatusAttributeInteractionInfo); + Map readPowerSourceOrderCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceOrderAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readOrderAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPowerSourceOrderCommandParams + ); + readPowerSourceInteractionInfo.put("readOrderAttribute", readPowerSourceOrderAttributeInteractionInfo); + Map readPowerSourceDescriptionCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceDescriptionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readDescriptionAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readPowerSourceDescriptionCommandParams); - readPowerSourceInteractionInfo.put( - "readDescriptionAttribute", readPowerSourceDescriptionAttributeInteractionInfo); - Map readPowerSourceWiredAssessedInputVoltageCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceWiredAssessedInputVoltageAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readWiredAssessedInputVoltageAttribute( - (ChipClusters.PowerSourceCluster.WiredAssessedInputVoltageAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPowerSourceClusterWiredAssessedInputVoltageAttributeCallback(), - readPowerSourceWiredAssessedInputVoltageCommandParams); - readPowerSourceInteractionInfo.put( - "readWiredAssessedInputVoltageAttribute", - readPowerSourceWiredAssessedInputVoltageAttributeInteractionInfo); - Map readPowerSourceWiredAssessedInputFrequencyCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceWiredAssessedInputFrequencyAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readWiredAssessedInputFrequencyAttribute( - (ChipClusters.PowerSourceCluster.WiredAssessedInputFrequencyAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPowerSourceClusterWiredAssessedInputFrequencyAttributeCallback(), - readPowerSourceWiredAssessedInputFrequencyCommandParams); - readPowerSourceInteractionInfo.put( - "readWiredAssessedInputFrequencyAttribute", - readPowerSourceWiredAssessedInputFrequencyAttributeInteractionInfo); - Map readPowerSourceWiredCurrentTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceWiredCurrentTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readWiredCurrentTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPowerSourceWiredCurrentTypeCommandParams); - readPowerSourceInteractionInfo.put( - "readWiredCurrentTypeAttribute", readPowerSourceWiredCurrentTypeAttributeInteractionInfo); - Map readPowerSourceWiredAssessedCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceWiredAssessedCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readWiredAssessedCurrentAttribute( - (ChipClusters.PowerSourceCluster.WiredAssessedCurrentAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPowerSourceClusterWiredAssessedCurrentAttributeCallback(), - readPowerSourceWiredAssessedCurrentCommandParams); - readPowerSourceInteractionInfo.put( - "readWiredAssessedCurrentAttribute", - readPowerSourceWiredAssessedCurrentAttributeInteractionInfo); - Map readPowerSourceWiredNominalVoltageCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceWiredNominalVoltageAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readWiredNominalVoltageAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readPowerSourceWiredNominalVoltageCommandParams); - readPowerSourceInteractionInfo.put( - "readWiredNominalVoltageAttribute", - readPowerSourceWiredNominalVoltageAttributeInteractionInfo); - Map readPowerSourceWiredMaximumCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceWiredMaximumCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readWiredMaximumCurrentAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readPowerSourceWiredMaximumCurrentCommandParams); - readPowerSourceInteractionInfo.put( - "readWiredMaximumCurrentAttribute", - readPowerSourceWiredMaximumCurrentAttributeInteractionInfo); - Map readPowerSourceWiredPresentCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceWiredPresentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readWiredPresentAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, + readPowerSourceDescriptionCommandParams + ); + readPowerSourceInteractionInfo.put("readDescriptionAttribute", readPowerSourceDescriptionAttributeInteractionInfo); + Map readPowerSourceWiredAssessedInputVoltageCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceWiredAssessedInputVoltageAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readWiredAssessedInputVoltageAttribute( + ( ChipClusters.PowerSourceCluster.WiredAssessedInputVoltageAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPowerSourceClusterWiredAssessedInputVoltageAttributeCallback(), + readPowerSourceWiredAssessedInputVoltageCommandParams + ); + readPowerSourceInteractionInfo.put("readWiredAssessedInputVoltageAttribute", readPowerSourceWiredAssessedInputVoltageAttributeInteractionInfo); + Map readPowerSourceWiredAssessedInputFrequencyCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceWiredAssessedInputFrequencyAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readWiredAssessedInputFrequencyAttribute( + ( ChipClusters.PowerSourceCluster.WiredAssessedInputFrequencyAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPowerSourceClusterWiredAssessedInputFrequencyAttributeCallback(), + readPowerSourceWiredAssessedInputFrequencyCommandParams + ); + readPowerSourceInteractionInfo.put("readWiredAssessedInputFrequencyAttribute", readPowerSourceWiredAssessedInputFrequencyAttributeInteractionInfo); + Map readPowerSourceWiredCurrentTypeCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceWiredCurrentTypeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readWiredCurrentTypeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPowerSourceWiredCurrentTypeCommandParams + ); + readPowerSourceInteractionInfo.put("readWiredCurrentTypeAttribute", readPowerSourceWiredCurrentTypeAttributeInteractionInfo); + Map readPowerSourceWiredAssessedCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceWiredAssessedCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readWiredAssessedCurrentAttribute( + ( ChipClusters.PowerSourceCluster.WiredAssessedCurrentAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPowerSourceClusterWiredAssessedCurrentAttributeCallback(), + readPowerSourceWiredAssessedCurrentCommandParams + ); + readPowerSourceInteractionInfo.put("readWiredAssessedCurrentAttribute", readPowerSourceWiredAssessedCurrentAttributeInteractionInfo); + Map readPowerSourceWiredNominalVoltageCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceWiredNominalVoltageAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readWiredNominalVoltageAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readPowerSourceWiredNominalVoltageCommandParams + ); + readPowerSourceInteractionInfo.put("readWiredNominalVoltageAttribute", readPowerSourceWiredNominalVoltageAttributeInteractionInfo); + Map readPowerSourceWiredMaximumCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceWiredMaximumCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readWiredMaximumCurrentAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readPowerSourceWiredMaximumCurrentCommandParams + ); + readPowerSourceInteractionInfo.put("readWiredMaximumCurrentAttribute", readPowerSourceWiredMaximumCurrentAttributeInteractionInfo); + Map readPowerSourceWiredPresentCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceWiredPresentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readWiredPresentAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readPowerSourceWiredPresentCommandParams); - readPowerSourceInteractionInfo.put( - "readWiredPresentAttribute", readPowerSourceWiredPresentAttributeInteractionInfo); - Map readPowerSourceActiveWiredFaultsCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceActiveWiredFaultsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readActiveWiredFaultsAttribute( - (ChipClusters.PowerSourceCluster.ActiveWiredFaultsAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPowerSourceClusterActiveWiredFaultsAttributeCallback(), - readPowerSourceActiveWiredFaultsCommandParams); - readPowerSourceInteractionInfo.put( - "readActiveWiredFaultsAttribute", readPowerSourceActiveWiredFaultsAttributeInteractionInfo); - Map readPowerSourceBatVoltageCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatVoltageAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatVoltageAttribute( - (ChipClusters.PowerSourceCluster.BatVoltageAttributeCallback) callback); - }, + readPowerSourceWiredPresentCommandParams + ); + readPowerSourceInteractionInfo.put("readWiredPresentAttribute", readPowerSourceWiredPresentAttributeInteractionInfo); + Map readPowerSourceActiveWiredFaultsCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceActiveWiredFaultsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readActiveWiredFaultsAttribute( + ( ChipClusters.PowerSourceCluster.ActiveWiredFaultsAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPowerSourceClusterActiveWiredFaultsAttributeCallback(), + readPowerSourceActiveWiredFaultsCommandParams + ); + readPowerSourceInteractionInfo.put("readActiveWiredFaultsAttribute", readPowerSourceActiveWiredFaultsAttributeInteractionInfo); + Map readPowerSourceBatVoltageCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceBatVoltageAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readBatVoltageAttribute( + ( ChipClusters.PowerSourceCluster.BatVoltageAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedPowerSourceClusterBatVoltageAttributeCallback(), - readPowerSourceBatVoltageCommandParams); - readPowerSourceInteractionInfo.put( - "readBatVoltageAttribute", readPowerSourceBatVoltageAttributeInteractionInfo); - Map readPowerSourceBatPercentRemainingCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatPercentRemainingAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatPercentRemainingAttribute( - (ChipClusters.PowerSourceCluster.BatPercentRemainingAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPowerSourceClusterBatPercentRemainingAttributeCallback(), - readPowerSourceBatPercentRemainingCommandParams); - readPowerSourceInteractionInfo.put( - "readBatPercentRemainingAttribute", - readPowerSourceBatPercentRemainingAttributeInteractionInfo); - Map readPowerSourceBatTimeRemainingCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatTimeRemainingAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatTimeRemainingAttribute( - (ChipClusters.PowerSourceCluster.BatTimeRemainingAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPowerSourceClusterBatTimeRemainingAttributeCallback(), - readPowerSourceBatTimeRemainingCommandParams); - readPowerSourceInteractionInfo.put( - "readBatTimeRemainingAttribute", readPowerSourceBatTimeRemainingAttributeInteractionInfo); - Map readPowerSourceBatChargeLevelCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatChargeLevelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatChargeLevelAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPowerSourceBatChargeLevelCommandParams); - readPowerSourceInteractionInfo.put( - "readBatChargeLevelAttribute", readPowerSourceBatChargeLevelAttributeInteractionInfo); - Map readPowerSourceBatReplacementNeededCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatReplacementNeededAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatReplacementNeededAttribute( - (ChipClusters.BooleanAttributeCallback) callback); - }, + readPowerSourceBatVoltageCommandParams + ); + readPowerSourceInteractionInfo.put("readBatVoltageAttribute", readPowerSourceBatVoltageAttributeInteractionInfo); + Map readPowerSourceBatPercentRemainingCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceBatPercentRemainingAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readBatPercentRemainingAttribute( + ( ChipClusters.PowerSourceCluster.BatPercentRemainingAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPowerSourceClusterBatPercentRemainingAttributeCallback(), + readPowerSourceBatPercentRemainingCommandParams + ); + readPowerSourceInteractionInfo.put("readBatPercentRemainingAttribute", readPowerSourceBatPercentRemainingAttributeInteractionInfo); + Map readPowerSourceBatTimeRemainingCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceBatTimeRemainingAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readBatTimeRemainingAttribute( + ( ChipClusters.PowerSourceCluster.BatTimeRemainingAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPowerSourceClusterBatTimeRemainingAttributeCallback(), + readPowerSourceBatTimeRemainingCommandParams + ); + readPowerSourceInteractionInfo.put("readBatTimeRemainingAttribute", readPowerSourceBatTimeRemainingAttributeInteractionInfo); + Map readPowerSourceBatChargeLevelCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceBatChargeLevelAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readBatChargeLevelAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPowerSourceBatChargeLevelCommandParams + ); + readPowerSourceInteractionInfo.put("readBatChargeLevelAttribute", readPowerSourceBatChargeLevelAttributeInteractionInfo); + Map readPowerSourceBatReplacementNeededCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceBatReplacementNeededAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readBatReplacementNeededAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readPowerSourceBatReplacementNeededCommandParams); - readPowerSourceInteractionInfo.put( - "readBatReplacementNeededAttribute", - readPowerSourceBatReplacementNeededAttributeInteractionInfo); - Map readPowerSourceBatReplaceabilityCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatReplaceabilityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatReplaceabilityAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPowerSourceBatReplaceabilityCommandParams); - readPowerSourceInteractionInfo.put( - "readBatReplaceabilityAttribute", readPowerSourceBatReplaceabilityAttributeInteractionInfo); - Map readPowerSourceBatPresentCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatPresentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatPresentAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, + readPowerSourceBatReplacementNeededCommandParams + ); + readPowerSourceInteractionInfo.put("readBatReplacementNeededAttribute", readPowerSourceBatReplacementNeededAttributeInteractionInfo); + Map readPowerSourceBatReplaceabilityCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceBatReplaceabilityAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readBatReplaceabilityAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPowerSourceBatReplaceabilityCommandParams + ); + readPowerSourceInteractionInfo.put("readBatReplaceabilityAttribute", readPowerSourceBatReplaceabilityAttributeInteractionInfo); + Map readPowerSourceBatPresentCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceBatPresentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readBatPresentAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readPowerSourceBatPresentCommandParams); - readPowerSourceInteractionInfo.put( - "readBatPresentAttribute", readPowerSourceBatPresentAttributeInteractionInfo); - Map readPowerSourceActiveBatFaultsCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceActiveBatFaultsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readActiveBatFaultsAttribute( - (ChipClusters.PowerSourceCluster.ActiveBatFaultsAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPowerSourceClusterActiveBatFaultsAttributeCallback(), - readPowerSourceActiveBatFaultsCommandParams); - readPowerSourceInteractionInfo.put( - "readActiveBatFaultsAttribute", readPowerSourceActiveBatFaultsAttributeInteractionInfo); - Map readPowerSourceBatReplacementDescriptionCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatReplacementDescriptionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatReplacementDescriptionAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, + readPowerSourceBatPresentCommandParams + ); + readPowerSourceInteractionInfo.put("readBatPresentAttribute", readPowerSourceBatPresentAttributeInteractionInfo); + Map readPowerSourceActiveBatFaultsCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceActiveBatFaultsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readActiveBatFaultsAttribute( + ( ChipClusters.PowerSourceCluster.ActiveBatFaultsAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPowerSourceClusterActiveBatFaultsAttributeCallback(), + readPowerSourceActiveBatFaultsCommandParams + ); + readPowerSourceInteractionInfo.put("readActiveBatFaultsAttribute", readPowerSourceActiveBatFaultsAttributeInteractionInfo); + Map readPowerSourceBatReplacementDescriptionCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceBatReplacementDescriptionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readBatReplacementDescriptionAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readPowerSourceBatReplacementDescriptionCommandParams); - readPowerSourceInteractionInfo.put( - "readBatReplacementDescriptionAttribute", - readPowerSourceBatReplacementDescriptionAttributeInteractionInfo); - Map readPowerSourceBatCommonDesignationCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatCommonDesignationAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatCommonDesignationAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPowerSourceBatCommonDesignationCommandParams); - readPowerSourceInteractionInfo.put( - "readBatCommonDesignationAttribute", - readPowerSourceBatCommonDesignationAttributeInteractionInfo); - Map readPowerSourceBatANSIDesignationCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatANSIDesignationAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatANSIDesignationAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, + readPowerSourceBatReplacementDescriptionCommandParams + ); + readPowerSourceInteractionInfo.put("readBatReplacementDescriptionAttribute", readPowerSourceBatReplacementDescriptionAttributeInteractionInfo); + Map readPowerSourceBatCommonDesignationCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceBatCommonDesignationAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readBatCommonDesignationAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPowerSourceBatCommonDesignationCommandParams + ); + readPowerSourceInteractionInfo.put("readBatCommonDesignationAttribute", readPowerSourceBatCommonDesignationAttributeInteractionInfo); + Map readPowerSourceBatANSIDesignationCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceBatANSIDesignationAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readBatANSIDesignationAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readPowerSourceBatANSIDesignationCommandParams); - readPowerSourceInteractionInfo.put( - "readBatANSIDesignationAttribute", - readPowerSourceBatANSIDesignationAttributeInteractionInfo); - Map readPowerSourceBatIECDesignationCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatIECDesignationAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatIECDesignationAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, + readPowerSourceBatANSIDesignationCommandParams + ); + readPowerSourceInteractionInfo.put("readBatANSIDesignationAttribute", readPowerSourceBatANSIDesignationAttributeInteractionInfo); + Map readPowerSourceBatIECDesignationCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceBatIECDesignationAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readBatIECDesignationAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readPowerSourceBatIECDesignationCommandParams); - readPowerSourceInteractionInfo.put( - "readBatIECDesignationAttribute", readPowerSourceBatIECDesignationAttributeInteractionInfo); - Map readPowerSourceBatApprovedChemistryCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatApprovedChemistryAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatApprovedChemistryAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPowerSourceBatApprovedChemistryCommandParams); - readPowerSourceInteractionInfo.put( - "readBatApprovedChemistryAttribute", - readPowerSourceBatApprovedChemistryAttributeInteractionInfo); - Map readPowerSourceBatCapacityCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatCapacityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatCapacityAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readPowerSourceBatCapacityCommandParams); - readPowerSourceInteractionInfo.put( - "readBatCapacityAttribute", readPowerSourceBatCapacityAttributeInteractionInfo); - Map readPowerSourceBatQuantityCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatQuantityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatQuantityAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPowerSourceBatQuantityCommandParams); - readPowerSourceInteractionInfo.put( - "readBatQuantityAttribute", readPowerSourceBatQuantityAttributeInteractionInfo); - Map readPowerSourceBatChargeStateCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatChargeStateAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatChargeStateAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPowerSourceBatChargeStateCommandParams); - readPowerSourceInteractionInfo.put( - "readBatChargeStateAttribute", readPowerSourceBatChargeStateAttributeInteractionInfo); - Map readPowerSourceBatTimeToFullChargeCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatTimeToFullChargeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatTimeToFullChargeAttribute( - (ChipClusters.PowerSourceCluster.BatTimeToFullChargeAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPowerSourceClusterBatTimeToFullChargeAttributeCallback(), - readPowerSourceBatTimeToFullChargeCommandParams); - readPowerSourceInteractionInfo.put( - "readBatTimeToFullChargeAttribute", - readPowerSourceBatTimeToFullChargeAttributeInteractionInfo); - Map readPowerSourceBatFunctionalWhileChargingCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatFunctionalWhileChargingAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatFunctionalWhileChargingAttribute( - (ChipClusters.BooleanAttributeCallback) callback); - }, + readPowerSourceBatIECDesignationCommandParams + ); + readPowerSourceInteractionInfo.put("readBatIECDesignationAttribute", readPowerSourceBatIECDesignationAttributeInteractionInfo); + Map readPowerSourceBatApprovedChemistryCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceBatApprovedChemistryAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readBatApprovedChemistryAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPowerSourceBatApprovedChemistryCommandParams + ); + readPowerSourceInteractionInfo.put("readBatApprovedChemistryAttribute", readPowerSourceBatApprovedChemistryAttributeInteractionInfo); + Map readPowerSourceBatCapacityCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceBatCapacityAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readBatCapacityAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readPowerSourceBatCapacityCommandParams + ); + readPowerSourceInteractionInfo.put("readBatCapacityAttribute", readPowerSourceBatCapacityAttributeInteractionInfo); + Map readPowerSourceBatQuantityCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceBatQuantityAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readBatQuantityAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPowerSourceBatQuantityCommandParams + ); + readPowerSourceInteractionInfo.put("readBatQuantityAttribute", readPowerSourceBatQuantityAttributeInteractionInfo); + Map readPowerSourceBatChargeStateCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceBatChargeStateAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readBatChargeStateAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPowerSourceBatChargeStateCommandParams + ); + readPowerSourceInteractionInfo.put("readBatChargeStateAttribute", readPowerSourceBatChargeStateAttributeInteractionInfo); + Map readPowerSourceBatTimeToFullChargeCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceBatTimeToFullChargeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readBatTimeToFullChargeAttribute( + ( ChipClusters.PowerSourceCluster.BatTimeToFullChargeAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPowerSourceClusterBatTimeToFullChargeAttributeCallback(), + readPowerSourceBatTimeToFullChargeCommandParams + ); + readPowerSourceInteractionInfo.put("readBatTimeToFullChargeAttribute", readPowerSourceBatTimeToFullChargeAttributeInteractionInfo); + Map readPowerSourceBatFunctionalWhileChargingCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceBatFunctionalWhileChargingAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readBatFunctionalWhileChargingAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readPowerSourceBatFunctionalWhileChargingCommandParams); - readPowerSourceInteractionInfo.put( - "readBatFunctionalWhileChargingAttribute", - readPowerSourceBatFunctionalWhileChargingAttributeInteractionInfo); - Map readPowerSourceBatChargingCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceBatChargingCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readBatChargingCurrentAttribute( - (ChipClusters.PowerSourceCluster.BatChargingCurrentAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPowerSourceClusterBatChargingCurrentAttributeCallback(), - readPowerSourceBatChargingCurrentCommandParams); - readPowerSourceInteractionInfo.put( - "readBatChargingCurrentAttribute", - readPowerSourceBatChargingCurrentAttributeInteractionInfo); - Map readPowerSourceActiveBatChargeFaultsCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceActiveBatChargeFaultsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readActiveBatChargeFaultsAttribute( - (ChipClusters.PowerSourceCluster.ActiveBatChargeFaultsAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPowerSourceClusterActiveBatChargeFaultsAttributeCallback(), - readPowerSourceActiveBatChargeFaultsCommandParams); - readPowerSourceInteractionInfo.put( - "readActiveBatChargeFaultsAttribute", - readPowerSourceActiveBatChargeFaultsAttributeInteractionInfo); - Map readPowerSourceGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.PowerSourceCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPowerSourceClusterGeneratedCommandListAttributeCallback(), - readPowerSourceGeneratedCommandListCommandParams); - readPowerSourceInteractionInfo.put( - "readGeneratedCommandListAttribute", - readPowerSourceGeneratedCommandListAttributeInteractionInfo); - Map readPowerSourceAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.PowerSourceCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPowerSourceClusterAcceptedCommandListAttributeCallback(), - readPowerSourceAcceptedCommandListCommandParams); - readPowerSourceInteractionInfo.put( - "readAcceptedCommandListAttribute", - readPowerSourceAcceptedCommandListAttributeInteractionInfo); - Map readPowerSourceEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readEventListAttribute( - (ChipClusters.PowerSourceCluster.EventListAttributeCallback) callback); - }, + readPowerSourceBatFunctionalWhileChargingCommandParams + ); + readPowerSourceInteractionInfo.put("readBatFunctionalWhileChargingAttribute", readPowerSourceBatFunctionalWhileChargingAttributeInteractionInfo); + Map readPowerSourceBatChargingCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceBatChargingCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readBatChargingCurrentAttribute( + ( ChipClusters.PowerSourceCluster.BatChargingCurrentAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPowerSourceClusterBatChargingCurrentAttributeCallback(), + readPowerSourceBatChargingCurrentCommandParams + ); + readPowerSourceInteractionInfo.put("readBatChargingCurrentAttribute", readPowerSourceBatChargingCurrentAttributeInteractionInfo); + Map readPowerSourceActiveBatChargeFaultsCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceActiveBatChargeFaultsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readActiveBatChargeFaultsAttribute( + ( ChipClusters.PowerSourceCluster.ActiveBatChargeFaultsAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPowerSourceClusterActiveBatChargeFaultsAttributeCallback(), + readPowerSourceActiveBatChargeFaultsCommandParams + ); + readPowerSourceInteractionInfo.put("readActiveBatChargeFaultsAttribute", readPowerSourceActiveBatChargeFaultsAttributeInteractionInfo); + Map readPowerSourceGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.PowerSourceCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPowerSourceClusterGeneratedCommandListAttributeCallback(), + readPowerSourceGeneratedCommandListCommandParams + ); + readPowerSourceInteractionInfo.put("readGeneratedCommandListAttribute", readPowerSourceGeneratedCommandListAttributeInteractionInfo); + Map readPowerSourceAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.PowerSourceCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPowerSourceClusterAcceptedCommandListAttributeCallback(), + readPowerSourceAcceptedCommandListCommandParams + ); + readPowerSourceInteractionInfo.put("readAcceptedCommandListAttribute", readPowerSourceAcceptedCommandListAttributeInteractionInfo); + Map readPowerSourceEventListCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readEventListAttribute( + ( ChipClusters.PowerSourceCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedPowerSourceClusterEventListAttributeCallback(), - readPowerSourceEventListCommandParams); - readPowerSourceInteractionInfo.put( - "readEventListAttribute", readPowerSourceEventListAttributeInteractionInfo); - Map readPowerSourceAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.PowerSourceCluster.AttributeListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedPowerSourceClusterAttributeListAttributeCallback(), - readPowerSourceAttributeListCommandParams); - readPowerSourceInteractionInfo.put( - "readAttributeListAttribute", readPowerSourceAttributeListAttributeInteractionInfo); - Map readPowerSourceFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readPowerSourceFeatureMapCommandParams); - readPowerSourceInteractionInfo.put( - "readFeatureMapAttribute", readPowerSourceFeatureMapAttributeInteractionInfo); - Map readPowerSourceClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readPowerSourceClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPowerSourceClusterRevisionCommandParams); - readPowerSourceInteractionInfo.put( - "readClusterRevisionAttribute", readPowerSourceClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("powerSource", readPowerSourceInteractionInfo); - Map readGeneralCommissioningInteractionInfo = new LinkedHashMap<>(); - Map readGeneralCommissioningBreadcrumbCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralCommissioningBreadcrumbAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster) - .readBreadcrumbAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readGeneralCommissioningBreadcrumbCommandParams); - readGeneralCommissioningInteractionInfo.put( - "readBreadcrumbAttribute", readGeneralCommissioningBreadcrumbAttributeInteractionInfo); - Map readGeneralCommissioningRegulatoryConfigCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralCommissioningRegulatoryConfigAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster) - .readRegulatoryConfigAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readGeneralCommissioningRegulatoryConfigCommandParams); - readGeneralCommissioningInteractionInfo.put( - "readRegulatoryConfigAttribute", - readGeneralCommissioningRegulatoryConfigAttributeInteractionInfo); - Map readGeneralCommissioningLocationCapabilityCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralCommissioningLocationCapabilityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster) - .readLocationCapabilityAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readGeneralCommissioningLocationCapabilityCommandParams); - readGeneralCommissioningInteractionInfo.put( - "readLocationCapabilityAttribute", - readGeneralCommissioningLocationCapabilityAttributeInteractionInfo); - Map - readGeneralCommissioningSupportsConcurrentConnectionCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralCommissioningSupportsConcurrentConnectionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster) - .readSupportsConcurrentConnectionAttribute( - (ChipClusters.BooleanAttributeCallback) callback); - }, + readPowerSourceEventListCommandParams + ); + readPowerSourceInteractionInfo.put("readEventListAttribute", readPowerSourceEventListAttributeInteractionInfo); + Map readPowerSourceAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readAttributeListAttribute( + ( ChipClusters.PowerSourceCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPowerSourceClusterAttributeListAttributeCallback(), + readPowerSourceAttributeListCommandParams + ); + readPowerSourceInteractionInfo.put("readAttributeListAttribute", readPowerSourceAttributeListAttributeInteractionInfo); + Map readPowerSourceFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readPowerSourceFeatureMapCommandParams + ); + readPowerSourceInteractionInfo.put("readFeatureMapAttribute", readPowerSourceFeatureMapAttributeInteractionInfo); + Map readPowerSourceClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readPowerSourceClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPowerSourceClusterRevisionCommandParams + ); + readPowerSourceInteractionInfo.put("readClusterRevisionAttribute", readPowerSourceClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("powerSource", readPowerSourceInteractionInfo); + Map readGeneralCommissioningInteractionInfo = new LinkedHashMap<>(); + Map readGeneralCommissioningBreadcrumbCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralCommissioningBreadcrumbAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster).readBreadcrumbAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readGeneralCommissioningBreadcrumbCommandParams + ); + readGeneralCommissioningInteractionInfo.put("readBreadcrumbAttribute", readGeneralCommissioningBreadcrumbAttributeInteractionInfo); + Map readGeneralCommissioningRegulatoryConfigCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralCommissioningRegulatoryConfigAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster).readRegulatoryConfigAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readGeneralCommissioningRegulatoryConfigCommandParams + ); + readGeneralCommissioningInteractionInfo.put("readRegulatoryConfigAttribute", readGeneralCommissioningRegulatoryConfigAttributeInteractionInfo); + Map readGeneralCommissioningLocationCapabilityCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralCommissioningLocationCapabilityAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster).readLocationCapabilityAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readGeneralCommissioningLocationCapabilityCommandParams + ); + readGeneralCommissioningInteractionInfo.put("readLocationCapabilityAttribute", readGeneralCommissioningLocationCapabilityAttributeInteractionInfo); + Map readGeneralCommissioningSupportsConcurrentConnectionCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralCommissioningSupportsConcurrentConnectionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster).readSupportsConcurrentConnectionAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readGeneralCommissioningSupportsConcurrentConnectionCommandParams); - readGeneralCommissioningInteractionInfo.put( - "readSupportsConcurrentConnectionAttribute", - readGeneralCommissioningSupportsConcurrentConnectionAttributeInteractionInfo); - Map readGeneralCommissioningGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralCommissioningGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.GeneralCommissioningCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedGeneralCommissioningClusterGeneratedCommandListAttributeCallback(), - readGeneralCommissioningGeneratedCommandListCommandParams); - readGeneralCommissioningInteractionInfo.put( - "readGeneratedCommandListAttribute", - readGeneralCommissioningGeneratedCommandListAttributeInteractionInfo); - Map readGeneralCommissioningAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralCommissioningAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.GeneralCommissioningCluster - .AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedGeneralCommissioningClusterAcceptedCommandListAttributeCallback(), - readGeneralCommissioningAcceptedCommandListCommandParams); - readGeneralCommissioningInteractionInfo.put( - "readAcceptedCommandListAttribute", - readGeneralCommissioningAcceptedCommandListAttributeInteractionInfo); - Map readGeneralCommissioningEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralCommissioningEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster) - .readEventListAttribute( - (ChipClusters.GeneralCommissioningCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedGeneralCommissioningClusterEventListAttributeCallback(), - readGeneralCommissioningEventListCommandParams); - readGeneralCommissioningInteractionInfo.put( - "readEventListAttribute", readGeneralCommissioningEventListAttributeInteractionInfo); - Map readGeneralCommissioningAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralCommissioningAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.GeneralCommissioningCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedGeneralCommissioningClusterAttributeListAttributeCallback(), - readGeneralCommissioningAttributeListCommandParams); - readGeneralCommissioningInteractionInfo.put( - "readAttributeListAttribute", - readGeneralCommissioningAttributeListAttributeInteractionInfo); - Map readGeneralCommissioningFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralCommissioningFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readGeneralCommissioningFeatureMapCommandParams); - readGeneralCommissioningInteractionInfo.put( - "readFeatureMapAttribute", readGeneralCommissioningFeatureMapAttributeInteractionInfo); - Map readGeneralCommissioningClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralCommissioningClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readGeneralCommissioningClusterRevisionCommandParams); - readGeneralCommissioningInteractionInfo.put( - "readClusterRevisionAttribute", - readGeneralCommissioningClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("generalCommissioning", readGeneralCommissioningInteractionInfo); - Map readNetworkCommissioningInteractionInfo = new LinkedHashMap<>(); - Map readNetworkCommissioningMaxNetworksCommandParams = - new LinkedHashMap(); - InteractionInfo readNetworkCommissioningMaxNetworksAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster) - .readMaxNetworksAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readNetworkCommissioningMaxNetworksCommandParams); - readNetworkCommissioningInteractionInfo.put( - "readMaxNetworksAttribute", readNetworkCommissioningMaxNetworksAttributeInteractionInfo); - Map readNetworkCommissioningNetworksCommandParams = - new LinkedHashMap(); - InteractionInfo readNetworkCommissioningNetworksAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster) - .readNetworksAttribute( - (ChipClusters.NetworkCommissioningCluster.NetworksAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedNetworkCommissioningClusterNetworksAttributeCallback(), - readNetworkCommissioningNetworksCommandParams); - readNetworkCommissioningInteractionInfo.put( - "readNetworksAttribute", readNetworkCommissioningNetworksAttributeInteractionInfo); - Map readNetworkCommissioningScanMaxTimeSecondsCommandParams = - new LinkedHashMap(); - InteractionInfo readNetworkCommissioningScanMaxTimeSecondsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster) - .readScanMaxTimeSecondsAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readNetworkCommissioningScanMaxTimeSecondsCommandParams); - readNetworkCommissioningInteractionInfo.put( - "readScanMaxTimeSecondsAttribute", - readNetworkCommissioningScanMaxTimeSecondsAttributeInteractionInfo); - Map readNetworkCommissioningConnectMaxTimeSecondsCommandParams = - new LinkedHashMap(); - InteractionInfo readNetworkCommissioningConnectMaxTimeSecondsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster) - .readConnectMaxTimeSecondsAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readNetworkCommissioningConnectMaxTimeSecondsCommandParams); - readNetworkCommissioningInteractionInfo.put( - "readConnectMaxTimeSecondsAttribute", - readNetworkCommissioningConnectMaxTimeSecondsAttributeInteractionInfo); - Map readNetworkCommissioningInterfaceEnabledCommandParams = - new LinkedHashMap(); - InteractionInfo readNetworkCommissioningInterfaceEnabledAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster) - .readInterfaceEnabledAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, + readGeneralCommissioningSupportsConcurrentConnectionCommandParams + ); + readGeneralCommissioningInteractionInfo.put("readSupportsConcurrentConnectionAttribute", readGeneralCommissioningSupportsConcurrentConnectionAttributeInteractionInfo); + Map readGeneralCommissioningGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralCommissioningGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.GeneralCommissioningCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedGeneralCommissioningClusterGeneratedCommandListAttributeCallback(), + readGeneralCommissioningGeneratedCommandListCommandParams + ); + readGeneralCommissioningInteractionInfo.put("readGeneratedCommandListAttribute", readGeneralCommissioningGeneratedCommandListAttributeInteractionInfo); + Map readGeneralCommissioningAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralCommissioningAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.GeneralCommissioningCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedGeneralCommissioningClusterAcceptedCommandListAttributeCallback(), + readGeneralCommissioningAcceptedCommandListCommandParams + ); + readGeneralCommissioningInteractionInfo.put("readAcceptedCommandListAttribute", readGeneralCommissioningAcceptedCommandListAttributeInteractionInfo); + Map readGeneralCommissioningEventListCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralCommissioningEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster).readEventListAttribute( + ( ChipClusters.GeneralCommissioningCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedGeneralCommissioningClusterEventListAttributeCallback(), + readGeneralCommissioningEventListCommandParams + ); + readGeneralCommissioningInteractionInfo.put("readEventListAttribute", readGeneralCommissioningEventListAttributeInteractionInfo); + Map readGeneralCommissioningAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralCommissioningAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster).readAttributeListAttribute( + ( ChipClusters.GeneralCommissioningCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedGeneralCommissioningClusterAttributeListAttributeCallback(), + readGeneralCommissioningAttributeListCommandParams + ); + readGeneralCommissioningInteractionInfo.put("readAttributeListAttribute", readGeneralCommissioningAttributeListAttributeInteractionInfo); + Map readGeneralCommissioningFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralCommissioningFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readGeneralCommissioningFeatureMapCommandParams + ); + readGeneralCommissioningInteractionInfo.put("readFeatureMapAttribute", readGeneralCommissioningFeatureMapAttributeInteractionInfo); + Map readGeneralCommissioningClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralCommissioningClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readGeneralCommissioningClusterRevisionCommandParams + ); + readGeneralCommissioningInteractionInfo.put("readClusterRevisionAttribute", readGeneralCommissioningClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("generalCommissioning", readGeneralCommissioningInteractionInfo); + Map readNetworkCommissioningInteractionInfo = new LinkedHashMap<>(); + Map readNetworkCommissioningMaxNetworksCommandParams = new LinkedHashMap(); + InteractionInfo readNetworkCommissioningMaxNetworksAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster).readMaxNetworksAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readNetworkCommissioningMaxNetworksCommandParams + ); + readNetworkCommissioningInteractionInfo.put("readMaxNetworksAttribute", readNetworkCommissioningMaxNetworksAttributeInteractionInfo); + Map readNetworkCommissioningNetworksCommandParams = new LinkedHashMap(); + InteractionInfo readNetworkCommissioningNetworksAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster).readNetworksAttribute( + ( ChipClusters.NetworkCommissioningCluster.NetworksAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedNetworkCommissioningClusterNetworksAttributeCallback(), + readNetworkCommissioningNetworksCommandParams + ); + readNetworkCommissioningInteractionInfo.put("readNetworksAttribute", readNetworkCommissioningNetworksAttributeInteractionInfo); + Map readNetworkCommissioningScanMaxTimeSecondsCommandParams = new LinkedHashMap(); + InteractionInfo readNetworkCommissioningScanMaxTimeSecondsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster).readScanMaxTimeSecondsAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readNetworkCommissioningScanMaxTimeSecondsCommandParams + ); + readNetworkCommissioningInteractionInfo.put("readScanMaxTimeSecondsAttribute", readNetworkCommissioningScanMaxTimeSecondsAttributeInteractionInfo); + Map readNetworkCommissioningConnectMaxTimeSecondsCommandParams = new LinkedHashMap(); + InteractionInfo readNetworkCommissioningConnectMaxTimeSecondsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster).readConnectMaxTimeSecondsAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readNetworkCommissioningConnectMaxTimeSecondsCommandParams + ); + readNetworkCommissioningInteractionInfo.put("readConnectMaxTimeSecondsAttribute", readNetworkCommissioningConnectMaxTimeSecondsAttributeInteractionInfo); + Map readNetworkCommissioningInterfaceEnabledCommandParams = new LinkedHashMap(); + InteractionInfo readNetworkCommissioningInterfaceEnabledAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster).readInterfaceEnabledAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readNetworkCommissioningInterfaceEnabledCommandParams); - readNetworkCommissioningInteractionInfo.put( - "readInterfaceEnabledAttribute", - readNetworkCommissioningInterfaceEnabledAttributeInteractionInfo); - Map readNetworkCommissioningLastNetworkingStatusCommandParams = - new LinkedHashMap(); - InteractionInfo readNetworkCommissioningLastNetworkingStatusAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster) - .readLastNetworkingStatusAttribute( - (ChipClusters.NetworkCommissioningCluster - .LastNetworkingStatusAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedNetworkCommissioningClusterLastNetworkingStatusAttributeCallback(), - readNetworkCommissioningLastNetworkingStatusCommandParams); - readNetworkCommissioningInteractionInfo.put( - "readLastNetworkingStatusAttribute", - readNetworkCommissioningLastNetworkingStatusAttributeInteractionInfo); - Map readNetworkCommissioningLastNetworkIDCommandParams = - new LinkedHashMap(); - InteractionInfo readNetworkCommissioningLastNetworkIDAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster) - .readLastNetworkIDAttribute( - (ChipClusters.NetworkCommissioningCluster.LastNetworkIDAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedNetworkCommissioningClusterLastNetworkIDAttributeCallback(), - readNetworkCommissioningLastNetworkIDCommandParams); - readNetworkCommissioningInteractionInfo.put( - "readLastNetworkIDAttribute", - readNetworkCommissioningLastNetworkIDAttributeInteractionInfo); - Map readNetworkCommissioningLastConnectErrorValueCommandParams = - new LinkedHashMap(); - InteractionInfo readNetworkCommissioningLastConnectErrorValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster) - .readLastConnectErrorValueAttribute( - (ChipClusters.NetworkCommissioningCluster - .LastConnectErrorValueAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedNetworkCommissioningClusterLastConnectErrorValueAttributeCallback(), - readNetworkCommissioningLastConnectErrorValueCommandParams); - readNetworkCommissioningInteractionInfo.put( - "readLastConnectErrorValueAttribute", - readNetworkCommissioningLastConnectErrorValueAttributeInteractionInfo); - Map readNetworkCommissioningGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readNetworkCommissioningGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.NetworkCommissioningCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedNetworkCommissioningClusterGeneratedCommandListAttributeCallback(), - readNetworkCommissioningGeneratedCommandListCommandParams); - readNetworkCommissioningInteractionInfo.put( - "readGeneratedCommandListAttribute", - readNetworkCommissioningGeneratedCommandListAttributeInteractionInfo); - Map readNetworkCommissioningAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readNetworkCommissioningAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.NetworkCommissioningCluster - .AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedNetworkCommissioningClusterAcceptedCommandListAttributeCallback(), - readNetworkCommissioningAcceptedCommandListCommandParams); - readNetworkCommissioningInteractionInfo.put( - "readAcceptedCommandListAttribute", - readNetworkCommissioningAcceptedCommandListAttributeInteractionInfo); - Map readNetworkCommissioningEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readNetworkCommissioningEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster) - .readEventListAttribute( - (ChipClusters.NetworkCommissioningCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedNetworkCommissioningClusterEventListAttributeCallback(), - readNetworkCommissioningEventListCommandParams); - readNetworkCommissioningInteractionInfo.put( - "readEventListAttribute", readNetworkCommissioningEventListAttributeInteractionInfo); - Map readNetworkCommissioningAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readNetworkCommissioningAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.NetworkCommissioningCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedNetworkCommissioningClusterAttributeListAttributeCallback(), - readNetworkCommissioningAttributeListCommandParams); - readNetworkCommissioningInteractionInfo.put( - "readAttributeListAttribute", - readNetworkCommissioningAttributeListAttributeInteractionInfo); - Map readNetworkCommissioningFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readNetworkCommissioningFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readNetworkCommissioningFeatureMapCommandParams); - readNetworkCommissioningInteractionInfo.put( - "readFeatureMapAttribute", readNetworkCommissioningFeatureMapAttributeInteractionInfo); - Map readNetworkCommissioningClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readNetworkCommissioningClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readNetworkCommissioningClusterRevisionCommandParams); - readNetworkCommissioningInteractionInfo.put( - "readClusterRevisionAttribute", - readNetworkCommissioningClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("networkCommissioning", readNetworkCommissioningInteractionInfo); - Map readDiagnosticLogsInteractionInfo = new LinkedHashMap<>(); - Map readDiagnosticLogsGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readDiagnosticLogsGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DiagnosticLogsCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.DiagnosticLogsCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedDiagnosticLogsClusterGeneratedCommandListAttributeCallback(), - readDiagnosticLogsGeneratedCommandListCommandParams); - readDiagnosticLogsInteractionInfo.put( - "readGeneratedCommandListAttribute", - readDiagnosticLogsGeneratedCommandListAttributeInteractionInfo); - Map readDiagnosticLogsAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readDiagnosticLogsAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DiagnosticLogsCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.DiagnosticLogsCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedDiagnosticLogsClusterAcceptedCommandListAttributeCallback(), - readDiagnosticLogsAcceptedCommandListCommandParams); - readDiagnosticLogsInteractionInfo.put( - "readAcceptedCommandListAttribute", - readDiagnosticLogsAcceptedCommandListAttributeInteractionInfo); - Map readDiagnosticLogsEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readDiagnosticLogsEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DiagnosticLogsCluster) cluster) - .readEventListAttribute( - (ChipClusters.DiagnosticLogsCluster.EventListAttributeCallback) callback); - }, + readNetworkCommissioningInterfaceEnabledCommandParams + ); + readNetworkCommissioningInteractionInfo.put("readInterfaceEnabledAttribute", readNetworkCommissioningInterfaceEnabledAttributeInteractionInfo); + Map readNetworkCommissioningLastNetworkingStatusCommandParams = new LinkedHashMap(); + InteractionInfo readNetworkCommissioningLastNetworkingStatusAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster).readLastNetworkingStatusAttribute( + ( ChipClusters.NetworkCommissioningCluster.LastNetworkingStatusAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedNetworkCommissioningClusterLastNetworkingStatusAttributeCallback(), + readNetworkCommissioningLastNetworkingStatusCommandParams + ); + readNetworkCommissioningInteractionInfo.put("readLastNetworkingStatusAttribute", readNetworkCommissioningLastNetworkingStatusAttributeInteractionInfo); + Map readNetworkCommissioningLastNetworkIDCommandParams = new LinkedHashMap(); + InteractionInfo readNetworkCommissioningLastNetworkIDAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster).readLastNetworkIDAttribute( + ( ChipClusters.NetworkCommissioningCluster.LastNetworkIDAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedNetworkCommissioningClusterLastNetworkIDAttributeCallback(), + readNetworkCommissioningLastNetworkIDCommandParams + ); + readNetworkCommissioningInteractionInfo.put("readLastNetworkIDAttribute", readNetworkCommissioningLastNetworkIDAttributeInteractionInfo); + Map readNetworkCommissioningLastConnectErrorValueCommandParams = new LinkedHashMap(); + InteractionInfo readNetworkCommissioningLastConnectErrorValueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster).readLastConnectErrorValueAttribute( + ( ChipClusters.NetworkCommissioningCluster.LastConnectErrorValueAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedNetworkCommissioningClusterLastConnectErrorValueAttributeCallback(), + readNetworkCommissioningLastConnectErrorValueCommandParams + ); + readNetworkCommissioningInteractionInfo.put("readLastConnectErrorValueAttribute", readNetworkCommissioningLastConnectErrorValueAttributeInteractionInfo); + Map readNetworkCommissioningGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readNetworkCommissioningGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.NetworkCommissioningCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedNetworkCommissioningClusterGeneratedCommandListAttributeCallback(), + readNetworkCommissioningGeneratedCommandListCommandParams + ); + readNetworkCommissioningInteractionInfo.put("readGeneratedCommandListAttribute", readNetworkCommissioningGeneratedCommandListAttributeInteractionInfo); + Map readNetworkCommissioningAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readNetworkCommissioningAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.NetworkCommissioningCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedNetworkCommissioningClusterAcceptedCommandListAttributeCallback(), + readNetworkCommissioningAcceptedCommandListCommandParams + ); + readNetworkCommissioningInteractionInfo.put("readAcceptedCommandListAttribute", readNetworkCommissioningAcceptedCommandListAttributeInteractionInfo); + Map readNetworkCommissioningEventListCommandParams = new LinkedHashMap(); + InteractionInfo readNetworkCommissioningEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster).readEventListAttribute( + ( ChipClusters.NetworkCommissioningCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedNetworkCommissioningClusterEventListAttributeCallback(), + readNetworkCommissioningEventListCommandParams + ); + readNetworkCommissioningInteractionInfo.put("readEventListAttribute", readNetworkCommissioningEventListAttributeInteractionInfo); + Map readNetworkCommissioningAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readNetworkCommissioningAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster).readAttributeListAttribute( + ( ChipClusters.NetworkCommissioningCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedNetworkCommissioningClusterAttributeListAttributeCallback(), + readNetworkCommissioningAttributeListCommandParams + ); + readNetworkCommissioningInteractionInfo.put("readAttributeListAttribute", readNetworkCommissioningAttributeListAttributeInteractionInfo); + Map readNetworkCommissioningFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readNetworkCommissioningFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readNetworkCommissioningFeatureMapCommandParams + ); + readNetworkCommissioningInteractionInfo.put("readFeatureMapAttribute", readNetworkCommissioningFeatureMapAttributeInteractionInfo); + Map readNetworkCommissioningClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readNetworkCommissioningClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readNetworkCommissioningClusterRevisionCommandParams + ); + readNetworkCommissioningInteractionInfo.put("readClusterRevisionAttribute", readNetworkCommissioningClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("networkCommissioning", readNetworkCommissioningInteractionInfo); + Map readDiagnosticLogsInteractionInfo = new LinkedHashMap<>(); + Map readDiagnosticLogsGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readDiagnosticLogsGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DiagnosticLogsCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.DiagnosticLogsCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedDiagnosticLogsClusterGeneratedCommandListAttributeCallback(), + readDiagnosticLogsGeneratedCommandListCommandParams + ); + readDiagnosticLogsInteractionInfo.put("readGeneratedCommandListAttribute", readDiagnosticLogsGeneratedCommandListAttributeInteractionInfo); + Map readDiagnosticLogsAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readDiagnosticLogsAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DiagnosticLogsCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.DiagnosticLogsCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedDiagnosticLogsClusterAcceptedCommandListAttributeCallback(), + readDiagnosticLogsAcceptedCommandListCommandParams + ); + readDiagnosticLogsInteractionInfo.put("readAcceptedCommandListAttribute", readDiagnosticLogsAcceptedCommandListAttributeInteractionInfo); + Map readDiagnosticLogsEventListCommandParams = new LinkedHashMap(); + InteractionInfo readDiagnosticLogsEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DiagnosticLogsCluster) cluster).readEventListAttribute( + ( ChipClusters.DiagnosticLogsCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedDiagnosticLogsClusterEventListAttributeCallback(), - readDiagnosticLogsEventListCommandParams); - readDiagnosticLogsInteractionInfo.put( - "readEventListAttribute", readDiagnosticLogsEventListAttributeInteractionInfo); - Map readDiagnosticLogsAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readDiagnosticLogsAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DiagnosticLogsCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.DiagnosticLogsCluster.AttributeListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedDiagnosticLogsClusterAttributeListAttributeCallback(), - readDiagnosticLogsAttributeListCommandParams); - readDiagnosticLogsInteractionInfo.put( - "readAttributeListAttribute", readDiagnosticLogsAttributeListAttributeInteractionInfo); - Map readDiagnosticLogsFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readDiagnosticLogsFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DiagnosticLogsCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readDiagnosticLogsFeatureMapCommandParams); - readDiagnosticLogsInteractionInfo.put( - "readFeatureMapAttribute", readDiagnosticLogsFeatureMapAttributeInteractionInfo); - Map readDiagnosticLogsClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readDiagnosticLogsClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DiagnosticLogsCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDiagnosticLogsClusterRevisionCommandParams); - readDiagnosticLogsInteractionInfo.put( - "readClusterRevisionAttribute", readDiagnosticLogsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("diagnosticLogs", readDiagnosticLogsInteractionInfo); - Map readGeneralDiagnosticsInteractionInfo = new LinkedHashMap<>(); - Map readGeneralDiagnosticsNetworkInterfacesCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsNetworkInterfacesAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster) - .readNetworkInterfacesAttribute( - (ChipClusters.GeneralDiagnosticsCluster.NetworkInterfacesAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedGeneralDiagnosticsClusterNetworkInterfacesAttributeCallback(), - readGeneralDiagnosticsNetworkInterfacesCommandParams); - readGeneralDiagnosticsInteractionInfo.put( - "readNetworkInterfacesAttribute", - readGeneralDiagnosticsNetworkInterfacesAttributeInteractionInfo); - Map readGeneralDiagnosticsRebootCountCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsRebootCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster) - .readRebootCountAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readGeneralDiagnosticsRebootCountCommandParams); - readGeneralDiagnosticsInteractionInfo.put( - "readRebootCountAttribute", readGeneralDiagnosticsRebootCountAttributeInteractionInfo); - Map readGeneralDiagnosticsUpTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsUpTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster) - .readUpTimeAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readGeneralDiagnosticsUpTimeCommandParams); - readGeneralDiagnosticsInteractionInfo.put( - "readUpTimeAttribute", readGeneralDiagnosticsUpTimeAttributeInteractionInfo); - Map readGeneralDiagnosticsTotalOperationalHoursCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsTotalOperationalHoursAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster) - .readTotalOperationalHoursAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readGeneralDiagnosticsTotalOperationalHoursCommandParams); - readGeneralDiagnosticsInteractionInfo.put( - "readTotalOperationalHoursAttribute", - readGeneralDiagnosticsTotalOperationalHoursAttributeInteractionInfo); - Map readGeneralDiagnosticsBootReasonCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsBootReasonAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster) - .readBootReasonAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readGeneralDiagnosticsBootReasonCommandParams); - readGeneralDiagnosticsInteractionInfo.put( - "readBootReasonAttribute", readGeneralDiagnosticsBootReasonAttributeInteractionInfo); - Map readGeneralDiagnosticsActiveHardwareFaultsCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsActiveHardwareFaultsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster) - .readActiveHardwareFaultsAttribute( - (ChipClusters.GeneralDiagnosticsCluster.ActiveHardwareFaultsAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedGeneralDiagnosticsClusterActiveHardwareFaultsAttributeCallback(), - readGeneralDiagnosticsActiveHardwareFaultsCommandParams); - readGeneralDiagnosticsInteractionInfo.put( - "readActiveHardwareFaultsAttribute", - readGeneralDiagnosticsActiveHardwareFaultsAttributeInteractionInfo); - Map readGeneralDiagnosticsActiveRadioFaultsCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsActiveRadioFaultsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster) - .readActiveRadioFaultsAttribute( - (ChipClusters.GeneralDiagnosticsCluster.ActiveRadioFaultsAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedGeneralDiagnosticsClusterActiveRadioFaultsAttributeCallback(), - readGeneralDiagnosticsActiveRadioFaultsCommandParams); - readGeneralDiagnosticsInteractionInfo.put( - "readActiveRadioFaultsAttribute", - readGeneralDiagnosticsActiveRadioFaultsAttributeInteractionInfo); - Map readGeneralDiagnosticsActiveNetworkFaultsCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsActiveNetworkFaultsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster) - .readActiveNetworkFaultsAttribute( - (ChipClusters.GeneralDiagnosticsCluster.ActiveNetworkFaultsAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedGeneralDiagnosticsClusterActiveNetworkFaultsAttributeCallback(), - readGeneralDiagnosticsActiveNetworkFaultsCommandParams); - readGeneralDiagnosticsInteractionInfo.put( - "readActiveNetworkFaultsAttribute", - readGeneralDiagnosticsActiveNetworkFaultsAttributeInteractionInfo); - Map readGeneralDiagnosticsTestEventTriggersEnabledCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsTestEventTriggersEnabledAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster) - .readTestEventTriggersEnabledAttribute( - (ChipClusters.BooleanAttributeCallback) callback); - }, + readDiagnosticLogsEventListCommandParams + ); + readDiagnosticLogsInteractionInfo.put("readEventListAttribute", readDiagnosticLogsEventListAttributeInteractionInfo); + Map readDiagnosticLogsAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readDiagnosticLogsAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DiagnosticLogsCluster) cluster).readAttributeListAttribute( + ( ChipClusters.DiagnosticLogsCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedDiagnosticLogsClusterAttributeListAttributeCallback(), + readDiagnosticLogsAttributeListCommandParams + ); + readDiagnosticLogsInteractionInfo.put("readAttributeListAttribute", readDiagnosticLogsAttributeListAttributeInteractionInfo); + Map readDiagnosticLogsFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readDiagnosticLogsFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DiagnosticLogsCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readDiagnosticLogsFeatureMapCommandParams + ); + readDiagnosticLogsInteractionInfo.put("readFeatureMapAttribute", readDiagnosticLogsFeatureMapAttributeInteractionInfo); + Map readDiagnosticLogsClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readDiagnosticLogsClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DiagnosticLogsCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDiagnosticLogsClusterRevisionCommandParams + ); + readDiagnosticLogsInteractionInfo.put("readClusterRevisionAttribute", readDiagnosticLogsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("diagnosticLogs", readDiagnosticLogsInteractionInfo); + Map readGeneralDiagnosticsInteractionInfo = new LinkedHashMap<>(); + Map readGeneralDiagnosticsNetworkInterfacesCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsNetworkInterfacesAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster).readNetworkInterfacesAttribute( + ( ChipClusters.GeneralDiagnosticsCluster.NetworkInterfacesAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedGeneralDiagnosticsClusterNetworkInterfacesAttributeCallback(), + readGeneralDiagnosticsNetworkInterfacesCommandParams + ); + readGeneralDiagnosticsInteractionInfo.put("readNetworkInterfacesAttribute", readGeneralDiagnosticsNetworkInterfacesAttributeInteractionInfo); + Map readGeneralDiagnosticsRebootCountCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsRebootCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster).readRebootCountAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readGeneralDiagnosticsRebootCountCommandParams + ); + readGeneralDiagnosticsInteractionInfo.put("readRebootCountAttribute", readGeneralDiagnosticsRebootCountAttributeInteractionInfo); + Map readGeneralDiagnosticsUpTimeCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsUpTimeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster).readUpTimeAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readGeneralDiagnosticsUpTimeCommandParams + ); + readGeneralDiagnosticsInteractionInfo.put("readUpTimeAttribute", readGeneralDiagnosticsUpTimeAttributeInteractionInfo); + Map readGeneralDiagnosticsTotalOperationalHoursCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsTotalOperationalHoursAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster).readTotalOperationalHoursAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readGeneralDiagnosticsTotalOperationalHoursCommandParams + ); + readGeneralDiagnosticsInteractionInfo.put("readTotalOperationalHoursAttribute", readGeneralDiagnosticsTotalOperationalHoursAttributeInteractionInfo); + Map readGeneralDiagnosticsBootReasonCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsBootReasonAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster).readBootReasonAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readGeneralDiagnosticsBootReasonCommandParams + ); + readGeneralDiagnosticsInteractionInfo.put("readBootReasonAttribute", readGeneralDiagnosticsBootReasonAttributeInteractionInfo); + Map readGeneralDiagnosticsActiveHardwareFaultsCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsActiveHardwareFaultsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster).readActiveHardwareFaultsAttribute( + ( ChipClusters.GeneralDiagnosticsCluster.ActiveHardwareFaultsAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedGeneralDiagnosticsClusterActiveHardwareFaultsAttributeCallback(), + readGeneralDiagnosticsActiveHardwareFaultsCommandParams + ); + readGeneralDiagnosticsInteractionInfo.put("readActiveHardwareFaultsAttribute", readGeneralDiagnosticsActiveHardwareFaultsAttributeInteractionInfo); + Map readGeneralDiagnosticsActiveRadioFaultsCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsActiveRadioFaultsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster).readActiveRadioFaultsAttribute( + ( ChipClusters.GeneralDiagnosticsCluster.ActiveRadioFaultsAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedGeneralDiagnosticsClusterActiveRadioFaultsAttributeCallback(), + readGeneralDiagnosticsActiveRadioFaultsCommandParams + ); + readGeneralDiagnosticsInteractionInfo.put("readActiveRadioFaultsAttribute", readGeneralDiagnosticsActiveRadioFaultsAttributeInteractionInfo); + Map readGeneralDiagnosticsActiveNetworkFaultsCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsActiveNetworkFaultsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster).readActiveNetworkFaultsAttribute( + ( ChipClusters.GeneralDiagnosticsCluster.ActiveNetworkFaultsAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedGeneralDiagnosticsClusterActiveNetworkFaultsAttributeCallback(), + readGeneralDiagnosticsActiveNetworkFaultsCommandParams + ); + readGeneralDiagnosticsInteractionInfo.put("readActiveNetworkFaultsAttribute", readGeneralDiagnosticsActiveNetworkFaultsAttributeInteractionInfo); + Map readGeneralDiagnosticsTestEventTriggersEnabledCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsTestEventTriggersEnabledAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster).readTestEventTriggersEnabledAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readGeneralDiagnosticsTestEventTriggersEnabledCommandParams); - readGeneralDiagnosticsInteractionInfo.put( - "readTestEventTriggersEnabledAttribute", - readGeneralDiagnosticsTestEventTriggersEnabledAttributeInteractionInfo); - Map readGeneralDiagnosticsGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.GeneralDiagnosticsCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedGeneralDiagnosticsClusterGeneratedCommandListAttributeCallback(), - readGeneralDiagnosticsGeneratedCommandListCommandParams); - readGeneralDiagnosticsInteractionInfo.put( - "readGeneratedCommandListAttribute", - readGeneralDiagnosticsGeneratedCommandListAttributeInteractionInfo); - Map readGeneralDiagnosticsAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.GeneralDiagnosticsCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedGeneralDiagnosticsClusterAcceptedCommandListAttributeCallback(), - readGeneralDiagnosticsAcceptedCommandListCommandParams); - readGeneralDiagnosticsInteractionInfo.put( - "readAcceptedCommandListAttribute", - readGeneralDiagnosticsAcceptedCommandListAttributeInteractionInfo); - Map readGeneralDiagnosticsEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster) - .readEventListAttribute( - (ChipClusters.GeneralDiagnosticsCluster.EventListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedGeneralDiagnosticsClusterEventListAttributeCallback(), - readGeneralDiagnosticsEventListCommandParams); - readGeneralDiagnosticsInteractionInfo.put( - "readEventListAttribute", readGeneralDiagnosticsEventListAttributeInteractionInfo); - Map readGeneralDiagnosticsAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.GeneralDiagnosticsCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedGeneralDiagnosticsClusterAttributeListAttributeCallback(), - readGeneralDiagnosticsAttributeListCommandParams); - readGeneralDiagnosticsInteractionInfo.put( - "readAttributeListAttribute", readGeneralDiagnosticsAttributeListAttributeInteractionInfo); - Map readGeneralDiagnosticsFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readGeneralDiagnosticsFeatureMapCommandParams); - readGeneralDiagnosticsInteractionInfo.put( - "readFeatureMapAttribute", readGeneralDiagnosticsFeatureMapAttributeInteractionInfo); - Map readGeneralDiagnosticsClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readGeneralDiagnosticsClusterRevisionCommandParams); - readGeneralDiagnosticsInteractionInfo.put( - "readClusterRevisionAttribute", - readGeneralDiagnosticsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("generalDiagnostics", readGeneralDiagnosticsInteractionInfo); - Map readSoftwareDiagnosticsInteractionInfo = new LinkedHashMap<>(); - Map readSoftwareDiagnosticsThreadMetricsCommandParams = - new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsThreadMetricsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster) - .readThreadMetricsAttribute( - (ChipClusters.SoftwareDiagnosticsCluster.ThreadMetricsAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedSoftwareDiagnosticsClusterThreadMetricsAttributeCallback(), - readSoftwareDiagnosticsThreadMetricsCommandParams); - readSoftwareDiagnosticsInteractionInfo.put( - "readThreadMetricsAttribute", readSoftwareDiagnosticsThreadMetricsAttributeInteractionInfo); - Map readSoftwareDiagnosticsCurrentHeapFreeCommandParams = - new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsCurrentHeapFreeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster) - .readCurrentHeapFreeAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readSoftwareDiagnosticsCurrentHeapFreeCommandParams); - readSoftwareDiagnosticsInteractionInfo.put( - "readCurrentHeapFreeAttribute", - readSoftwareDiagnosticsCurrentHeapFreeAttributeInteractionInfo); - Map readSoftwareDiagnosticsCurrentHeapUsedCommandParams = - new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsCurrentHeapUsedAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster) - .readCurrentHeapUsedAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readSoftwareDiagnosticsCurrentHeapUsedCommandParams); - readSoftwareDiagnosticsInteractionInfo.put( - "readCurrentHeapUsedAttribute", - readSoftwareDiagnosticsCurrentHeapUsedAttributeInteractionInfo); - Map readSoftwareDiagnosticsCurrentHeapHighWatermarkCommandParams = - new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsCurrentHeapHighWatermarkAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster) - .readCurrentHeapHighWatermarkAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readSoftwareDiagnosticsCurrentHeapHighWatermarkCommandParams); - readSoftwareDiagnosticsInteractionInfo.put( - "readCurrentHeapHighWatermarkAttribute", - readSoftwareDiagnosticsCurrentHeapHighWatermarkAttributeInteractionInfo); - Map readSoftwareDiagnosticsGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.SoftwareDiagnosticsCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedSoftwareDiagnosticsClusterGeneratedCommandListAttributeCallback(), - readSoftwareDiagnosticsGeneratedCommandListCommandParams); - readSoftwareDiagnosticsInteractionInfo.put( - "readGeneratedCommandListAttribute", - readSoftwareDiagnosticsGeneratedCommandListAttributeInteractionInfo); - Map readSoftwareDiagnosticsAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.SoftwareDiagnosticsCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedSoftwareDiagnosticsClusterAcceptedCommandListAttributeCallback(), - readSoftwareDiagnosticsAcceptedCommandListCommandParams); - readSoftwareDiagnosticsInteractionInfo.put( - "readAcceptedCommandListAttribute", - readSoftwareDiagnosticsAcceptedCommandListAttributeInteractionInfo); - Map readSoftwareDiagnosticsEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster) - .readEventListAttribute( - (ChipClusters.SoftwareDiagnosticsCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedSoftwareDiagnosticsClusterEventListAttributeCallback(), - readSoftwareDiagnosticsEventListCommandParams); - readSoftwareDiagnosticsInteractionInfo.put( - "readEventListAttribute", readSoftwareDiagnosticsEventListAttributeInteractionInfo); - Map readSoftwareDiagnosticsAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.SoftwareDiagnosticsCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedSoftwareDiagnosticsClusterAttributeListAttributeCallback(), - readSoftwareDiagnosticsAttributeListCommandParams); - readSoftwareDiagnosticsInteractionInfo.put( - "readAttributeListAttribute", readSoftwareDiagnosticsAttributeListAttributeInteractionInfo); - Map readSoftwareDiagnosticsFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readSoftwareDiagnosticsFeatureMapCommandParams); - readSoftwareDiagnosticsInteractionInfo.put( - "readFeatureMapAttribute", readSoftwareDiagnosticsFeatureMapAttributeInteractionInfo); - Map readSoftwareDiagnosticsClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readSoftwareDiagnosticsClusterRevisionCommandParams); - readSoftwareDiagnosticsInteractionInfo.put( - "readClusterRevisionAttribute", - readSoftwareDiagnosticsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("softwareDiagnostics", readSoftwareDiagnosticsInteractionInfo); - Map readThreadNetworkDiagnosticsInteractionInfo = - new LinkedHashMap<>(); - Map readThreadNetworkDiagnosticsChannelCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsChannelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readChannelAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster.ChannelAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThreadNetworkDiagnosticsClusterChannelAttributeCallback(), - readThreadNetworkDiagnosticsChannelCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readChannelAttribute", readThreadNetworkDiagnosticsChannelAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRoutingRoleCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRoutingRoleAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRoutingRoleAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster.RoutingRoleAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThreadNetworkDiagnosticsClusterRoutingRoleAttributeCallback(), - readThreadNetworkDiagnosticsRoutingRoleCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRoutingRoleAttribute", - readThreadNetworkDiagnosticsRoutingRoleAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsNetworkNameCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsNetworkNameAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readNetworkNameAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster.NetworkNameAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThreadNetworkDiagnosticsClusterNetworkNameAttributeCallback(), - readThreadNetworkDiagnosticsNetworkNameCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readNetworkNameAttribute", - readThreadNetworkDiagnosticsNetworkNameAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsPanIdCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsPanIdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readPanIdAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster.PanIdAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThreadNetworkDiagnosticsClusterPanIdAttributeCallback(), - readThreadNetworkDiagnosticsPanIdCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readPanIdAttribute", readThreadNetworkDiagnosticsPanIdAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsExtendedPanIdCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsExtendedPanIdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readExtendedPanIdAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster.ExtendedPanIdAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThreadNetworkDiagnosticsClusterExtendedPanIdAttributeCallback(), - readThreadNetworkDiagnosticsExtendedPanIdCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readExtendedPanIdAttribute", - readThreadNetworkDiagnosticsExtendedPanIdAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsMeshLocalPrefixCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsMeshLocalPrefixAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readMeshLocalPrefixAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster - .MeshLocalPrefixAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThreadNetworkDiagnosticsClusterMeshLocalPrefixAttributeCallback(), - readThreadNetworkDiagnosticsMeshLocalPrefixCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readMeshLocalPrefixAttribute", - readThreadNetworkDiagnosticsMeshLocalPrefixAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsOverrunCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsOverrunCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readOverrunCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsOverrunCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readOverrunCountAttribute", - readThreadNetworkDiagnosticsOverrunCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsNeighborTableCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsNeighborTableAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readNeighborTableAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster.NeighborTableAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThreadNetworkDiagnosticsClusterNeighborTableAttributeCallback(), - readThreadNetworkDiagnosticsNeighborTableCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readNeighborTableAttribute", - readThreadNetworkDiagnosticsNeighborTableAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRouteTableCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRouteTableAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRouteTableAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster.RouteTableAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThreadNetworkDiagnosticsClusterRouteTableAttributeCallback(), - readThreadNetworkDiagnosticsRouteTableCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRouteTableAttribute", readThreadNetworkDiagnosticsRouteTableAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsPartitionIdCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsPartitionIdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readPartitionIdAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster.PartitionIdAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThreadNetworkDiagnosticsClusterPartitionIdAttributeCallback(), - readThreadNetworkDiagnosticsPartitionIdCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readPartitionIdAttribute", - readThreadNetworkDiagnosticsPartitionIdAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsWeightingCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsWeightingAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readWeightingAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster.WeightingAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThreadNetworkDiagnosticsClusterWeightingAttributeCallback(), - readThreadNetworkDiagnosticsWeightingCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readWeightingAttribute", readThreadNetworkDiagnosticsWeightingAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsDataVersionCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsDataVersionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readDataVersionAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster.DataVersionAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThreadNetworkDiagnosticsClusterDataVersionAttributeCallback(), - readThreadNetworkDiagnosticsDataVersionCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readDataVersionAttribute", - readThreadNetworkDiagnosticsDataVersionAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsStableDataVersionCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsStableDataVersionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readStableDataVersionAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster - .StableDataVersionAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThreadNetworkDiagnosticsClusterStableDataVersionAttributeCallback(), - readThreadNetworkDiagnosticsStableDataVersionCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readStableDataVersionAttribute", - readThreadNetworkDiagnosticsStableDataVersionAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsLeaderRouterIdCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsLeaderRouterIdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readLeaderRouterIdAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster.LeaderRouterIdAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThreadNetworkDiagnosticsClusterLeaderRouterIdAttributeCallback(), - readThreadNetworkDiagnosticsLeaderRouterIdCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readLeaderRouterIdAttribute", - readThreadNetworkDiagnosticsLeaderRouterIdAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsDetachedRoleCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsDetachedRoleCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readDetachedRoleCountAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsDetachedRoleCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readDetachedRoleCountAttribute", - readThreadNetworkDiagnosticsDetachedRoleCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsChildRoleCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsChildRoleCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readChildRoleCountAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsChildRoleCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readChildRoleCountAttribute", - readThreadNetworkDiagnosticsChildRoleCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRouterRoleCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRouterRoleCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRouterRoleCountAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsRouterRoleCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRouterRoleCountAttribute", - readThreadNetworkDiagnosticsRouterRoleCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsLeaderRoleCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsLeaderRoleCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readLeaderRoleCountAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsLeaderRoleCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readLeaderRoleCountAttribute", - readThreadNetworkDiagnosticsLeaderRoleCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsAttachAttemptCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsAttachAttemptCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readAttachAttemptCountAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsAttachAttemptCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readAttachAttemptCountAttribute", - readThreadNetworkDiagnosticsAttachAttemptCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsPartitionIdChangeCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsPartitionIdChangeCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readPartitionIdChangeCountAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsPartitionIdChangeCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readPartitionIdChangeCountAttribute", - readThreadNetworkDiagnosticsPartitionIdChangeCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountCommandParams = - new LinkedHashMap(); - InteractionInfo - readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readBetterPartitionAttachAttemptCountAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readBetterPartitionAttachAttemptCountAttribute", - readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsParentChangeCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsParentChangeCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readParentChangeCountAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsParentChangeCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readParentChangeCountAttribute", - readThreadNetworkDiagnosticsParentChangeCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxTotalCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxTotalCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxTotalCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxTotalCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxTotalCountAttribute", - readThreadNetworkDiagnosticsTxTotalCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxUnicastCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxUnicastCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxUnicastCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxUnicastCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxUnicastCountAttribute", - readThreadNetworkDiagnosticsTxUnicastCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxBroadcastCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxBroadcastCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxBroadcastCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxBroadcastCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxBroadcastCountAttribute", - readThreadNetworkDiagnosticsTxBroadcastCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxAckRequestedCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxAckRequestedCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxAckRequestedCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxAckRequestedCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxAckRequestedCountAttribute", - readThreadNetworkDiagnosticsTxAckRequestedCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxAckedCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxAckedCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxAckedCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxAckedCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxAckedCountAttribute", - readThreadNetworkDiagnosticsTxAckedCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsTxNoAckRequestedCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxNoAckRequestedCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxNoAckRequestedCountAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxNoAckRequestedCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxNoAckRequestedCountAttribute", - readThreadNetworkDiagnosticsTxNoAckRequestedCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxDataCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxDataCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxDataCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxDataCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxDataCountAttribute", - readThreadNetworkDiagnosticsTxDataCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxDataPollCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxDataPollCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxDataPollCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxDataPollCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxDataPollCountAttribute", - readThreadNetworkDiagnosticsTxDataPollCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxBeaconCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxBeaconCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxBeaconCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxBeaconCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxBeaconCountAttribute", - readThreadNetworkDiagnosticsTxBeaconCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsTxBeaconRequestCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxBeaconRequestCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxBeaconRequestCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxBeaconRequestCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxBeaconRequestCountAttribute", - readThreadNetworkDiagnosticsTxBeaconRequestCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxOtherCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxOtherCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxOtherCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxOtherCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxOtherCountAttribute", - readThreadNetworkDiagnosticsTxOtherCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxRetryCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxRetryCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxRetryCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxRetryCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxRetryCountAttribute", - readThreadNetworkDiagnosticsTxRetryCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountCommandParams = - new LinkedHashMap(); - InteractionInfo - readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxDirectMaxRetryExpiryCountAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxDirectMaxRetryExpiryCountAttribute", - readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountCommandParams = - new LinkedHashMap(); - InteractionInfo - readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxIndirectMaxRetryExpiryCountAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxIndirectMaxRetryExpiryCountAttribute", - readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxErrCcaCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxErrCcaCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxErrCcaCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxErrCcaCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxErrCcaCountAttribute", - readThreadNetworkDiagnosticsTxErrCcaCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxErrAbortCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxErrAbortCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxErrAbortCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxErrAbortCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxErrAbortCountAttribute", - readThreadNetworkDiagnosticsTxErrAbortCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsTxErrBusyChannelCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxErrBusyChannelCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readTxErrBusyChannelCountAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxErrBusyChannelCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readTxErrBusyChannelCountAttribute", - readThreadNetworkDiagnosticsTxErrBusyChannelCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxTotalCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxTotalCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxTotalCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxTotalCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxTotalCountAttribute", - readThreadNetworkDiagnosticsRxTotalCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxUnicastCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxUnicastCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxUnicastCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxUnicastCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxUnicastCountAttribute", - readThreadNetworkDiagnosticsRxUnicastCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxBroadcastCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxBroadcastCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxBroadcastCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxBroadcastCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxBroadcastCountAttribute", - readThreadNetworkDiagnosticsRxBroadcastCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxDataCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxDataCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxDataCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxDataCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxDataCountAttribute", - readThreadNetworkDiagnosticsRxDataCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxDataPollCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxDataPollCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxDataPollCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxDataPollCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxDataPollCountAttribute", - readThreadNetworkDiagnosticsRxDataPollCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxBeaconCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxBeaconCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxBeaconCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxBeaconCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxBeaconCountAttribute", - readThreadNetworkDiagnosticsRxBeaconCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsRxBeaconRequestCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxBeaconRequestCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxBeaconRequestCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxBeaconRequestCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxBeaconRequestCountAttribute", - readThreadNetworkDiagnosticsRxBeaconRequestCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxOtherCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxOtherCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxOtherCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxOtherCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxOtherCountAttribute", - readThreadNetworkDiagnosticsRxOtherCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsRxAddressFilteredCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxAddressFilteredCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxAddressFilteredCountAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxAddressFilteredCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxAddressFilteredCountAttribute", - readThreadNetworkDiagnosticsRxAddressFilteredCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsRxDestAddrFilteredCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxDestAddrFilteredCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxDestAddrFilteredCountAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxDestAddrFilteredCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxDestAddrFilteredCountAttribute", - readThreadNetworkDiagnosticsRxDestAddrFilteredCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxDuplicatedCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxDuplicatedCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxDuplicatedCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxDuplicatedCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxDuplicatedCountAttribute", - readThreadNetworkDiagnosticsRxDuplicatedCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxErrNoFrameCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxErrNoFrameCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxErrNoFrameCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxErrNoFrameCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxErrNoFrameCountAttribute", - readThreadNetworkDiagnosticsRxErrNoFrameCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsRxErrUnknownNeighborCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxErrUnknownNeighborCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxErrUnknownNeighborCountAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxErrUnknownNeighborCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxErrUnknownNeighborCountAttribute", - readThreadNetworkDiagnosticsRxErrUnknownNeighborCountAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxErrInvalidSrcAddrCountAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxErrInvalidSrcAddrCountAttribute", - readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxErrSecCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxErrSecCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxErrSecCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxErrSecCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxErrSecCountAttribute", - readThreadNetworkDiagnosticsRxErrSecCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxErrFcsCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxErrFcsCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxErrFcsCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxErrFcsCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxErrFcsCountAttribute", - readThreadNetworkDiagnosticsRxErrFcsCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxErrOtherCountCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxErrOtherCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readRxErrOtherCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxErrOtherCountCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readRxErrOtherCountAttribute", - readThreadNetworkDiagnosticsRxErrOtherCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsActiveTimestampCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsActiveTimestampAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readActiveTimestampAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster - .ActiveTimestampAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThreadNetworkDiagnosticsClusterActiveTimestampAttributeCallback(), - readThreadNetworkDiagnosticsActiveTimestampCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readActiveTimestampAttribute", - readThreadNetworkDiagnosticsActiveTimestampAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsPendingTimestampCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsPendingTimestampAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readPendingTimestampAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster - .PendingTimestampAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThreadNetworkDiagnosticsClusterPendingTimestampAttributeCallback(), - readThreadNetworkDiagnosticsPendingTimestampCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readPendingTimestampAttribute", - readThreadNetworkDiagnosticsPendingTimestampAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsDelayCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsDelayAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readDelayAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster.DelayAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThreadNetworkDiagnosticsClusterDelayAttributeCallback(), - readThreadNetworkDiagnosticsDelayCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readDelayAttribute", readThreadNetworkDiagnosticsDelayAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsChannelPage0MaskCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsChannelPage0MaskAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readChannelPage0MaskAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster - .ChannelPage0MaskAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThreadNetworkDiagnosticsClusterChannelPage0MaskAttributeCallback(), - readThreadNetworkDiagnosticsChannelPage0MaskCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readChannelPage0MaskAttribute", - readThreadNetworkDiagnosticsChannelPage0MaskAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsActiveNetworkFaultsListCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsActiveNetworkFaultsListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readActiveNetworkFaultsListAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster - .ActiveNetworkFaultsListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThreadNetworkDiagnosticsClusterActiveNetworkFaultsListAttributeCallback(), - readThreadNetworkDiagnosticsActiveNetworkFaultsListCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readActiveNetworkFaultsListAttribute", - readThreadNetworkDiagnosticsActiveNetworkFaultsListAttributeInteractionInfo); - Map - readThreadNetworkDiagnosticsGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThreadNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback(), - readThreadNetworkDiagnosticsGeneratedCommandListCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readGeneratedCommandListAttribute", - readThreadNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster - .AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThreadNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback(), - readThreadNetworkDiagnosticsAcceptedCommandListCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readAcceptedCommandListAttribute", - readThreadNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readEventListAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThreadNetworkDiagnosticsClusterEventListAttributeCallback(), - readThreadNetworkDiagnosticsEventListCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readEventListAttribute", readThreadNetworkDiagnosticsEventListAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.ThreadNetworkDiagnosticsCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThreadNetworkDiagnosticsClusterAttributeListAttributeCallback(), - readThreadNetworkDiagnosticsAttributeListCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readAttributeListAttribute", - readThreadNetworkDiagnosticsAttributeListAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsFeatureMapCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readFeatureMapAttribute", readThreadNetworkDiagnosticsFeatureMapAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsClusterRevisionCommandParams); - readThreadNetworkDiagnosticsInteractionInfo.put( - "readClusterRevisionAttribute", - readThreadNetworkDiagnosticsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("threadNetworkDiagnostics", readThreadNetworkDiagnosticsInteractionInfo); - Map readWiFiNetworkDiagnosticsInteractionInfo = new LinkedHashMap<>(); - Map readWiFiNetworkDiagnosticsBssidCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsBssidAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readBssidAttribute( - (ChipClusters.WiFiNetworkDiagnosticsCluster.BssidAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWiFiNetworkDiagnosticsClusterBssidAttributeCallback(), - readWiFiNetworkDiagnosticsBssidCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readBssidAttribute", readWiFiNetworkDiagnosticsBssidAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsSecurityTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsSecurityTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readSecurityTypeAttribute( - (ChipClusters.WiFiNetworkDiagnosticsCluster.SecurityTypeAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWiFiNetworkDiagnosticsClusterSecurityTypeAttributeCallback(), - readWiFiNetworkDiagnosticsSecurityTypeCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readSecurityTypeAttribute", - readWiFiNetworkDiagnosticsSecurityTypeAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsWiFiVersionCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsWiFiVersionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readWiFiVersionAttribute( - (ChipClusters.WiFiNetworkDiagnosticsCluster.WiFiVersionAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWiFiNetworkDiagnosticsClusterWiFiVersionAttributeCallback(), - readWiFiNetworkDiagnosticsWiFiVersionCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readWiFiVersionAttribute", readWiFiNetworkDiagnosticsWiFiVersionAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsChannelNumberCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsChannelNumberAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readChannelNumberAttribute( - (ChipClusters.WiFiNetworkDiagnosticsCluster.ChannelNumberAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWiFiNetworkDiagnosticsClusterChannelNumberAttributeCallback(), - readWiFiNetworkDiagnosticsChannelNumberCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readChannelNumberAttribute", - readWiFiNetworkDiagnosticsChannelNumberAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsRssiCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsRssiAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readRssiAttribute( - (ChipClusters.WiFiNetworkDiagnosticsCluster.RssiAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWiFiNetworkDiagnosticsClusterRssiAttributeCallback(), - readWiFiNetworkDiagnosticsRssiCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readRssiAttribute", readWiFiNetworkDiagnosticsRssiAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsBeaconLostCountCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsBeaconLostCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readBeaconLostCountAttribute( - (ChipClusters.WiFiNetworkDiagnosticsCluster.BeaconLostCountAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWiFiNetworkDiagnosticsClusterBeaconLostCountAttributeCallback(), - readWiFiNetworkDiagnosticsBeaconLostCountCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readBeaconLostCountAttribute", - readWiFiNetworkDiagnosticsBeaconLostCountAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsBeaconRxCountCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsBeaconRxCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readBeaconRxCountAttribute( - (ChipClusters.WiFiNetworkDiagnosticsCluster.BeaconRxCountAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWiFiNetworkDiagnosticsClusterBeaconRxCountAttributeCallback(), - readWiFiNetworkDiagnosticsBeaconRxCountCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readBeaconRxCountAttribute", - readWiFiNetworkDiagnosticsBeaconRxCountAttributeInteractionInfo); - Map - readWiFiNetworkDiagnosticsPacketMulticastRxCountCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsPacketMulticastRxCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readPacketMulticastRxCountAttribute( - (ChipClusters.WiFiNetworkDiagnosticsCluster - .PacketMulticastRxCountAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWiFiNetworkDiagnosticsClusterPacketMulticastRxCountAttributeCallback(), - readWiFiNetworkDiagnosticsPacketMulticastRxCountCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readPacketMulticastRxCountAttribute", - readWiFiNetworkDiagnosticsPacketMulticastRxCountAttributeInteractionInfo); - Map - readWiFiNetworkDiagnosticsPacketMulticastTxCountCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsPacketMulticastTxCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readPacketMulticastTxCountAttribute( - (ChipClusters.WiFiNetworkDiagnosticsCluster - .PacketMulticastTxCountAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWiFiNetworkDiagnosticsClusterPacketMulticastTxCountAttributeCallback(), - readWiFiNetworkDiagnosticsPacketMulticastTxCountCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readPacketMulticastTxCountAttribute", - readWiFiNetworkDiagnosticsPacketMulticastTxCountAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsPacketUnicastRxCountCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsPacketUnicastRxCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readPacketUnicastRxCountAttribute( - (ChipClusters.WiFiNetworkDiagnosticsCluster - .PacketUnicastRxCountAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWiFiNetworkDiagnosticsClusterPacketUnicastRxCountAttributeCallback(), - readWiFiNetworkDiagnosticsPacketUnicastRxCountCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readPacketUnicastRxCountAttribute", - readWiFiNetworkDiagnosticsPacketUnicastRxCountAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsPacketUnicastTxCountCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsPacketUnicastTxCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readPacketUnicastTxCountAttribute( - (ChipClusters.WiFiNetworkDiagnosticsCluster - .PacketUnicastTxCountAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWiFiNetworkDiagnosticsClusterPacketUnicastTxCountAttributeCallback(), - readWiFiNetworkDiagnosticsPacketUnicastTxCountCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readPacketUnicastTxCountAttribute", - readWiFiNetworkDiagnosticsPacketUnicastTxCountAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsCurrentMaxRateCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsCurrentMaxRateAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readCurrentMaxRateAttribute( - (ChipClusters.WiFiNetworkDiagnosticsCluster.CurrentMaxRateAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWiFiNetworkDiagnosticsClusterCurrentMaxRateAttributeCallback(), - readWiFiNetworkDiagnosticsCurrentMaxRateCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readCurrentMaxRateAttribute", - readWiFiNetworkDiagnosticsCurrentMaxRateAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsOverrunCountCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsOverrunCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readOverrunCountAttribute( - (ChipClusters.WiFiNetworkDiagnosticsCluster.OverrunCountAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWiFiNetworkDiagnosticsClusterOverrunCountAttributeCallback(), - readWiFiNetworkDiagnosticsOverrunCountCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readOverrunCountAttribute", - readWiFiNetworkDiagnosticsOverrunCountAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.WiFiNetworkDiagnosticsCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWiFiNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback(), - readWiFiNetworkDiagnosticsGeneratedCommandListCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readGeneratedCommandListAttribute", - readWiFiNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.WiFiNetworkDiagnosticsCluster - .AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWiFiNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback(), - readWiFiNetworkDiagnosticsAcceptedCommandListCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readAcceptedCommandListAttribute", - readWiFiNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readEventListAttribute( - (ChipClusters.WiFiNetworkDiagnosticsCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWiFiNetworkDiagnosticsClusterEventListAttributeCallback(), - readWiFiNetworkDiagnosticsEventListCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readEventListAttribute", readWiFiNetworkDiagnosticsEventListAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.WiFiNetworkDiagnosticsCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWiFiNetworkDiagnosticsClusterAttributeListAttributeCallback(), - readWiFiNetworkDiagnosticsAttributeListCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readAttributeListAttribute", - readWiFiNetworkDiagnosticsAttributeListAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readWiFiNetworkDiagnosticsFeatureMapCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readFeatureMapAttribute", readWiFiNetworkDiagnosticsFeatureMapAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWiFiNetworkDiagnosticsClusterRevisionCommandParams); - readWiFiNetworkDiagnosticsInteractionInfo.put( - "readClusterRevisionAttribute", - readWiFiNetworkDiagnosticsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("wiFiNetworkDiagnostics", readWiFiNetworkDiagnosticsInteractionInfo); - Map readEthernetNetworkDiagnosticsInteractionInfo = - new LinkedHashMap<>(); - Map readEthernetNetworkDiagnosticsPHYRateCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsPHYRateAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readPHYRateAttribute( - (ChipClusters.EthernetNetworkDiagnosticsCluster.PHYRateAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedEthernetNetworkDiagnosticsClusterPHYRateAttributeCallback(), - readEthernetNetworkDiagnosticsPHYRateCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readPHYRateAttribute", readEthernetNetworkDiagnosticsPHYRateAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsFullDuplexCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsFullDuplexAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readFullDuplexAttribute( - (ChipClusters.EthernetNetworkDiagnosticsCluster.FullDuplexAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedEthernetNetworkDiagnosticsClusterFullDuplexAttributeCallback(), - readEthernetNetworkDiagnosticsFullDuplexCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readFullDuplexAttribute", - readEthernetNetworkDiagnosticsFullDuplexAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsPacketRxCountCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsPacketRxCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readPacketRxCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readEthernetNetworkDiagnosticsPacketRxCountCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readPacketRxCountAttribute", - readEthernetNetworkDiagnosticsPacketRxCountAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsPacketTxCountCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsPacketTxCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readPacketTxCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readEthernetNetworkDiagnosticsPacketTxCountCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readPacketTxCountAttribute", - readEthernetNetworkDiagnosticsPacketTxCountAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsTxErrCountCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsTxErrCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readTxErrCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readEthernetNetworkDiagnosticsTxErrCountCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readTxErrCountAttribute", - readEthernetNetworkDiagnosticsTxErrCountAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsCollisionCountCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsCollisionCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readCollisionCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readEthernetNetworkDiagnosticsCollisionCountCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readCollisionCountAttribute", - readEthernetNetworkDiagnosticsCollisionCountAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsOverrunCountCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsOverrunCountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readOverrunCountAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readEthernetNetworkDiagnosticsOverrunCountCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readOverrunCountAttribute", - readEthernetNetworkDiagnosticsOverrunCountAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsCarrierDetectCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsCarrierDetectAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readCarrierDetectAttribute( - (ChipClusters.EthernetNetworkDiagnosticsCluster - .CarrierDetectAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedEthernetNetworkDiagnosticsClusterCarrierDetectAttributeCallback(), - readEthernetNetworkDiagnosticsCarrierDetectCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readCarrierDetectAttribute", - readEthernetNetworkDiagnosticsCarrierDetectAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsTimeSinceResetCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsTimeSinceResetAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readTimeSinceResetAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readEthernetNetworkDiagnosticsTimeSinceResetCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readTimeSinceResetAttribute", - readEthernetNetworkDiagnosticsTimeSinceResetAttributeInteractionInfo); - Map - readEthernetNetworkDiagnosticsGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.EthernetNetworkDiagnosticsCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedEthernetNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback(), - readEthernetNetworkDiagnosticsGeneratedCommandListCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readGeneratedCommandListAttribute", - readEthernetNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo); - Map - readEthernetNetworkDiagnosticsAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.EthernetNetworkDiagnosticsCluster - .AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedEthernetNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback(), - readEthernetNetworkDiagnosticsAcceptedCommandListCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readAcceptedCommandListAttribute", - readEthernetNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readEventListAttribute( - (ChipClusters.EthernetNetworkDiagnosticsCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedEthernetNetworkDiagnosticsClusterEventListAttributeCallback(), - readEthernetNetworkDiagnosticsEventListCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readEventListAttribute", readEthernetNetworkDiagnosticsEventListAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.EthernetNetworkDiagnosticsCluster - .AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedEthernetNetworkDiagnosticsClusterAttributeListAttributeCallback(), - readEthernetNetworkDiagnosticsAttributeListCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readAttributeListAttribute", - readEthernetNetworkDiagnosticsAttributeListAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readEthernetNetworkDiagnosticsFeatureMapCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readFeatureMapAttribute", - readEthernetNetworkDiagnosticsFeatureMapAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readEthernetNetworkDiagnosticsClusterRevisionCommandParams); - readEthernetNetworkDiagnosticsInteractionInfo.put( - "readClusterRevisionAttribute", - readEthernetNetworkDiagnosticsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put( - "ethernetNetworkDiagnostics", readEthernetNetworkDiagnosticsInteractionInfo); - Map readBridgedDeviceBasicInformationInteractionInfo = - new LinkedHashMap<>(); - Map readBridgedDeviceBasicInformationVendorNameCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationVendorNameAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) - .readVendorNameAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readGeneralDiagnosticsTestEventTriggersEnabledCommandParams + ); + readGeneralDiagnosticsInteractionInfo.put("readTestEventTriggersEnabledAttribute", readGeneralDiagnosticsTestEventTriggersEnabledAttributeInteractionInfo); + Map readGeneralDiagnosticsGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.GeneralDiagnosticsCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedGeneralDiagnosticsClusterGeneratedCommandListAttributeCallback(), + readGeneralDiagnosticsGeneratedCommandListCommandParams + ); + readGeneralDiagnosticsInteractionInfo.put("readGeneratedCommandListAttribute", readGeneralDiagnosticsGeneratedCommandListAttributeInteractionInfo); + Map readGeneralDiagnosticsAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.GeneralDiagnosticsCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedGeneralDiagnosticsClusterAcceptedCommandListAttributeCallback(), + readGeneralDiagnosticsAcceptedCommandListCommandParams + ); + readGeneralDiagnosticsInteractionInfo.put("readAcceptedCommandListAttribute", readGeneralDiagnosticsAcceptedCommandListAttributeInteractionInfo); + Map readGeneralDiagnosticsEventListCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster).readEventListAttribute( + ( ChipClusters.GeneralDiagnosticsCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedGeneralDiagnosticsClusterEventListAttributeCallback(), + readGeneralDiagnosticsEventListCommandParams + ); + readGeneralDiagnosticsInteractionInfo.put("readEventListAttribute", readGeneralDiagnosticsEventListAttributeInteractionInfo); + Map readGeneralDiagnosticsAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster).readAttributeListAttribute( + ( ChipClusters.GeneralDiagnosticsCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedGeneralDiagnosticsClusterAttributeListAttributeCallback(), + readGeneralDiagnosticsAttributeListCommandParams + ); + readGeneralDiagnosticsInteractionInfo.put("readAttributeListAttribute", readGeneralDiagnosticsAttributeListAttributeInteractionInfo); + Map readGeneralDiagnosticsFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readGeneralDiagnosticsFeatureMapCommandParams + ); + readGeneralDiagnosticsInteractionInfo.put("readFeatureMapAttribute", readGeneralDiagnosticsFeatureMapAttributeInteractionInfo); + Map readGeneralDiagnosticsClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readGeneralDiagnosticsClusterRevisionCommandParams + ); + readGeneralDiagnosticsInteractionInfo.put("readClusterRevisionAttribute", readGeneralDiagnosticsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("generalDiagnostics", readGeneralDiagnosticsInteractionInfo); + Map readSoftwareDiagnosticsInteractionInfo = new LinkedHashMap<>(); + Map readSoftwareDiagnosticsThreadMetricsCommandParams = new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsThreadMetricsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster).readThreadMetricsAttribute( + ( ChipClusters.SoftwareDiagnosticsCluster.ThreadMetricsAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedSoftwareDiagnosticsClusterThreadMetricsAttributeCallback(), + readSoftwareDiagnosticsThreadMetricsCommandParams + ); + readSoftwareDiagnosticsInteractionInfo.put("readThreadMetricsAttribute", readSoftwareDiagnosticsThreadMetricsAttributeInteractionInfo); + Map readSoftwareDiagnosticsCurrentHeapFreeCommandParams = new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsCurrentHeapFreeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster).readCurrentHeapFreeAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readSoftwareDiagnosticsCurrentHeapFreeCommandParams + ); + readSoftwareDiagnosticsInteractionInfo.put("readCurrentHeapFreeAttribute", readSoftwareDiagnosticsCurrentHeapFreeAttributeInteractionInfo); + Map readSoftwareDiagnosticsCurrentHeapUsedCommandParams = new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsCurrentHeapUsedAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster).readCurrentHeapUsedAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readSoftwareDiagnosticsCurrentHeapUsedCommandParams + ); + readSoftwareDiagnosticsInteractionInfo.put("readCurrentHeapUsedAttribute", readSoftwareDiagnosticsCurrentHeapUsedAttributeInteractionInfo); + Map readSoftwareDiagnosticsCurrentHeapHighWatermarkCommandParams = new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsCurrentHeapHighWatermarkAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster).readCurrentHeapHighWatermarkAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readSoftwareDiagnosticsCurrentHeapHighWatermarkCommandParams + ); + readSoftwareDiagnosticsInteractionInfo.put("readCurrentHeapHighWatermarkAttribute", readSoftwareDiagnosticsCurrentHeapHighWatermarkAttributeInteractionInfo); + Map readSoftwareDiagnosticsGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.SoftwareDiagnosticsCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedSoftwareDiagnosticsClusterGeneratedCommandListAttributeCallback(), + readSoftwareDiagnosticsGeneratedCommandListCommandParams + ); + readSoftwareDiagnosticsInteractionInfo.put("readGeneratedCommandListAttribute", readSoftwareDiagnosticsGeneratedCommandListAttributeInteractionInfo); + Map readSoftwareDiagnosticsAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.SoftwareDiagnosticsCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedSoftwareDiagnosticsClusterAcceptedCommandListAttributeCallback(), + readSoftwareDiagnosticsAcceptedCommandListCommandParams + ); + readSoftwareDiagnosticsInteractionInfo.put("readAcceptedCommandListAttribute", readSoftwareDiagnosticsAcceptedCommandListAttributeInteractionInfo); + Map readSoftwareDiagnosticsEventListCommandParams = new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster).readEventListAttribute( + ( ChipClusters.SoftwareDiagnosticsCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedSoftwareDiagnosticsClusterEventListAttributeCallback(), + readSoftwareDiagnosticsEventListCommandParams + ); + readSoftwareDiagnosticsInteractionInfo.put("readEventListAttribute", readSoftwareDiagnosticsEventListAttributeInteractionInfo); + Map readSoftwareDiagnosticsAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster).readAttributeListAttribute( + ( ChipClusters.SoftwareDiagnosticsCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedSoftwareDiagnosticsClusterAttributeListAttributeCallback(), + readSoftwareDiagnosticsAttributeListCommandParams + ); + readSoftwareDiagnosticsInteractionInfo.put("readAttributeListAttribute", readSoftwareDiagnosticsAttributeListAttributeInteractionInfo); + Map readSoftwareDiagnosticsFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readSoftwareDiagnosticsFeatureMapCommandParams + ); + readSoftwareDiagnosticsInteractionInfo.put("readFeatureMapAttribute", readSoftwareDiagnosticsFeatureMapAttributeInteractionInfo); + Map readSoftwareDiagnosticsClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readSoftwareDiagnosticsClusterRevisionCommandParams + ); + readSoftwareDiagnosticsInteractionInfo.put("readClusterRevisionAttribute", readSoftwareDiagnosticsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("softwareDiagnostics", readSoftwareDiagnosticsInteractionInfo); + Map readThreadNetworkDiagnosticsInteractionInfo = new LinkedHashMap<>(); + Map readThreadNetworkDiagnosticsChannelCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsChannelAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readChannelAttribute( + ( ChipClusters.ThreadNetworkDiagnosticsCluster.ChannelAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterChannelAttributeCallback(), + readThreadNetworkDiagnosticsChannelCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readChannelAttribute", readThreadNetworkDiagnosticsChannelAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRoutingRoleCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRoutingRoleAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRoutingRoleAttribute( + ( ChipClusters.ThreadNetworkDiagnosticsCluster.RoutingRoleAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterRoutingRoleAttributeCallback(), + readThreadNetworkDiagnosticsRoutingRoleCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readRoutingRoleAttribute", readThreadNetworkDiagnosticsRoutingRoleAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsNetworkNameCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsNetworkNameAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readNetworkNameAttribute( + ( ChipClusters.ThreadNetworkDiagnosticsCluster.NetworkNameAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterNetworkNameAttributeCallback(), + readThreadNetworkDiagnosticsNetworkNameCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readNetworkNameAttribute", readThreadNetworkDiagnosticsNetworkNameAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsPanIdCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsPanIdAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readPanIdAttribute( + ( ChipClusters.ThreadNetworkDiagnosticsCluster.PanIdAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterPanIdAttributeCallback(), + readThreadNetworkDiagnosticsPanIdCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readPanIdAttribute", readThreadNetworkDiagnosticsPanIdAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsExtendedPanIdCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsExtendedPanIdAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readExtendedPanIdAttribute( + ( ChipClusters.ThreadNetworkDiagnosticsCluster.ExtendedPanIdAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterExtendedPanIdAttributeCallback(), + readThreadNetworkDiagnosticsExtendedPanIdCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readExtendedPanIdAttribute", readThreadNetworkDiagnosticsExtendedPanIdAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsMeshLocalPrefixCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsMeshLocalPrefixAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readMeshLocalPrefixAttribute( + ( ChipClusters.ThreadNetworkDiagnosticsCluster.MeshLocalPrefixAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterMeshLocalPrefixAttributeCallback(), + readThreadNetworkDiagnosticsMeshLocalPrefixCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readMeshLocalPrefixAttribute", readThreadNetworkDiagnosticsMeshLocalPrefixAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsOverrunCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsOverrunCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readOverrunCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsOverrunCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readOverrunCountAttribute", readThreadNetworkDiagnosticsOverrunCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsNeighborTableCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsNeighborTableAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readNeighborTableAttribute( + ( ChipClusters.ThreadNetworkDiagnosticsCluster.NeighborTableAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterNeighborTableAttributeCallback(), + readThreadNetworkDiagnosticsNeighborTableCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readNeighborTableAttribute", readThreadNetworkDiagnosticsNeighborTableAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRouteTableCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRouteTableAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRouteTableAttribute( + ( ChipClusters.ThreadNetworkDiagnosticsCluster.RouteTableAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterRouteTableAttributeCallback(), + readThreadNetworkDiagnosticsRouteTableCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readRouteTableAttribute", readThreadNetworkDiagnosticsRouteTableAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsPartitionIdCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsPartitionIdAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readPartitionIdAttribute( + ( ChipClusters.ThreadNetworkDiagnosticsCluster.PartitionIdAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterPartitionIdAttributeCallback(), + readThreadNetworkDiagnosticsPartitionIdCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readPartitionIdAttribute", readThreadNetworkDiagnosticsPartitionIdAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsWeightingCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsWeightingAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readWeightingAttribute( + ( ChipClusters.ThreadNetworkDiagnosticsCluster.WeightingAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterWeightingAttributeCallback(), + readThreadNetworkDiagnosticsWeightingCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readWeightingAttribute", readThreadNetworkDiagnosticsWeightingAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsDataVersionCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsDataVersionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readDataVersionAttribute( + ( ChipClusters.ThreadNetworkDiagnosticsCluster.DataVersionAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterDataVersionAttributeCallback(), + readThreadNetworkDiagnosticsDataVersionCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readDataVersionAttribute", readThreadNetworkDiagnosticsDataVersionAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsStableDataVersionCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsStableDataVersionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readStableDataVersionAttribute( + ( ChipClusters.ThreadNetworkDiagnosticsCluster.StableDataVersionAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterStableDataVersionAttributeCallback(), + readThreadNetworkDiagnosticsStableDataVersionCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readStableDataVersionAttribute", readThreadNetworkDiagnosticsStableDataVersionAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsLeaderRouterIdCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsLeaderRouterIdAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readLeaderRouterIdAttribute( + ( ChipClusters.ThreadNetworkDiagnosticsCluster.LeaderRouterIdAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterLeaderRouterIdAttributeCallback(), + readThreadNetworkDiagnosticsLeaderRouterIdCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readLeaderRouterIdAttribute", readThreadNetworkDiagnosticsLeaderRouterIdAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsDetachedRoleCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsDetachedRoleCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readDetachedRoleCountAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsDetachedRoleCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readDetachedRoleCountAttribute", readThreadNetworkDiagnosticsDetachedRoleCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsChildRoleCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsChildRoleCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readChildRoleCountAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsChildRoleCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readChildRoleCountAttribute", readThreadNetworkDiagnosticsChildRoleCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRouterRoleCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRouterRoleCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRouterRoleCountAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsRouterRoleCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readRouterRoleCountAttribute", readThreadNetworkDiagnosticsRouterRoleCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsLeaderRoleCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsLeaderRoleCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readLeaderRoleCountAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsLeaderRoleCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readLeaderRoleCountAttribute", readThreadNetworkDiagnosticsLeaderRoleCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsAttachAttemptCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsAttachAttemptCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readAttachAttemptCountAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsAttachAttemptCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readAttachAttemptCountAttribute", readThreadNetworkDiagnosticsAttachAttemptCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsPartitionIdChangeCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsPartitionIdChangeCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readPartitionIdChangeCountAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsPartitionIdChangeCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readPartitionIdChangeCountAttribute", readThreadNetworkDiagnosticsPartitionIdChangeCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readBetterPartitionAttachAttemptCountAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readBetterPartitionAttachAttemptCountAttribute", readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsParentChangeCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsParentChangeCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readParentChangeCountAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsParentChangeCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readParentChangeCountAttribute", readThreadNetworkDiagnosticsParentChangeCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxTotalCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxTotalCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxTotalCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxTotalCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readTxTotalCountAttribute", readThreadNetworkDiagnosticsTxTotalCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxUnicastCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxUnicastCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxUnicastCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxUnicastCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readTxUnicastCountAttribute", readThreadNetworkDiagnosticsTxUnicastCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxBroadcastCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxBroadcastCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxBroadcastCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxBroadcastCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readTxBroadcastCountAttribute", readThreadNetworkDiagnosticsTxBroadcastCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxAckRequestedCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxAckRequestedCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxAckRequestedCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxAckRequestedCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readTxAckRequestedCountAttribute", readThreadNetworkDiagnosticsTxAckRequestedCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxAckedCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxAckedCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxAckedCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxAckedCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readTxAckedCountAttribute", readThreadNetworkDiagnosticsTxAckedCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxNoAckRequestedCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxNoAckRequestedCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxNoAckRequestedCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxNoAckRequestedCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readTxNoAckRequestedCountAttribute", readThreadNetworkDiagnosticsTxNoAckRequestedCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxDataCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxDataCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxDataCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxDataCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readTxDataCountAttribute", readThreadNetworkDiagnosticsTxDataCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxDataPollCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxDataPollCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxDataPollCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxDataPollCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readTxDataPollCountAttribute", readThreadNetworkDiagnosticsTxDataPollCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxBeaconCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxBeaconCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxBeaconCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxBeaconCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readTxBeaconCountAttribute", readThreadNetworkDiagnosticsTxBeaconCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxBeaconRequestCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxBeaconRequestCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxBeaconRequestCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxBeaconRequestCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readTxBeaconRequestCountAttribute", readThreadNetworkDiagnosticsTxBeaconRequestCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxOtherCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxOtherCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxOtherCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxOtherCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readTxOtherCountAttribute", readThreadNetworkDiagnosticsTxOtherCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxRetryCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxRetryCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxRetryCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxRetryCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readTxRetryCountAttribute", readThreadNetworkDiagnosticsTxRetryCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxDirectMaxRetryExpiryCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readTxDirectMaxRetryExpiryCountAttribute", readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxIndirectMaxRetryExpiryCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readTxIndirectMaxRetryExpiryCountAttribute", readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxErrCcaCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxErrCcaCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxErrCcaCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxErrCcaCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readTxErrCcaCountAttribute", readThreadNetworkDiagnosticsTxErrCcaCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxErrAbortCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxErrAbortCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxErrAbortCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxErrAbortCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readTxErrAbortCountAttribute", readThreadNetworkDiagnosticsTxErrAbortCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxErrBusyChannelCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxErrBusyChannelCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxErrBusyChannelCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxErrBusyChannelCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readTxErrBusyChannelCountAttribute", readThreadNetworkDiagnosticsTxErrBusyChannelCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxTotalCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxTotalCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxTotalCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxTotalCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readRxTotalCountAttribute", readThreadNetworkDiagnosticsRxTotalCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxUnicastCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxUnicastCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxUnicastCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxUnicastCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readRxUnicastCountAttribute", readThreadNetworkDiagnosticsRxUnicastCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxBroadcastCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxBroadcastCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxBroadcastCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxBroadcastCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readRxBroadcastCountAttribute", readThreadNetworkDiagnosticsRxBroadcastCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxDataCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxDataCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxDataCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxDataCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readRxDataCountAttribute", readThreadNetworkDiagnosticsRxDataCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxDataPollCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxDataPollCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxDataPollCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxDataPollCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readRxDataPollCountAttribute", readThreadNetworkDiagnosticsRxDataPollCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxBeaconCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxBeaconCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxBeaconCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxBeaconCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readRxBeaconCountAttribute", readThreadNetworkDiagnosticsRxBeaconCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxBeaconRequestCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxBeaconRequestCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxBeaconRequestCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxBeaconRequestCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readRxBeaconRequestCountAttribute", readThreadNetworkDiagnosticsRxBeaconRequestCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxOtherCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxOtherCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxOtherCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxOtherCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readRxOtherCountAttribute", readThreadNetworkDiagnosticsRxOtherCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxAddressFilteredCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxAddressFilteredCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxAddressFilteredCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxAddressFilteredCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readRxAddressFilteredCountAttribute", readThreadNetworkDiagnosticsRxAddressFilteredCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxDestAddrFilteredCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxDestAddrFilteredCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxDestAddrFilteredCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxDestAddrFilteredCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readRxDestAddrFilteredCountAttribute", readThreadNetworkDiagnosticsRxDestAddrFilteredCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxDuplicatedCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxDuplicatedCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxDuplicatedCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxDuplicatedCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readRxDuplicatedCountAttribute", readThreadNetworkDiagnosticsRxDuplicatedCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxErrNoFrameCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxErrNoFrameCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxErrNoFrameCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxErrNoFrameCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readRxErrNoFrameCountAttribute", readThreadNetworkDiagnosticsRxErrNoFrameCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxErrUnknownNeighborCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxErrUnknownNeighborCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxErrUnknownNeighborCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxErrUnknownNeighborCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readRxErrUnknownNeighborCountAttribute", readThreadNetworkDiagnosticsRxErrUnknownNeighborCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxErrInvalidSrcAddrCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readRxErrInvalidSrcAddrCountAttribute", readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxErrSecCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxErrSecCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxErrSecCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxErrSecCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readRxErrSecCountAttribute", readThreadNetworkDiagnosticsRxErrSecCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxErrFcsCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxErrFcsCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxErrFcsCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxErrFcsCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readRxErrFcsCountAttribute", readThreadNetworkDiagnosticsRxErrFcsCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxErrOtherCountCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxErrOtherCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxErrOtherCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxErrOtherCountCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readRxErrOtherCountAttribute", readThreadNetworkDiagnosticsRxErrOtherCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsActiveTimestampCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsActiveTimestampAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readActiveTimestampAttribute( + ( ChipClusters.ThreadNetworkDiagnosticsCluster.ActiveTimestampAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterActiveTimestampAttributeCallback(), + readThreadNetworkDiagnosticsActiveTimestampCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readActiveTimestampAttribute", readThreadNetworkDiagnosticsActiveTimestampAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsPendingTimestampCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsPendingTimestampAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readPendingTimestampAttribute( + ( ChipClusters.ThreadNetworkDiagnosticsCluster.PendingTimestampAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterPendingTimestampAttributeCallback(), + readThreadNetworkDiagnosticsPendingTimestampCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readPendingTimestampAttribute", readThreadNetworkDiagnosticsPendingTimestampAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsDelayCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsDelayAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readDelayAttribute( + ( ChipClusters.ThreadNetworkDiagnosticsCluster.DelayAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterDelayAttributeCallback(), + readThreadNetworkDiagnosticsDelayCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readDelayAttribute", readThreadNetworkDiagnosticsDelayAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsChannelPage0MaskCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsChannelPage0MaskAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readChannelPage0MaskAttribute( + ( ChipClusters.ThreadNetworkDiagnosticsCluster.ChannelPage0MaskAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterChannelPage0MaskAttributeCallback(), + readThreadNetworkDiagnosticsChannelPage0MaskCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readChannelPage0MaskAttribute", readThreadNetworkDiagnosticsChannelPage0MaskAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsActiveNetworkFaultsListCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsActiveNetworkFaultsListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readActiveNetworkFaultsListAttribute( + ( ChipClusters.ThreadNetworkDiagnosticsCluster.ActiveNetworkFaultsListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterActiveNetworkFaultsListAttributeCallback(), + readThreadNetworkDiagnosticsActiveNetworkFaultsListCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readActiveNetworkFaultsListAttribute", readThreadNetworkDiagnosticsActiveNetworkFaultsListAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.ThreadNetworkDiagnosticsCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback(), + readThreadNetworkDiagnosticsGeneratedCommandListCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readGeneratedCommandListAttribute", readThreadNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.ThreadNetworkDiagnosticsCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback(), + readThreadNetworkDiagnosticsAcceptedCommandListCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readAcceptedCommandListAttribute", readThreadNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsEventListCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readEventListAttribute( + ( ChipClusters.ThreadNetworkDiagnosticsCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterEventListAttributeCallback(), + readThreadNetworkDiagnosticsEventListCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readEventListAttribute", readThreadNetworkDiagnosticsEventListAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readAttributeListAttribute( + ( ChipClusters.ThreadNetworkDiagnosticsCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterAttributeListAttributeCallback(), + readThreadNetworkDiagnosticsAttributeListCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readAttributeListAttribute", readThreadNetworkDiagnosticsAttributeListAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsFeatureMapCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readFeatureMapAttribute", readThreadNetworkDiagnosticsFeatureMapAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsClusterRevisionCommandParams + ); + readThreadNetworkDiagnosticsInteractionInfo.put("readClusterRevisionAttribute", readThreadNetworkDiagnosticsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("threadNetworkDiagnostics", readThreadNetworkDiagnosticsInteractionInfo); + Map readWiFiNetworkDiagnosticsInteractionInfo = new LinkedHashMap<>(); + Map readWiFiNetworkDiagnosticsBssidCommandParams = new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsBssidAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readBssidAttribute( + ( ChipClusters.WiFiNetworkDiagnosticsCluster.BssidAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterBssidAttributeCallback(), + readWiFiNetworkDiagnosticsBssidCommandParams + ); + readWiFiNetworkDiagnosticsInteractionInfo.put("readBssidAttribute", readWiFiNetworkDiagnosticsBssidAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsSecurityTypeCommandParams = new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsSecurityTypeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readSecurityTypeAttribute( + ( ChipClusters.WiFiNetworkDiagnosticsCluster.SecurityTypeAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterSecurityTypeAttributeCallback(), + readWiFiNetworkDiagnosticsSecurityTypeCommandParams + ); + readWiFiNetworkDiagnosticsInteractionInfo.put("readSecurityTypeAttribute", readWiFiNetworkDiagnosticsSecurityTypeAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsWiFiVersionCommandParams = new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsWiFiVersionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readWiFiVersionAttribute( + ( ChipClusters.WiFiNetworkDiagnosticsCluster.WiFiVersionAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterWiFiVersionAttributeCallback(), + readWiFiNetworkDiagnosticsWiFiVersionCommandParams + ); + readWiFiNetworkDiagnosticsInteractionInfo.put("readWiFiVersionAttribute", readWiFiNetworkDiagnosticsWiFiVersionAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsChannelNumberCommandParams = new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsChannelNumberAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readChannelNumberAttribute( + ( ChipClusters.WiFiNetworkDiagnosticsCluster.ChannelNumberAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterChannelNumberAttributeCallback(), + readWiFiNetworkDiagnosticsChannelNumberCommandParams + ); + readWiFiNetworkDiagnosticsInteractionInfo.put("readChannelNumberAttribute", readWiFiNetworkDiagnosticsChannelNumberAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsRssiCommandParams = new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsRssiAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readRssiAttribute( + ( ChipClusters.WiFiNetworkDiagnosticsCluster.RssiAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterRssiAttributeCallback(), + readWiFiNetworkDiagnosticsRssiCommandParams + ); + readWiFiNetworkDiagnosticsInteractionInfo.put("readRssiAttribute", readWiFiNetworkDiagnosticsRssiAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsBeaconLostCountCommandParams = new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsBeaconLostCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readBeaconLostCountAttribute( + ( ChipClusters.WiFiNetworkDiagnosticsCluster.BeaconLostCountAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterBeaconLostCountAttributeCallback(), + readWiFiNetworkDiagnosticsBeaconLostCountCommandParams + ); + readWiFiNetworkDiagnosticsInteractionInfo.put("readBeaconLostCountAttribute", readWiFiNetworkDiagnosticsBeaconLostCountAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsBeaconRxCountCommandParams = new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsBeaconRxCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readBeaconRxCountAttribute( + ( ChipClusters.WiFiNetworkDiagnosticsCluster.BeaconRxCountAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterBeaconRxCountAttributeCallback(), + readWiFiNetworkDiagnosticsBeaconRxCountCommandParams + ); + readWiFiNetworkDiagnosticsInteractionInfo.put("readBeaconRxCountAttribute", readWiFiNetworkDiagnosticsBeaconRxCountAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsPacketMulticastRxCountCommandParams = new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsPacketMulticastRxCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readPacketMulticastRxCountAttribute( + ( ChipClusters.WiFiNetworkDiagnosticsCluster.PacketMulticastRxCountAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterPacketMulticastRxCountAttributeCallback(), + readWiFiNetworkDiagnosticsPacketMulticastRxCountCommandParams + ); + readWiFiNetworkDiagnosticsInteractionInfo.put("readPacketMulticastRxCountAttribute", readWiFiNetworkDiagnosticsPacketMulticastRxCountAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsPacketMulticastTxCountCommandParams = new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsPacketMulticastTxCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readPacketMulticastTxCountAttribute( + ( ChipClusters.WiFiNetworkDiagnosticsCluster.PacketMulticastTxCountAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterPacketMulticastTxCountAttributeCallback(), + readWiFiNetworkDiagnosticsPacketMulticastTxCountCommandParams + ); + readWiFiNetworkDiagnosticsInteractionInfo.put("readPacketMulticastTxCountAttribute", readWiFiNetworkDiagnosticsPacketMulticastTxCountAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsPacketUnicastRxCountCommandParams = new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsPacketUnicastRxCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readPacketUnicastRxCountAttribute( + ( ChipClusters.WiFiNetworkDiagnosticsCluster.PacketUnicastRxCountAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterPacketUnicastRxCountAttributeCallback(), + readWiFiNetworkDiagnosticsPacketUnicastRxCountCommandParams + ); + readWiFiNetworkDiagnosticsInteractionInfo.put("readPacketUnicastRxCountAttribute", readWiFiNetworkDiagnosticsPacketUnicastRxCountAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsPacketUnicastTxCountCommandParams = new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsPacketUnicastTxCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readPacketUnicastTxCountAttribute( + ( ChipClusters.WiFiNetworkDiagnosticsCluster.PacketUnicastTxCountAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterPacketUnicastTxCountAttributeCallback(), + readWiFiNetworkDiagnosticsPacketUnicastTxCountCommandParams + ); + readWiFiNetworkDiagnosticsInteractionInfo.put("readPacketUnicastTxCountAttribute", readWiFiNetworkDiagnosticsPacketUnicastTxCountAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsCurrentMaxRateCommandParams = new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsCurrentMaxRateAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readCurrentMaxRateAttribute( + ( ChipClusters.WiFiNetworkDiagnosticsCluster.CurrentMaxRateAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterCurrentMaxRateAttributeCallback(), + readWiFiNetworkDiagnosticsCurrentMaxRateCommandParams + ); + readWiFiNetworkDiagnosticsInteractionInfo.put("readCurrentMaxRateAttribute", readWiFiNetworkDiagnosticsCurrentMaxRateAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsOverrunCountCommandParams = new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsOverrunCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readOverrunCountAttribute( + ( ChipClusters.WiFiNetworkDiagnosticsCluster.OverrunCountAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterOverrunCountAttributeCallback(), + readWiFiNetworkDiagnosticsOverrunCountCommandParams + ); + readWiFiNetworkDiagnosticsInteractionInfo.put("readOverrunCountAttribute", readWiFiNetworkDiagnosticsOverrunCountAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.WiFiNetworkDiagnosticsCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback(), + readWiFiNetworkDiagnosticsGeneratedCommandListCommandParams + ); + readWiFiNetworkDiagnosticsInteractionInfo.put("readGeneratedCommandListAttribute", readWiFiNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.WiFiNetworkDiagnosticsCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback(), + readWiFiNetworkDiagnosticsAcceptedCommandListCommandParams + ); + readWiFiNetworkDiagnosticsInteractionInfo.put("readAcceptedCommandListAttribute", readWiFiNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsEventListCommandParams = new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readEventListAttribute( + ( ChipClusters.WiFiNetworkDiagnosticsCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterEventListAttributeCallback(), + readWiFiNetworkDiagnosticsEventListCommandParams + ); + readWiFiNetworkDiagnosticsInteractionInfo.put("readEventListAttribute", readWiFiNetworkDiagnosticsEventListAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readAttributeListAttribute( + ( ChipClusters.WiFiNetworkDiagnosticsCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterAttributeListAttributeCallback(), + readWiFiNetworkDiagnosticsAttributeListCommandParams + ); + readWiFiNetworkDiagnosticsInteractionInfo.put("readAttributeListAttribute", readWiFiNetworkDiagnosticsAttributeListAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readWiFiNetworkDiagnosticsFeatureMapCommandParams + ); + readWiFiNetworkDiagnosticsInteractionInfo.put("readFeatureMapAttribute", readWiFiNetworkDiagnosticsFeatureMapAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWiFiNetworkDiagnosticsClusterRevisionCommandParams + ); + readWiFiNetworkDiagnosticsInteractionInfo.put("readClusterRevisionAttribute", readWiFiNetworkDiagnosticsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("wiFiNetworkDiagnostics", readWiFiNetworkDiagnosticsInteractionInfo); + Map readEthernetNetworkDiagnosticsInteractionInfo = new LinkedHashMap<>(); + Map readEthernetNetworkDiagnosticsPHYRateCommandParams = new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsPHYRateAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readPHYRateAttribute( + ( ChipClusters.EthernetNetworkDiagnosticsCluster.PHYRateAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedEthernetNetworkDiagnosticsClusterPHYRateAttributeCallback(), + readEthernetNetworkDiagnosticsPHYRateCommandParams + ); + readEthernetNetworkDiagnosticsInteractionInfo.put("readPHYRateAttribute", readEthernetNetworkDiagnosticsPHYRateAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsFullDuplexCommandParams = new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsFullDuplexAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readFullDuplexAttribute( + ( ChipClusters.EthernetNetworkDiagnosticsCluster.FullDuplexAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedEthernetNetworkDiagnosticsClusterFullDuplexAttributeCallback(), + readEthernetNetworkDiagnosticsFullDuplexCommandParams + ); + readEthernetNetworkDiagnosticsInteractionInfo.put("readFullDuplexAttribute", readEthernetNetworkDiagnosticsFullDuplexAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsPacketRxCountCommandParams = new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsPacketRxCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readPacketRxCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readEthernetNetworkDiagnosticsPacketRxCountCommandParams + ); + readEthernetNetworkDiagnosticsInteractionInfo.put("readPacketRxCountAttribute", readEthernetNetworkDiagnosticsPacketRxCountAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsPacketTxCountCommandParams = new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsPacketTxCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readPacketTxCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readEthernetNetworkDiagnosticsPacketTxCountCommandParams + ); + readEthernetNetworkDiagnosticsInteractionInfo.put("readPacketTxCountAttribute", readEthernetNetworkDiagnosticsPacketTxCountAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsTxErrCountCommandParams = new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsTxErrCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readTxErrCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readEthernetNetworkDiagnosticsTxErrCountCommandParams + ); + readEthernetNetworkDiagnosticsInteractionInfo.put("readTxErrCountAttribute", readEthernetNetworkDiagnosticsTxErrCountAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsCollisionCountCommandParams = new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsCollisionCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readCollisionCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readEthernetNetworkDiagnosticsCollisionCountCommandParams + ); + readEthernetNetworkDiagnosticsInteractionInfo.put("readCollisionCountAttribute", readEthernetNetworkDiagnosticsCollisionCountAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsOverrunCountCommandParams = new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsOverrunCountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readOverrunCountAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readEthernetNetworkDiagnosticsOverrunCountCommandParams + ); + readEthernetNetworkDiagnosticsInteractionInfo.put("readOverrunCountAttribute", readEthernetNetworkDiagnosticsOverrunCountAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsCarrierDetectCommandParams = new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsCarrierDetectAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readCarrierDetectAttribute( + ( ChipClusters.EthernetNetworkDiagnosticsCluster.CarrierDetectAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedEthernetNetworkDiagnosticsClusterCarrierDetectAttributeCallback(), + readEthernetNetworkDiagnosticsCarrierDetectCommandParams + ); + readEthernetNetworkDiagnosticsInteractionInfo.put("readCarrierDetectAttribute", readEthernetNetworkDiagnosticsCarrierDetectAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsTimeSinceResetCommandParams = new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsTimeSinceResetAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readTimeSinceResetAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readEthernetNetworkDiagnosticsTimeSinceResetCommandParams + ); + readEthernetNetworkDiagnosticsInteractionInfo.put("readTimeSinceResetAttribute", readEthernetNetworkDiagnosticsTimeSinceResetAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.EthernetNetworkDiagnosticsCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedEthernetNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback(), + readEthernetNetworkDiagnosticsGeneratedCommandListCommandParams + ); + readEthernetNetworkDiagnosticsInteractionInfo.put("readGeneratedCommandListAttribute", readEthernetNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.EthernetNetworkDiagnosticsCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedEthernetNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback(), + readEthernetNetworkDiagnosticsAcceptedCommandListCommandParams + ); + readEthernetNetworkDiagnosticsInteractionInfo.put("readAcceptedCommandListAttribute", readEthernetNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsEventListCommandParams = new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readEventListAttribute( + ( ChipClusters.EthernetNetworkDiagnosticsCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedEthernetNetworkDiagnosticsClusterEventListAttributeCallback(), + readEthernetNetworkDiagnosticsEventListCommandParams + ); + readEthernetNetworkDiagnosticsInteractionInfo.put("readEventListAttribute", readEthernetNetworkDiagnosticsEventListAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readAttributeListAttribute( + ( ChipClusters.EthernetNetworkDiagnosticsCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedEthernetNetworkDiagnosticsClusterAttributeListAttributeCallback(), + readEthernetNetworkDiagnosticsAttributeListCommandParams + ); + readEthernetNetworkDiagnosticsInteractionInfo.put("readAttributeListAttribute", readEthernetNetworkDiagnosticsAttributeListAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readEthernetNetworkDiagnosticsFeatureMapCommandParams + ); + readEthernetNetworkDiagnosticsInteractionInfo.put("readFeatureMapAttribute", readEthernetNetworkDiagnosticsFeatureMapAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readEthernetNetworkDiagnosticsClusterRevisionCommandParams + ); + readEthernetNetworkDiagnosticsInteractionInfo.put("readClusterRevisionAttribute", readEthernetNetworkDiagnosticsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("ethernetNetworkDiagnostics", readEthernetNetworkDiagnosticsInteractionInfo); + Map readBridgedDeviceBasicInformationInteractionInfo = new LinkedHashMap<>(); + Map readBridgedDeviceBasicInformationVendorNameCommandParams = new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationVendorNameAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readVendorNameAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicInformationVendorNameCommandParams); - readBridgedDeviceBasicInformationInteractionInfo.put( - "readVendorNameAttribute", - readBridgedDeviceBasicInformationVendorNameAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationVendorIDCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationVendorIDAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) - .readVendorIDAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBridgedDeviceBasicInformationVendorIDCommandParams); - readBridgedDeviceBasicInformationInteractionInfo.put( - "readVendorIDAttribute", readBridgedDeviceBasicInformationVendorIDAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationProductNameCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationProductNameAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) - .readProductNameAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readBridgedDeviceBasicInformationVendorNameCommandParams + ); + readBridgedDeviceBasicInformationInteractionInfo.put("readVendorNameAttribute", readBridgedDeviceBasicInformationVendorNameAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationVendorIDCommandParams = new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationVendorIDAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readVendorIDAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBridgedDeviceBasicInformationVendorIDCommandParams + ); + readBridgedDeviceBasicInformationInteractionInfo.put("readVendorIDAttribute", readBridgedDeviceBasicInformationVendorIDAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationProductNameCommandParams = new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationProductNameAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readProductNameAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicInformationProductNameCommandParams); - readBridgedDeviceBasicInformationInteractionInfo.put( - "readProductNameAttribute", - readBridgedDeviceBasicInformationProductNameAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationNodeLabelCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationNodeLabelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) - .readNodeLabelAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readBridgedDeviceBasicInformationProductNameCommandParams + ); + readBridgedDeviceBasicInformationInteractionInfo.put("readProductNameAttribute", readBridgedDeviceBasicInformationProductNameAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationNodeLabelCommandParams = new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationNodeLabelAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readNodeLabelAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicInformationNodeLabelCommandParams); - readBridgedDeviceBasicInformationInteractionInfo.put( - "readNodeLabelAttribute", - readBridgedDeviceBasicInformationNodeLabelAttributeInteractionInfo); - Map - readBridgedDeviceBasicInformationHardwareVersionCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationHardwareVersionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) - .readHardwareVersionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBridgedDeviceBasicInformationHardwareVersionCommandParams); - readBridgedDeviceBasicInformationInteractionInfo.put( - "readHardwareVersionAttribute", - readBridgedDeviceBasicInformationHardwareVersionAttributeInteractionInfo); - Map - readBridgedDeviceBasicInformationHardwareVersionStringCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationHardwareVersionStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) - .readHardwareVersionStringAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, + readBridgedDeviceBasicInformationNodeLabelCommandParams + ); + readBridgedDeviceBasicInformationInteractionInfo.put("readNodeLabelAttribute", readBridgedDeviceBasicInformationNodeLabelAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationHardwareVersionCommandParams = new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationHardwareVersionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readHardwareVersionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBridgedDeviceBasicInformationHardwareVersionCommandParams + ); + readBridgedDeviceBasicInformationInteractionInfo.put("readHardwareVersionAttribute", readBridgedDeviceBasicInformationHardwareVersionAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationHardwareVersionStringCommandParams = new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationHardwareVersionStringAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readHardwareVersionStringAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicInformationHardwareVersionStringCommandParams); - readBridgedDeviceBasicInformationInteractionInfo.put( - "readHardwareVersionStringAttribute", - readBridgedDeviceBasicInformationHardwareVersionStringAttributeInteractionInfo); - Map - readBridgedDeviceBasicInformationSoftwareVersionCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationSoftwareVersionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) - .readSoftwareVersionAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readBridgedDeviceBasicInformationSoftwareVersionCommandParams); - readBridgedDeviceBasicInformationInteractionInfo.put( - "readSoftwareVersionAttribute", - readBridgedDeviceBasicInformationSoftwareVersionAttributeInteractionInfo); - Map - readBridgedDeviceBasicInformationSoftwareVersionStringCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationSoftwareVersionStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) - .readSoftwareVersionStringAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, + readBridgedDeviceBasicInformationHardwareVersionStringCommandParams + ); + readBridgedDeviceBasicInformationInteractionInfo.put("readHardwareVersionStringAttribute", readBridgedDeviceBasicInformationHardwareVersionStringAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationSoftwareVersionCommandParams = new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationSoftwareVersionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readSoftwareVersionAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readBridgedDeviceBasicInformationSoftwareVersionCommandParams + ); + readBridgedDeviceBasicInformationInteractionInfo.put("readSoftwareVersionAttribute", readBridgedDeviceBasicInformationSoftwareVersionAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationSoftwareVersionStringCommandParams = new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationSoftwareVersionStringAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readSoftwareVersionStringAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicInformationSoftwareVersionStringCommandParams); - readBridgedDeviceBasicInformationInteractionInfo.put( - "readSoftwareVersionStringAttribute", - readBridgedDeviceBasicInformationSoftwareVersionStringAttributeInteractionInfo); - Map - readBridgedDeviceBasicInformationManufacturingDateCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationManufacturingDateAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) - .readManufacturingDateAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, + readBridgedDeviceBasicInformationSoftwareVersionStringCommandParams + ); + readBridgedDeviceBasicInformationInteractionInfo.put("readSoftwareVersionStringAttribute", readBridgedDeviceBasicInformationSoftwareVersionStringAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationManufacturingDateCommandParams = new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationManufacturingDateAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readManufacturingDateAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicInformationManufacturingDateCommandParams); - readBridgedDeviceBasicInformationInteractionInfo.put( - "readManufacturingDateAttribute", - readBridgedDeviceBasicInformationManufacturingDateAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationPartNumberCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationPartNumberAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) - .readPartNumberAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readBridgedDeviceBasicInformationManufacturingDateCommandParams + ); + readBridgedDeviceBasicInformationInteractionInfo.put("readManufacturingDateAttribute", readBridgedDeviceBasicInformationManufacturingDateAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationPartNumberCommandParams = new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationPartNumberAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readPartNumberAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicInformationPartNumberCommandParams); - readBridgedDeviceBasicInformationInteractionInfo.put( - "readPartNumberAttribute", - readBridgedDeviceBasicInformationPartNumberAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationProductURLCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationProductURLAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) - .readProductURLAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readBridgedDeviceBasicInformationPartNumberCommandParams + ); + readBridgedDeviceBasicInformationInteractionInfo.put("readPartNumberAttribute", readBridgedDeviceBasicInformationPartNumberAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationProductURLCommandParams = new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationProductURLAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readProductURLAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicInformationProductURLCommandParams); - readBridgedDeviceBasicInformationInteractionInfo.put( - "readProductURLAttribute", - readBridgedDeviceBasicInformationProductURLAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationProductLabelCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationProductLabelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) - .readProductLabelAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readBridgedDeviceBasicInformationProductURLCommandParams + ); + readBridgedDeviceBasicInformationInteractionInfo.put("readProductURLAttribute", readBridgedDeviceBasicInformationProductURLAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationProductLabelCommandParams = new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationProductLabelAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readProductLabelAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicInformationProductLabelCommandParams); - readBridgedDeviceBasicInformationInteractionInfo.put( - "readProductLabelAttribute", - readBridgedDeviceBasicInformationProductLabelAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationSerialNumberCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationSerialNumberAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) - .readSerialNumberAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readBridgedDeviceBasicInformationProductLabelCommandParams + ); + readBridgedDeviceBasicInformationInteractionInfo.put("readProductLabelAttribute", readBridgedDeviceBasicInformationProductLabelAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationSerialNumberCommandParams = new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationSerialNumberAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readSerialNumberAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicInformationSerialNumberCommandParams); - readBridgedDeviceBasicInformationInteractionInfo.put( - "readSerialNumberAttribute", - readBridgedDeviceBasicInformationSerialNumberAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationReachableCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationReachableAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) - .readReachableAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, + readBridgedDeviceBasicInformationSerialNumberCommandParams + ); + readBridgedDeviceBasicInformationInteractionInfo.put("readSerialNumberAttribute", readBridgedDeviceBasicInformationSerialNumberAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationReachableCommandParams = new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationReachableAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readReachableAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readBridgedDeviceBasicInformationReachableCommandParams); - readBridgedDeviceBasicInformationInteractionInfo.put( - "readReachableAttribute", - readBridgedDeviceBasicInformationReachableAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationUniqueIDCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationUniqueIDAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) - .readUniqueIDAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readBridgedDeviceBasicInformationReachableCommandParams + ); + readBridgedDeviceBasicInformationInteractionInfo.put("readReachableAttribute", readBridgedDeviceBasicInformationReachableAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationUniqueIDCommandParams = new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationUniqueIDAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readUniqueIDAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicInformationUniqueIDCommandParams); - readBridgedDeviceBasicInformationInteractionInfo.put( - "readUniqueIDAttribute", readBridgedDeviceBasicInformationUniqueIDAttributeInteractionInfo); - Map - readBridgedDeviceBasicInformationGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.BridgedDeviceBasicInformationCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBridgedDeviceBasicInformationClusterGeneratedCommandListAttributeCallback(), - readBridgedDeviceBasicInformationGeneratedCommandListCommandParams); - readBridgedDeviceBasicInformationInteractionInfo.put( - "readGeneratedCommandListAttribute", - readBridgedDeviceBasicInformationGeneratedCommandListAttributeInteractionInfo); - Map - readBridgedDeviceBasicInformationAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.BridgedDeviceBasicInformationCluster - .AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBridgedDeviceBasicInformationClusterAcceptedCommandListAttributeCallback(), - readBridgedDeviceBasicInformationAcceptedCommandListCommandParams); - readBridgedDeviceBasicInformationInteractionInfo.put( - "readAcceptedCommandListAttribute", - readBridgedDeviceBasicInformationAcceptedCommandListAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) - .readEventListAttribute( - (ChipClusters.BridgedDeviceBasicInformationCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBridgedDeviceBasicInformationClusterEventListAttributeCallback(), - readBridgedDeviceBasicInformationEventListCommandParams); - readBridgedDeviceBasicInformationInteractionInfo.put( - "readEventListAttribute", - readBridgedDeviceBasicInformationEventListAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.BridgedDeviceBasicInformationCluster - .AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBridgedDeviceBasicInformationClusterAttributeListAttributeCallback(), - readBridgedDeviceBasicInformationAttributeListCommandParams); - readBridgedDeviceBasicInformationInteractionInfo.put( - "readAttributeListAttribute", - readBridgedDeviceBasicInformationAttributeListAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readBridgedDeviceBasicInformationFeatureMapCommandParams); - readBridgedDeviceBasicInformationInteractionInfo.put( - "readFeatureMapAttribute", - readBridgedDeviceBasicInformationFeatureMapAttributeInteractionInfo); - Map - readBridgedDeviceBasicInformationClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBridgedDeviceBasicInformationClusterRevisionCommandParams); - readBridgedDeviceBasicInformationInteractionInfo.put( - "readClusterRevisionAttribute", - readBridgedDeviceBasicInformationClusterRevisionAttributeInteractionInfo); - readAttributeMap.put( - "bridgedDeviceBasicInformation", readBridgedDeviceBasicInformationInteractionInfo); - Map readSwitchInteractionInfo = new LinkedHashMap<>(); - Map readSwitchNumberOfPositionsCommandParams = - new LinkedHashMap(); - InteractionInfo readSwitchNumberOfPositionsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster) - .readNumberOfPositionsAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readSwitchNumberOfPositionsCommandParams); - readSwitchInteractionInfo.put( - "readNumberOfPositionsAttribute", readSwitchNumberOfPositionsAttributeInteractionInfo); - Map readSwitchCurrentPositionCommandParams = - new LinkedHashMap(); - InteractionInfo readSwitchCurrentPositionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster) - .readCurrentPositionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readSwitchCurrentPositionCommandParams); - readSwitchInteractionInfo.put( - "readCurrentPositionAttribute", readSwitchCurrentPositionAttributeInteractionInfo); - Map readSwitchMultiPressMaxCommandParams = - new LinkedHashMap(); - InteractionInfo readSwitchMultiPressMaxAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster) - .readMultiPressMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readSwitchMultiPressMaxCommandParams); - readSwitchInteractionInfo.put( - "readMultiPressMaxAttribute", readSwitchMultiPressMaxAttributeInteractionInfo); - Map readSwitchGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readSwitchGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.SwitchCluster.GeneratedCommandListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedSwitchClusterGeneratedCommandListAttributeCallback(), - readSwitchGeneratedCommandListCommandParams); - readSwitchInteractionInfo.put( - "readGeneratedCommandListAttribute", - readSwitchGeneratedCommandListAttributeInteractionInfo); - Map readSwitchAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readSwitchAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.SwitchCluster.AcceptedCommandListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedSwitchClusterAcceptedCommandListAttributeCallback(), - readSwitchAcceptedCommandListCommandParams); - readSwitchInteractionInfo.put( - "readAcceptedCommandListAttribute", readSwitchAcceptedCommandListAttributeInteractionInfo); - Map readSwitchEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readSwitchEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster) - .readEventListAttribute( - (ChipClusters.SwitchCluster.EventListAttributeCallback) callback); - }, + readBridgedDeviceBasicInformationUniqueIDCommandParams + ); + readBridgedDeviceBasicInformationInteractionInfo.put("readUniqueIDAttribute", readBridgedDeviceBasicInformationUniqueIDAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.BridgedDeviceBasicInformationCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBridgedDeviceBasicInformationClusterGeneratedCommandListAttributeCallback(), + readBridgedDeviceBasicInformationGeneratedCommandListCommandParams + ); + readBridgedDeviceBasicInformationInteractionInfo.put("readGeneratedCommandListAttribute", readBridgedDeviceBasicInformationGeneratedCommandListAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.BridgedDeviceBasicInformationCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBridgedDeviceBasicInformationClusterAcceptedCommandListAttributeCallback(), + readBridgedDeviceBasicInformationAcceptedCommandListCommandParams + ); + readBridgedDeviceBasicInformationInteractionInfo.put("readAcceptedCommandListAttribute", readBridgedDeviceBasicInformationAcceptedCommandListAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationEventListCommandParams = new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readEventListAttribute( + ( ChipClusters.BridgedDeviceBasicInformationCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBridgedDeviceBasicInformationClusterEventListAttributeCallback(), + readBridgedDeviceBasicInformationEventListCommandParams + ); + readBridgedDeviceBasicInformationInteractionInfo.put("readEventListAttribute", readBridgedDeviceBasicInformationEventListAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readAttributeListAttribute( + ( ChipClusters.BridgedDeviceBasicInformationCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBridgedDeviceBasicInformationClusterAttributeListAttributeCallback(), + readBridgedDeviceBasicInformationAttributeListCommandParams + ); + readBridgedDeviceBasicInformationInteractionInfo.put("readAttributeListAttribute", readBridgedDeviceBasicInformationAttributeListAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readBridgedDeviceBasicInformationFeatureMapCommandParams + ); + readBridgedDeviceBasicInformationInteractionInfo.put("readFeatureMapAttribute", readBridgedDeviceBasicInformationFeatureMapAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBridgedDeviceBasicInformationClusterRevisionCommandParams + ); + readBridgedDeviceBasicInformationInteractionInfo.put("readClusterRevisionAttribute", readBridgedDeviceBasicInformationClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("bridgedDeviceBasicInformation", readBridgedDeviceBasicInformationInteractionInfo); + Map readSwitchInteractionInfo = new LinkedHashMap<>(); + Map readSwitchNumberOfPositionsCommandParams = new LinkedHashMap(); + InteractionInfo readSwitchNumberOfPositionsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster).readNumberOfPositionsAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readSwitchNumberOfPositionsCommandParams + ); + readSwitchInteractionInfo.put("readNumberOfPositionsAttribute", readSwitchNumberOfPositionsAttributeInteractionInfo); + Map readSwitchCurrentPositionCommandParams = new LinkedHashMap(); + InteractionInfo readSwitchCurrentPositionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster).readCurrentPositionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readSwitchCurrentPositionCommandParams + ); + readSwitchInteractionInfo.put("readCurrentPositionAttribute", readSwitchCurrentPositionAttributeInteractionInfo); + Map readSwitchMultiPressMaxCommandParams = new LinkedHashMap(); + InteractionInfo readSwitchMultiPressMaxAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster).readMultiPressMaxAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readSwitchMultiPressMaxCommandParams + ); + readSwitchInteractionInfo.put("readMultiPressMaxAttribute", readSwitchMultiPressMaxAttributeInteractionInfo); + Map readSwitchGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readSwitchGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.SwitchCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedSwitchClusterGeneratedCommandListAttributeCallback(), + readSwitchGeneratedCommandListCommandParams + ); + readSwitchInteractionInfo.put("readGeneratedCommandListAttribute", readSwitchGeneratedCommandListAttributeInteractionInfo); + Map readSwitchAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readSwitchAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.SwitchCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedSwitchClusterAcceptedCommandListAttributeCallback(), + readSwitchAcceptedCommandListCommandParams + ); + readSwitchInteractionInfo.put("readAcceptedCommandListAttribute", readSwitchAcceptedCommandListAttributeInteractionInfo); + Map readSwitchEventListCommandParams = new LinkedHashMap(); + InteractionInfo readSwitchEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster).readEventListAttribute( + ( ChipClusters.SwitchCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedSwitchClusterEventListAttributeCallback(), - readSwitchEventListCommandParams); - readSwitchInteractionInfo.put( - "readEventListAttribute", readSwitchEventListAttributeInteractionInfo); - Map readSwitchAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readSwitchAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.SwitchCluster.AttributeListAttributeCallback) callback); - }, + readSwitchEventListCommandParams + ); + readSwitchInteractionInfo.put("readEventListAttribute", readSwitchEventListAttributeInteractionInfo); + Map readSwitchAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readSwitchAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster).readAttributeListAttribute( + ( ChipClusters.SwitchCluster.AttributeListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedSwitchClusterAttributeListAttributeCallback(), - readSwitchAttributeListCommandParams); - readSwitchInteractionInfo.put( - "readAttributeListAttribute", readSwitchAttributeListAttributeInteractionInfo); - Map readSwitchFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readSwitchFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readSwitchFeatureMapCommandParams); - readSwitchInteractionInfo.put( - "readFeatureMapAttribute", readSwitchFeatureMapAttributeInteractionInfo); - Map readSwitchClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readSwitchClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readSwitchClusterRevisionCommandParams); - readSwitchInteractionInfo.put( - "readClusterRevisionAttribute", readSwitchClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("switch", readSwitchInteractionInfo); - Map readAdministratorCommissioningInteractionInfo = - new LinkedHashMap<>(); - Map readAdministratorCommissioningWindowStatusCommandParams = - new LinkedHashMap(); - InteractionInfo readAdministratorCommissioningWindowStatusAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AdministratorCommissioningCluster) cluster) - .readWindowStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readAdministratorCommissioningWindowStatusCommandParams); - readAdministratorCommissioningInteractionInfo.put( - "readWindowStatusAttribute", - readAdministratorCommissioningWindowStatusAttributeInteractionInfo); - Map readAdministratorCommissioningAdminFabricIndexCommandParams = - new LinkedHashMap(); - InteractionInfo readAdministratorCommissioningAdminFabricIndexAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AdministratorCommissioningCluster) cluster) - .readAdminFabricIndexAttribute( - (ChipClusters.AdministratorCommissioningCluster - .AdminFabricIndexAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedAdministratorCommissioningClusterAdminFabricIndexAttributeCallback(), - readAdministratorCommissioningAdminFabricIndexCommandParams); - readAdministratorCommissioningInteractionInfo.put( - "readAdminFabricIndexAttribute", - readAdministratorCommissioningAdminFabricIndexAttributeInteractionInfo); - Map readAdministratorCommissioningAdminVendorIdCommandParams = - new LinkedHashMap(); - InteractionInfo readAdministratorCommissioningAdminVendorIdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AdministratorCommissioningCluster) cluster) - .readAdminVendorIdAttribute( - (ChipClusters.AdministratorCommissioningCluster - .AdminVendorIdAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedAdministratorCommissioningClusterAdminVendorIdAttributeCallback(), - readAdministratorCommissioningAdminVendorIdCommandParams); - readAdministratorCommissioningInteractionInfo.put( - "readAdminVendorIdAttribute", - readAdministratorCommissioningAdminVendorIdAttributeInteractionInfo); - Map - readAdministratorCommissioningGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readAdministratorCommissioningGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AdministratorCommissioningCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.AdministratorCommissioningCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedAdministratorCommissioningClusterGeneratedCommandListAttributeCallback(), - readAdministratorCommissioningGeneratedCommandListCommandParams); - readAdministratorCommissioningInteractionInfo.put( - "readGeneratedCommandListAttribute", - readAdministratorCommissioningGeneratedCommandListAttributeInteractionInfo); - Map - readAdministratorCommissioningAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readAdministratorCommissioningAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AdministratorCommissioningCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.AdministratorCommissioningCluster - .AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedAdministratorCommissioningClusterAcceptedCommandListAttributeCallback(), - readAdministratorCommissioningAcceptedCommandListCommandParams); - readAdministratorCommissioningInteractionInfo.put( - "readAcceptedCommandListAttribute", - readAdministratorCommissioningAcceptedCommandListAttributeInteractionInfo); - Map readAdministratorCommissioningEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readAdministratorCommissioningEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AdministratorCommissioningCluster) cluster) - .readEventListAttribute( - (ChipClusters.AdministratorCommissioningCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedAdministratorCommissioningClusterEventListAttributeCallback(), - readAdministratorCommissioningEventListCommandParams); - readAdministratorCommissioningInteractionInfo.put( - "readEventListAttribute", readAdministratorCommissioningEventListAttributeInteractionInfo); - Map readAdministratorCommissioningAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readAdministratorCommissioningAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AdministratorCommissioningCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.AdministratorCommissioningCluster - .AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedAdministratorCommissioningClusterAttributeListAttributeCallback(), - readAdministratorCommissioningAttributeListCommandParams); - readAdministratorCommissioningInteractionInfo.put( - "readAttributeListAttribute", - readAdministratorCommissioningAttributeListAttributeInteractionInfo); - Map readAdministratorCommissioningFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readAdministratorCommissioningFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AdministratorCommissioningCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readAdministratorCommissioningFeatureMapCommandParams); - readAdministratorCommissioningInteractionInfo.put( - "readFeatureMapAttribute", - readAdministratorCommissioningFeatureMapAttributeInteractionInfo); - Map readAdministratorCommissioningClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readAdministratorCommissioningClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AdministratorCommissioningCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readAdministratorCommissioningClusterRevisionCommandParams); - readAdministratorCommissioningInteractionInfo.put( - "readClusterRevisionAttribute", - readAdministratorCommissioningClusterRevisionAttributeInteractionInfo); - readAttributeMap.put( - "administratorCommissioning", readAdministratorCommissioningInteractionInfo); - Map readOperationalCredentialsInteractionInfo = new LinkedHashMap<>(); - Map readOperationalCredentialsNOCsCommandParams = - new LinkedHashMap(); - InteractionInfo readOperationalCredentialsNOCsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .readNOCsAttribute( - (ChipClusters.OperationalCredentialsCluster.NOCsAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOperationalCredentialsClusterNOCsAttributeCallback(), - readOperationalCredentialsNOCsCommandParams); - readOperationalCredentialsInteractionInfo.put( - "readNOCsAttribute", readOperationalCredentialsNOCsAttributeInteractionInfo); - Map readOperationalCredentialsFabricsCommandParams = - new LinkedHashMap(); - InteractionInfo readOperationalCredentialsFabricsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .readFabricsAttribute( - (ChipClusters.OperationalCredentialsCluster.FabricsAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOperationalCredentialsClusterFabricsAttributeCallback(), - readOperationalCredentialsFabricsCommandParams); - readOperationalCredentialsInteractionInfo.put( - "readFabricsAttribute", readOperationalCredentialsFabricsAttributeInteractionInfo); - Map readOperationalCredentialsSupportedFabricsCommandParams = - new LinkedHashMap(); - InteractionInfo readOperationalCredentialsSupportedFabricsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .readSupportedFabricsAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOperationalCredentialsSupportedFabricsCommandParams); - readOperationalCredentialsInteractionInfo.put( - "readSupportedFabricsAttribute", - readOperationalCredentialsSupportedFabricsAttributeInteractionInfo); - Map readOperationalCredentialsCommissionedFabricsCommandParams = - new LinkedHashMap(); - InteractionInfo readOperationalCredentialsCommissionedFabricsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .readCommissionedFabricsAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOperationalCredentialsCommissionedFabricsCommandParams); - readOperationalCredentialsInteractionInfo.put( - "readCommissionedFabricsAttribute", - readOperationalCredentialsCommissionedFabricsAttributeInteractionInfo); - Map - readOperationalCredentialsTrustedRootCertificatesCommandParams = - new LinkedHashMap(); - InteractionInfo readOperationalCredentialsTrustedRootCertificatesAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .readTrustedRootCertificatesAttribute( - (ChipClusters.OperationalCredentialsCluster - .TrustedRootCertificatesAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOperationalCredentialsClusterTrustedRootCertificatesAttributeCallback(), - readOperationalCredentialsTrustedRootCertificatesCommandParams); - readOperationalCredentialsInteractionInfo.put( - "readTrustedRootCertificatesAttribute", - readOperationalCredentialsTrustedRootCertificatesAttributeInteractionInfo); - Map readOperationalCredentialsCurrentFabricIndexCommandParams = - new LinkedHashMap(); - InteractionInfo readOperationalCredentialsCurrentFabricIndexAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .readCurrentFabricIndexAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOperationalCredentialsCurrentFabricIndexCommandParams); - readOperationalCredentialsInteractionInfo.put( - "readCurrentFabricIndexAttribute", - readOperationalCredentialsCurrentFabricIndexAttributeInteractionInfo); - Map readOperationalCredentialsGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readOperationalCredentialsGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.OperationalCredentialsCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOperationalCredentialsClusterGeneratedCommandListAttributeCallback(), - readOperationalCredentialsGeneratedCommandListCommandParams); - readOperationalCredentialsInteractionInfo.put( - "readGeneratedCommandListAttribute", - readOperationalCredentialsGeneratedCommandListAttributeInteractionInfo); - Map readOperationalCredentialsAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readOperationalCredentialsAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.OperationalCredentialsCluster - .AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOperationalCredentialsClusterAcceptedCommandListAttributeCallback(), - readOperationalCredentialsAcceptedCommandListCommandParams); - readOperationalCredentialsInteractionInfo.put( - "readAcceptedCommandListAttribute", - readOperationalCredentialsAcceptedCommandListAttributeInteractionInfo); - Map readOperationalCredentialsEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readOperationalCredentialsEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .readEventListAttribute( - (ChipClusters.OperationalCredentialsCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOperationalCredentialsClusterEventListAttributeCallback(), - readOperationalCredentialsEventListCommandParams); - readOperationalCredentialsInteractionInfo.put( - "readEventListAttribute", readOperationalCredentialsEventListAttributeInteractionInfo); - Map readOperationalCredentialsAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readOperationalCredentialsAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.OperationalCredentialsCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOperationalCredentialsClusterAttributeListAttributeCallback(), - readOperationalCredentialsAttributeListCommandParams); - readOperationalCredentialsInteractionInfo.put( - "readAttributeListAttribute", - readOperationalCredentialsAttributeListAttributeInteractionInfo); - Map readOperationalCredentialsFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readOperationalCredentialsFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readOperationalCredentialsFeatureMapCommandParams); - readOperationalCredentialsInteractionInfo.put( - "readFeatureMapAttribute", readOperationalCredentialsFeatureMapAttributeInteractionInfo); - Map readOperationalCredentialsClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readOperationalCredentialsClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOperationalCredentialsClusterRevisionCommandParams); - readOperationalCredentialsInteractionInfo.put( - "readClusterRevisionAttribute", - readOperationalCredentialsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("operationalCredentials", readOperationalCredentialsInteractionInfo); - Map readGroupKeyManagementInteractionInfo = new LinkedHashMap<>(); - Map readGroupKeyManagementGroupKeyMapCommandParams = - new LinkedHashMap(); - InteractionInfo readGroupKeyManagementGroupKeyMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster) - .readGroupKeyMapAttribute( - (ChipClusters.GroupKeyManagementCluster.GroupKeyMapAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedGroupKeyManagementClusterGroupKeyMapAttributeCallback(), - readGroupKeyManagementGroupKeyMapCommandParams); - readGroupKeyManagementInteractionInfo.put( - "readGroupKeyMapAttribute", readGroupKeyManagementGroupKeyMapAttributeInteractionInfo); - Map readGroupKeyManagementGroupTableCommandParams = - new LinkedHashMap(); - InteractionInfo readGroupKeyManagementGroupTableAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster) - .readGroupTableAttribute( - (ChipClusters.GroupKeyManagementCluster.GroupTableAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedGroupKeyManagementClusterGroupTableAttributeCallback(), - readGroupKeyManagementGroupTableCommandParams); - readGroupKeyManagementInteractionInfo.put( - "readGroupTableAttribute", readGroupKeyManagementGroupTableAttributeInteractionInfo); - Map readGroupKeyManagementMaxGroupsPerFabricCommandParams = - new LinkedHashMap(); - InteractionInfo readGroupKeyManagementMaxGroupsPerFabricAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster) - .readMaxGroupsPerFabricAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readGroupKeyManagementMaxGroupsPerFabricCommandParams); - readGroupKeyManagementInteractionInfo.put( - "readMaxGroupsPerFabricAttribute", - readGroupKeyManagementMaxGroupsPerFabricAttributeInteractionInfo); - Map readGroupKeyManagementMaxGroupKeysPerFabricCommandParams = - new LinkedHashMap(); - InteractionInfo readGroupKeyManagementMaxGroupKeysPerFabricAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster) - .readMaxGroupKeysPerFabricAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readGroupKeyManagementMaxGroupKeysPerFabricCommandParams); - readGroupKeyManagementInteractionInfo.put( - "readMaxGroupKeysPerFabricAttribute", - readGroupKeyManagementMaxGroupKeysPerFabricAttributeInteractionInfo); - Map readGroupKeyManagementGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readGroupKeyManagementGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.GroupKeyManagementCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedGroupKeyManagementClusterGeneratedCommandListAttributeCallback(), - readGroupKeyManagementGeneratedCommandListCommandParams); - readGroupKeyManagementInteractionInfo.put( - "readGeneratedCommandListAttribute", - readGroupKeyManagementGeneratedCommandListAttributeInteractionInfo); - Map readGroupKeyManagementAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readGroupKeyManagementAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.GroupKeyManagementCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedGroupKeyManagementClusterAcceptedCommandListAttributeCallback(), - readGroupKeyManagementAcceptedCommandListCommandParams); - readGroupKeyManagementInteractionInfo.put( - "readAcceptedCommandListAttribute", - readGroupKeyManagementAcceptedCommandListAttributeInteractionInfo); - Map readGroupKeyManagementEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readGroupKeyManagementEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster) - .readEventListAttribute( - (ChipClusters.GroupKeyManagementCluster.EventListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedGroupKeyManagementClusterEventListAttributeCallback(), - readGroupKeyManagementEventListCommandParams); - readGroupKeyManagementInteractionInfo.put( - "readEventListAttribute", readGroupKeyManagementEventListAttributeInteractionInfo); - Map readGroupKeyManagementAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readGroupKeyManagementAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.GroupKeyManagementCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedGroupKeyManagementClusterAttributeListAttributeCallback(), - readGroupKeyManagementAttributeListCommandParams); - readGroupKeyManagementInteractionInfo.put( - "readAttributeListAttribute", readGroupKeyManagementAttributeListAttributeInteractionInfo); - Map readGroupKeyManagementFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readGroupKeyManagementFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readGroupKeyManagementFeatureMapCommandParams); - readGroupKeyManagementInteractionInfo.put( - "readFeatureMapAttribute", readGroupKeyManagementFeatureMapAttributeInteractionInfo); - Map readGroupKeyManagementClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readGroupKeyManagementClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readGroupKeyManagementClusterRevisionCommandParams); - readGroupKeyManagementInteractionInfo.put( - "readClusterRevisionAttribute", - readGroupKeyManagementClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("groupKeyManagement", readGroupKeyManagementInteractionInfo); - Map readFixedLabelInteractionInfo = new LinkedHashMap<>(); - Map readFixedLabelLabelListCommandParams = - new LinkedHashMap(); - InteractionInfo readFixedLabelLabelListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FixedLabelCluster) cluster) - .readLabelListAttribute( - (ChipClusters.FixedLabelCluster.LabelListAttributeCallback) callback); - }, + readSwitchAttributeListCommandParams + ); + readSwitchInteractionInfo.put("readAttributeListAttribute", readSwitchAttributeListAttributeInteractionInfo); + Map readSwitchFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readSwitchFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readSwitchFeatureMapCommandParams + ); + readSwitchInteractionInfo.put("readFeatureMapAttribute", readSwitchFeatureMapAttributeInteractionInfo); + Map readSwitchClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readSwitchClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readSwitchClusterRevisionCommandParams + ); + readSwitchInteractionInfo.put("readClusterRevisionAttribute", readSwitchClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("switch", readSwitchInteractionInfo); + Map readAdministratorCommissioningInteractionInfo = new LinkedHashMap<>(); + Map readAdministratorCommissioningWindowStatusCommandParams = new LinkedHashMap(); + InteractionInfo readAdministratorCommissioningWindowStatusAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AdministratorCommissioningCluster) cluster).readWindowStatusAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readAdministratorCommissioningWindowStatusCommandParams + ); + readAdministratorCommissioningInteractionInfo.put("readWindowStatusAttribute", readAdministratorCommissioningWindowStatusAttributeInteractionInfo); + Map readAdministratorCommissioningAdminFabricIndexCommandParams = new LinkedHashMap(); + InteractionInfo readAdministratorCommissioningAdminFabricIndexAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AdministratorCommissioningCluster) cluster).readAdminFabricIndexAttribute( + ( ChipClusters.AdministratorCommissioningCluster.AdminFabricIndexAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedAdministratorCommissioningClusterAdminFabricIndexAttributeCallback(), + readAdministratorCommissioningAdminFabricIndexCommandParams + ); + readAdministratorCommissioningInteractionInfo.put("readAdminFabricIndexAttribute", readAdministratorCommissioningAdminFabricIndexAttributeInteractionInfo); + Map readAdministratorCommissioningAdminVendorIdCommandParams = new LinkedHashMap(); + InteractionInfo readAdministratorCommissioningAdminVendorIdAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AdministratorCommissioningCluster) cluster).readAdminVendorIdAttribute( + ( ChipClusters.AdministratorCommissioningCluster.AdminVendorIdAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedAdministratorCommissioningClusterAdminVendorIdAttributeCallback(), + readAdministratorCommissioningAdminVendorIdCommandParams + ); + readAdministratorCommissioningInteractionInfo.put("readAdminVendorIdAttribute", readAdministratorCommissioningAdminVendorIdAttributeInteractionInfo); + Map readAdministratorCommissioningGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readAdministratorCommissioningGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AdministratorCommissioningCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.AdministratorCommissioningCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedAdministratorCommissioningClusterGeneratedCommandListAttributeCallback(), + readAdministratorCommissioningGeneratedCommandListCommandParams + ); + readAdministratorCommissioningInteractionInfo.put("readGeneratedCommandListAttribute", readAdministratorCommissioningGeneratedCommandListAttributeInteractionInfo); + Map readAdministratorCommissioningAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readAdministratorCommissioningAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AdministratorCommissioningCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.AdministratorCommissioningCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedAdministratorCommissioningClusterAcceptedCommandListAttributeCallback(), + readAdministratorCommissioningAcceptedCommandListCommandParams + ); + readAdministratorCommissioningInteractionInfo.put("readAcceptedCommandListAttribute", readAdministratorCommissioningAcceptedCommandListAttributeInteractionInfo); + Map readAdministratorCommissioningEventListCommandParams = new LinkedHashMap(); + InteractionInfo readAdministratorCommissioningEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AdministratorCommissioningCluster) cluster).readEventListAttribute( + ( ChipClusters.AdministratorCommissioningCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedAdministratorCommissioningClusterEventListAttributeCallback(), + readAdministratorCommissioningEventListCommandParams + ); + readAdministratorCommissioningInteractionInfo.put("readEventListAttribute", readAdministratorCommissioningEventListAttributeInteractionInfo); + Map readAdministratorCommissioningAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readAdministratorCommissioningAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AdministratorCommissioningCluster) cluster).readAttributeListAttribute( + ( ChipClusters.AdministratorCommissioningCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedAdministratorCommissioningClusterAttributeListAttributeCallback(), + readAdministratorCommissioningAttributeListCommandParams + ); + readAdministratorCommissioningInteractionInfo.put("readAttributeListAttribute", readAdministratorCommissioningAttributeListAttributeInteractionInfo); + Map readAdministratorCommissioningFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readAdministratorCommissioningFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AdministratorCommissioningCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readAdministratorCommissioningFeatureMapCommandParams + ); + readAdministratorCommissioningInteractionInfo.put("readFeatureMapAttribute", readAdministratorCommissioningFeatureMapAttributeInteractionInfo); + Map readAdministratorCommissioningClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readAdministratorCommissioningClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AdministratorCommissioningCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readAdministratorCommissioningClusterRevisionCommandParams + ); + readAdministratorCommissioningInteractionInfo.put("readClusterRevisionAttribute", readAdministratorCommissioningClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("administratorCommissioning", readAdministratorCommissioningInteractionInfo); + Map readOperationalCredentialsInteractionInfo = new LinkedHashMap<>(); + Map readOperationalCredentialsNOCsCommandParams = new LinkedHashMap(); + InteractionInfo readOperationalCredentialsNOCsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster).readNOCsAttribute( + ( ChipClusters.OperationalCredentialsCluster.NOCsAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOperationalCredentialsClusterNOCsAttributeCallback(), + readOperationalCredentialsNOCsCommandParams + ); + readOperationalCredentialsInteractionInfo.put("readNOCsAttribute", readOperationalCredentialsNOCsAttributeInteractionInfo); + Map readOperationalCredentialsFabricsCommandParams = new LinkedHashMap(); + InteractionInfo readOperationalCredentialsFabricsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster).readFabricsAttribute( + ( ChipClusters.OperationalCredentialsCluster.FabricsAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOperationalCredentialsClusterFabricsAttributeCallback(), + readOperationalCredentialsFabricsCommandParams + ); + readOperationalCredentialsInteractionInfo.put("readFabricsAttribute", readOperationalCredentialsFabricsAttributeInteractionInfo); + Map readOperationalCredentialsSupportedFabricsCommandParams = new LinkedHashMap(); + InteractionInfo readOperationalCredentialsSupportedFabricsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster).readSupportedFabricsAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOperationalCredentialsSupportedFabricsCommandParams + ); + readOperationalCredentialsInteractionInfo.put("readSupportedFabricsAttribute", readOperationalCredentialsSupportedFabricsAttributeInteractionInfo); + Map readOperationalCredentialsCommissionedFabricsCommandParams = new LinkedHashMap(); + InteractionInfo readOperationalCredentialsCommissionedFabricsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster).readCommissionedFabricsAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOperationalCredentialsCommissionedFabricsCommandParams + ); + readOperationalCredentialsInteractionInfo.put("readCommissionedFabricsAttribute", readOperationalCredentialsCommissionedFabricsAttributeInteractionInfo); + Map readOperationalCredentialsTrustedRootCertificatesCommandParams = new LinkedHashMap(); + InteractionInfo readOperationalCredentialsTrustedRootCertificatesAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster).readTrustedRootCertificatesAttribute( + ( ChipClusters.OperationalCredentialsCluster.TrustedRootCertificatesAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOperationalCredentialsClusterTrustedRootCertificatesAttributeCallback(), + readOperationalCredentialsTrustedRootCertificatesCommandParams + ); + readOperationalCredentialsInteractionInfo.put("readTrustedRootCertificatesAttribute", readOperationalCredentialsTrustedRootCertificatesAttributeInteractionInfo); + Map readOperationalCredentialsCurrentFabricIndexCommandParams = new LinkedHashMap(); + InteractionInfo readOperationalCredentialsCurrentFabricIndexAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster).readCurrentFabricIndexAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOperationalCredentialsCurrentFabricIndexCommandParams + ); + readOperationalCredentialsInteractionInfo.put("readCurrentFabricIndexAttribute", readOperationalCredentialsCurrentFabricIndexAttributeInteractionInfo); + Map readOperationalCredentialsGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readOperationalCredentialsGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.OperationalCredentialsCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOperationalCredentialsClusterGeneratedCommandListAttributeCallback(), + readOperationalCredentialsGeneratedCommandListCommandParams + ); + readOperationalCredentialsInteractionInfo.put("readGeneratedCommandListAttribute", readOperationalCredentialsGeneratedCommandListAttributeInteractionInfo); + Map readOperationalCredentialsAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readOperationalCredentialsAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.OperationalCredentialsCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOperationalCredentialsClusterAcceptedCommandListAttributeCallback(), + readOperationalCredentialsAcceptedCommandListCommandParams + ); + readOperationalCredentialsInteractionInfo.put("readAcceptedCommandListAttribute", readOperationalCredentialsAcceptedCommandListAttributeInteractionInfo); + Map readOperationalCredentialsEventListCommandParams = new LinkedHashMap(); + InteractionInfo readOperationalCredentialsEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster).readEventListAttribute( + ( ChipClusters.OperationalCredentialsCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOperationalCredentialsClusterEventListAttributeCallback(), + readOperationalCredentialsEventListCommandParams + ); + readOperationalCredentialsInteractionInfo.put("readEventListAttribute", readOperationalCredentialsEventListAttributeInteractionInfo); + Map readOperationalCredentialsAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readOperationalCredentialsAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster).readAttributeListAttribute( + ( ChipClusters.OperationalCredentialsCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOperationalCredentialsClusterAttributeListAttributeCallback(), + readOperationalCredentialsAttributeListCommandParams + ); + readOperationalCredentialsInteractionInfo.put("readAttributeListAttribute", readOperationalCredentialsAttributeListAttributeInteractionInfo); + Map readOperationalCredentialsFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readOperationalCredentialsFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readOperationalCredentialsFeatureMapCommandParams + ); + readOperationalCredentialsInteractionInfo.put("readFeatureMapAttribute", readOperationalCredentialsFeatureMapAttributeInteractionInfo); + Map readOperationalCredentialsClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readOperationalCredentialsClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOperationalCredentialsClusterRevisionCommandParams + ); + readOperationalCredentialsInteractionInfo.put("readClusterRevisionAttribute", readOperationalCredentialsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("operationalCredentials", readOperationalCredentialsInteractionInfo); + Map readGroupKeyManagementInteractionInfo = new LinkedHashMap<>(); + Map readGroupKeyManagementGroupKeyMapCommandParams = new LinkedHashMap(); + InteractionInfo readGroupKeyManagementGroupKeyMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster).readGroupKeyMapAttribute( + ( ChipClusters.GroupKeyManagementCluster.GroupKeyMapAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedGroupKeyManagementClusterGroupKeyMapAttributeCallback(), + readGroupKeyManagementGroupKeyMapCommandParams + ); + readGroupKeyManagementInteractionInfo.put("readGroupKeyMapAttribute", readGroupKeyManagementGroupKeyMapAttributeInteractionInfo); + Map readGroupKeyManagementGroupTableCommandParams = new LinkedHashMap(); + InteractionInfo readGroupKeyManagementGroupTableAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster).readGroupTableAttribute( + ( ChipClusters.GroupKeyManagementCluster.GroupTableAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedGroupKeyManagementClusterGroupTableAttributeCallback(), + readGroupKeyManagementGroupTableCommandParams + ); + readGroupKeyManagementInteractionInfo.put("readGroupTableAttribute", readGroupKeyManagementGroupTableAttributeInteractionInfo); + Map readGroupKeyManagementMaxGroupsPerFabricCommandParams = new LinkedHashMap(); + InteractionInfo readGroupKeyManagementMaxGroupsPerFabricAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster).readMaxGroupsPerFabricAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readGroupKeyManagementMaxGroupsPerFabricCommandParams + ); + readGroupKeyManagementInteractionInfo.put("readMaxGroupsPerFabricAttribute", readGroupKeyManagementMaxGroupsPerFabricAttributeInteractionInfo); + Map readGroupKeyManagementMaxGroupKeysPerFabricCommandParams = new LinkedHashMap(); + InteractionInfo readGroupKeyManagementMaxGroupKeysPerFabricAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster).readMaxGroupKeysPerFabricAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readGroupKeyManagementMaxGroupKeysPerFabricCommandParams + ); + readGroupKeyManagementInteractionInfo.put("readMaxGroupKeysPerFabricAttribute", readGroupKeyManagementMaxGroupKeysPerFabricAttributeInteractionInfo); + Map readGroupKeyManagementGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readGroupKeyManagementGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.GroupKeyManagementCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedGroupKeyManagementClusterGeneratedCommandListAttributeCallback(), + readGroupKeyManagementGeneratedCommandListCommandParams + ); + readGroupKeyManagementInteractionInfo.put("readGeneratedCommandListAttribute", readGroupKeyManagementGeneratedCommandListAttributeInteractionInfo); + Map readGroupKeyManagementAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readGroupKeyManagementAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.GroupKeyManagementCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedGroupKeyManagementClusterAcceptedCommandListAttributeCallback(), + readGroupKeyManagementAcceptedCommandListCommandParams + ); + readGroupKeyManagementInteractionInfo.put("readAcceptedCommandListAttribute", readGroupKeyManagementAcceptedCommandListAttributeInteractionInfo); + Map readGroupKeyManagementEventListCommandParams = new LinkedHashMap(); + InteractionInfo readGroupKeyManagementEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster).readEventListAttribute( + ( ChipClusters.GroupKeyManagementCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedGroupKeyManagementClusterEventListAttributeCallback(), + readGroupKeyManagementEventListCommandParams + ); + readGroupKeyManagementInteractionInfo.put("readEventListAttribute", readGroupKeyManagementEventListAttributeInteractionInfo); + Map readGroupKeyManagementAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readGroupKeyManagementAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster).readAttributeListAttribute( + ( ChipClusters.GroupKeyManagementCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedGroupKeyManagementClusterAttributeListAttributeCallback(), + readGroupKeyManagementAttributeListCommandParams + ); + readGroupKeyManagementInteractionInfo.put("readAttributeListAttribute", readGroupKeyManagementAttributeListAttributeInteractionInfo); + Map readGroupKeyManagementFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readGroupKeyManagementFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readGroupKeyManagementFeatureMapCommandParams + ); + readGroupKeyManagementInteractionInfo.put("readFeatureMapAttribute", readGroupKeyManagementFeatureMapAttributeInteractionInfo); + Map readGroupKeyManagementClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readGroupKeyManagementClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readGroupKeyManagementClusterRevisionCommandParams + ); + readGroupKeyManagementInteractionInfo.put("readClusterRevisionAttribute", readGroupKeyManagementClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("groupKeyManagement", readGroupKeyManagementInteractionInfo); + Map readFixedLabelInteractionInfo = new LinkedHashMap<>(); + Map readFixedLabelLabelListCommandParams = new LinkedHashMap(); + InteractionInfo readFixedLabelLabelListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FixedLabelCluster) cluster).readLabelListAttribute( + ( ChipClusters.FixedLabelCluster.LabelListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedFixedLabelClusterLabelListAttributeCallback(), - readFixedLabelLabelListCommandParams); - readFixedLabelInteractionInfo.put( - "readLabelListAttribute", readFixedLabelLabelListAttributeInteractionInfo); - Map readFixedLabelGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readFixedLabelGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FixedLabelCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.FixedLabelCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedFixedLabelClusterGeneratedCommandListAttributeCallback(), - readFixedLabelGeneratedCommandListCommandParams); - readFixedLabelInteractionInfo.put( - "readGeneratedCommandListAttribute", - readFixedLabelGeneratedCommandListAttributeInteractionInfo); - Map readFixedLabelAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readFixedLabelAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FixedLabelCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.FixedLabelCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedFixedLabelClusterAcceptedCommandListAttributeCallback(), - readFixedLabelAcceptedCommandListCommandParams); - readFixedLabelInteractionInfo.put( - "readAcceptedCommandListAttribute", - readFixedLabelAcceptedCommandListAttributeInteractionInfo); - Map readFixedLabelEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readFixedLabelEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FixedLabelCluster) cluster) - .readEventListAttribute( - (ChipClusters.FixedLabelCluster.EventListAttributeCallback) callback); - }, + readFixedLabelLabelListCommandParams + ); + readFixedLabelInteractionInfo.put("readLabelListAttribute", readFixedLabelLabelListAttributeInteractionInfo); + Map readFixedLabelGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readFixedLabelGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FixedLabelCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.FixedLabelCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedFixedLabelClusterGeneratedCommandListAttributeCallback(), + readFixedLabelGeneratedCommandListCommandParams + ); + readFixedLabelInteractionInfo.put("readGeneratedCommandListAttribute", readFixedLabelGeneratedCommandListAttributeInteractionInfo); + Map readFixedLabelAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readFixedLabelAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FixedLabelCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.FixedLabelCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedFixedLabelClusterAcceptedCommandListAttributeCallback(), + readFixedLabelAcceptedCommandListCommandParams + ); + readFixedLabelInteractionInfo.put("readAcceptedCommandListAttribute", readFixedLabelAcceptedCommandListAttributeInteractionInfo); + Map readFixedLabelEventListCommandParams = new LinkedHashMap(); + InteractionInfo readFixedLabelEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FixedLabelCluster) cluster).readEventListAttribute( + ( ChipClusters.FixedLabelCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedFixedLabelClusterEventListAttributeCallback(), - readFixedLabelEventListCommandParams); - readFixedLabelInteractionInfo.put( - "readEventListAttribute", readFixedLabelEventListAttributeInteractionInfo); - Map readFixedLabelAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readFixedLabelAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FixedLabelCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.FixedLabelCluster.AttributeListAttributeCallback) callback); - }, + readFixedLabelEventListCommandParams + ); + readFixedLabelInteractionInfo.put("readEventListAttribute", readFixedLabelEventListAttributeInteractionInfo); + Map readFixedLabelAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readFixedLabelAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FixedLabelCluster) cluster).readAttributeListAttribute( + ( ChipClusters.FixedLabelCluster.AttributeListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedFixedLabelClusterAttributeListAttributeCallback(), - readFixedLabelAttributeListCommandParams); - readFixedLabelInteractionInfo.put( - "readAttributeListAttribute", readFixedLabelAttributeListAttributeInteractionInfo); - Map readFixedLabelFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readFixedLabelFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FixedLabelCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readFixedLabelFeatureMapCommandParams); - readFixedLabelInteractionInfo.put( - "readFeatureMapAttribute", readFixedLabelFeatureMapAttributeInteractionInfo); - Map readFixedLabelClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readFixedLabelClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FixedLabelCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFixedLabelClusterRevisionCommandParams); - readFixedLabelInteractionInfo.put( - "readClusterRevisionAttribute", readFixedLabelClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("fixedLabel", readFixedLabelInteractionInfo); - Map readUserLabelInteractionInfo = new LinkedHashMap<>(); - Map readUserLabelLabelListCommandParams = - new LinkedHashMap(); - InteractionInfo readUserLabelLabelListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UserLabelCluster) cluster) - .readLabelListAttribute( - (ChipClusters.UserLabelCluster.LabelListAttributeCallback) callback); - }, + readFixedLabelAttributeListCommandParams + ); + readFixedLabelInteractionInfo.put("readAttributeListAttribute", readFixedLabelAttributeListAttributeInteractionInfo); + Map readFixedLabelFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readFixedLabelFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FixedLabelCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readFixedLabelFeatureMapCommandParams + ); + readFixedLabelInteractionInfo.put("readFeatureMapAttribute", readFixedLabelFeatureMapAttributeInteractionInfo); + Map readFixedLabelClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readFixedLabelClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FixedLabelCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFixedLabelClusterRevisionCommandParams + ); + readFixedLabelInteractionInfo.put("readClusterRevisionAttribute", readFixedLabelClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("fixedLabel", readFixedLabelInteractionInfo); + Map readUserLabelInteractionInfo = new LinkedHashMap<>(); + Map readUserLabelLabelListCommandParams = new LinkedHashMap(); + InteractionInfo readUserLabelLabelListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UserLabelCluster) cluster).readLabelListAttribute( + ( ChipClusters.UserLabelCluster.LabelListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedUserLabelClusterLabelListAttributeCallback(), - readUserLabelLabelListCommandParams); - readUserLabelInteractionInfo.put( - "readLabelListAttribute", readUserLabelLabelListAttributeInteractionInfo); - Map readUserLabelGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readUserLabelGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UserLabelCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.UserLabelCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUserLabelClusterGeneratedCommandListAttributeCallback(), - readUserLabelGeneratedCommandListCommandParams); - readUserLabelInteractionInfo.put( - "readGeneratedCommandListAttribute", - readUserLabelGeneratedCommandListAttributeInteractionInfo); - Map readUserLabelAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readUserLabelAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UserLabelCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.UserLabelCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUserLabelClusterAcceptedCommandListAttributeCallback(), - readUserLabelAcceptedCommandListCommandParams); - readUserLabelInteractionInfo.put( - "readAcceptedCommandListAttribute", - readUserLabelAcceptedCommandListAttributeInteractionInfo); - Map readUserLabelEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readUserLabelEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UserLabelCluster) cluster) - .readEventListAttribute( - (ChipClusters.UserLabelCluster.EventListAttributeCallback) callback); - }, + readUserLabelLabelListCommandParams + ); + readUserLabelInteractionInfo.put("readLabelListAttribute", readUserLabelLabelListAttributeInteractionInfo); + Map readUserLabelGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readUserLabelGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UserLabelCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.UserLabelCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUserLabelClusterGeneratedCommandListAttributeCallback(), + readUserLabelGeneratedCommandListCommandParams + ); + readUserLabelInteractionInfo.put("readGeneratedCommandListAttribute", readUserLabelGeneratedCommandListAttributeInteractionInfo); + Map readUserLabelAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readUserLabelAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UserLabelCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.UserLabelCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUserLabelClusterAcceptedCommandListAttributeCallback(), + readUserLabelAcceptedCommandListCommandParams + ); + readUserLabelInteractionInfo.put("readAcceptedCommandListAttribute", readUserLabelAcceptedCommandListAttributeInteractionInfo); + Map readUserLabelEventListCommandParams = new LinkedHashMap(); + InteractionInfo readUserLabelEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UserLabelCluster) cluster).readEventListAttribute( + ( ChipClusters.UserLabelCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedUserLabelClusterEventListAttributeCallback(), - readUserLabelEventListCommandParams); - readUserLabelInteractionInfo.put( - "readEventListAttribute", readUserLabelEventListAttributeInteractionInfo); - Map readUserLabelAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readUserLabelAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UserLabelCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.UserLabelCluster.AttributeListAttributeCallback) callback); - }, + readUserLabelEventListCommandParams + ); + readUserLabelInteractionInfo.put("readEventListAttribute", readUserLabelEventListAttributeInteractionInfo); + Map readUserLabelAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readUserLabelAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UserLabelCluster) cluster).readAttributeListAttribute( + ( ChipClusters.UserLabelCluster.AttributeListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedUserLabelClusterAttributeListAttributeCallback(), - readUserLabelAttributeListCommandParams); - readUserLabelInteractionInfo.put( - "readAttributeListAttribute", readUserLabelAttributeListAttributeInteractionInfo); - Map readUserLabelFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readUserLabelFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UserLabelCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUserLabelFeatureMapCommandParams); - readUserLabelInteractionInfo.put( - "readFeatureMapAttribute", readUserLabelFeatureMapAttributeInteractionInfo); - Map readUserLabelClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readUserLabelClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UserLabelCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUserLabelClusterRevisionCommandParams); - readUserLabelInteractionInfo.put( - "readClusterRevisionAttribute", readUserLabelClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("userLabel", readUserLabelInteractionInfo); - Map readBooleanStateInteractionInfo = new LinkedHashMap<>(); - Map readBooleanStateStateValueCommandParams = - new LinkedHashMap(); - InteractionInfo readBooleanStateStateValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BooleanStateCluster) cluster) - .readStateValueAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, + readUserLabelAttributeListCommandParams + ); + readUserLabelInteractionInfo.put("readAttributeListAttribute", readUserLabelAttributeListAttributeInteractionInfo); + Map readUserLabelFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readUserLabelFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UserLabelCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUserLabelFeatureMapCommandParams + ); + readUserLabelInteractionInfo.put("readFeatureMapAttribute", readUserLabelFeatureMapAttributeInteractionInfo); + Map readUserLabelClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readUserLabelClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UserLabelCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUserLabelClusterRevisionCommandParams + ); + readUserLabelInteractionInfo.put("readClusterRevisionAttribute", readUserLabelClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("userLabel", readUserLabelInteractionInfo); + Map readBooleanStateInteractionInfo = new LinkedHashMap<>(); + Map readBooleanStateStateValueCommandParams = new LinkedHashMap(); + InteractionInfo readBooleanStateStateValueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BooleanStateCluster) cluster).readStateValueAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readBooleanStateStateValueCommandParams); - readBooleanStateInteractionInfo.put( - "readStateValueAttribute", readBooleanStateStateValueAttributeInteractionInfo); - Map readBooleanStateGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readBooleanStateGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BooleanStateCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.BooleanStateCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBooleanStateClusterGeneratedCommandListAttributeCallback(), - readBooleanStateGeneratedCommandListCommandParams); - readBooleanStateInteractionInfo.put( - "readGeneratedCommandListAttribute", - readBooleanStateGeneratedCommandListAttributeInteractionInfo); - Map readBooleanStateAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readBooleanStateAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BooleanStateCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.BooleanStateCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBooleanStateClusterAcceptedCommandListAttributeCallback(), - readBooleanStateAcceptedCommandListCommandParams); - readBooleanStateInteractionInfo.put( - "readAcceptedCommandListAttribute", - readBooleanStateAcceptedCommandListAttributeInteractionInfo); - Map readBooleanStateEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readBooleanStateEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BooleanStateCluster) cluster) - .readEventListAttribute( - (ChipClusters.BooleanStateCluster.EventListAttributeCallback) callback); - }, + readBooleanStateStateValueCommandParams + ); + readBooleanStateInteractionInfo.put("readStateValueAttribute", readBooleanStateStateValueAttributeInteractionInfo); + Map readBooleanStateGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readBooleanStateGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BooleanStateCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.BooleanStateCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBooleanStateClusterGeneratedCommandListAttributeCallback(), + readBooleanStateGeneratedCommandListCommandParams + ); + readBooleanStateInteractionInfo.put("readGeneratedCommandListAttribute", readBooleanStateGeneratedCommandListAttributeInteractionInfo); + Map readBooleanStateAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readBooleanStateAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BooleanStateCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.BooleanStateCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBooleanStateClusterAcceptedCommandListAttributeCallback(), + readBooleanStateAcceptedCommandListCommandParams + ); + readBooleanStateInteractionInfo.put("readAcceptedCommandListAttribute", readBooleanStateAcceptedCommandListAttributeInteractionInfo); + Map readBooleanStateEventListCommandParams = new LinkedHashMap(); + InteractionInfo readBooleanStateEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BooleanStateCluster) cluster).readEventListAttribute( + ( ChipClusters.BooleanStateCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanStateClusterEventListAttributeCallback(), - readBooleanStateEventListCommandParams); - readBooleanStateInteractionInfo.put( - "readEventListAttribute", readBooleanStateEventListAttributeInteractionInfo); - Map readBooleanStateAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readBooleanStateAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BooleanStateCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.BooleanStateCluster.AttributeListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedBooleanStateClusterAttributeListAttributeCallback(), - readBooleanStateAttributeListCommandParams); - readBooleanStateInteractionInfo.put( - "readAttributeListAttribute", readBooleanStateAttributeListAttributeInteractionInfo); - Map readBooleanStateFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readBooleanStateFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BooleanStateCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readBooleanStateFeatureMapCommandParams); - readBooleanStateInteractionInfo.put( - "readFeatureMapAttribute", readBooleanStateFeatureMapAttributeInteractionInfo); - Map readBooleanStateClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readBooleanStateClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BooleanStateCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBooleanStateClusterRevisionCommandParams); - readBooleanStateInteractionInfo.put( - "readClusterRevisionAttribute", readBooleanStateClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("booleanState", readBooleanStateInteractionInfo); - Map readModeSelectInteractionInfo = new LinkedHashMap<>(); - Map readModeSelectDescriptionCommandParams = - new LinkedHashMap(); - InteractionInfo readModeSelectDescriptionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster) - .readDescriptionAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readBooleanStateEventListCommandParams + ); + readBooleanStateInteractionInfo.put("readEventListAttribute", readBooleanStateEventListAttributeInteractionInfo); + Map readBooleanStateAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readBooleanStateAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BooleanStateCluster) cluster).readAttributeListAttribute( + ( ChipClusters.BooleanStateCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBooleanStateClusterAttributeListAttributeCallback(), + readBooleanStateAttributeListCommandParams + ); + readBooleanStateInteractionInfo.put("readAttributeListAttribute", readBooleanStateAttributeListAttributeInteractionInfo); + Map readBooleanStateFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readBooleanStateFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BooleanStateCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readBooleanStateFeatureMapCommandParams + ); + readBooleanStateInteractionInfo.put("readFeatureMapAttribute", readBooleanStateFeatureMapAttributeInteractionInfo); + Map readBooleanStateClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readBooleanStateClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BooleanStateCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBooleanStateClusterRevisionCommandParams + ); + readBooleanStateInteractionInfo.put("readClusterRevisionAttribute", readBooleanStateClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("booleanState", readBooleanStateInteractionInfo); + Map readModeSelectInteractionInfo = new LinkedHashMap<>(); + Map readModeSelectDescriptionCommandParams = new LinkedHashMap(); + InteractionInfo readModeSelectDescriptionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster).readDescriptionAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readModeSelectDescriptionCommandParams); - readModeSelectInteractionInfo.put( - "readDescriptionAttribute", readModeSelectDescriptionAttributeInteractionInfo); - Map readModeSelectStandardNamespaceCommandParams = - new LinkedHashMap(); - InteractionInfo readModeSelectStandardNamespaceAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster) - .readStandardNamespaceAttribute( - (ChipClusters.ModeSelectCluster.StandardNamespaceAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedModeSelectClusterStandardNamespaceAttributeCallback(), - readModeSelectStandardNamespaceCommandParams); - readModeSelectInteractionInfo.put( - "readStandardNamespaceAttribute", readModeSelectStandardNamespaceAttributeInteractionInfo); - Map readModeSelectSupportedModesCommandParams = - new LinkedHashMap(); - InteractionInfo readModeSelectSupportedModesAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster) - .readSupportedModesAttribute( - (ChipClusters.ModeSelectCluster.SupportedModesAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedModeSelectClusterSupportedModesAttributeCallback(), - readModeSelectSupportedModesCommandParams); - readModeSelectInteractionInfo.put( - "readSupportedModesAttribute", readModeSelectSupportedModesAttributeInteractionInfo); - Map readModeSelectCurrentModeCommandParams = - new LinkedHashMap(); - InteractionInfo readModeSelectCurrentModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster) - .readCurrentModeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readModeSelectCurrentModeCommandParams); - readModeSelectInteractionInfo.put( - "readCurrentModeAttribute", readModeSelectCurrentModeAttributeInteractionInfo); - Map readModeSelectStartUpModeCommandParams = - new LinkedHashMap(); - InteractionInfo readModeSelectStartUpModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster) - .readStartUpModeAttribute( - (ChipClusters.ModeSelectCluster.StartUpModeAttributeCallback) callback); - }, + readModeSelectDescriptionCommandParams + ); + readModeSelectInteractionInfo.put("readDescriptionAttribute", readModeSelectDescriptionAttributeInteractionInfo); + Map readModeSelectStandardNamespaceCommandParams = new LinkedHashMap(); + InteractionInfo readModeSelectStandardNamespaceAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster).readStandardNamespaceAttribute( + ( ChipClusters.ModeSelectCluster.StandardNamespaceAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedModeSelectClusterStandardNamespaceAttributeCallback(), + readModeSelectStandardNamespaceCommandParams + ); + readModeSelectInteractionInfo.put("readStandardNamespaceAttribute", readModeSelectStandardNamespaceAttributeInteractionInfo); + Map readModeSelectSupportedModesCommandParams = new LinkedHashMap(); + InteractionInfo readModeSelectSupportedModesAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster).readSupportedModesAttribute( + ( ChipClusters.ModeSelectCluster.SupportedModesAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedModeSelectClusterSupportedModesAttributeCallback(), + readModeSelectSupportedModesCommandParams + ); + readModeSelectInteractionInfo.put("readSupportedModesAttribute", readModeSelectSupportedModesAttributeInteractionInfo); + Map readModeSelectCurrentModeCommandParams = new LinkedHashMap(); + InteractionInfo readModeSelectCurrentModeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster).readCurrentModeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readModeSelectCurrentModeCommandParams + ); + readModeSelectInteractionInfo.put("readCurrentModeAttribute", readModeSelectCurrentModeAttributeInteractionInfo); + Map readModeSelectStartUpModeCommandParams = new LinkedHashMap(); + InteractionInfo readModeSelectStartUpModeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster).readStartUpModeAttribute( + ( ChipClusters.ModeSelectCluster.StartUpModeAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedModeSelectClusterStartUpModeAttributeCallback(), - readModeSelectStartUpModeCommandParams); - readModeSelectInteractionInfo.put( - "readStartUpModeAttribute", readModeSelectStartUpModeAttributeInteractionInfo); - Map readModeSelectOnModeCommandParams = - new LinkedHashMap(); - InteractionInfo readModeSelectOnModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster) - .readOnModeAttribute( - (ChipClusters.ModeSelectCluster.OnModeAttributeCallback) callback); - }, + readModeSelectStartUpModeCommandParams + ); + readModeSelectInteractionInfo.put("readStartUpModeAttribute", readModeSelectStartUpModeAttributeInteractionInfo); + Map readModeSelectOnModeCommandParams = new LinkedHashMap(); + InteractionInfo readModeSelectOnModeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster).readOnModeAttribute( + ( ChipClusters.ModeSelectCluster.OnModeAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedModeSelectClusterOnModeAttributeCallback(), - readModeSelectOnModeCommandParams); - readModeSelectInteractionInfo.put( - "readOnModeAttribute", readModeSelectOnModeAttributeInteractionInfo); - Map readModeSelectGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readModeSelectGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.ModeSelectCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedModeSelectClusterGeneratedCommandListAttributeCallback(), - readModeSelectGeneratedCommandListCommandParams); - readModeSelectInteractionInfo.put( - "readGeneratedCommandListAttribute", - readModeSelectGeneratedCommandListAttributeInteractionInfo); - Map readModeSelectAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readModeSelectAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.ModeSelectCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedModeSelectClusterAcceptedCommandListAttributeCallback(), - readModeSelectAcceptedCommandListCommandParams); - readModeSelectInteractionInfo.put( - "readAcceptedCommandListAttribute", - readModeSelectAcceptedCommandListAttributeInteractionInfo); - Map readModeSelectEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readModeSelectEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster) - .readEventListAttribute( - (ChipClusters.ModeSelectCluster.EventListAttributeCallback) callback); - }, + readModeSelectOnModeCommandParams + ); + readModeSelectInteractionInfo.put("readOnModeAttribute", readModeSelectOnModeAttributeInteractionInfo); + Map readModeSelectGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readModeSelectGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.ModeSelectCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedModeSelectClusterGeneratedCommandListAttributeCallback(), + readModeSelectGeneratedCommandListCommandParams + ); + readModeSelectInteractionInfo.put("readGeneratedCommandListAttribute", readModeSelectGeneratedCommandListAttributeInteractionInfo); + Map readModeSelectAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readModeSelectAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.ModeSelectCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedModeSelectClusterAcceptedCommandListAttributeCallback(), + readModeSelectAcceptedCommandListCommandParams + ); + readModeSelectInteractionInfo.put("readAcceptedCommandListAttribute", readModeSelectAcceptedCommandListAttributeInteractionInfo); + Map readModeSelectEventListCommandParams = new LinkedHashMap(); + InteractionInfo readModeSelectEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster).readEventListAttribute( + ( ChipClusters.ModeSelectCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedModeSelectClusterEventListAttributeCallback(), - readModeSelectEventListCommandParams); - readModeSelectInteractionInfo.put( - "readEventListAttribute", readModeSelectEventListAttributeInteractionInfo); - Map readModeSelectAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readModeSelectAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.ModeSelectCluster.AttributeListAttributeCallback) callback); - }, + readModeSelectEventListCommandParams + ); + readModeSelectInteractionInfo.put("readEventListAttribute", readModeSelectEventListAttributeInteractionInfo); + Map readModeSelectAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readModeSelectAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster).readAttributeListAttribute( + ( ChipClusters.ModeSelectCluster.AttributeListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedModeSelectClusterAttributeListAttributeCallback(), - readModeSelectAttributeListCommandParams); - readModeSelectInteractionInfo.put( - "readAttributeListAttribute", readModeSelectAttributeListAttributeInteractionInfo); - Map readModeSelectFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readModeSelectFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readModeSelectFeatureMapCommandParams); - readModeSelectInteractionInfo.put( - "readFeatureMapAttribute", readModeSelectFeatureMapAttributeInteractionInfo); - Map readModeSelectClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readModeSelectClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readModeSelectClusterRevisionCommandParams); - readModeSelectInteractionInfo.put( - "readClusterRevisionAttribute", readModeSelectClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("modeSelect", readModeSelectInteractionInfo); - Map readDoorLockInteractionInfo = new LinkedHashMap<>(); - Map readDoorLockLockStateCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockLockStateAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readLockStateAttribute( - (ChipClusters.DoorLockCluster.LockStateAttributeCallback) callback); - }, + readModeSelectAttributeListCommandParams + ); + readModeSelectInteractionInfo.put("readAttributeListAttribute", readModeSelectAttributeListAttributeInteractionInfo); + Map readModeSelectFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readModeSelectFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readModeSelectFeatureMapCommandParams + ); + readModeSelectInteractionInfo.put("readFeatureMapAttribute", readModeSelectFeatureMapAttributeInteractionInfo); + Map readModeSelectClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readModeSelectClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readModeSelectClusterRevisionCommandParams + ); + readModeSelectInteractionInfo.put("readClusterRevisionAttribute", readModeSelectClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("modeSelect", readModeSelectInteractionInfo); + Map readDoorLockInteractionInfo = new LinkedHashMap<>(); + Map readDoorLockLockStateCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockLockStateAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readLockStateAttribute( + ( ChipClusters.DoorLockCluster.LockStateAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedDoorLockClusterLockStateAttributeCallback(), - readDoorLockLockStateCommandParams); - readDoorLockInteractionInfo.put( - "readLockStateAttribute", readDoorLockLockStateAttributeInteractionInfo); - Map readDoorLockLockTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockLockTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readLockTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockLockTypeCommandParams); - readDoorLockInteractionInfo.put( - "readLockTypeAttribute", readDoorLockLockTypeAttributeInteractionInfo); - Map readDoorLockActuatorEnabledCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockActuatorEnabledAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readActuatorEnabledAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, + readDoorLockLockStateCommandParams + ); + readDoorLockInteractionInfo.put("readLockStateAttribute", readDoorLockLockStateAttributeInteractionInfo); + Map readDoorLockLockTypeCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockLockTypeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readLockTypeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockLockTypeCommandParams + ); + readDoorLockInteractionInfo.put("readLockTypeAttribute", readDoorLockLockTypeAttributeInteractionInfo); + Map readDoorLockActuatorEnabledCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockActuatorEnabledAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readActuatorEnabledAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readDoorLockActuatorEnabledCommandParams); - readDoorLockInteractionInfo.put( - "readActuatorEnabledAttribute", readDoorLockActuatorEnabledAttributeInteractionInfo); - Map readDoorLockDoorStateCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockDoorStateAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readDoorStateAttribute( - (ChipClusters.DoorLockCluster.DoorStateAttributeCallback) callback); - }, + readDoorLockActuatorEnabledCommandParams + ); + readDoorLockInteractionInfo.put("readActuatorEnabledAttribute", readDoorLockActuatorEnabledAttributeInteractionInfo); + Map readDoorLockDoorStateCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockDoorStateAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readDoorStateAttribute( + ( ChipClusters.DoorLockCluster.DoorStateAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedDoorLockClusterDoorStateAttributeCallback(), - readDoorLockDoorStateCommandParams); - readDoorLockInteractionInfo.put( - "readDoorStateAttribute", readDoorLockDoorStateAttributeInteractionInfo); - Map readDoorLockDoorOpenEventsCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockDoorOpenEventsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readDoorOpenEventsAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readDoorLockDoorOpenEventsCommandParams); - readDoorLockInteractionInfo.put( - "readDoorOpenEventsAttribute", readDoorLockDoorOpenEventsAttributeInteractionInfo); - Map readDoorLockDoorClosedEventsCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockDoorClosedEventsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readDoorClosedEventsAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readDoorLockDoorClosedEventsCommandParams); - readDoorLockInteractionInfo.put( - "readDoorClosedEventsAttribute", readDoorLockDoorClosedEventsAttributeInteractionInfo); - Map readDoorLockOpenPeriodCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockOpenPeriodAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readOpenPeriodAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockOpenPeriodCommandParams); - readDoorLockInteractionInfo.put( - "readOpenPeriodAttribute", readDoorLockOpenPeriodAttributeInteractionInfo); - Map readDoorLockNumberOfTotalUsersSupportedCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockNumberOfTotalUsersSupportedAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readNumberOfTotalUsersSupportedAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockNumberOfTotalUsersSupportedCommandParams); - readDoorLockInteractionInfo.put( - "readNumberOfTotalUsersSupportedAttribute", - readDoorLockNumberOfTotalUsersSupportedAttributeInteractionInfo); - Map readDoorLockNumberOfPINUsersSupportedCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockNumberOfPINUsersSupportedAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readNumberOfPINUsersSupportedAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockNumberOfPINUsersSupportedCommandParams); - readDoorLockInteractionInfo.put( - "readNumberOfPINUsersSupportedAttribute", - readDoorLockNumberOfPINUsersSupportedAttributeInteractionInfo); - Map readDoorLockNumberOfRFIDUsersSupportedCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockNumberOfRFIDUsersSupportedAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readNumberOfRFIDUsersSupportedAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockNumberOfRFIDUsersSupportedCommandParams); - readDoorLockInteractionInfo.put( - "readNumberOfRFIDUsersSupportedAttribute", - readDoorLockNumberOfRFIDUsersSupportedAttributeInteractionInfo); - Map - readDoorLockNumberOfWeekDaySchedulesSupportedPerUserCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockNumberOfWeekDaySchedulesSupportedPerUserAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readNumberOfWeekDaySchedulesSupportedPerUserAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockNumberOfWeekDaySchedulesSupportedPerUserCommandParams); - readDoorLockInteractionInfo.put( - "readNumberOfWeekDaySchedulesSupportedPerUserAttribute", - readDoorLockNumberOfWeekDaySchedulesSupportedPerUserAttributeInteractionInfo); - Map - readDoorLockNumberOfYearDaySchedulesSupportedPerUserCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockNumberOfYearDaySchedulesSupportedPerUserAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readNumberOfYearDaySchedulesSupportedPerUserAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockNumberOfYearDaySchedulesSupportedPerUserCommandParams); - readDoorLockInteractionInfo.put( - "readNumberOfYearDaySchedulesSupportedPerUserAttribute", - readDoorLockNumberOfYearDaySchedulesSupportedPerUserAttributeInteractionInfo); - Map readDoorLockNumberOfHolidaySchedulesSupportedCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockNumberOfHolidaySchedulesSupportedAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readNumberOfHolidaySchedulesSupportedAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockNumberOfHolidaySchedulesSupportedCommandParams); - readDoorLockInteractionInfo.put( - "readNumberOfHolidaySchedulesSupportedAttribute", - readDoorLockNumberOfHolidaySchedulesSupportedAttributeInteractionInfo); - Map readDoorLockMaxPINCodeLengthCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockMaxPINCodeLengthAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readMaxPINCodeLengthAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockMaxPINCodeLengthCommandParams); - readDoorLockInteractionInfo.put( - "readMaxPINCodeLengthAttribute", readDoorLockMaxPINCodeLengthAttributeInteractionInfo); - Map readDoorLockMinPINCodeLengthCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockMinPINCodeLengthAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readMinPINCodeLengthAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockMinPINCodeLengthCommandParams); - readDoorLockInteractionInfo.put( - "readMinPINCodeLengthAttribute", readDoorLockMinPINCodeLengthAttributeInteractionInfo); - Map readDoorLockMaxRFIDCodeLengthCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockMaxRFIDCodeLengthAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readMaxRFIDCodeLengthAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockMaxRFIDCodeLengthCommandParams); - readDoorLockInteractionInfo.put( - "readMaxRFIDCodeLengthAttribute", readDoorLockMaxRFIDCodeLengthAttributeInteractionInfo); - Map readDoorLockMinRFIDCodeLengthCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockMinRFIDCodeLengthAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readMinRFIDCodeLengthAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockMinRFIDCodeLengthCommandParams); - readDoorLockInteractionInfo.put( - "readMinRFIDCodeLengthAttribute", readDoorLockMinRFIDCodeLengthAttributeInteractionInfo); - Map readDoorLockCredentialRulesSupportCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockCredentialRulesSupportAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readCredentialRulesSupportAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockCredentialRulesSupportCommandParams); - readDoorLockInteractionInfo.put( - "readCredentialRulesSupportAttribute", - readDoorLockCredentialRulesSupportAttributeInteractionInfo); - Map readDoorLockNumberOfCredentialsSupportedPerUserCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockNumberOfCredentialsSupportedPerUserAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readNumberOfCredentialsSupportedPerUserAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockNumberOfCredentialsSupportedPerUserCommandParams); - readDoorLockInteractionInfo.put( - "readNumberOfCredentialsSupportedPerUserAttribute", - readDoorLockNumberOfCredentialsSupportedPerUserAttributeInteractionInfo); - Map readDoorLockLanguageCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockLanguageAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readLanguageAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readDoorLockDoorStateCommandParams + ); + readDoorLockInteractionInfo.put("readDoorStateAttribute", readDoorLockDoorStateAttributeInteractionInfo); + Map readDoorLockDoorOpenEventsCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockDoorOpenEventsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readDoorOpenEventsAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readDoorLockDoorOpenEventsCommandParams + ); + readDoorLockInteractionInfo.put("readDoorOpenEventsAttribute", readDoorLockDoorOpenEventsAttributeInteractionInfo); + Map readDoorLockDoorClosedEventsCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockDoorClosedEventsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readDoorClosedEventsAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readDoorLockDoorClosedEventsCommandParams + ); + readDoorLockInteractionInfo.put("readDoorClosedEventsAttribute", readDoorLockDoorClosedEventsAttributeInteractionInfo); + Map readDoorLockOpenPeriodCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockOpenPeriodAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readOpenPeriodAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockOpenPeriodCommandParams + ); + readDoorLockInteractionInfo.put("readOpenPeriodAttribute", readDoorLockOpenPeriodAttributeInteractionInfo); + Map readDoorLockNumberOfTotalUsersSupportedCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockNumberOfTotalUsersSupportedAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readNumberOfTotalUsersSupportedAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockNumberOfTotalUsersSupportedCommandParams + ); + readDoorLockInteractionInfo.put("readNumberOfTotalUsersSupportedAttribute", readDoorLockNumberOfTotalUsersSupportedAttributeInteractionInfo); + Map readDoorLockNumberOfPINUsersSupportedCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockNumberOfPINUsersSupportedAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readNumberOfPINUsersSupportedAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockNumberOfPINUsersSupportedCommandParams + ); + readDoorLockInteractionInfo.put("readNumberOfPINUsersSupportedAttribute", readDoorLockNumberOfPINUsersSupportedAttributeInteractionInfo); + Map readDoorLockNumberOfRFIDUsersSupportedCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockNumberOfRFIDUsersSupportedAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readNumberOfRFIDUsersSupportedAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockNumberOfRFIDUsersSupportedCommandParams + ); + readDoorLockInteractionInfo.put("readNumberOfRFIDUsersSupportedAttribute", readDoorLockNumberOfRFIDUsersSupportedAttributeInteractionInfo); + Map readDoorLockNumberOfWeekDaySchedulesSupportedPerUserCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockNumberOfWeekDaySchedulesSupportedPerUserAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readNumberOfWeekDaySchedulesSupportedPerUserAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockNumberOfWeekDaySchedulesSupportedPerUserCommandParams + ); + readDoorLockInteractionInfo.put("readNumberOfWeekDaySchedulesSupportedPerUserAttribute", readDoorLockNumberOfWeekDaySchedulesSupportedPerUserAttributeInteractionInfo); + Map readDoorLockNumberOfYearDaySchedulesSupportedPerUserCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockNumberOfYearDaySchedulesSupportedPerUserAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readNumberOfYearDaySchedulesSupportedPerUserAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockNumberOfYearDaySchedulesSupportedPerUserCommandParams + ); + readDoorLockInteractionInfo.put("readNumberOfYearDaySchedulesSupportedPerUserAttribute", readDoorLockNumberOfYearDaySchedulesSupportedPerUserAttributeInteractionInfo); + Map readDoorLockNumberOfHolidaySchedulesSupportedCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockNumberOfHolidaySchedulesSupportedAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readNumberOfHolidaySchedulesSupportedAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockNumberOfHolidaySchedulesSupportedCommandParams + ); + readDoorLockInteractionInfo.put("readNumberOfHolidaySchedulesSupportedAttribute", readDoorLockNumberOfHolidaySchedulesSupportedAttributeInteractionInfo); + Map readDoorLockMaxPINCodeLengthCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockMaxPINCodeLengthAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readMaxPINCodeLengthAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockMaxPINCodeLengthCommandParams + ); + readDoorLockInteractionInfo.put("readMaxPINCodeLengthAttribute", readDoorLockMaxPINCodeLengthAttributeInteractionInfo); + Map readDoorLockMinPINCodeLengthCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockMinPINCodeLengthAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readMinPINCodeLengthAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockMinPINCodeLengthCommandParams + ); + readDoorLockInteractionInfo.put("readMinPINCodeLengthAttribute", readDoorLockMinPINCodeLengthAttributeInteractionInfo); + Map readDoorLockMaxRFIDCodeLengthCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockMaxRFIDCodeLengthAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readMaxRFIDCodeLengthAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockMaxRFIDCodeLengthCommandParams + ); + readDoorLockInteractionInfo.put("readMaxRFIDCodeLengthAttribute", readDoorLockMaxRFIDCodeLengthAttributeInteractionInfo); + Map readDoorLockMinRFIDCodeLengthCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockMinRFIDCodeLengthAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readMinRFIDCodeLengthAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockMinRFIDCodeLengthCommandParams + ); + readDoorLockInteractionInfo.put("readMinRFIDCodeLengthAttribute", readDoorLockMinRFIDCodeLengthAttributeInteractionInfo); + Map readDoorLockCredentialRulesSupportCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockCredentialRulesSupportAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readCredentialRulesSupportAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockCredentialRulesSupportCommandParams + ); + readDoorLockInteractionInfo.put("readCredentialRulesSupportAttribute", readDoorLockCredentialRulesSupportAttributeInteractionInfo); + Map readDoorLockNumberOfCredentialsSupportedPerUserCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockNumberOfCredentialsSupportedPerUserAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readNumberOfCredentialsSupportedPerUserAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockNumberOfCredentialsSupportedPerUserCommandParams + ); + readDoorLockInteractionInfo.put("readNumberOfCredentialsSupportedPerUserAttribute", readDoorLockNumberOfCredentialsSupportedPerUserAttributeInteractionInfo); + Map readDoorLockLanguageCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockLanguageAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readLanguageAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readDoorLockLanguageCommandParams); - readDoorLockInteractionInfo.put( - "readLanguageAttribute", readDoorLockLanguageAttributeInteractionInfo); - Map readDoorLockLEDSettingsCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockLEDSettingsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readLEDSettingsAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockLEDSettingsCommandParams); - readDoorLockInteractionInfo.put( - "readLEDSettingsAttribute", readDoorLockLEDSettingsAttributeInteractionInfo); - Map readDoorLockAutoRelockTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockAutoRelockTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readAutoRelockTimeAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readDoorLockAutoRelockTimeCommandParams); - readDoorLockInteractionInfo.put( - "readAutoRelockTimeAttribute", readDoorLockAutoRelockTimeAttributeInteractionInfo); - Map readDoorLockSoundVolumeCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockSoundVolumeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readSoundVolumeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockSoundVolumeCommandParams); - readDoorLockInteractionInfo.put( - "readSoundVolumeAttribute", readDoorLockSoundVolumeAttributeInteractionInfo); - Map readDoorLockOperatingModeCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockOperatingModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readOperatingModeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockOperatingModeCommandParams); - readDoorLockInteractionInfo.put( - "readOperatingModeAttribute", readDoorLockOperatingModeAttributeInteractionInfo); - Map readDoorLockSupportedOperatingModesCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockSupportedOperatingModesAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readSupportedOperatingModesAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockSupportedOperatingModesCommandParams); - readDoorLockInteractionInfo.put( - "readSupportedOperatingModesAttribute", - readDoorLockSupportedOperatingModesAttributeInteractionInfo); - Map readDoorLockDefaultConfigurationRegisterCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockDefaultConfigurationRegisterAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readDefaultConfigurationRegisterAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockDefaultConfigurationRegisterCommandParams); - readDoorLockInteractionInfo.put( - "readDefaultConfigurationRegisterAttribute", - readDoorLockDefaultConfigurationRegisterAttributeInteractionInfo); - Map readDoorLockEnableLocalProgrammingCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockEnableLocalProgrammingAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readEnableLocalProgrammingAttribute( - (ChipClusters.BooleanAttributeCallback) callback); - }, + readDoorLockLanguageCommandParams + ); + readDoorLockInteractionInfo.put("readLanguageAttribute", readDoorLockLanguageAttributeInteractionInfo); + Map readDoorLockLEDSettingsCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockLEDSettingsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readLEDSettingsAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockLEDSettingsCommandParams + ); + readDoorLockInteractionInfo.put("readLEDSettingsAttribute", readDoorLockLEDSettingsAttributeInteractionInfo); + Map readDoorLockAutoRelockTimeCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockAutoRelockTimeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readAutoRelockTimeAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readDoorLockAutoRelockTimeCommandParams + ); + readDoorLockInteractionInfo.put("readAutoRelockTimeAttribute", readDoorLockAutoRelockTimeAttributeInteractionInfo); + Map readDoorLockSoundVolumeCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockSoundVolumeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readSoundVolumeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockSoundVolumeCommandParams + ); + readDoorLockInteractionInfo.put("readSoundVolumeAttribute", readDoorLockSoundVolumeAttributeInteractionInfo); + Map readDoorLockOperatingModeCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockOperatingModeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readOperatingModeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockOperatingModeCommandParams + ); + readDoorLockInteractionInfo.put("readOperatingModeAttribute", readDoorLockOperatingModeAttributeInteractionInfo); + Map readDoorLockSupportedOperatingModesCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockSupportedOperatingModesAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readSupportedOperatingModesAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockSupportedOperatingModesCommandParams + ); + readDoorLockInteractionInfo.put("readSupportedOperatingModesAttribute", readDoorLockSupportedOperatingModesAttributeInteractionInfo); + Map readDoorLockDefaultConfigurationRegisterCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockDefaultConfigurationRegisterAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readDefaultConfigurationRegisterAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockDefaultConfigurationRegisterCommandParams + ); + readDoorLockInteractionInfo.put("readDefaultConfigurationRegisterAttribute", readDoorLockDefaultConfigurationRegisterAttributeInteractionInfo); + Map readDoorLockEnableLocalProgrammingCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockEnableLocalProgrammingAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readEnableLocalProgrammingAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readDoorLockEnableLocalProgrammingCommandParams); - readDoorLockInteractionInfo.put( - "readEnableLocalProgrammingAttribute", - readDoorLockEnableLocalProgrammingAttributeInteractionInfo); - Map readDoorLockEnableOneTouchLockingCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockEnableOneTouchLockingAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readEnableOneTouchLockingAttribute( - (ChipClusters.BooleanAttributeCallback) callback); - }, + readDoorLockEnableLocalProgrammingCommandParams + ); + readDoorLockInteractionInfo.put("readEnableLocalProgrammingAttribute", readDoorLockEnableLocalProgrammingAttributeInteractionInfo); + Map readDoorLockEnableOneTouchLockingCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockEnableOneTouchLockingAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readEnableOneTouchLockingAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readDoorLockEnableOneTouchLockingCommandParams); - readDoorLockInteractionInfo.put( - "readEnableOneTouchLockingAttribute", - readDoorLockEnableOneTouchLockingAttributeInteractionInfo); - Map readDoorLockEnableInsideStatusLEDCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockEnableInsideStatusLEDAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readEnableInsideStatusLEDAttribute( - (ChipClusters.BooleanAttributeCallback) callback); - }, + readDoorLockEnableOneTouchLockingCommandParams + ); + readDoorLockInteractionInfo.put("readEnableOneTouchLockingAttribute", readDoorLockEnableOneTouchLockingAttributeInteractionInfo); + Map readDoorLockEnableInsideStatusLEDCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockEnableInsideStatusLEDAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readEnableInsideStatusLEDAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readDoorLockEnableInsideStatusLEDCommandParams); - readDoorLockInteractionInfo.put( - "readEnableInsideStatusLEDAttribute", - readDoorLockEnableInsideStatusLEDAttributeInteractionInfo); - Map readDoorLockEnablePrivacyModeButtonCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockEnablePrivacyModeButtonAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readEnablePrivacyModeButtonAttribute( - (ChipClusters.BooleanAttributeCallback) callback); - }, + readDoorLockEnableInsideStatusLEDCommandParams + ); + readDoorLockInteractionInfo.put("readEnableInsideStatusLEDAttribute", readDoorLockEnableInsideStatusLEDAttributeInteractionInfo); + Map readDoorLockEnablePrivacyModeButtonCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockEnablePrivacyModeButtonAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readEnablePrivacyModeButtonAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readDoorLockEnablePrivacyModeButtonCommandParams); - readDoorLockInteractionInfo.put( - "readEnablePrivacyModeButtonAttribute", - readDoorLockEnablePrivacyModeButtonAttributeInteractionInfo); - Map readDoorLockLocalProgrammingFeaturesCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockLocalProgrammingFeaturesAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readLocalProgrammingFeaturesAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockLocalProgrammingFeaturesCommandParams); - readDoorLockInteractionInfo.put( - "readLocalProgrammingFeaturesAttribute", - readDoorLockLocalProgrammingFeaturesAttributeInteractionInfo); - Map readDoorLockWrongCodeEntryLimitCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockWrongCodeEntryLimitAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readWrongCodeEntryLimitAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockWrongCodeEntryLimitCommandParams); - readDoorLockInteractionInfo.put( - "readWrongCodeEntryLimitAttribute", - readDoorLockWrongCodeEntryLimitAttributeInteractionInfo); - Map readDoorLockUserCodeTemporaryDisableTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockUserCodeTemporaryDisableTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readUserCodeTemporaryDisableTimeAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockUserCodeTemporaryDisableTimeCommandParams); - readDoorLockInteractionInfo.put( - "readUserCodeTemporaryDisableTimeAttribute", - readDoorLockUserCodeTemporaryDisableTimeAttributeInteractionInfo); - Map readDoorLockSendPINOverTheAirCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockSendPINOverTheAirAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readSendPINOverTheAirAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, + readDoorLockEnablePrivacyModeButtonCommandParams + ); + readDoorLockInteractionInfo.put("readEnablePrivacyModeButtonAttribute", readDoorLockEnablePrivacyModeButtonAttributeInteractionInfo); + Map readDoorLockLocalProgrammingFeaturesCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockLocalProgrammingFeaturesAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readLocalProgrammingFeaturesAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockLocalProgrammingFeaturesCommandParams + ); + readDoorLockInteractionInfo.put("readLocalProgrammingFeaturesAttribute", readDoorLockLocalProgrammingFeaturesAttributeInteractionInfo); + Map readDoorLockWrongCodeEntryLimitCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockWrongCodeEntryLimitAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readWrongCodeEntryLimitAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockWrongCodeEntryLimitCommandParams + ); + readDoorLockInteractionInfo.put("readWrongCodeEntryLimitAttribute", readDoorLockWrongCodeEntryLimitAttributeInteractionInfo); + Map readDoorLockUserCodeTemporaryDisableTimeCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockUserCodeTemporaryDisableTimeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readUserCodeTemporaryDisableTimeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockUserCodeTemporaryDisableTimeCommandParams + ); + readDoorLockInteractionInfo.put("readUserCodeTemporaryDisableTimeAttribute", readDoorLockUserCodeTemporaryDisableTimeAttributeInteractionInfo); + Map readDoorLockSendPINOverTheAirCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockSendPINOverTheAirAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readSendPINOverTheAirAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readDoorLockSendPINOverTheAirCommandParams); - readDoorLockInteractionInfo.put( - "readSendPINOverTheAirAttribute", readDoorLockSendPINOverTheAirAttributeInteractionInfo); - Map readDoorLockRequirePINforRemoteOperationCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockRequirePINforRemoteOperationAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readRequirePINforRemoteOperationAttribute( - (ChipClusters.BooleanAttributeCallback) callback); - }, + readDoorLockSendPINOverTheAirCommandParams + ); + readDoorLockInteractionInfo.put("readSendPINOverTheAirAttribute", readDoorLockSendPINOverTheAirAttributeInteractionInfo); + Map readDoorLockRequirePINforRemoteOperationCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockRequirePINforRemoteOperationAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readRequirePINforRemoteOperationAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readDoorLockRequirePINforRemoteOperationCommandParams); - readDoorLockInteractionInfo.put( - "readRequirePINforRemoteOperationAttribute", - readDoorLockRequirePINforRemoteOperationAttributeInteractionInfo); - Map readDoorLockExpiringUserTimeoutCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockExpiringUserTimeoutAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readExpiringUserTimeoutAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockExpiringUserTimeoutCommandParams); - readDoorLockInteractionInfo.put( - "readExpiringUserTimeoutAttribute", - readDoorLockExpiringUserTimeoutAttributeInteractionInfo); - Map readDoorLockGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.DoorLockCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedDoorLockClusterGeneratedCommandListAttributeCallback(), - readDoorLockGeneratedCommandListCommandParams); - readDoorLockInteractionInfo.put( - "readGeneratedCommandListAttribute", - readDoorLockGeneratedCommandListAttributeInteractionInfo); - Map readDoorLockAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.DoorLockCluster.AcceptedCommandListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedDoorLockClusterAcceptedCommandListAttributeCallback(), - readDoorLockAcceptedCommandListCommandParams); - readDoorLockInteractionInfo.put( - "readAcceptedCommandListAttribute", - readDoorLockAcceptedCommandListAttributeInteractionInfo); - Map readDoorLockEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readEventListAttribute( - (ChipClusters.DoorLockCluster.EventListAttributeCallback) callback); - }, + readDoorLockRequirePINforRemoteOperationCommandParams + ); + readDoorLockInteractionInfo.put("readRequirePINforRemoteOperationAttribute", readDoorLockRequirePINforRemoteOperationAttributeInteractionInfo); + Map readDoorLockExpiringUserTimeoutCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockExpiringUserTimeoutAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readExpiringUserTimeoutAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockExpiringUserTimeoutCommandParams + ); + readDoorLockInteractionInfo.put("readExpiringUserTimeoutAttribute", readDoorLockExpiringUserTimeoutAttributeInteractionInfo); + Map readDoorLockGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.DoorLockCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedDoorLockClusterGeneratedCommandListAttributeCallback(), + readDoorLockGeneratedCommandListCommandParams + ); + readDoorLockInteractionInfo.put("readGeneratedCommandListAttribute", readDoorLockGeneratedCommandListAttributeInteractionInfo); + Map readDoorLockAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.DoorLockCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedDoorLockClusterAcceptedCommandListAttributeCallback(), + readDoorLockAcceptedCommandListCommandParams + ); + readDoorLockInteractionInfo.put("readAcceptedCommandListAttribute", readDoorLockAcceptedCommandListAttributeInteractionInfo); + Map readDoorLockEventListCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readEventListAttribute( + ( ChipClusters.DoorLockCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedDoorLockClusterEventListAttributeCallback(), - readDoorLockEventListCommandParams); - readDoorLockInteractionInfo.put( - "readEventListAttribute", readDoorLockEventListAttributeInteractionInfo); - Map readDoorLockAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.DoorLockCluster.AttributeListAttributeCallback) callback); - }, + readDoorLockEventListCommandParams + ); + readDoorLockInteractionInfo.put("readEventListAttribute", readDoorLockEventListAttributeInteractionInfo); + Map readDoorLockAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readAttributeListAttribute( + ( ChipClusters.DoorLockCluster.AttributeListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedDoorLockClusterAttributeListAttributeCallback(), - readDoorLockAttributeListCommandParams); - readDoorLockInteractionInfo.put( - "readAttributeListAttribute", readDoorLockAttributeListAttributeInteractionInfo); - Map readDoorLockFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readDoorLockFeatureMapCommandParams); - readDoorLockInteractionInfo.put( - "readFeatureMapAttribute", readDoorLockFeatureMapAttributeInteractionInfo); - Map readDoorLockClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readDoorLockClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockClusterRevisionCommandParams); - readDoorLockInteractionInfo.put( - "readClusterRevisionAttribute", readDoorLockClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("doorLock", readDoorLockInteractionInfo); - Map readWindowCoveringInteractionInfo = new LinkedHashMap<>(); - Map readWindowCoveringTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringTypeCommandParams); - readWindowCoveringInteractionInfo.put( - "readTypeAttribute", readWindowCoveringTypeAttributeInteractionInfo); - Map readWindowCoveringPhysicalClosedLimitLiftCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringPhysicalClosedLimitLiftAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readPhysicalClosedLimitLiftAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringPhysicalClosedLimitLiftCommandParams); - readWindowCoveringInteractionInfo.put( - "readPhysicalClosedLimitLiftAttribute", - readWindowCoveringPhysicalClosedLimitLiftAttributeInteractionInfo); - Map readWindowCoveringPhysicalClosedLimitTiltCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringPhysicalClosedLimitTiltAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readPhysicalClosedLimitTiltAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringPhysicalClosedLimitTiltCommandParams); - readWindowCoveringInteractionInfo.put( - "readPhysicalClosedLimitTiltAttribute", - readWindowCoveringPhysicalClosedLimitTiltAttributeInteractionInfo); - Map readWindowCoveringCurrentPositionLiftCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringCurrentPositionLiftAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readCurrentPositionLiftAttribute( - (ChipClusters.WindowCoveringCluster.CurrentPositionLiftAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWindowCoveringClusterCurrentPositionLiftAttributeCallback(), - readWindowCoveringCurrentPositionLiftCommandParams); - readWindowCoveringInteractionInfo.put( - "readCurrentPositionLiftAttribute", - readWindowCoveringCurrentPositionLiftAttributeInteractionInfo); - Map readWindowCoveringCurrentPositionTiltCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringCurrentPositionTiltAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readCurrentPositionTiltAttribute( - (ChipClusters.WindowCoveringCluster.CurrentPositionTiltAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWindowCoveringClusterCurrentPositionTiltAttributeCallback(), - readWindowCoveringCurrentPositionTiltCommandParams); - readWindowCoveringInteractionInfo.put( - "readCurrentPositionTiltAttribute", - readWindowCoveringCurrentPositionTiltAttributeInteractionInfo); - Map readWindowCoveringNumberOfActuationsLiftCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringNumberOfActuationsLiftAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readNumberOfActuationsLiftAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringNumberOfActuationsLiftCommandParams); - readWindowCoveringInteractionInfo.put( - "readNumberOfActuationsLiftAttribute", - readWindowCoveringNumberOfActuationsLiftAttributeInteractionInfo); - Map readWindowCoveringNumberOfActuationsTiltCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringNumberOfActuationsTiltAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readNumberOfActuationsTiltAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringNumberOfActuationsTiltCommandParams); - readWindowCoveringInteractionInfo.put( - "readNumberOfActuationsTiltAttribute", - readWindowCoveringNumberOfActuationsTiltAttributeInteractionInfo); - Map readWindowCoveringConfigStatusCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringConfigStatusAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readConfigStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringConfigStatusCommandParams); - readWindowCoveringInteractionInfo.put( - "readConfigStatusAttribute", readWindowCoveringConfigStatusAttributeInteractionInfo); - Map readWindowCoveringCurrentPositionLiftPercentageCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringCurrentPositionLiftPercentageAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readCurrentPositionLiftPercentageAttribute( - (ChipClusters.WindowCoveringCluster - .CurrentPositionLiftPercentageAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWindowCoveringClusterCurrentPositionLiftPercentageAttributeCallback(), - readWindowCoveringCurrentPositionLiftPercentageCommandParams); - readWindowCoveringInteractionInfo.put( - "readCurrentPositionLiftPercentageAttribute", - readWindowCoveringCurrentPositionLiftPercentageAttributeInteractionInfo); - Map readWindowCoveringCurrentPositionTiltPercentageCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringCurrentPositionTiltPercentageAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readCurrentPositionTiltPercentageAttribute( - (ChipClusters.WindowCoveringCluster - .CurrentPositionTiltPercentageAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWindowCoveringClusterCurrentPositionTiltPercentageAttributeCallback(), - readWindowCoveringCurrentPositionTiltPercentageCommandParams); - readWindowCoveringInteractionInfo.put( - "readCurrentPositionTiltPercentageAttribute", - readWindowCoveringCurrentPositionTiltPercentageAttributeInteractionInfo); - Map readWindowCoveringOperationalStatusCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringOperationalStatusAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readOperationalStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringOperationalStatusCommandParams); - readWindowCoveringInteractionInfo.put( - "readOperationalStatusAttribute", - readWindowCoveringOperationalStatusAttributeInteractionInfo); - Map - readWindowCoveringTargetPositionLiftPercent100thsCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringTargetPositionLiftPercent100thsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readTargetPositionLiftPercent100thsAttribute( - (ChipClusters.WindowCoveringCluster - .TargetPositionLiftPercent100thsAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWindowCoveringClusterTargetPositionLiftPercent100thsAttributeCallback(), - readWindowCoveringTargetPositionLiftPercent100thsCommandParams); - readWindowCoveringInteractionInfo.put( - "readTargetPositionLiftPercent100thsAttribute", - readWindowCoveringTargetPositionLiftPercent100thsAttributeInteractionInfo); - Map - readWindowCoveringTargetPositionTiltPercent100thsCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringTargetPositionTiltPercent100thsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readTargetPositionTiltPercent100thsAttribute( - (ChipClusters.WindowCoveringCluster - .TargetPositionTiltPercent100thsAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWindowCoveringClusterTargetPositionTiltPercent100thsAttributeCallback(), - readWindowCoveringTargetPositionTiltPercent100thsCommandParams); - readWindowCoveringInteractionInfo.put( - "readTargetPositionTiltPercent100thsAttribute", - readWindowCoveringTargetPositionTiltPercent100thsAttributeInteractionInfo); - Map readWindowCoveringEndProductTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringEndProductTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readEndProductTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringEndProductTypeCommandParams); - readWindowCoveringInteractionInfo.put( - "readEndProductTypeAttribute", readWindowCoveringEndProductTypeAttributeInteractionInfo); - Map - readWindowCoveringCurrentPositionLiftPercent100thsCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringCurrentPositionLiftPercent100thsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readCurrentPositionLiftPercent100thsAttribute( - (ChipClusters.WindowCoveringCluster - .CurrentPositionLiftPercent100thsAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWindowCoveringClusterCurrentPositionLiftPercent100thsAttributeCallback(), - readWindowCoveringCurrentPositionLiftPercent100thsCommandParams); - readWindowCoveringInteractionInfo.put( - "readCurrentPositionLiftPercent100thsAttribute", - readWindowCoveringCurrentPositionLiftPercent100thsAttributeInteractionInfo); - Map - readWindowCoveringCurrentPositionTiltPercent100thsCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringCurrentPositionTiltPercent100thsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readCurrentPositionTiltPercent100thsAttribute( - (ChipClusters.WindowCoveringCluster - .CurrentPositionTiltPercent100thsAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWindowCoveringClusterCurrentPositionTiltPercent100thsAttributeCallback(), - readWindowCoveringCurrentPositionTiltPercent100thsCommandParams); - readWindowCoveringInteractionInfo.put( - "readCurrentPositionTiltPercent100thsAttribute", - readWindowCoveringCurrentPositionTiltPercent100thsAttributeInteractionInfo); - Map readWindowCoveringInstalledOpenLimitLiftCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringInstalledOpenLimitLiftAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readInstalledOpenLimitLiftAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringInstalledOpenLimitLiftCommandParams); - readWindowCoveringInteractionInfo.put( - "readInstalledOpenLimitLiftAttribute", - readWindowCoveringInstalledOpenLimitLiftAttributeInteractionInfo); - Map readWindowCoveringInstalledClosedLimitLiftCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringInstalledClosedLimitLiftAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readInstalledClosedLimitLiftAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringInstalledClosedLimitLiftCommandParams); - readWindowCoveringInteractionInfo.put( - "readInstalledClosedLimitLiftAttribute", - readWindowCoveringInstalledClosedLimitLiftAttributeInteractionInfo); - Map readWindowCoveringInstalledOpenLimitTiltCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringInstalledOpenLimitTiltAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readInstalledOpenLimitTiltAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringInstalledOpenLimitTiltCommandParams); - readWindowCoveringInteractionInfo.put( - "readInstalledOpenLimitTiltAttribute", - readWindowCoveringInstalledOpenLimitTiltAttributeInteractionInfo); - Map readWindowCoveringInstalledClosedLimitTiltCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringInstalledClosedLimitTiltAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readInstalledClosedLimitTiltAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringInstalledClosedLimitTiltCommandParams); - readWindowCoveringInteractionInfo.put( - "readInstalledClosedLimitTiltAttribute", - readWindowCoveringInstalledClosedLimitTiltAttributeInteractionInfo); - Map readWindowCoveringModeCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readModeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringModeCommandParams); - readWindowCoveringInteractionInfo.put( - "readModeAttribute", readWindowCoveringModeAttributeInteractionInfo); - Map readWindowCoveringSafetyStatusCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringSafetyStatusAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readSafetyStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringSafetyStatusCommandParams); - readWindowCoveringInteractionInfo.put( - "readSafetyStatusAttribute", readWindowCoveringSafetyStatusAttributeInteractionInfo); - Map readWindowCoveringGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.WindowCoveringCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWindowCoveringClusterGeneratedCommandListAttributeCallback(), - readWindowCoveringGeneratedCommandListCommandParams); - readWindowCoveringInteractionInfo.put( - "readGeneratedCommandListAttribute", - readWindowCoveringGeneratedCommandListAttributeInteractionInfo); - Map readWindowCoveringAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.WindowCoveringCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWindowCoveringClusterAcceptedCommandListAttributeCallback(), - readWindowCoveringAcceptedCommandListCommandParams); - readWindowCoveringInteractionInfo.put( - "readAcceptedCommandListAttribute", - readWindowCoveringAcceptedCommandListAttributeInteractionInfo); - Map readWindowCoveringEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readEventListAttribute( - (ChipClusters.WindowCoveringCluster.EventListAttributeCallback) callback); - }, + readDoorLockAttributeListCommandParams + ); + readDoorLockInteractionInfo.put("readAttributeListAttribute", readDoorLockAttributeListAttributeInteractionInfo); + Map readDoorLockFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readDoorLockFeatureMapCommandParams + ); + readDoorLockInteractionInfo.put("readFeatureMapAttribute", readDoorLockFeatureMapAttributeInteractionInfo); + Map readDoorLockClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readDoorLockClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockClusterRevisionCommandParams + ); + readDoorLockInteractionInfo.put("readClusterRevisionAttribute", readDoorLockClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("doorLock", readDoorLockInteractionInfo); + Map readWindowCoveringInteractionInfo = new LinkedHashMap<>(); + Map readWindowCoveringTypeCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringTypeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readTypeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringTypeCommandParams + ); + readWindowCoveringInteractionInfo.put("readTypeAttribute", readWindowCoveringTypeAttributeInteractionInfo); + Map readWindowCoveringPhysicalClosedLimitLiftCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringPhysicalClosedLimitLiftAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readPhysicalClosedLimitLiftAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringPhysicalClosedLimitLiftCommandParams + ); + readWindowCoveringInteractionInfo.put("readPhysicalClosedLimitLiftAttribute", readWindowCoveringPhysicalClosedLimitLiftAttributeInteractionInfo); + Map readWindowCoveringPhysicalClosedLimitTiltCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringPhysicalClosedLimitTiltAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readPhysicalClosedLimitTiltAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringPhysicalClosedLimitTiltCommandParams + ); + readWindowCoveringInteractionInfo.put("readPhysicalClosedLimitTiltAttribute", readWindowCoveringPhysicalClosedLimitTiltAttributeInteractionInfo); + Map readWindowCoveringCurrentPositionLiftCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringCurrentPositionLiftAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readCurrentPositionLiftAttribute( + ( ChipClusters.WindowCoveringCluster.CurrentPositionLiftAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterCurrentPositionLiftAttributeCallback(), + readWindowCoveringCurrentPositionLiftCommandParams + ); + readWindowCoveringInteractionInfo.put("readCurrentPositionLiftAttribute", readWindowCoveringCurrentPositionLiftAttributeInteractionInfo); + Map readWindowCoveringCurrentPositionTiltCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringCurrentPositionTiltAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readCurrentPositionTiltAttribute( + ( ChipClusters.WindowCoveringCluster.CurrentPositionTiltAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterCurrentPositionTiltAttributeCallback(), + readWindowCoveringCurrentPositionTiltCommandParams + ); + readWindowCoveringInteractionInfo.put("readCurrentPositionTiltAttribute", readWindowCoveringCurrentPositionTiltAttributeInteractionInfo); + Map readWindowCoveringNumberOfActuationsLiftCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringNumberOfActuationsLiftAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readNumberOfActuationsLiftAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringNumberOfActuationsLiftCommandParams + ); + readWindowCoveringInteractionInfo.put("readNumberOfActuationsLiftAttribute", readWindowCoveringNumberOfActuationsLiftAttributeInteractionInfo); + Map readWindowCoveringNumberOfActuationsTiltCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringNumberOfActuationsTiltAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readNumberOfActuationsTiltAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringNumberOfActuationsTiltCommandParams + ); + readWindowCoveringInteractionInfo.put("readNumberOfActuationsTiltAttribute", readWindowCoveringNumberOfActuationsTiltAttributeInteractionInfo); + Map readWindowCoveringConfigStatusCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringConfigStatusAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readConfigStatusAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringConfigStatusCommandParams + ); + readWindowCoveringInteractionInfo.put("readConfigStatusAttribute", readWindowCoveringConfigStatusAttributeInteractionInfo); + Map readWindowCoveringCurrentPositionLiftPercentageCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringCurrentPositionLiftPercentageAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readCurrentPositionLiftPercentageAttribute( + ( ChipClusters.WindowCoveringCluster.CurrentPositionLiftPercentageAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterCurrentPositionLiftPercentageAttributeCallback(), + readWindowCoveringCurrentPositionLiftPercentageCommandParams + ); + readWindowCoveringInteractionInfo.put("readCurrentPositionLiftPercentageAttribute", readWindowCoveringCurrentPositionLiftPercentageAttributeInteractionInfo); + Map readWindowCoveringCurrentPositionTiltPercentageCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringCurrentPositionTiltPercentageAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readCurrentPositionTiltPercentageAttribute( + ( ChipClusters.WindowCoveringCluster.CurrentPositionTiltPercentageAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterCurrentPositionTiltPercentageAttributeCallback(), + readWindowCoveringCurrentPositionTiltPercentageCommandParams + ); + readWindowCoveringInteractionInfo.put("readCurrentPositionTiltPercentageAttribute", readWindowCoveringCurrentPositionTiltPercentageAttributeInteractionInfo); + Map readWindowCoveringOperationalStatusCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringOperationalStatusAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readOperationalStatusAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringOperationalStatusCommandParams + ); + readWindowCoveringInteractionInfo.put("readOperationalStatusAttribute", readWindowCoveringOperationalStatusAttributeInteractionInfo); + Map readWindowCoveringTargetPositionLiftPercent100thsCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringTargetPositionLiftPercent100thsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readTargetPositionLiftPercent100thsAttribute( + ( ChipClusters.WindowCoveringCluster.TargetPositionLiftPercent100thsAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterTargetPositionLiftPercent100thsAttributeCallback(), + readWindowCoveringTargetPositionLiftPercent100thsCommandParams + ); + readWindowCoveringInteractionInfo.put("readTargetPositionLiftPercent100thsAttribute", readWindowCoveringTargetPositionLiftPercent100thsAttributeInteractionInfo); + Map readWindowCoveringTargetPositionTiltPercent100thsCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringTargetPositionTiltPercent100thsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readTargetPositionTiltPercent100thsAttribute( + ( ChipClusters.WindowCoveringCluster.TargetPositionTiltPercent100thsAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterTargetPositionTiltPercent100thsAttributeCallback(), + readWindowCoveringTargetPositionTiltPercent100thsCommandParams + ); + readWindowCoveringInteractionInfo.put("readTargetPositionTiltPercent100thsAttribute", readWindowCoveringTargetPositionTiltPercent100thsAttributeInteractionInfo); + Map readWindowCoveringEndProductTypeCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringEndProductTypeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readEndProductTypeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringEndProductTypeCommandParams + ); + readWindowCoveringInteractionInfo.put("readEndProductTypeAttribute", readWindowCoveringEndProductTypeAttributeInteractionInfo); + Map readWindowCoveringCurrentPositionLiftPercent100thsCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringCurrentPositionLiftPercent100thsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readCurrentPositionLiftPercent100thsAttribute( + ( ChipClusters.WindowCoveringCluster.CurrentPositionLiftPercent100thsAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterCurrentPositionLiftPercent100thsAttributeCallback(), + readWindowCoveringCurrentPositionLiftPercent100thsCommandParams + ); + readWindowCoveringInteractionInfo.put("readCurrentPositionLiftPercent100thsAttribute", readWindowCoveringCurrentPositionLiftPercent100thsAttributeInteractionInfo); + Map readWindowCoveringCurrentPositionTiltPercent100thsCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringCurrentPositionTiltPercent100thsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readCurrentPositionTiltPercent100thsAttribute( + ( ChipClusters.WindowCoveringCluster.CurrentPositionTiltPercent100thsAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterCurrentPositionTiltPercent100thsAttributeCallback(), + readWindowCoveringCurrentPositionTiltPercent100thsCommandParams + ); + readWindowCoveringInteractionInfo.put("readCurrentPositionTiltPercent100thsAttribute", readWindowCoveringCurrentPositionTiltPercent100thsAttributeInteractionInfo); + Map readWindowCoveringInstalledOpenLimitLiftCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringInstalledOpenLimitLiftAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readInstalledOpenLimitLiftAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringInstalledOpenLimitLiftCommandParams + ); + readWindowCoveringInteractionInfo.put("readInstalledOpenLimitLiftAttribute", readWindowCoveringInstalledOpenLimitLiftAttributeInteractionInfo); + Map readWindowCoveringInstalledClosedLimitLiftCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringInstalledClosedLimitLiftAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readInstalledClosedLimitLiftAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringInstalledClosedLimitLiftCommandParams + ); + readWindowCoveringInteractionInfo.put("readInstalledClosedLimitLiftAttribute", readWindowCoveringInstalledClosedLimitLiftAttributeInteractionInfo); + Map readWindowCoveringInstalledOpenLimitTiltCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringInstalledOpenLimitTiltAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readInstalledOpenLimitTiltAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringInstalledOpenLimitTiltCommandParams + ); + readWindowCoveringInteractionInfo.put("readInstalledOpenLimitTiltAttribute", readWindowCoveringInstalledOpenLimitTiltAttributeInteractionInfo); + Map readWindowCoveringInstalledClosedLimitTiltCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringInstalledClosedLimitTiltAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readInstalledClosedLimitTiltAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringInstalledClosedLimitTiltCommandParams + ); + readWindowCoveringInteractionInfo.put("readInstalledClosedLimitTiltAttribute", readWindowCoveringInstalledClosedLimitTiltAttributeInteractionInfo); + Map readWindowCoveringModeCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringModeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readModeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringModeCommandParams + ); + readWindowCoveringInteractionInfo.put("readModeAttribute", readWindowCoveringModeAttributeInteractionInfo); + Map readWindowCoveringSafetyStatusCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringSafetyStatusAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readSafetyStatusAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringSafetyStatusCommandParams + ); + readWindowCoveringInteractionInfo.put("readSafetyStatusAttribute", readWindowCoveringSafetyStatusAttributeInteractionInfo); + Map readWindowCoveringGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.WindowCoveringCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterGeneratedCommandListAttributeCallback(), + readWindowCoveringGeneratedCommandListCommandParams + ); + readWindowCoveringInteractionInfo.put("readGeneratedCommandListAttribute", readWindowCoveringGeneratedCommandListAttributeInteractionInfo); + Map readWindowCoveringAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.WindowCoveringCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterAcceptedCommandListAttributeCallback(), + readWindowCoveringAcceptedCommandListCommandParams + ); + readWindowCoveringInteractionInfo.put("readAcceptedCommandListAttribute", readWindowCoveringAcceptedCommandListAttributeInteractionInfo); + Map readWindowCoveringEventListCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readEventListAttribute( + ( ChipClusters.WindowCoveringCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterEventListAttributeCallback(), - readWindowCoveringEventListCommandParams); - readWindowCoveringInteractionInfo.put( - "readEventListAttribute", readWindowCoveringEventListAttributeInteractionInfo); - Map readWindowCoveringAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.WindowCoveringCluster.AttributeListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWindowCoveringClusterAttributeListAttributeCallback(), - readWindowCoveringAttributeListCommandParams); - readWindowCoveringInteractionInfo.put( - "readAttributeListAttribute", readWindowCoveringAttributeListAttributeInteractionInfo); - Map readWindowCoveringFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readWindowCoveringFeatureMapCommandParams); - readWindowCoveringInteractionInfo.put( - "readFeatureMapAttribute", readWindowCoveringFeatureMapAttributeInteractionInfo); - Map readWindowCoveringClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readWindowCoveringClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringClusterRevisionCommandParams); - readWindowCoveringInteractionInfo.put( - "readClusterRevisionAttribute", readWindowCoveringClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("windowCovering", readWindowCoveringInteractionInfo); - Map readBarrierControlInteractionInfo = new LinkedHashMap<>(); - Map readBarrierControlBarrierMovingStateCommandParams = - new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierMovingStateAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .readBarrierMovingStateAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierMovingStateCommandParams); - readBarrierControlInteractionInfo.put( - "readBarrierMovingStateAttribute", - readBarrierControlBarrierMovingStateAttributeInteractionInfo); - Map readBarrierControlBarrierSafetyStatusCommandParams = - new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierSafetyStatusAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .readBarrierSafetyStatusAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierSafetyStatusCommandParams); - readBarrierControlInteractionInfo.put( - "readBarrierSafetyStatusAttribute", - readBarrierControlBarrierSafetyStatusAttributeInteractionInfo); - Map readBarrierControlBarrierCapabilitiesCommandParams = - new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierCapabilitiesAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .readBarrierCapabilitiesAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierCapabilitiesCommandParams); - readBarrierControlInteractionInfo.put( - "readBarrierCapabilitiesAttribute", - readBarrierControlBarrierCapabilitiesAttributeInteractionInfo); - Map readBarrierControlBarrierOpenEventsCommandParams = - new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierOpenEventsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .readBarrierOpenEventsAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierOpenEventsCommandParams); - readBarrierControlInteractionInfo.put( - "readBarrierOpenEventsAttribute", - readBarrierControlBarrierOpenEventsAttributeInteractionInfo); - Map readBarrierControlBarrierCloseEventsCommandParams = - new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierCloseEventsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .readBarrierCloseEventsAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierCloseEventsCommandParams); - readBarrierControlInteractionInfo.put( - "readBarrierCloseEventsAttribute", - readBarrierControlBarrierCloseEventsAttributeInteractionInfo); - Map readBarrierControlBarrierCommandOpenEventsCommandParams = - new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierCommandOpenEventsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .readBarrierCommandOpenEventsAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierCommandOpenEventsCommandParams); - readBarrierControlInteractionInfo.put( - "readBarrierCommandOpenEventsAttribute", - readBarrierControlBarrierCommandOpenEventsAttributeInteractionInfo); - Map readBarrierControlBarrierCommandCloseEventsCommandParams = - new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierCommandCloseEventsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .readBarrierCommandCloseEventsAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierCommandCloseEventsCommandParams); - readBarrierControlInteractionInfo.put( - "readBarrierCommandCloseEventsAttribute", - readBarrierControlBarrierCommandCloseEventsAttributeInteractionInfo); - Map readBarrierControlBarrierOpenPeriodCommandParams = - new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierOpenPeriodAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .readBarrierOpenPeriodAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierOpenPeriodCommandParams); - readBarrierControlInteractionInfo.put( - "readBarrierOpenPeriodAttribute", - readBarrierControlBarrierOpenPeriodAttributeInteractionInfo); - Map readBarrierControlBarrierClosePeriodCommandParams = - new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierClosePeriodAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .readBarrierClosePeriodAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierClosePeriodCommandParams); - readBarrierControlInteractionInfo.put( - "readBarrierClosePeriodAttribute", - readBarrierControlBarrierClosePeriodAttributeInteractionInfo); - Map readBarrierControlBarrierPositionCommandParams = - new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierPositionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .readBarrierPositionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierPositionCommandParams); - readBarrierControlInteractionInfo.put( - "readBarrierPositionAttribute", readBarrierControlBarrierPositionAttributeInteractionInfo); - Map readBarrierControlGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readBarrierControlGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.BarrierControlCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBarrierControlClusterGeneratedCommandListAttributeCallback(), - readBarrierControlGeneratedCommandListCommandParams); - readBarrierControlInteractionInfo.put( - "readGeneratedCommandListAttribute", - readBarrierControlGeneratedCommandListAttributeInteractionInfo); - Map readBarrierControlAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readBarrierControlAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.BarrierControlCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBarrierControlClusterAcceptedCommandListAttributeCallback(), - readBarrierControlAcceptedCommandListCommandParams); - readBarrierControlInteractionInfo.put( - "readAcceptedCommandListAttribute", - readBarrierControlAcceptedCommandListAttributeInteractionInfo); - Map readBarrierControlEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readBarrierControlEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .readEventListAttribute( - (ChipClusters.BarrierControlCluster.EventListAttributeCallback) callback); - }, + readWindowCoveringEventListCommandParams + ); + readWindowCoveringInteractionInfo.put("readEventListAttribute", readWindowCoveringEventListAttributeInteractionInfo); + Map readWindowCoveringAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readAttributeListAttribute( + ( ChipClusters.WindowCoveringCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterAttributeListAttributeCallback(), + readWindowCoveringAttributeListCommandParams + ); + readWindowCoveringInteractionInfo.put("readAttributeListAttribute", readWindowCoveringAttributeListAttributeInteractionInfo); + Map readWindowCoveringFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readWindowCoveringFeatureMapCommandParams + ); + readWindowCoveringInteractionInfo.put("readFeatureMapAttribute", readWindowCoveringFeatureMapAttributeInteractionInfo); + Map readWindowCoveringClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readWindowCoveringClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringClusterRevisionCommandParams + ); + readWindowCoveringInteractionInfo.put("readClusterRevisionAttribute", readWindowCoveringClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("windowCovering", readWindowCoveringInteractionInfo); + Map readBarrierControlInteractionInfo = new LinkedHashMap<>(); + Map readBarrierControlBarrierMovingStateCommandParams = new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierMovingStateAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster).readBarrierMovingStateAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierMovingStateCommandParams + ); + readBarrierControlInteractionInfo.put("readBarrierMovingStateAttribute", readBarrierControlBarrierMovingStateAttributeInteractionInfo); + Map readBarrierControlBarrierSafetyStatusCommandParams = new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierSafetyStatusAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster).readBarrierSafetyStatusAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierSafetyStatusCommandParams + ); + readBarrierControlInteractionInfo.put("readBarrierSafetyStatusAttribute", readBarrierControlBarrierSafetyStatusAttributeInteractionInfo); + Map readBarrierControlBarrierCapabilitiesCommandParams = new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierCapabilitiesAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster).readBarrierCapabilitiesAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierCapabilitiesCommandParams + ); + readBarrierControlInteractionInfo.put("readBarrierCapabilitiesAttribute", readBarrierControlBarrierCapabilitiesAttributeInteractionInfo); + Map readBarrierControlBarrierOpenEventsCommandParams = new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierOpenEventsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster).readBarrierOpenEventsAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierOpenEventsCommandParams + ); + readBarrierControlInteractionInfo.put("readBarrierOpenEventsAttribute", readBarrierControlBarrierOpenEventsAttributeInteractionInfo); + Map readBarrierControlBarrierCloseEventsCommandParams = new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierCloseEventsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster).readBarrierCloseEventsAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierCloseEventsCommandParams + ); + readBarrierControlInteractionInfo.put("readBarrierCloseEventsAttribute", readBarrierControlBarrierCloseEventsAttributeInteractionInfo); + Map readBarrierControlBarrierCommandOpenEventsCommandParams = new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierCommandOpenEventsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster).readBarrierCommandOpenEventsAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierCommandOpenEventsCommandParams + ); + readBarrierControlInteractionInfo.put("readBarrierCommandOpenEventsAttribute", readBarrierControlBarrierCommandOpenEventsAttributeInteractionInfo); + Map readBarrierControlBarrierCommandCloseEventsCommandParams = new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierCommandCloseEventsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster).readBarrierCommandCloseEventsAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierCommandCloseEventsCommandParams + ); + readBarrierControlInteractionInfo.put("readBarrierCommandCloseEventsAttribute", readBarrierControlBarrierCommandCloseEventsAttributeInteractionInfo); + Map readBarrierControlBarrierOpenPeriodCommandParams = new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierOpenPeriodAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster).readBarrierOpenPeriodAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierOpenPeriodCommandParams + ); + readBarrierControlInteractionInfo.put("readBarrierOpenPeriodAttribute", readBarrierControlBarrierOpenPeriodAttributeInteractionInfo); + Map readBarrierControlBarrierClosePeriodCommandParams = new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierClosePeriodAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster).readBarrierClosePeriodAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierClosePeriodCommandParams + ); + readBarrierControlInteractionInfo.put("readBarrierClosePeriodAttribute", readBarrierControlBarrierClosePeriodAttributeInteractionInfo); + Map readBarrierControlBarrierPositionCommandParams = new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierPositionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster).readBarrierPositionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierPositionCommandParams + ); + readBarrierControlInteractionInfo.put("readBarrierPositionAttribute", readBarrierControlBarrierPositionAttributeInteractionInfo); + Map readBarrierControlGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readBarrierControlGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.BarrierControlCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBarrierControlClusterGeneratedCommandListAttributeCallback(), + readBarrierControlGeneratedCommandListCommandParams + ); + readBarrierControlInteractionInfo.put("readGeneratedCommandListAttribute", readBarrierControlGeneratedCommandListAttributeInteractionInfo); + Map readBarrierControlAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readBarrierControlAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.BarrierControlCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBarrierControlClusterAcceptedCommandListAttributeCallback(), + readBarrierControlAcceptedCommandListCommandParams + ); + readBarrierControlInteractionInfo.put("readAcceptedCommandListAttribute", readBarrierControlAcceptedCommandListAttributeInteractionInfo); + Map readBarrierControlEventListCommandParams = new LinkedHashMap(); + InteractionInfo readBarrierControlEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster).readEventListAttribute( + ( ChipClusters.BarrierControlCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBarrierControlClusterEventListAttributeCallback(), - readBarrierControlEventListCommandParams); - readBarrierControlInteractionInfo.put( - "readEventListAttribute", readBarrierControlEventListAttributeInteractionInfo); - Map readBarrierControlAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readBarrierControlAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.BarrierControlCluster.AttributeListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBarrierControlClusterAttributeListAttributeCallback(), - readBarrierControlAttributeListCommandParams); - readBarrierControlInteractionInfo.put( - "readAttributeListAttribute", readBarrierControlAttributeListAttributeInteractionInfo); - Map readBarrierControlFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readBarrierControlFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readBarrierControlFeatureMapCommandParams); - readBarrierControlInteractionInfo.put( - "readFeatureMapAttribute", readBarrierControlFeatureMapAttributeInteractionInfo); - Map readBarrierControlClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readBarrierControlClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBarrierControlClusterRevisionCommandParams); - readBarrierControlInteractionInfo.put( - "readClusterRevisionAttribute", readBarrierControlClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("barrierControl", readBarrierControlInteractionInfo); - Map readPumpConfigurationAndControlInteractionInfo = - new LinkedHashMap<>(); - Map readPumpConfigurationAndControlMaxPressureCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxPressureAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMaxPressureAttribute( - (ChipClusters.PumpConfigurationAndControlCluster.MaxPressureAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPumpConfigurationAndControlClusterMaxPressureAttributeCallback(), - readPumpConfigurationAndControlMaxPressureCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMaxPressureAttribute", - readPumpConfigurationAndControlMaxPressureAttributeInteractionInfo); - Map readPumpConfigurationAndControlMaxSpeedCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxSpeedAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMaxSpeedAttribute( - (ChipClusters.PumpConfigurationAndControlCluster.MaxSpeedAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPumpConfigurationAndControlClusterMaxSpeedAttributeCallback(), - readPumpConfigurationAndControlMaxSpeedCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMaxSpeedAttribute", readPumpConfigurationAndControlMaxSpeedAttributeInteractionInfo); - Map readPumpConfigurationAndControlMaxFlowCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxFlowAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMaxFlowAttribute( - (ChipClusters.PumpConfigurationAndControlCluster.MaxFlowAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPumpConfigurationAndControlClusterMaxFlowAttributeCallback(), - readPumpConfigurationAndControlMaxFlowCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMaxFlowAttribute", readPumpConfigurationAndControlMaxFlowAttributeInteractionInfo); - Map readPumpConfigurationAndControlMinConstPressureCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMinConstPressureAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMinConstPressureAttribute( - (ChipClusters.PumpConfigurationAndControlCluster - .MinConstPressureAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPumpConfigurationAndControlClusterMinConstPressureAttributeCallback(), - readPumpConfigurationAndControlMinConstPressureCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMinConstPressureAttribute", - readPumpConfigurationAndControlMinConstPressureAttributeInteractionInfo); - Map readPumpConfigurationAndControlMaxConstPressureCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxConstPressureAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMaxConstPressureAttribute( - (ChipClusters.PumpConfigurationAndControlCluster - .MaxConstPressureAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPumpConfigurationAndControlClusterMaxConstPressureAttributeCallback(), - readPumpConfigurationAndControlMaxConstPressureCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMaxConstPressureAttribute", - readPumpConfigurationAndControlMaxConstPressureAttributeInteractionInfo); - Map readPumpConfigurationAndControlMinCompPressureCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMinCompPressureAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMinCompPressureAttribute( - (ChipClusters.PumpConfigurationAndControlCluster - .MinCompPressureAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPumpConfigurationAndControlClusterMinCompPressureAttributeCallback(), - readPumpConfigurationAndControlMinCompPressureCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMinCompPressureAttribute", - readPumpConfigurationAndControlMinCompPressureAttributeInteractionInfo); - Map readPumpConfigurationAndControlMaxCompPressureCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxCompPressureAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMaxCompPressureAttribute( - (ChipClusters.PumpConfigurationAndControlCluster - .MaxCompPressureAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPumpConfigurationAndControlClusterMaxCompPressureAttributeCallback(), - readPumpConfigurationAndControlMaxCompPressureCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMaxCompPressureAttribute", - readPumpConfigurationAndControlMaxCompPressureAttributeInteractionInfo); - Map readPumpConfigurationAndControlMinConstSpeedCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMinConstSpeedAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMinConstSpeedAttribute( - (ChipClusters.PumpConfigurationAndControlCluster - .MinConstSpeedAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPumpConfigurationAndControlClusterMinConstSpeedAttributeCallback(), - readPumpConfigurationAndControlMinConstSpeedCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMinConstSpeedAttribute", - readPumpConfigurationAndControlMinConstSpeedAttributeInteractionInfo); - Map readPumpConfigurationAndControlMaxConstSpeedCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxConstSpeedAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMaxConstSpeedAttribute( - (ChipClusters.PumpConfigurationAndControlCluster - .MaxConstSpeedAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPumpConfigurationAndControlClusterMaxConstSpeedAttributeCallback(), - readPumpConfigurationAndControlMaxConstSpeedCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMaxConstSpeedAttribute", - readPumpConfigurationAndControlMaxConstSpeedAttributeInteractionInfo); - Map readPumpConfigurationAndControlMinConstFlowCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMinConstFlowAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMinConstFlowAttribute( - (ChipClusters.PumpConfigurationAndControlCluster - .MinConstFlowAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPumpConfigurationAndControlClusterMinConstFlowAttributeCallback(), - readPumpConfigurationAndControlMinConstFlowCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMinConstFlowAttribute", - readPumpConfigurationAndControlMinConstFlowAttributeInteractionInfo); - Map readPumpConfigurationAndControlMaxConstFlowCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxConstFlowAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMaxConstFlowAttribute( - (ChipClusters.PumpConfigurationAndControlCluster - .MaxConstFlowAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPumpConfigurationAndControlClusterMaxConstFlowAttributeCallback(), - readPumpConfigurationAndControlMaxConstFlowCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMaxConstFlowAttribute", - readPumpConfigurationAndControlMaxConstFlowAttributeInteractionInfo); - Map readPumpConfigurationAndControlMinConstTempCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMinConstTempAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMinConstTempAttribute( - (ChipClusters.PumpConfigurationAndControlCluster - .MinConstTempAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPumpConfigurationAndControlClusterMinConstTempAttributeCallback(), - readPumpConfigurationAndControlMinConstTempCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMinConstTempAttribute", - readPumpConfigurationAndControlMinConstTempAttributeInteractionInfo); - Map readPumpConfigurationAndControlMaxConstTempCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxConstTempAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readMaxConstTempAttribute( - (ChipClusters.PumpConfigurationAndControlCluster - .MaxConstTempAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPumpConfigurationAndControlClusterMaxConstTempAttributeCallback(), - readPumpConfigurationAndControlMaxConstTempCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readMaxConstTempAttribute", - readPumpConfigurationAndControlMaxConstTempAttributeInteractionInfo); - Map readPumpConfigurationAndControlPumpStatusCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlPumpStatusAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readPumpStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlPumpStatusCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readPumpStatusAttribute", - readPumpConfigurationAndControlPumpStatusAttributeInteractionInfo); - Map - readPumpConfigurationAndControlEffectiveOperationModeCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlEffectiveOperationModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readEffectiveOperationModeAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlEffectiveOperationModeCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readEffectiveOperationModeAttribute", - readPumpConfigurationAndControlEffectiveOperationModeAttributeInteractionInfo); - Map - readPumpConfigurationAndControlEffectiveControlModeCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlEffectiveControlModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readEffectiveControlModeAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlEffectiveControlModeCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readEffectiveControlModeAttribute", - readPumpConfigurationAndControlEffectiveControlModeAttributeInteractionInfo); - Map readPumpConfigurationAndControlCapacityCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlCapacityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readCapacityAttribute( - (ChipClusters.PumpConfigurationAndControlCluster.CapacityAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPumpConfigurationAndControlClusterCapacityAttributeCallback(), - readPumpConfigurationAndControlCapacityCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readCapacityAttribute", readPumpConfigurationAndControlCapacityAttributeInteractionInfo); - Map readPumpConfigurationAndControlSpeedCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlSpeedAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readSpeedAttribute( - (ChipClusters.PumpConfigurationAndControlCluster.SpeedAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPumpConfigurationAndControlClusterSpeedAttributeCallback(), - readPumpConfigurationAndControlSpeedCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readSpeedAttribute", readPumpConfigurationAndControlSpeedAttributeInteractionInfo); - Map - readPumpConfigurationAndControlLifetimeRunningHoursCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlLifetimeRunningHoursAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readLifetimeRunningHoursAttribute( - (ChipClusters.PumpConfigurationAndControlCluster - .LifetimeRunningHoursAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPumpConfigurationAndControlClusterLifetimeRunningHoursAttributeCallback(), - readPumpConfigurationAndControlLifetimeRunningHoursCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readLifetimeRunningHoursAttribute", - readPumpConfigurationAndControlLifetimeRunningHoursAttributeInteractionInfo); - Map readPumpConfigurationAndControlPowerCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlPowerAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readPowerAttribute( - (ChipClusters.PumpConfigurationAndControlCluster.PowerAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPumpConfigurationAndControlClusterPowerAttributeCallback(), - readPumpConfigurationAndControlPowerCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readPowerAttribute", readPumpConfigurationAndControlPowerAttributeInteractionInfo); - Map - readPumpConfigurationAndControlLifetimeEnergyConsumedCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlLifetimeEnergyConsumedAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readLifetimeEnergyConsumedAttribute( - (ChipClusters.PumpConfigurationAndControlCluster - .LifetimeEnergyConsumedAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPumpConfigurationAndControlClusterLifetimeEnergyConsumedAttributeCallback(), - readPumpConfigurationAndControlLifetimeEnergyConsumedCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readLifetimeEnergyConsumedAttribute", - readPumpConfigurationAndControlLifetimeEnergyConsumedAttributeInteractionInfo); - Map readPumpConfigurationAndControlOperationModeCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlOperationModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readOperationModeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlOperationModeCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readOperationModeAttribute", - readPumpConfigurationAndControlOperationModeAttributeInteractionInfo); - Map readPumpConfigurationAndControlControlModeCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlControlModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readControlModeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlControlModeCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readControlModeAttribute", - readPumpConfigurationAndControlControlModeAttributeInteractionInfo); - Map - readPumpConfigurationAndControlGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.PumpConfigurationAndControlCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPumpConfigurationAndControlClusterGeneratedCommandListAttributeCallback(), - readPumpConfigurationAndControlGeneratedCommandListCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readGeneratedCommandListAttribute", - readPumpConfigurationAndControlGeneratedCommandListAttributeInteractionInfo); - Map - readPumpConfigurationAndControlAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.PumpConfigurationAndControlCluster - .AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPumpConfigurationAndControlClusterAcceptedCommandListAttributeCallback(), - readPumpConfigurationAndControlAcceptedCommandListCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readAcceptedCommandListAttribute", - readPumpConfigurationAndControlAcceptedCommandListAttributeInteractionInfo); - Map readPumpConfigurationAndControlEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readEventListAttribute( - (ChipClusters.PumpConfigurationAndControlCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPumpConfigurationAndControlClusterEventListAttributeCallback(), - readPumpConfigurationAndControlEventListCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readEventListAttribute", readPumpConfigurationAndControlEventListAttributeInteractionInfo); - Map readPumpConfigurationAndControlAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.PumpConfigurationAndControlCluster - .AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPumpConfigurationAndControlClusterAttributeListAttributeCallback(), - readPumpConfigurationAndControlAttributeListCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readAttributeListAttribute", - readPumpConfigurationAndControlAttributeListAttributeInteractionInfo); - Map readPumpConfigurationAndControlFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readPumpConfigurationAndControlFeatureMapCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readFeatureMapAttribute", - readPumpConfigurationAndControlFeatureMapAttributeInteractionInfo); - Map readPumpConfigurationAndControlClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlClusterRevisionCommandParams); - readPumpConfigurationAndControlInteractionInfo.put( - "readClusterRevisionAttribute", - readPumpConfigurationAndControlClusterRevisionAttributeInteractionInfo); - readAttributeMap.put( - "pumpConfigurationAndControl", readPumpConfigurationAndControlInteractionInfo); - Map readThermostatInteractionInfo = new LinkedHashMap<>(); - Map readThermostatLocalTemperatureCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatLocalTemperatureAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readLocalTemperatureAttribute( - (ChipClusters.ThermostatCluster.LocalTemperatureAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThermostatClusterLocalTemperatureAttributeCallback(), - readThermostatLocalTemperatureCommandParams); - readThermostatInteractionInfo.put( - "readLocalTemperatureAttribute", readThermostatLocalTemperatureAttributeInteractionInfo); - Map readThermostatOutdoorTemperatureCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatOutdoorTemperatureAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readOutdoorTemperatureAttribute( - (ChipClusters.ThermostatCluster.OutdoorTemperatureAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThermostatClusterOutdoorTemperatureAttributeCallback(), - readThermostatOutdoorTemperatureCommandParams); - readThermostatInteractionInfo.put( - "readOutdoorTemperatureAttribute", - readThermostatOutdoorTemperatureAttributeInteractionInfo); - Map readThermostatOccupancyCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatOccupancyAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readOccupancyAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatOccupancyCommandParams); - readThermostatInteractionInfo.put( - "readOccupancyAttribute", readThermostatOccupancyAttributeInteractionInfo); - Map readThermostatAbsMinHeatSetpointLimitCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatAbsMinHeatSetpointLimitAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readAbsMinHeatSetpointLimitAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatAbsMinHeatSetpointLimitCommandParams); - readThermostatInteractionInfo.put( - "readAbsMinHeatSetpointLimitAttribute", - readThermostatAbsMinHeatSetpointLimitAttributeInteractionInfo); - Map readThermostatAbsMaxHeatSetpointLimitCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatAbsMaxHeatSetpointLimitAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readAbsMaxHeatSetpointLimitAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatAbsMaxHeatSetpointLimitCommandParams); - readThermostatInteractionInfo.put( - "readAbsMaxHeatSetpointLimitAttribute", - readThermostatAbsMaxHeatSetpointLimitAttributeInteractionInfo); - Map readThermostatAbsMinCoolSetpointLimitCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatAbsMinCoolSetpointLimitAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readAbsMinCoolSetpointLimitAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatAbsMinCoolSetpointLimitCommandParams); - readThermostatInteractionInfo.put( - "readAbsMinCoolSetpointLimitAttribute", - readThermostatAbsMinCoolSetpointLimitAttributeInteractionInfo); - Map readThermostatAbsMaxCoolSetpointLimitCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatAbsMaxCoolSetpointLimitAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readAbsMaxCoolSetpointLimitAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatAbsMaxCoolSetpointLimitCommandParams); - readThermostatInteractionInfo.put( - "readAbsMaxCoolSetpointLimitAttribute", - readThermostatAbsMaxCoolSetpointLimitAttributeInteractionInfo); - Map readThermostatPICoolingDemandCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatPICoolingDemandAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readPICoolingDemandAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatPICoolingDemandCommandParams); - readThermostatInteractionInfo.put( - "readPICoolingDemandAttribute", readThermostatPICoolingDemandAttributeInteractionInfo); - Map readThermostatPIHeatingDemandCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatPIHeatingDemandAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readPIHeatingDemandAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatPIHeatingDemandCommandParams); - readThermostatInteractionInfo.put( - "readPIHeatingDemandAttribute", readThermostatPIHeatingDemandAttributeInteractionInfo); - Map readThermostatHVACSystemTypeConfigurationCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatHVACSystemTypeConfigurationAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readHVACSystemTypeConfigurationAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatHVACSystemTypeConfigurationCommandParams); - readThermostatInteractionInfo.put( - "readHVACSystemTypeConfigurationAttribute", - readThermostatHVACSystemTypeConfigurationAttributeInteractionInfo); - Map readThermostatLocalTemperatureCalibrationCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatLocalTemperatureCalibrationAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readLocalTemperatureCalibrationAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatLocalTemperatureCalibrationCommandParams); - readThermostatInteractionInfo.put( - "readLocalTemperatureCalibrationAttribute", - readThermostatLocalTemperatureCalibrationAttributeInteractionInfo); - Map readThermostatOccupiedCoolingSetpointCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatOccupiedCoolingSetpointAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readOccupiedCoolingSetpointAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatOccupiedCoolingSetpointCommandParams); - readThermostatInteractionInfo.put( - "readOccupiedCoolingSetpointAttribute", - readThermostatOccupiedCoolingSetpointAttributeInteractionInfo); - Map readThermostatOccupiedHeatingSetpointCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatOccupiedHeatingSetpointAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readOccupiedHeatingSetpointAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatOccupiedHeatingSetpointCommandParams); - readThermostatInteractionInfo.put( - "readOccupiedHeatingSetpointAttribute", - readThermostatOccupiedHeatingSetpointAttributeInteractionInfo); - Map readThermostatUnoccupiedCoolingSetpointCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatUnoccupiedCoolingSetpointAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readUnoccupiedCoolingSetpointAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatUnoccupiedCoolingSetpointCommandParams); - readThermostatInteractionInfo.put( - "readUnoccupiedCoolingSetpointAttribute", - readThermostatUnoccupiedCoolingSetpointAttributeInteractionInfo); - Map readThermostatUnoccupiedHeatingSetpointCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatUnoccupiedHeatingSetpointAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readUnoccupiedHeatingSetpointAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatUnoccupiedHeatingSetpointCommandParams); - readThermostatInteractionInfo.put( - "readUnoccupiedHeatingSetpointAttribute", - readThermostatUnoccupiedHeatingSetpointAttributeInteractionInfo); - Map readThermostatMinHeatSetpointLimitCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatMinHeatSetpointLimitAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readMinHeatSetpointLimitAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatMinHeatSetpointLimitCommandParams); - readThermostatInteractionInfo.put( - "readMinHeatSetpointLimitAttribute", - readThermostatMinHeatSetpointLimitAttributeInteractionInfo); - Map readThermostatMaxHeatSetpointLimitCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatMaxHeatSetpointLimitAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readMaxHeatSetpointLimitAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatMaxHeatSetpointLimitCommandParams); - readThermostatInteractionInfo.put( - "readMaxHeatSetpointLimitAttribute", - readThermostatMaxHeatSetpointLimitAttributeInteractionInfo); - Map readThermostatMinCoolSetpointLimitCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatMinCoolSetpointLimitAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readMinCoolSetpointLimitAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatMinCoolSetpointLimitCommandParams); - readThermostatInteractionInfo.put( - "readMinCoolSetpointLimitAttribute", - readThermostatMinCoolSetpointLimitAttributeInteractionInfo); - Map readThermostatMaxCoolSetpointLimitCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatMaxCoolSetpointLimitAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readMaxCoolSetpointLimitAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatMaxCoolSetpointLimitCommandParams); - readThermostatInteractionInfo.put( - "readMaxCoolSetpointLimitAttribute", - readThermostatMaxCoolSetpointLimitAttributeInteractionInfo); - Map readThermostatMinSetpointDeadBandCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatMinSetpointDeadBandAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readMinSetpointDeadBandAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatMinSetpointDeadBandCommandParams); - readThermostatInteractionInfo.put( - "readMinSetpointDeadBandAttribute", - readThermostatMinSetpointDeadBandAttributeInteractionInfo); - Map readThermostatRemoteSensingCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatRemoteSensingAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readRemoteSensingAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatRemoteSensingCommandParams); - readThermostatInteractionInfo.put( - "readRemoteSensingAttribute", readThermostatRemoteSensingAttributeInteractionInfo); - Map readThermostatControlSequenceOfOperationCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatControlSequenceOfOperationAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readControlSequenceOfOperationAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatControlSequenceOfOperationCommandParams); - readThermostatInteractionInfo.put( - "readControlSequenceOfOperationAttribute", - readThermostatControlSequenceOfOperationAttributeInteractionInfo); - Map readThermostatSystemModeCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatSystemModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readSystemModeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatSystemModeCommandParams); - readThermostatInteractionInfo.put( - "readSystemModeAttribute", readThermostatSystemModeAttributeInteractionInfo); - Map readThermostatThermostatRunningModeCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatThermostatRunningModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readThermostatRunningModeAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatThermostatRunningModeCommandParams); - readThermostatInteractionInfo.put( - "readThermostatRunningModeAttribute", - readThermostatThermostatRunningModeAttributeInteractionInfo); - Map readThermostatStartOfWeekCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatStartOfWeekAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readStartOfWeekAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatStartOfWeekCommandParams); - readThermostatInteractionInfo.put( - "readStartOfWeekAttribute", readThermostatStartOfWeekAttributeInteractionInfo); - Map readThermostatNumberOfWeeklyTransitionsCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatNumberOfWeeklyTransitionsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readNumberOfWeeklyTransitionsAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatNumberOfWeeklyTransitionsCommandParams); - readThermostatInteractionInfo.put( - "readNumberOfWeeklyTransitionsAttribute", - readThermostatNumberOfWeeklyTransitionsAttributeInteractionInfo); - Map readThermostatNumberOfDailyTransitionsCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatNumberOfDailyTransitionsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readNumberOfDailyTransitionsAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatNumberOfDailyTransitionsCommandParams); - readThermostatInteractionInfo.put( - "readNumberOfDailyTransitionsAttribute", - readThermostatNumberOfDailyTransitionsAttributeInteractionInfo); - Map readThermostatTemperatureSetpointHoldCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatTemperatureSetpointHoldAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readTemperatureSetpointHoldAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatTemperatureSetpointHoldCommandParams); - readThermostatInteractionInfo.put( - "readTemperatureSetpointHoldAttribute", - readThermostatTemperatureSetpointHoldAttributeInteractionInfo); - Map readThermostatTemperatureSetpointHoldDurationCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatTemperatureSetpointHoldDurationAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readTemperatureSetpointHoldDurationAttribute( - (ChipClusters.ThermostatCluster - .TemperatureSetpointHoldDurationAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThermostatClusterTemperatureSetpointHoldDurationAttributeCallback(), - readThermostatTemperatureSetpointHoldDurationCommandParams); - readThermostatInteractionInfo.put( - "readTemperatureSetpointHoldDurationAttribute", - readThermostatTemperatureSetpointHoldDurationAttributeInteractionInfo); - Map - readThermostatThermostatProgrammingOperationModeCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatThermostatProgrammingOperationModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readThermostatProgrammingOperationModeAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatThermostatProgrammingOperationModeCommandParams); - readThermostatInteractionInfo.put( - "readThermostatProgrammingOperationModeAttribute", - readThermostatThermostatProgrammingOperationModeAttributeInteractionInfo); - Map readThermostatThermostatRunningStateCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatThermostatRunningStateAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readThermostatRunningStateAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatThermostatRunningStateCommandParams); - readThermostatInteractionInfo.put( - "readThermostatRunningStateAttribute", - readThermostatThermostatRunningStateAttributeInteractionInfo); - Map readThermostatSetpointChangeSourceCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatSetpointChangeSourceAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readSetpointChangeSourceAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatSetpointChangeSourceCommandParams); - readThermostatInteractionInfo.put( - "readSetpointChangeSourceAttribute", - readThermostatSetpointChangeSourceAttributeInteractionInfo); - Map readThermostatSetpointChangeAmountCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatSetpointChangeAmountAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readSetpointChangeAmountAttribute( - (ChipClusters.ThermostatCluster.SetpointChangeAmountAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThermostatClusterSetpointChangeAmountAttributeCallback(), - readThermostatSetpointChangeAmountCommandParams); - readThermostatInteractionInfo.put( - "readSetpointChangeAmountAttribute", - readThermostatSetpointChangeAmountAttributeInteractionInfo); - Map readThermostatSetpointChangeSourceTimestampCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatSetpointChangeSourceTimestampAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readSetpointChangeSourceTimestampAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThermostatSetpointChangeSourceTimestampCommandParams); - readThermostatInteractionInfo.put( - "readSetpointChangeSourceTimestampAttribute", - readThermostatSetpointChangeSourceTimestampAttributeInteractionInfo); - Map readThermostatOccupiedSetbackCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatOccupiedSetbackAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readOccupiedSetbackAttribute( - (ChipClusters.ThermostatCluster.OccupiedSetbackAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedThermostatClusterOccupiedSetbackAttributeCallback(), - readThermostatOccupiedSetbackCommandParams); - readThermostatInteractionInfo.put( - "readOccupiedSetbackAttribute", readThermostatOccupiedSetbackAttributeInteractionInfo); - Map readThermostatOccupiedSetbackMinCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatOccupiedSetbackMinAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readOccupiedSetbackMinAttribute( - (ChipClusters.ThermostatCluster.OccupiedSetbackMinAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThermostatClusterOccupiedSetbackMinAttributeCallback(), - readThermostatOccupiedSetbackMinCommandParams); - readThermostatInteractionInfo.put( - "readOccupiedSetbackMinAttribute", - readThermostatOccupiedSetbackMinAttributeInteractionInfo); - Map readThermostatOccupiedSetbackMaxCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatOccupiedSetbackMaxAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readOccupiedSetbackMaxAttribute( - (ChipClusters.ThermostatCluster.OccupiedSetbackMaxAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThermostatClusterOccupiedSetbackMaxAttributeCallback(), - readThermostatOccupiedSetbackMaxCommandParams); - readThermostatInteractionInfo.put( - "readOccupiedSetbackMaxAttribute", - readThermostatOccupiedSetbackMaxAttributeInteractionInfo); - Map readThermostatUnoccupiedSetbackCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatUnoccupiedSetbackAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readUnoccupiedSetbackAttribute( - (ChipClusters.ThermostatCluster.UnoccupiedSetbackAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThermostatClusterUnoccupiedSetbackAttributeCallback(), - readThermostatUnoccupiedSetbackCommandParams); - readThermostatInteractionInfo.put( - "readUnoccupiedSetbackAttribute", readThermostatUnoccupiedSetbackAttributeInteractionInfo); - Map readThermostatUnoccupiedSetbackMinCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatUnoccupiedSetbackMinAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readUnoccupiedSetbackMinAttribute( - (ChipClusters.ThermostatCluster.UnoccupiedSetbackMinAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThermostatClusterUnoccupiedSetbackMinAttributeCallback(), - readThermostatUnoccupiedSetbackMinCommandParams); - readThermostatInteractionInfo.put( - "readUnoccupiedSetbackMinAttribute", - readThermostatUnoccupiedSetbackMinAttributeInteractionInfo); - Map readThermostatUnoccupiedSetbackMaxCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatUnoccupiedSetbackMaxAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readUnoccupiedSetbackMaxAttribute( - (ChipClusters.ThermostatCluster.UnoccupiedSetbackMaxAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThermostatClusterUnoccupiedSetbackMaxAttributeCallback(), - readThermostatUnoccupiedSetbackMaxCommandParams); - readThermostatInteractionInfo.put( - "readUnoccupiedSetbackMaxAttribute", - readThermostatUnoccupiedSetbackMaxAttributeInteractionInfo); - Map readThermostatEmergencyHeatDeltaCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatEmergencyHeatDeltaAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readEmergencyHeatDeltaAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatEmergencyHeatDeltaCommandParams); - readThermostatInteractionInfo.put( - "readEmergencyHeatDeltaAttribute", - readThermostatEmergencyHeatDeltaAttributeInteractionInfo); - Map readThermostatACTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatACTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readACTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatACTypeCommandParams); - readThermostatInteractionInfo.put( - "readACTypeAttribute", readThermostatACTypeAttributeInteractionInfo); - Map readThermostatACCapacityCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatACCapacityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readACCapacityAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatACCapacityCommandParams); - readThermostatInteractionInfo.put( - "readACCapacityAttribute", readThermostatACCapacityAttributeInteractionInfo); - Map readThermostatACRefrigerantTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatACRefrigerantTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readACRefrigerantTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatACRefrigerantTypeCommandParams); - readThermostatInteractionInfo.put( - "readACRefrigerantTypeAttribute", readThermostatACRefrigerantTypeAttributeInteractionInfo); - Map readThermostatACCompressorTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatACCompressorTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readACCompressorTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatACCompressorTypeCommandParams); - readThermostatInteractionInfo.put( - "readACCompressorTypeAttribute", readThermostatACCompressorTypeAttributeInteractionInfo); - Map readThermostatACErrorCodeCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatACErrorCodeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readACErrorCodeAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThermostatACErrorCodeCommandParams); - readThermostatInteractionInfo.put( - "readACErrorCodeAttribute", readThermostatACErrorCodeAttributeInteractionInfo); - Map readThermostatACLouverPositionCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatACLouverPositionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readACLouverPositionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatACLouverPositionCommandParams); - readThermostatInteractionInfo.put( - "readACLouverPositionAttribute", readThermostatACLouverPositionAttributeInteractionInfo); - Map readThermostatACCoilTemperatureCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatACCoilTemperatureAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readACCoilTemperatureAttribute( - (ChipClusters.ThermostatCluster.ACCoilTemperatureAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThermostatClusterACCoilTemperatureAttributeCallback(), - readThermostatACCoilTemperatureCommandParams); - readThermostatInteractionInfo.put( - "readACCoilTemperatureAttribute", readThermostatACCoilTemperatureAttributeInteractionInfo); - Map readThermostatACCapacityformatCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatACCapacityformatAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readACCapacityformatAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatACCapacityformatCommandParams); - readThermostatInteractionInfo.put( - "readACCapacityformatAttribute", readThermostatACCapacityformatAttributeInteractionInfo); - Map readThermostatGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.ThermostatCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThermostatClusterGeneratedCommandListAttributeCallback(), - readThermostatGeneratedCommandListCommandParams); - readThermostatInteractionInfo.put( - "readGeneratedCommandListAttribute", - readThermostatGeneratedCommandListAttributeInteractionInfo); - Map readThermostatAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.ThermostatCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThermostatClusterAcceptedCommandListAttributeCallback(), - readThermostatAcceptedCommandListCommandParams); - readThermostatInteractionInfo.put( - "readAcceptedCommandListAttribute", - readThermostatAcceptedCommandListAttributeInteractionInfo); - Map readThermostatEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readEventListAttribute( - (ChipClusters.ThermostatCluster.EventListAttributeCallback) callback); - }, + readBarrierControlEventListCommandParams + ); + readBarrierControlInteractionInfo.put("readEventListAttribute", readBarrierControlEventListAttributeInteractionInfo); + Map readBarrierControlAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readBarrierControlAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster).readAttributeListAttribute( + ( ChipClusters.BarrierControlCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBarrierControlClusterAttributeListAttributeCallback(), + readBarrierControlAttributeListCommandParams + ); + readBarrierControlInteractionInfo.put("readAttributeListAttribute", readBarrierControlAttributeListAttributeInteractionInfo); + Map readBarrierControlFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readBarrierControlFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readBarrierControlFeatureMapCommandParams + ); + readBarrierControlInteractionInfo.put("readFeatureMapAttribute", readBarrierControlFeatureMapAttributeInteractionInfo); + Map readBarrierControlClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readBarrierControlClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlClusterRevisionCommandParams + ); + readBarrierControlInteractionInfo.put("readClusterRevisionAttribute", readBarrierControlClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("barrierControl", readBarrierControlInteractionInfo); + Map readPumpConfigurationAndControlInteractionInfo = new LinkedHashMap<>(); + Map readPumpConfigurationAndControlMaxPressureCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxPressureAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMaxPressureAttribute( + ( ChipClusters.PumpConfigurationAndControlCluster.MaxPressureAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMaxPressureAttributeCallback(), + readPumpConfigurationAndControlMaxPressureCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readMaxPressureAttribute", readPumpConfigurationAndControlMaxPressureAttributeInteractionInfo); + Map readPumpConfigurationAndControlMaxSpeedCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxSpeedAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMaxSpeedAttribute( + ( ChipClusters.PumpConfigurationAndControlCluster.MaxSpeedAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMaxSpeedAttributeCallback(), + readPumpConfigurationAndControlMaxSpeedCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readMaxSpeedAttribute", readPumpConfigurationAndControlMaxSpeedAttributeInteractionInfo); + Map readPumpConfigurationAndControlMaxFlowCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxFlowAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMaxFlowAttribute( + ( ChipClusters.PumpConfigurationAndControlCluster.MaxFlowAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMaxFlowAttributeCallback(), + readPumpConfigurationAndControlMaxFlowCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readMaxFlowAttribute", readPumpConfigurationAndControlMaxFlowAttributeInteractionInfo); + Map readPumpConfigurationAndControlMinConstPressureCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMinConstPressureAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMinConstPressureAttribute( + ( ChipClusters.PumpConfigurationAndControlCluster.MinConstPressureAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMinConstPressureAttributeCallback(), + readPumpConfigurationAndControlMinConstPressureCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readMinConstPressureAttribute", readPumpConfigurationAndControlMinConstPressureAttributeInteractionInfo); + Map readPumpConfigurationAndControlMaxConstPressureCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxConstPressureAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMaxConstPressureAttribute( + ( ChipClusters.PumpConfigurationAndControlCluster.MaxConstPressureAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMaxConstPressureAttributeCallback(), + readPumpConfigurationAndControlMaxConstPressureCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readMaxConstPressureAttribute", readPumpConfigurationAndControlMaxConstPressureAttributeInteractionInfo); + Map readPumpConfigurationAndControlMinCompPressureCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMinCompPressureAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMinCompPressureAttribute( + ( ChipClusters.PumpConfigurationAndControlCluster.MinCompPressureAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMinCompPressureAttributeCallback(), + readPumpConfigurationAndControlMinCompPressureCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readMinCompPressureAttribute", readPumpConfigurationAndControlMinCompPressureAttributeInteractionInfo); + Map readPumpConfigurationAndControlMaxCompPressureCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxCompPressureAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMaxCompPressureAttribute( + ( ChipClusters.PumpConfigurationAndControlCluster.MaxCompPressureAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMaxCompPressureAttributeCallback(), + readPumpConfigurationAndControlMaxCompPressureCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readMaxCompPressureAttribute", readPumpConfigurationAndControlMaxCompPressureAttributeInteractionInfo); + Map readPumpConfigurationAndControlMinConstSpeedCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMinConstSpeedAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMinConstSpeedAttribute( + ( ChipClusters.PumpConfigurationAndControlCluster.MinConstSpeedAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMinConstSpeedAttributeCallback(), + readPumpConfigurationAndControlMinConstSpeedCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readMinConstSpeedAttribute", readPumpConfigurationAndControlMinConstSpeedAttributeInteractionInfo); + Map readPumpConfigurationAndControlMaxConstSpeedCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxConstSpeedAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMaxConstSpeedAttribute( + ( ChipClusters.PumpConfigurationAndControlCluster.MaxConstSpeedAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMaxConstSpeedAttributeCallback(), + readPumpConfigurationAndControlMaxConstSpeedCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readMaxConstSpeedAttribute", readPumpConfigurationAndControlMaxConstSpeedAttributeInteractionInfo); + Map readPumpConfigurationAndControlMinConstFlowCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMinConstFlowAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMinConstFlowAttribute( + ( ChipClusters.PumpConfigurationAndControlCluster.MinConstFlowAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMinConstFlowAttributeCallback(), + readPumpConfigurationAndControlMinConstFlowCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readMinConstFlowAttribute", readPumpConfigurationAndControlMinConstFlowAttributeInteractionInfo); + Map readPumpConfigurationAndControlMaxConstFlowCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxConstFlowAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMaxConstFlowAttribute( + ( ChipClusters.PumpConfigurationAndControlCluster.MaxConstFlowAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMaxConstFlowAttributeCallback(), + readPumpConfigurationAndControlMaxConstFlowCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readMaxConstFlowAttribute", readPumpConfigurationAndControlMaxConstFlowAttributeInteractionInfo); + Map readPumpConfigurationAndControlMinConstTempCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMinConstTempAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMinConstTempAttribute( + ( ChipClusters.PumpConfigurationAndControlCluster.MinConstTempAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMinConstTempAttributeCallback(), + readPumpConfigurationAndControlMinConstTempCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readMinConstTempAttribute", readPumpConfigurationAndControlMinConstTempAttributeInteractionInfo); + Map readPumpConfigurationAndControlMaxConstTempCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxConstTempAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMaxConstTempAttribute( + ( ChipClusters.PumpConfigurationAndControlCluster.MaxConstTempAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMaxConstTempAttributeCallback(), + readPumpConfigurationAndControlMaxConstTempCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readMaxConstTempAttribute", readPumpConfigurationAndControlMaxConstTempAttributeInteractionInfo); + Map readPumpConfigurationAndControlPumpStatusCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlPumpStatusAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readPumpStatusAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlPumpStatusCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readPumpStatusAttribute", readPumpConfigurationAndControlPumpStatusAttributeInteractionInfo); + Map readPumpConfigurationAndControlEffectiveOperationModeCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlEffectiveOperationModeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readEffectiveOperationModeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlEffectiveOperationModeCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readEffectiveOperationModeAttribute", readPumpConfigurationAndControlEffectiveOperationModeAttributeInteractionInfo); + Map readPumpConfigurationAndControlEffectiveControlModeCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlEffectiveControlModeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readEffectiveControlModeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlEffectiveControlModeCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readEffectiveControlModeAttribute", readPumpConfigurationAndControlEffectiveControlModeAttributeInteractionInfo); + Map readPumpConfigurationAndControlCapacityCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlCapacityAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readCapacityAttribute( + ( ChipClusters.PumpConfigurationAndControlCluster.CapacityAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterCapacityAttributeCallback(), + readPumpConfigurationAndControlCapacityCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readCapacityAttribute", readPumpConfigurationAndControlCapacityAttributeInteractionInfo); + Map readPumpConfigurationAndControlSpeedCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlSpeedAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readSpeedAttribute( + ( ChipClusters.PumpConfigurationAndControlCluster.SpeedAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterSpeedAttributeCallback(), + readPumpConfigurationAndControlSpeedCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readSpeedAttribute", readPumpConfigurationAndControlSpeedAttributeInteractionInfo); + Map readPumpConfigurationAndControlLifetimeRunningHoursCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlLifetimeRunningHoursAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readLifetimeRunningHoursAttribute( + ( ChipClusters.PumpConfigurationAndControlCluster.LifetimeRunningHoursAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterLifetimeRunningHoursAttributeCallback(), + readPumpConfigurationAndControlLifetimeRunningHoursCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readLifetimeRunningHoursAttribute", readPumpConfigurationAndControlLifetimeRunningHoursAttributeInteractionInfo); + Map readPumpConfigurationAndControlPowerCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlPowerAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readPowerAttribute( + ( ChipClusters.PumpConfigurationAndControlCluster.PowerAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterPowerAttributeCallback(), + readPumpConfigurationAndControlPowerCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readPowerAttribute", readPumpConfigurationAndControlPowerAttributeInteractionInfo); + Map readPumpConfigurationAndControlLifetimeEnergyConsumedCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlLifetimeEnergyConsumedAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readLifetimeEnergyConsumedAttribute( + ( ChipClusters.PumpConfigurationAndControlCluster.LifetimeEnergyConsumedAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterLifetimeEnergyConsumedAttributeCallback(), + readPumpConfigurationAndControlLifetimeEnergyConsumedCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readLifetimeEnergyConsumedAttribute", readPumpConfigurationAndControlLifetimeEnergyConsumedAttributeInteractionInfo); + Map readPumpConfigurationAndControlOperationModeCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlOperationModeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readOperationModeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlOperationModeCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readOperationModeAttribute", readPumpConfigurationAndControlOperationModeAttributeInteractionInfo); + Map readPumpConfigurationAndControlControlModeCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlControlModeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readControlModeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlControlModeCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readControlModeAttribute", readPumpConfigurationAndControlControlModeAttributeInteractionInfo); + Map readPumpConfigurationAndControlGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.PumpConfigurationAndControlCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterGeneratedCommandListAttributeCallback(), + readPumpConfigurationAndControlGeneratedCommandListCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readGeneratedCommandListAttribute", readPumpConfigurationAndControlGeneratedCommandListAttributeInteractionInfo); + Map readPumpConfigurationAndControlAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.PumpConfigurationAndControlCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterAcceptedCommandListAttributeCallback(), + readPumpConfigurationAndControlAcceptedCommandListCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readAcceptedCommandListAttribute", readPumpConfigurationAndControlAcceptedCommandListAttributeInteractionInfo); + Map readPumpConfigurationAndControlEventListCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readEventListAttribute( + ( ChipClusters.PumpConfigurationAndControlCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterEventListAttributeCallback(), + readPumpConfigurationAndControlEventListCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readEventListAttribute", readPumpConfigurationAndControlEventListAttributeInteractionInfo); + Map readPumpConfigurationAndControlAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readAttributeListAttribute( + ( ChipClusters.PumpConfigurationAndControlCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterAttributeListAttributeCallback(), + readPumpConfigurationAndControlAttributeListCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readAttributeListAttribute", readPumpConfigurationAndControlAttributeListAttributeInteractionInfo); + Map readPumpConfigurationAndControlFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readPumpConfigurationAndControlFeatureMapCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readFeatureMapAttribute", readPumpConfigurationAndControlFeatureMapAttributeInteractionInfo); + Map readPumpConfigurationAndControlClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlClusterRevisionCommandParams + ); + readPumpConfigurationAndControlInteractionInfo.put("readClusterRevisionAttribute", readPumpConfigurationAndControlClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("pumpConfigurationAndControl", readPumpConfigurationAndControlInteractionInfo); + Map readThermostatInteractionInfo = new LinkedHashMap<>(); + Map readThermostatLocalTemperatureCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatLocalTemperatureAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readLocalTemperatureAttribute( + ( ChipClusters.ThermostatCluster.LocalTemperatureAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThermostatClusterLocalTemperatureAttributeCallback(), + readThermostatLocalTemperatureCommandParams + ); + readThermostatInteractionInfo.put("readLocalTemperatureAttribute", readThermostatLocalTemperatureAttributeInteractionInfo); + Map readThermostatOutdoorTemperatureCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatOutdoorTemperatureAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readOutdoorTemperatureAttribute( + ( ChipClusters.ThermostatCluster.OutdoorTemperatureAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThermostatClusterOutdoorTemperatureAttributeCallback(), + readThermostatOutdoorTemperatureCommandParams + ); + readThermostatInteractionInfo.put("readOutdoorTemperatureAttribute", readThermostatOutdoorTemperatureAttributeInteractionInfo); + Map readThermostatOccupancyCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatOccupancyAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readOccupancyAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatOccupancyCommandParams + ); + readThermostatInteractionInfo.put("readOccupancyAttribute", readThermostatOccupancyAttributeInteractionInfo); + Map readThermostatAbsMinHeatSetpointLimitCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatAbsMinHeatSetpointLimitAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readAbsMinHeatSetpointLimitAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatAbsMinHeatSetpointLimitCommandParams + ); + readThermostatInteractionInfo.put("readAbsMinHeatSetpointLimitAttribute", readThermostatAbsMinHeatSetpointLimitAttributeInteractionInfo); + Map readThermostatAbsMaxHeatSetpointLimitCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatAbsMaxHeatSetpointLimitAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readAbsMaxHeatSetpointLimitAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatAbsMaxHeatSetpointLimitCommandParams + ); + readThermostatInteractionInfo.put("readAbsMaxHeatSetpointLimitAttribute", readThermostatAbsMaxHeatSetpointLimitAttributeInteractionInfo); + Map readThermostatAbsMinCoolSetpointLimitCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatAbsMinCoolSetpointLimitAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readAbsMinCoolSetpointLimitAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatAbsMinCoolSetpointLimitCommandParams + ); + readThermostatInteractionInfo.put("readAbsMinCoolSetpointLimitAttribute", readThermostatAbsMinCoolSetpointLimitAttributeInteractionInfo); + Map readThermostatAbsMaxCoolSetpointLimitCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatAbsMaxCoolSetpointLimitAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readAbsMaxCoolSetpointLimitAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatAbsMaxCoolSetpointLimitCommandParams + ); + readThermostatInteractionInfo.put("readAbsMaxCoolSetpointLimitAttribute", readThermostatAbsMaxCoolSetpointLimitAttributeInteractionInfo); + Map readThermostatPICoolingDemandCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatPICoolingDemandAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readPICoolingDemandAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatPICoolingDemandCommandParams + ); + readThermostatInteractionInfo.put("readPICoolingDemandAttribute", readThermostatPICoolingDemandAttributeInteractionInfo); + Map readThermostatPIHeatingDemandCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatPIHeatingDemandAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readPIHeatingDemandAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatPIHeatingDemandCommandParams + ); + readThermostatInteractionInfo.put("readPIHeatingDemandAttribute", readThermostatPIHeatingDemandAttributeInteractionInfo); + Map readThermostatHVACSystemTypeConfigurationCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatHVACSystemTypeConfigurationAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readHVACSystemTypeConfigurationAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatHVACSystemTypeConfigurationCommandParams + ); + readThermostatInteractionInfo.put("readHVACSystemTypeConfigurationAttribute", readThermostatHVACSystemTypeConfigurationAttributeInteractionInfo); + Map readThermostatLocalTemperatureCalibrationCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatLocalTemperatureCalibrationAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readLocalTemperatureCalibrationAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatLocalTemperatureCalibrationCommandParams + ); + readThermostatInteractionInfo.put("readLocalTemperatureCalibrationAttribute", readThermostatLocalTemperatureCalibrationAttributeInteractionInfo); + Map readThermostatOccupiedCoolingSetpointCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatOccupiedCoolingSetpointAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readOccupiedCoolingSetpointAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatOccupiedCoolingSetpointCommandParams + ); + readThermostatInteractionInfo.put("readOccupiedCoolingSetpointAttribute", readThermostatOccupiedCoolingSetpointAttributeInteractionInfo); + Map readThermostatOccupiedHeatingSetpointCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatOccupiedHeatingSetpointAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readOccupiedHeatingSetpointAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatOccupiedHeatingSetpointCommandParams + ); + readThermostatInteractionInfo.put("readOccupiedHeatingSetpointAttribute", readThermostatOccupiedHeatingSetpointAttributeInteractionInfo); + Map readThermostatUnoccupiedCoolingSetpointCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatUnoccupiedCoolingSetpointAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readUnoccupiedCoolingSetpointAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatUnoccupiedCoolingSetpointCommandParams + ); + readThermostatInteractionInfo.put("readUnoccupiedCoolingSetpointAttribute", readThermostatUnoccupiedCoolingSetpointAttributeInteractionInfo); + Map readThermostatUnoccupiedHeatingSetpointCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatUnoccupiedHeatingSetpointAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readUnoccupiedHeatingSetpointAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatUnoccupiedHeatingSetpointCommandParams + ); + readThermostatInteractionInfo.put("readUnoccupiedHeatingSetpointAttribute", readThermostatUnoccupiedHeatingSetpointAttributeInteractionInfo); + Map readThermostatMinHeatSetpointLimitCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatMinHeatSetpointLimitAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readMinHeatSetpointLimitAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatMinHeatSetpointLimitCommandParams + ); + readThermostatInteractionInfo.put("readMinHeatSetpointLimitAttribute", readThermostatMinHeatSetpointLimitAttributeInteractionInfo); + Map readThermostatMaxHeatSetpointLimitCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatMaxHeatSetpointLimitAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readMaxHeatSetpointLimitAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatMaxHeatSetpointLimitCommandParams + ); + readThermostatInteractionInfo.put("readMaxHeatSetpointLimitAttribute", readThermostatMaxHeatSetpointLimitAttributeInteractionInfo); + Map readThermostatMinCoolSetpointLimitCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatMinCoolSetpointLimitAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readMinCoolSetpointLimitAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatMinCoolSetpointLimitCommandParams + ); + readThermostatInteractionInfo.put("readMinCoolSetpointLimitAttribute", readThermostatMinCoolSetpointLimitAttributeInteractionInfo); + Map readThermostatMaxCoolSetpointLimitCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatMaxCoolSetpointLimitAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readMaxCoolSetpointLimitAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatMaxCoolSetpointLimitCommandParams + ); + readThermostatInteractionInfo.put("readMaxCoolSetpointLimitAttribute", readThermostatMaxCoolSetpointLimitAttributeInteractionInfo); + Map readThermostatMinSetpointDeadBandCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatMinSetpointDeadBandAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readMinSetpointDeadBandAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatMinSetpointDeadBandCommandParams + ); + readThermostatInteractionInfo.put("readMinSetpointDeadBandAttribute", readThermostatMinSetpointDeadBandAttributeInteractionInfo); + Map readThermostatRemoteSensingCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatRemoteSensingAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readRemoteSensingAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatRemoteSensingCommandParams + ); + readThermostatInteractionInfo.put("readRemoteSensingAttribute", readThermostatRemoteSensingAttributeInteractionInfo); + Map readThermostatControlSequenceOfOperationCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatControlSequenceOfOperationAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readControlSequenceOfOperationAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatControlSequenceOfOperationCommandParams + ); + readThermostatInteractionInfo.put("readControlSequenceOfOperationAttribute", readThermostatControlSequenceOfOperationAttributeInteractionInfo); + Map readThermostatSystemModeCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatSystemModeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readSystemModeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatSystemModeCommandParams + ); + readThermostatInteractionInfo.put("readSystemModeAttribute", readThermostatSystemModeAttributeInteractionInfo); + Map readThermostatThermostatRunningModeCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatThermostatRunningModeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readThermostatRunningModeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatThermostatRunningModeCommandParams + ); + readThermostatInteractionInfo.put("readThermostatRunningModeAttribute", readThermostatThermostatRunningModeAttributeInteractionInfo); + Map readThermostatStartOfWeekCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatStartOfWeekAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readStartOfWeekAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatStartOfWeekCommandParams + ); + readThermostatInteractionInfo.put("readStartOfWeekAttribute", readThermostatStartOfWeekAttributeInteractionInfo); + Map readThermostatNumberOfWeeklyTransitionsCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatNumberOfWeeklyTransitionsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readNumberOfWeeklyTransitionsAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatNumberOfWeeklyTransitionsCommandParams + ); + readThermostatInteractionInfo.put("readNumberOfWeeklyTransitionsAttribute", readThermostatNumberOfWeeklyTransitionsAttributeInteractionInfo); + Map readThermostatNumberOfDailyTransitionsCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatNumberOfDailyTransitionsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readNumberOfDailyTransitionsAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatNumberOfDailyTransitionsCommandParams + ); + readThermostatInteractionInfo.put("readNumberOfDailyTransitionsAttribute", readThermostatNumberOfDailyTransitionsAttributeInteractionInfo); + Map readThermostatTemperatureSetpointHoldCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatTemperatureSetpointHoldAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readTemperatureSetpointHoldAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatTemperatureSetpointHoldCommandParams + ); + readThermostatInteractionInfo.put("readTemperatureSetpointHoldAttribute", readThermostatTemperatureSetpointHoldAttributeInteractionInfo); + Map readThermostatTemperatureSetpointHoldDurationCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatTemperatureSetpointHoldDurationAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readTemperatureSetpointHoldDurationAttribute( + ( ChipClusters.ThermostatCluster.TemperatureSetpointHoldDurationAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThermostatClusterTemperatureSetpointHoldDurationAttributeCallback(), + readThermostatTemperatureSetpointHoldDurationCommandParams + ); + readThermostatInteractionInfo.put("readTemperatureSetpointHoldDurationAttribute", readThermostatTemperatureSetpointHoldDurationAttributeInteractionInfo); + Map readThermostatThermostatProgrammingOperationModeCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatThermostatProgrammingOperationModeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readThermostatProgrammingOperationModeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatThermostatProgrammingOperationModeCommandParams + ); + readThermostatInteractionInfo.put("readThermostatProgrammingOperationModeAttribute", readThermostatThermostatProgrammingOperationModeAttributeInteractionInfo); + Map readThermostatThermostatRunningStateCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatThermostatRunningStateAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readThermostatRunningStateAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatThermostatRunningStateCommandParams + ); + readThermostatInteractionInfo.put("readThermostatRunningStateAttribute", readThermostatThermostatRunningStateAttributeInteractionInfo); + Map readThermostatSetpointChangeSourceCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatSetpointChangeSourceAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readSetpointChangeSourceAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatSetpointChangeSourceCommandParams + ); + readThermostatInteractionInfo.put("readSetpointChangeSourceAttribute", readThermostatSetpointChangeSourceAttributeInteractionInfo); + Map readThermostatSetpointChangeAmountCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatSetpointChangeAmountAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readSetpointChangeAmountAttribute( + ( ChipClusters.ThermostatCluster.SetpointChangeAmountAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThermostatClusterSetpointChangeAmountAttributeCallback(), + readThermostatSetpointChangeAmountCommandParams + ); + readThermostatInteractionInfo.put("readSetpointChangeAmountAttribute", readThermostatSetpointChangeAmountAttributeInteractionInfo); + Map readThermostatSetpointChangeSourceTimestampCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatSetpointChangeSourceTimestampAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readSetpointChangeSourceTimestampAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThermostatSetpointChangeSourceTimestampCommandParams + ); + readThermostatInteractionInfo.put("readSetpointChangeSourceTimestampAttribute", readThermostatSetpointChangeSourceTimestampAttributeInteractionInfo); + Map readThermostatOccupiedSetbackCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatOccupiedSetbackAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readOccupiedSetbackAttribute( + ( ChipClusters.ThermostatCluster.OccupiedSetbackAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThermostatClusterOccupiedSetbackAttributeCallback(), + readThermostatOccupiedSetbackCommandParams + ); + readThermostatInteractionInfo.put("readOccupiedSetbackAttribute", readThermostatOccupiedSetbackAttributeInteractionInfo); + Map readThermostatOccupiedSetbackMinCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatOccupiedSetbackMinAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readOccupiedSetbackMinAttribute( + ( ChipClusters.ThermostatCluster.OccupiedSetbackMinAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThermostatClusterOccupiedSetbackMinAttributeCallback(), + readThermostatOccupiedSetbackMinCommandParams + ); + readThermostatInteractionInfo.put("readOccupiedSetbackMinAttribute", readThermostatOccupiedSetbackMinAttributeInteractionInfo); + Map readThermostatOccupiedSetbackMaxCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatOccupiedSetbackMaxAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readOccupiedSetbackMaxAttribute( + ( ChipClusters.ThermostatCluster.OccupiedSetbackMaxAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThermostatClusterOccupiedSetbackMaxAttributeCallback(), + readThermostatOccupiedSetbackMaxCommandParams + ); + readThermostatInteractionInfo.put("readOccupiedSetbackMaxAttribute", readThermostatOccupiedSetbackMaxAttributeInteractionInfo); + Map readThermostatUnoccupiedSetbackCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatUnoccupiedSetbackAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readUnoccupiedSetbackAttribute( + ( ChipClusters.ThermostatCluster.UnoccupiedSetbackAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThermostatClusterUnoccupiedSetbackAttributeCallback(), + readThermostatUnoccupiedSetbackCommandParams + ); + readThermostatInteractionInfo.put("readUnoccupiedSetbackAttribute", readThermostatUnoccupiedSetbackAttributeInteractionInfo); + Map readThermostatUnoccupiedSetbackMinCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatUnoccupiedSetbackMinAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readUnoccupiedSetbackMinAttribute( + ( ChipClusters.ThermostatCluster.UnoccupiedSetbackMinAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThermostatClusterUnoccupiedSetbackMinAttributeCallback(), + readThermostatUnoccupiedSetbackMinCommandParams + ); + readThermostatInteractionInfo.put("readUnoccupiedSetbackMinAttribute", readThermostatUnoccupiedSetbackMinAttributeInteractionInfo); + Map readThermostatUnoccupiedSetbackMaxCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatUnoccupiedSetbackMaxAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readUnoccupiedSetbackMaxAttribute( + ( ChipClusters.ThermostatCluster.UnoccupiedSetbackMaxAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThermostatClusterUnoccupiedSetbackMaxAttributeCallback(), + readThermostatUnoccupiedSetbackMaxCommandParams + ); + readThermostatInteractionInfo.put("readUnoccupiedSetbackMaxAttribute", readThermostatUnoccupiedSetbackMaxAttributeInteractionInfo); + Map readThermostatEmergencyHeatDeltaCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatEmergencyHeatDeltaAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readEmergencyHeatDeltaAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatEmergencyHeatDeltaCommandParams + ); + readThermostatInteractionInfo.put("readEmergencyHeatDeltaAttribute", readThermostatEmergencyHeatDeltaAttributeInteractionInfo); + Map readThermostatACTypeCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatACTypeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readACTypeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatACTypeCommandParams + ); + readThermostatInteractionInfo.put("readACTypeAttribute", readThermostatACTypeAttributeInteractionInfo); + Map readThermostatACCapacityCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatACCapacityAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readACCapacityAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatACCapacityCommandParams + ); + readThermostatInteractionInfo.put("readACCapacityAttribute", readThermostatACCapacityAttributeInteractionInfo); + Map readThermostatACRefrigerantTypeCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatACRefrigerantTypeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readACRefrigerantTypeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatACRefrigerantTypeCommandParams + ); + readThermostatInteractionInfo.put("readACRefrigerantTypeAttribute", readThermostatACRefrigerantTypeAttributeInteractionInfo); + Map readThermostatACCompressorTypeCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatACCompressorTypeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readACCompressorTypeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatACCompressorTypeCommandParams + ); + readThermostatInteractionInfo.put("readACCompressorTypeAttribute", readThermostatACCompressorTypeAttributeInteractionInfo); + Map readThermostatACErrorCodeCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatACErrorCodeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readACErrorCodeAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThermostatACErrorCodeCommandParams + ); + readThermostatInteractionInfo.put("readACErrorCodeAttribute", readThermostatACErrorCodeAttributeInteractionInfo); + Map readThermostatACLouverPositionCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatACLouverPositionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readACLouverPositionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatACLouverPositionCommandParams + ); + readThermostatInteractionInfo.put("readACLouverPositionAttribute", readThermostatACLouverPositionAttributeInteractionInfo); + Map readThermostatACCoilTemperatureCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatACCoilTemperatureAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readACCoilTemperatureAttribute( + ( ChipClusters.ThermostatCluster.ACCoilTemperatureAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThermostatClusterACCoilTemperatureAttributeCallback(), + readThermostatACCoilTemperatureCommandParams + ); + readThermostatInteractionInfo.put("readACCoilTemperatureAttribute", readThermostatACCoilTemperatureAttributeInteractionInfo); + Map readThermostatACCapacityformatCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatACCapacityformatAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readACCapacityformatAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatACCapacityformatCommandParams + ); + readThermostatInteractionInfo.put("readACCapacityformatAttribute", readThermostatACCapacityformatAttributeInteractionInfo); + Map readThermostatGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.ThermostatCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThermostatClusterGeneratedCommandListAttributeCallback(), + readThermostatGeneratedCommandListCommandParams + ); + readThermostatInteractionInfo.put("readGeneratedCommandListAttribute", readThermostatGeneratedCommandListAttributeInteractionInfo); + Map readThermostatAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.ThermostatCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThermostatClusterAcceptedCommandListAttributeCallback(), + readThermostatAcceptedCommandListCommandParams + ); + readThermostatInteractionInfo.put("readAcceptedCommandListAttribute", readThermostatAcceptedCommandListAttributeInteractionInfo); + Map readThermostatEventListCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readEventListAttribute( + ( ChipClusters.ThermostatCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedThermostatClusterEventListAttributeCallback(), - readThermostatEventListCommandParams); - readThermostatInteractionInfo.put( - "readEventListAttribute", readThermostatEventListAttributeInteractionInfo); - Map readThermostatAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.ThermostatCluster.AttributeListAttributeCallback) callback); - }, + readThermostatEventListCommandParams + ); + readThermostatInteractionInfo.put("readEventListAttribute", readThermostatEventListAttributeInteractionInfo); + Map readThermostatAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readAttributeListAttribute( + ( ChipClusters.ThermostatCluster.AttributeListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedThermostatClusterAttributeListAttributeCallback(), - readThermostatAttributeListCommandParams); - readThermostatInteractionInfo.put( - "readAttributeListAttribute", readThermostatAttributeListAttributeInteractionInfo); - Map readThermostatFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThermostatFeatureMapCommandParams); - readThermostatInteractionInfo.put( - "readFeatureMapAttribute", readThermostatFeatureMapAttributeInteractionInfo); - Map readThermostatClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatClusterRevisionCommandParams); - readThermostatInteractionInfo.put( - "readClusterRevisionAttribute", readThermostatClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("thermostat", readThermostatInteractionInfo); - Map readFanControlInteractionInfo = new LinkedHashMap<>(); - Map readFanControlFanModeCommandParams = - new LinkedHashMap(); - InteractionInfo readFanControlFanModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster) - .readFanModeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFanControlFanModeCommandParams); - readFanControlInteractionInfo.put( - "readFanModeAttribute", readFanControlFanModeAttributeInteractionInfo); - Map readFanControlFanModeSequenceCommandParams = - new LinkedHashMap(); - InteractionInfo readFanControlFanModeSequenceAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster) - .readFanModeSequenceAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFanControlFanModeSequenceCommandParams); - readFanControlInteractionInfo.put( - "readFanModeSequenceAttribute", readFanControlFanModeSequenceAttributeInteractionInfo); - Map readFanControlPercentSettingCommandParams = - new LinkedHashMap(); - InteractionInfo readFanControlPercentSettingAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster) - .readPercentSettingAttribute( - (ChipClusters.FanControlCluster.PercentSettingAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedFanControlClusterPercentSettingAttributeCallback(), - readFanControlPercentSettingCommandParams); - readFanControlInteractionInfo.put( - "readPercentSettingAttribute", readFanControlPercentSettingAttributeInteractionInfo); - Map readFanControlPercentCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo readFanControlPercentCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster) - .readPercentCurrentAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFanControlPercentCurrentCommandParams); - readFanControlInteractionInfo.put( - "readPercentCurrentAttribute", readFanControlPercentCurrentAttributeInteractionInfo); - Map readFanControlSpeedMaxCommandParams = - new LinkedHashMap(); - InteractionInfo readFanControlSpeedMaxAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster) - .readSpeedMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFanControlSpeedMaxCommandParams); - readFanControlInteractionInfo.put( - "readSpeedMaxAttribute", readFanControlSpeedMaxAttributeInteractionInfo); - Map readFanControlSpeedSettingCommandParams = - new LinkedHashMap(); - InteractionInfo readFanControlSpeedSettingAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster) - .readSpeedSettingAttribute( - (ChipClusters.FanControlCluster.SpeedSettingAttributeCallback) callback); - }, + readThermostatAttributeListCommandParams + ); + readThermostatInteractionInfo.put("readAttributeListAttribute", readThermostatAttributeListAttributeInteractionInfo); + Map readThermostatFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThermostatFeatureMapCommandParams + ); + readThermostatInteractionInfo.put("readFeatureMapAttribute", readThermostatFeatureMapAttributeInteractionInfo); + Map readThermostatClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatClusterRevisionCommandParams + ); + readThermostatInteractionInfo.put("readClusterRevisionAttribute", readThermostatClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("thermostat", readThermostatInteractionInfo); + Map readFanControlInteractionInfo = new LinkedHashMap<>(); + Map readFanControlFanModeCommandParams = new LinkedHashMap(); + InteractionInfo readFanControlFanModeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster).readFanModeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFanControlFanModeCommandParams + ); + readFanControlInteractionInfo.put("readFanModeAttribute", readFanControlFanModeAttributeInteractionInfo); + Map readFanControlFanModeSequenceCommandParams = new LinkedHashMap(); + InteractionInfo readFanControlFanModeSequenceAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster).readFanModeSequenceAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFanControlFanModeSequenceCommandParams + ); + readFanControlInteractionInfo.put("readFanModeSequenceAttribute", readFanControlFanModeSequenceAttributeInteractionInfo); + Map readFanControlPercentSettingCommandParams = new LinkedHashMap(); + InteractionInfo readFanControlPercentSettingAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster).readPercentSettingAttribute( + ( ChipClusters.FanControlCluster.PercentSettingAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedFanControlClusterPercentSettingAttributeCallback(), + readFanControlPercentSettingCommandParams + ); + readFanControlInteractionInfo.put("readPercentSettingAttribute", readFanControlPercentSettingAttributeInteractionInfo); + Map readFanControlPercentCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readFanControlPercentCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster).readPercentCurrentAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFanControlPercentCurrentCommandParams + ); + readFanControlInteractionInfo.put("readPercentCurrentAttribute", readFanControlPercentCurrentAttributeInteractionInfo); + Map readFanControlSpeedMaxCommandParams = new LinkedHashMap(); + InteractionInfo readFanControlSpeedMaxAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster).readSpeedMaxAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFanControlSpeedMaxCommandParams + ); + readFanControlInteractionInfo.put("readSpeedMaxAttribute", readFanControlSpeedMaxAttributeInteractionInfo); + Map readFanControlSpeedSettingCommandParams = new LinkedHashMap(); + InteractionInfo readFanControlSpeedSettingAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster).readSpeedSettingAttribute( + ( ChipClusters.FanControlCluster.SpeedSettingAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedFanControlClusterSpeedSettingAttributeCallback(), - readFanControlSpeedSettingCommandParams); - readFanControlInteractionInfo.put( - "readSpeedSettingAttribute", readFanControlSpeedSettingAttributeInteractionInfo); - Map readFanControlSpeedCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo readFanControlSpeedCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster) - .readSpeedCurrentAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFanControlSpeedCurrentCommandParams); - readFanControlInteractionInfo.put( - "readSpeedCurrentAttribute", readFanControlSpeedCurrentAttributeInteractionInfo); - Map readFanControlRockSupportCommandParams = - new LinkedHashMap(); - InteractionInfo readFanControlRockSupportAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster) - .readRockSupportAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFanControlRockSupportCommandParams); - readFanControlInteractionInfo.put( - "readRockSupportAttribute", readFanControlRockSupportAttributeInteractionInfo); - Map readFanControlRockSettingCommandParams = - new LinkedHashMap(); - InteractionInfo readFanControlRockSettingAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster) - .readRockSettingAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFanControlRockSettingCommandParams); - readFanControlInteractionInfo.put( - "readRockSettingAttribute", readFanControlRockSettingAttributeInteractionInfo); - Map readFanControlWindSupportCommandParams = - new LinkedHashMap(); - InteractionInfo readFanControlWindSupportAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster) - .readWindSupportAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFanControlWindSupportCommandParams); - readFanControlInteractionInfo.put( - "readWindSupportAttribute", readFanControlWindSupportAttributeInteractionInfo); - Map readFanControlWindSettingCommandParams = - new LinkedHashMap(); - InteractionInfo readFanControlWindSettingAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster) - .readWindSettingAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFanControlWindSettingCommandParams); - readFanControlInteractionInfo.put( - "readWindSettingAttribute", readFanControlWindSettingAttributeInteractionInfo); - Map readFanControlGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readFanControlGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.FanControlCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedFanControlClusterGeneratedCommandListAttributeCallback(), - readFanControlGeneratedCommandListCommandParams); - readFanControlInteractionInfo.put( - "readGeneratedCommandListAttribute", - readFanControlGeneratedCommandListAttributeInteractionInfo); - Map readFanControlAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readFanControlAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.FanControlCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedFanControlClusterAcceptedCommandListAttributeCallback(), - readFanControlAcceptedCommandListCommandParams); - readFanControlInteractionInfo.put( - "readAcceptedCommandListAttribute", - readFanControlAcceptedCommandListAttributeInteractionInfo); - Map readFanControlEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readFanControlEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster) - .readEventListAttribute( - (ChipClusters.FanControlCluster.EventListAttributeCallback) callback); - }, + readFanControlSpeedSettingCommandParams + ); + readFanControlInteractionInfo.put("readSpeedSettingAttribute", readFanControlSpeedSettingAttributeInteractionInfo); + Map readFanControlSpeedCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readFanControlSpeedCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster).readSpeedCurrentAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFanControlSpeedCurrentCommandParams + ); + readFanControlInteractionInfo.put("readSpeedCurrentAttribute", readFanControlSpeedCurrentAttributeInteractionInfo); + Map readFanControlRockSupportCommandParams = new LinkedHashMap(); + InteractionInfo readFanControlRockSupportAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster).readRockSupportAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFanControlRockSupportCommandParams + ); + readFanControlInteractionInfo.put("readRockSupportAttribute", readFanControlRockSupportAttributeInteractionInfo); + Map readFanControlRockSettingCommandParams = new LinkedHashMap(); + InteractionInfo readFanControlRockSettingAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster).readRockSettingAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFanControlRockSettingCommandParams + ); + readFanControlInteractionInfo.put("readRockSettingAttribute", readFanControlRockSettingAttributeInteractionInfo); + Map readFanControlWindSupportCommandParams = new LinkedHashMap(); + InteractionInfo readFanControlWindSupportAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster).readWindSupportAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFanControlWindSupportCommandParams + ); + readFanControlInteractionInfo.put("readWindSupportAttribute", readFanControlWindSupportAttributeInteractionInfo); + Map readFanControlWindSettingCommandParams = new LinkedHashMap(); + InteractionInfo readFanControlWindSettingAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster).readWindSettingAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFanControlWindSettingCommandParams + ); + readFanControlInteractionInfo.put("readWindSettingAttribute", readFanControlWindSettingAttributeInteractionInfo); + Map readFanControlGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readFanControlGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.FanControlCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedFanControlClusterGeneratedCommandListAttributeCallback(), + readFanControlGeneratedCommandListCommandParams + ); + readFanControlInteractionInfo.put("readGeneratedCommandListAttribute", readFanControlGeneratedCommandListAttributeInteractionInfo); + Map readFanControlAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readFanControlAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.FanControlCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedFanControlClusterAcceptedCommandListAttributeCallback(), + readFanControlAcceptedCommandListCommandParams + ); + readFanControlInteractionInfo.put("readAcceptedCommandListAttribute", readFanControlAcceptedCommandListAttributeInteractionInfo); + Map readFanControlEventListCommandParams = new LinkedHashMap(); + InteractionInfo readFanControlEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster).readEventListAttribute( + ( ChipClusters.FanControlCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedFanControlClusterEventListAttributeCallback(), - readFanControlEventListCommandParams); - readFanControlInteractionInfo.put( - "readEventListAttribute", readFanControlEventListAttributeInteractionInfo); - Map readFanControlAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readFanControlAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.FanControlCluster.AttributeListAttributeCallback) callback); - }, + readFanControlEventListCommandParams + ); + readFanControlInteractionInfo.put("readEventListAttribute", readFanControlEventListAttributeInteractionInfo); + Map readFanControlAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readFanControlAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster).readAttributeListAttribute( + ( ChipClusters.FanControlCluster.AttributeListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedFanControlClusterAttributeListAttributeCallback(), - readFanControlAttributeListCommandParams); - readFanControlInteractionInfo.put( - "readAttributeListAttribute", readFanControlAttributeListAttributeInteractionInfo); - Map readFanControlFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readFanControlFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readFanControlFeatureMapCommandParams); - readFanControlInteractionInfo.put( - "readFeatureMapAttribute", readFanControlFeatureMapAttributeInteractionInfo); - Map readFanControlClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readFanControlClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFanControlClusterRevisionCommandParams); - readFanControlInteractionInfo.put( - "readClusterRevisionAttribute", readFanControlClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("fanControl", readFanControlInteractionInfo); - Map readThermostatUserInterfaceConfigurationInteractionInfo = - new LinkedHashMap<>(); - Map - readThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams = - new LinkedHashMap(); - InteractionInfo - readThermostatUserInterfaceConfigurationTemperatureDisplayModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) - .readTemperatureDisplayModeAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams); - readThermostatUserInterfaceConfigurationInteractionInfo.put( - "readTemperatureDisplayModeAttribute", - readThermostatUserInterfaceConfigurationTemperatureDisplayModeAttributeInteractionInfo); - Map - readThermostatUserInterfaceConfigurationKeypadLockoutCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatUserInterfaceConfigurationKeypadLockoutAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) - .readKeypadLockoutAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatUserInterfaceConfigurationKeypadLockoutCommandParams); - readThermostatUserInterfaceConfigurationInteractionInfo.put( - "readKeypadLockoutAttribute", - readThermostatUserInterfaceConfigurationKeypadLockoutAttributeInteractionInfo); - Map - readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams = - new LinkedHashMap(); - InteractionInfo - readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) - .readScheduleProgrammingVisibilityAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams); - readThermostatUserInterfaceConfigurationInteractionInfo.put( - "readScheduleProgrammingVisibilityAttribute", - readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityAttributeInteractionInfo); - Map - readThermostatUserInterfaceConfigurationGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo - readThermostatUserInterfaceConfigurationGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.ThermostatUserInterfaceConfigurationCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThermostatUserInterfaceConfigurationClusterGeneratedCommandListAttributeCallback(), - readThermostatUserInterfaceConfigurationGeneratedCommandListCommandParams); - readThermostatUserInterfaceConfigurationInteractionInfo.put( - "readGeneratedCommandListAttribute", - readThermostatUserInterfaceConfigurationGeneratedCommandListAttributeInteractionInfo); - Map - readThermostatUserInterfaceConfigurationAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo - readThermostatUserInterfaceConfigurationAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.ThermostatUserInterfaceConfigurationCluster - .AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThermostatUserInterfaceConfigurationClusterAcceptedCommandListAttributeCallback(), - readThermostatUserInterfaceConfigurationAcceptedCommandListCommandParams); - readThermostatUserInterfaceConfigurationInteractionInfo.put( - "readAcceptedCommandListAttribute", - readThermostatUserInterfaceConfigurationAcceptedCommandListAttributeInteractionInfo); - Map - readThermostatUserInterfaceConfigurationEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatUserInterfaceConfigurationEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) - .readEventListAttribute( - (ChipClusters.ThermostatUserInterfaceConfigurationCluster - .EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThermostatUserInterfaceConfigurationClusterEventListAttributeCallback(), - readThermostatUserInterfaceConfigurationEventListCommandParams); - readThermostatUserInterfaceConfigurationInteractionInfo.put( - "readEventListAttribute", - readThermostatUserInterfaceConfigurationEventListAttributeInteractionInfo); - Map - readThermostatUserInterfaceConfigurationAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatUserInterfaceConfigurationAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.ThermostatUserInterfaceConfigurationCluster - .AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedThermostatUserInterfaceConfigurationClusterAttributeListAttributeCallback(), - readThermostatUserInterfaceConfigurationAttributeListCommandParams); - readThermostatUserInterfaceConfigurationInteractionInfo.put( - "readAttributeListAttribute", - readThermostatUserInterfaceConfigurationAttributeListAttributeInteractionInfo); - Map - readThermostatUserInterfaceConfigurationFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readThermostatUserInterfaceConfigurationFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThermostatUserInterfaceConfigurationFeatureMapCommandParams); - readThermostatUserInterfaceConfigurationInteractionInfo.put( - "readFeatureMapAttribute", - readThermostatUserInterfaceConfigurationFeatureMapAttributeInteractionInfo); - Map - readThermostatUserInterfaceConfigurationClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo - readThermostatUserInterfaceConfigurationClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) - .readClusterRevisionAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatUserInterfaceConfigurationClusterRevisionCommandParams); - readThermostatUserInterfaceConfigurationInteractionInfo.put( - "readClusterRevisionAttribute", - readThermostatUserInterfaceConfigurationClusterRevisionAttributeInteractionInfo); - readAttributeMap.put( - "thermostatUserInterfaceConfiguration", - readThermostatUserInterfaceConfigurationInteractionInfo); - Map readColorControlInteractionInfo = new LinkedHashMap<>(); - Map readColorControlCurrentHueCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlCurrentHueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readCurrentHueAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlCurrentHueCommandParams); - readColorControlInteractionInfo.put( - "readCurrentHueAttribute", readColorControlCurrentHueAttributeInteractionInfo); - Map readColorControlCurrentSaturationCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlCurrentSaturationAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readCurrentSaturationAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlCurrentSaturationCommandParams); - readColorControlInteractionInfo.put( - "readCurrentSaturationAttribute", - readColorControlCurrentSaturationAttributeInteractionInfo); - Map readColorControlRemainingTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlRemainingTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readRemainingTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlRemainingTimeCommandParams); - readColorControlInteractionInfo.put( - "readRemainingTimeAttribute", readColorControlRemainingTimeAttributeInteractionInfo); - Map readColorControlCurrentXCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlCurrentXAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readCurrentXAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlCurrentXCommandParams); - readColorControlInteractionInfo.put( - "readCurrentXAttribute", readColorControlCurrentXAttributeInteractionInfo); - Map readColorControlCurrentYCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlCurrentYAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readCurrentYAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlCurrentYCommandParams); - readColorControlInteractionInfo.put( - "readCurrentYAttribute", readColorControlCurrentYAttributeInteractionInfo); - Map readColorControlDriftCompensationCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlDriftCompensationAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readDriftCompensationAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlDriftCompensationCommandParams); - readColorControlInteractionInfo.put( - "readDriftCompensationAttribute", - readColorControlDriftCompensationAttributeInteractionInfo); - Map readColorControlCompensationTextCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlCompensationTextAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readCompensationTextAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, + readFanControlAttributeListCommandParams + ); + readFanControlInteractionInfo.put("readAttributeListAttribute", readFanControlAttributeListAttributeInteractionInfo); + Map readFanControlFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readFanControlFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readFanControlFeatureMapCommandParams + ); + readFanControlInteractionInfo.put("readFeatureMapAttribute", readFanControlFeatureMapAttributeInteractionInfo); + Map readFanControlClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readFanControlClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFanControlClusterRevisionCommandParams + ); + readFanControlInteractionInfo.put("readClusterRevisionAttribute", readFanControlClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("fanControl", readFanControlInteractionInfo); + Map readThermostatUserInterfaceConfigurationInteractionInfo = new LinkedHashMap<>(); + Map readThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatUserInterfaceConfigurationTemperatureDisplayModeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster).readTemperatureDisplayModeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams + ); + readThermostatUserInterfaceConfigurationInteractionInfo.put("readTemperatureDisplayModeAttribute", readThermostatUserInterfaceConfigurationTemperatureDisplayModeAttributeInteractionInfo); + Map readThermostatUserInterfaceConfigurationKeypadLockoutCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatUserInterfaceConfigurationKeypadLockoutAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster).readKeypadLockoutAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatUserInterfaceConfigurationKeypadLockoutCommandParams + ); + readThermostatUserInterfaceConfigurationInteractionInfo.put("readKeypadLockoutAttribute", readThermostatUserInterfaceConfigurationKeypadLockoutAttributeInteractionInfo); + Map readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster).readScheduleProgrammingVisibilityAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams + ); + readThermostatUserInterfaceConfigurationInteractionInfo.put("readScheduleProgrammingVisibilityAttribute", readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityAttributeInteractionInfo); + Map readThermostatUserInterfaceConfigurationGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatUserInterfaceConfigurationGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.ThermostatUserInterfaceConfigurationCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThermostatUserInterfaceConfigurationClusterGeneratedCommandListAttributeCallback(), + readThermostatUserInterfaceConfigurationGeneratedCommandListCommandParams + ); + readThermostatUserInterfaceConfigurationInteractionInfo.put("readGeneratedCommandListAttribute", readThermostatUserInterfaceConfigurationGeneratedCommandListAttributeInteractionInfo); + Map readThermostatUserInterfaceConfigurationAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatUserInterfaceConfigurationAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.ThermostatUserInterfaceConfigurationCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThermostatUserInterfaceConfigurationClusterAcceptedCommandListAttributeCallback(), + readThermostatUserInterfaceConfigurationAcceptedCommandListCommandParams + ); + readThermostatUserInterfaceConfigurationInteractionInfo.put("readAcceptedCommandListAttribute", readThermostatUserInterfaceConfigurationAcceptedCommandListAttributeInteractionInfo); + Map readThermostatUserInterfaceConfigurationEventListCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatUserInterfaceConfigurationEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster).readEventListAttribute( + ( ChipClusters.ThermostatUserInterfaceConfigurationCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThermostatUserInterfaceConfigurationClusterEventListAttributeCallback(), + readThermostatUserInterfaceConfigurationEventListCommandParams + ); + readThermostatUserInterfaceConfigurationInteractionInfo.put("readEventListAttribute", readThermostatUserInterfaceConfigurationEventListAttributeInteractionInfo); + Map readThermostatUserInterfaceConfigurationAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatUserInterfaceConfigurationAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster).readAttributeListAttribute( + ( ChipClusters.ThermostatUserInterfaceConfigurationCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedThermostatUserInterfaceConfigurationClusterAttributeListAttributeCallback(), + readThermostatUserInterfaceConfigurationAttributeListCommandParams + ); + readThermostatUserInterfaceConfigurationInteractionInfo.put("readAttributeListAttribute", readThermostatUserInterfaceConfigurationAttributeListAttributeInteractionInfo); + Map readThermostatUserInterfaceConfigurationFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatUserInterfaceConfigurationFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThermostatUserInterfaceConfigurationFeatureMapCommandParams + ); + readThermostatUserInterfaceConfigurationInteractionInfo.put("readFeatureMapAttribute", readThermostatUserInterfaceConfigurationFeatureMapAttributeInteractionInfo); + Map readThermostatUserInterfaceConfigurationClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readThermostatUserInterfaceConfigurationClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatUserInterfaceConfigurationClusterRevisionCommandParams + ); + readThermostatUserInterfaceConfigurationInteractionInfo.put("readClusterRevisionAttribute", readThermostatUserInterfaceConfigurationClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("thermostatUserInterfaceConfiguration", readThermostatUserInterfaceConfigurationInteractionInfo); + Map readColorControlInteractionInfo = new LinkedHashMap<>(); + Map readColorControlCurrentHueCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlCurrentHueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readCurrentHueAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlCurrentHueCommandParams + ); + readColorControlInteractionInfo.put("readCurrentHueAttribute", readColorControlCurrentHueAttributeInteractionInfo); + Map readColorControlCurrentSaturationCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlCurrentSaturationAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readCurrentSaturationAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlCurrentSaturationCommandParams + ); + readColorControlInteractionInfo.put("readCurrentSaturationAttribute", readColorControlCurrentSaturationAttributeInteractionInfo); + Map readColorControlRemainingTimeCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlRemainingTimeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readRemainingTimeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlRemainingTimeCommandParams + ); + readColorControlInteractionInfo.put("readRemainingTimeAttribute", readColorControlRemainingTimeAttributeInteractionInfo); + Map readColorControlCurrentXCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlCurrentXAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readCurrentXAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlCurrentXCommandParams + ); + readColorControlInteractionInfo.put("readCurrentXAttribute", readColorControlCurrentXAttributeInteractionInfo); + Map readColorControlCurrentYCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlCurrentYAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readCurrentYAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlCurrentYCommandParams + ); + readColorControlInteractionInfo.put("readCurrentYAttribute", readColorControlCurrentYAttributeInteractionInfo); + Map readColorControlDriftCompensationCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlDriftCompensationAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readDriftCompensationAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlDriftCompensationCommandParams + ); + readColorControlInteractionInfo.put("readDriftCompensationAttribute", readColorControlDriftCompensationAttributeInteractionInfo); + Map readColorControlCompensationTextCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlCompensationTextAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readCompensationTextAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readColorControlCompensationTextCommandParams); - readColorControlInteractionInfo.put( - "readCompensationTextAttribute", readColorControlCompensationTextAttributeInteractionInfo); - Map readColorControlColorTemperatureMiredsCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorTemperatureMiredsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorTemperatureMiredsAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorTemperatureMiredsCommandParams); - readColorControlInteractionInfo.put( - "readColorTemperatureMiredsAttribute", - readColorControlColorTemperatureMiredsAttributeInteractionInfo); - Map readColorControlColorModeCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorModeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorModeCommandParams); - readColorControlInteractionInfo.put( - "readColorModeAttribute", readColorControlColorModeAttributeInteractionInfo); - Map readColorControlOptionsCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlOptionsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readOptionsAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlOptionsCommandParams); - readColorControlInteractionInfo.put( - "readOptionsAttribute", readColorControlOptionsAttributeInteractionInfo); - Map readColorControlNumberOfPrimariesCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlNumberOfPrimariesAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readNumberOfPrimariesAttribute( - (ChipClusters.ColorControlCluster.NumberOfPrimariesAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedColorControlClusterNumberOfPrimariesAttributeCallback(), - readColorControlNumberOfPrimariesCommandParams); - readColorControlInteractionInfo.put( - "readNumberOfPrimariesAttribute", - readColorControlNumberOfPrimariesAttributeInteractionInfo); - Map readColorControlPrimary1XCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary1XAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary1XAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary1XCommandParams); - readColorControlInteractionInfo.put( - "readPrimary1XAttribute", readColorControlPrimary1XAttributeInteractionInfo); - Map readColorControlPrimary1YCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary1YAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary1YAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary1YCommandParams); - readColorControlInteractionInfo.put( - "readPrimary1YAttribute", readColorControlPrimary1YAttributeInteractionInfo); - Map readColorControlPrimary1IntensityCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary1IntensityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary1IntensityAttribute( - (ChipClusters.ColorControlCluster.Primary1IntensityAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedColorControlClusterPrimary1IntensityAttributeCallback(), - readColorControlPrimary1IntensityCommandParams); - readColorControlInteractionInfo.put( - "readPrimary1IntensityAttribute", - readColorControlPrimary1IntensityAttributeInteractionInfo); - Map readColorControlPrimary2XCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary2XAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary2XAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary2XCommandParams); - readColorControlInteractionInfo.put( - "readPrimary2XAttribute", readColorControlPrimary2XAttributeInteractionInfo); - Map readColorControlPrimary2YCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary2YAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary2YAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary2YCommandParams); - readColorControlInteractionInfo.put( - "readPrimary2YAttribute", readColorControlPrimary2YAttributeInteractionInfo); - Map readColorControlPrimary2IntensityCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary2IntensityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary2IntensityAttribute( - (ChipClusters.ColorControlCluster.Primary2IntensityAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedColorControlClusterPrimary2IntensityAttributeCallback(), - readColorControlPrimary2IntensityCommandParams); - readColorControlInteractionInfo.put( - "readPrimary2IntensityAttribute", - readColorControlPrimary2IntensityAttributeInteractionInfo); - Map readColorControlPrimary3XCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary3XAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary3XAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary3XCommandParams); - readColorControlInteractionInfo.put( - "readPrimary3XAttribute", readColorControlPrimary3XAttributeInteractionInfo); - Map readColorControlPrimary3YCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary3YAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary3YAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary3YCommandParams); - readColorControlInteractionInfo.put( - "readPrimary3YAttribute", readColorControlPrimary3YAttributeInteractionInfo); - Map readColorControlPrimary3IntensityCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary3IntensityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary3IntensityAttribute( - (ChipClusters.ColorControlCluster.Primary3IntensityAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedColorControlClusterPrimary3IntensityAttributeCallback(), - readColorControlPrimary3IntensityCommandParams); - readColorControlInteractionInfo.put( - "readPrimary3IntensityAttribute", - readColorControlPrimary3IntensityAttributeInteractionInfo); - Map readColorControlPrimary4XCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary4XAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary4XAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary4XCommandParams); - readColorControlInteractionInfo.put( - "readPrimary4XAttribute", readColorControlPrimary4XAttributeInteractionInfo); - Map readColorControlPrimary4YCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary4YAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary4YAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary4YCommandParams); - readColorControlInteractionInfo.put( - "readPrimary4YAttribute", readColorControlPrimary4YAttributeInteractionInfo); - Map readColorControlPrimary4IntensityCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary4IntensityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary4IntensityAttribute( - (ChipClusters.ColorControlCluster.Primary4IntensityAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedColorControlClusterPrimary4IntensityAttributeCallback(), - readColorControlPrimary4IntensityCommandParams); - readColorControlInteractionInfo.put( - "readPrimary4IntensityAttribute", - readColorControlPrimary4IntensityAttributeInteractionInfo); - Map readColorControlPrimary5XCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary5XAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary5XAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary5XCommandParams); - readColorControlInteractionInfo.put( - "readPrimary5XAttribute", readColorControlPrimary5XAttributeInteractionInfo); - Map readColorControlPrimary5YCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary5YAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary5YAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary5YCommandParams); - readColorControlInteractionInfo.put( - "readPrimary5YAttribute", readColorControlPrimary5YAttributeInteractionInfo); - Map readColorControlPrimary5IntensityCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary5IntensityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary5IntensityAttribute( - (ChipClusters.ColorControlCluster.Primary5IntensityAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedColorControlClusterPrimary5IntensityAttributeCallback(), - readColorControlPrimary5IntensityCommandParams); - readColorControlInteractionInfo.put( - "readPrimary5IntensityAttribute", - readColorControlPrimary5IntensityAttributeInteractionInfo); - Map readColorControlPrimary6XCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary6XAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary6XAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary6XCommandParams); - readColorControlInteractionInfo.put( - "readPrimary6XAttribute", readColorControlPrimary6XAttributeInteractionInfo); - Map readColorControlPrimary6YCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary6YAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary6YAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary6YCommandParams); - readColorControlInteractionInfo.put( - "readPrimary6YAttribute", readColorControlPrimary6YAttributeInteractionInfo); - Map readColorControlPrimary6IntensityCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlPrimary6IntensityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readPrimary6IntensityAttribute( - (ChipClusters.ColorControlCluster.Primary6IntensityAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedColorControlClusterPrimary6IntensityAttributeCallback(), - readColorControlPrimary6IntensityCommandParams); - readColorControlInteractionInfo.put( - "readPrimary6IntensityAttribute", - readColorControlPrimary6IntensityAttributeInteractionInfo); - Map readColorControlWhitePointXCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlWhitePointXAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readWhitePointXAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlWhitePointXCommandParams); - readColorControlInteractionInfo.put( - "readWhitePointXAttribute", readColorControlWhitePointXAttributeInteractionInfo); - Map readColorControlWhitePointYCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlWhitePointYAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readWhitePointYAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlWhitePointYCommandParams); - readColorControlInteractionInfo.put( - "readWhitePointYAttribute", readColorControlWhitePointYAttributeInteractionInfo); - Map readColorControlColorPointRXCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorPointRXAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorPointRXAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorPointRXCommandParams); - readColorControlInteractionInfo.put( - "readColorPointRXAttribute", readColorControlColorPointRXAttributeInteractionInfo); - Map readColorControlColorPointRYCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorPointRYAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorPointRYAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorPointRYCommandParams); - readColorControlInteractionInfo.put( - "readColorPointRYAttribute", readColorControlColorPointRYAttributeInteractionInfo); - Map readColorControlColorPointRIntensityCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorPointRIntensityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorPointRIntensityAttribute( - (ChipClusters.ColorControlCluster.ColorPointRIntensityAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedColorControlClusterColorPointRIntensityAttributeCallback(), - readColorControlColorPointRIntensityCommandParams); - readColorControlInteractionInfo.put( - "readColorPointRIntensityAttribute", - readColorControlColorPointRIntensityAttributeInteractionInfo); - Map readColorControlColorPointGXCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorPointGXAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorPointGXAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorPointGXCommandParams); - readColorControlInteractionInfo.put( - "readColorPointGXAttribute", readColorControlColorPointGXAttributeInteractionInfo); - Map readColorControlColorPointGYCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorPointGYAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorPointGYAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorPointGYCommandParams); - readColorControlInteractionInfo.put( - "readColorPointGYAttribute", readColorControlColorPointGYAttributeInteractionInfo); - Map readColorControlColorPointGIntensityCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorPointGIntensityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorPointGIntensityAttribute( - (ChipClusters.ColorControlCluster.ColorPointGIntensityAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedColorControlClusterColorPointGIntensityAttributeCallback(), - readColorControlColorPointGIntensityCommandParams); - readColorControlInteractionInfo.put( - "readColorPointGIntensityAttribute", - readColorControlColorPointGIntensityAttributeInteractionInfo); - Map readColorControlColorPointBXCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorPointBXAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorPointBXAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorPointBXCommandParams); - readColorControlInteractionInfo.put( - "readColorPointBXAttribute", readColorControlColorPointBXAttributeInteractionInfo); - Map readColorControlColorPointBYCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorPointBYAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorPointBYAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorPointBYCommandParams); - readColorControlInteractionInfo.put( - "readColorPointBYAttribute", readColorControlColorPointBYAttributeInteractionInfo); - Map readColorControlColorPointBIntensityCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorPointBIntensityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorPointBIntensityAttribute( - (ChipClusters.ColorControlCluster.ColorPointBIntensityAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedColorControlClusterColorPointBIntensityAttributeCallback(), - readColorControlColorPointBIntensityCommandParams); - readColorControlInteractionInfo.put( - "readColorPointBIntensityAttribute", - readColorControlColorPointBIntensityAttributeInteractionInfo); - Map readColorControlEnhancedCurrentHueCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlEnhancedCurrentHueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readEnhancedCurrentHueAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlEnhancedCurrentHueCommandParams); - readColorControlInteractionInfo.put( - "readEnhancedCurrentHueAttribute", - readColorControlEnhancedCurrentHueAttributeInteractionInfo); - Map readColorControlEnhancedColorModeCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlEnhancedColorModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readEnhancedColorModeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlEnhancedColorModeCommandParams); - readColorControlInteractionInfo.put( - "readEnhancedColorModeAttribute", - readColorControlEnhancedColorModeAttributeInteractionInfo); - Map readColorControlColorLoopActiveCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorLoopActiveAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorLoopActiveAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorLoopActiveCommandParams); - readColorControlInteractionInfo.put( - "readColorLoopActiveAttribute", readColorControlColorLoopActiveAttributeInteractionInfo); - Map readColorControlColorLoopDirectionCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorLoopDirectionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorLoopDirectionAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorLoopDirectionCommandParams); - readColorControlInteractionInfo.put( - "readColorLoopDirectionAttribute", - readColorControlColorLoopDirectionAttributeInteractionInfo); - Map readColorControlColorLoopTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorLoopTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorLoopTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorLoopTimeCommandParams); - readColorControlInteractionInfo.put( - "readColorLoopTimeAttribute", readColorControlColorLoopTimeAttributeInteractionInfo); - Map readColorControlColorLoopStartEnhancedHueCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorLoopStartEnhancedHueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorLoopStartEnhancedHueAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorLoopStartEnhancedHueCommandParams); - readColorControlInteractionInfo.put( - "readColorLoopStartEnhancedHueAttribute", - readColorControlColorLoopStartEnhancedHueAttributeInteractionInfo); - Map readColorControlColorLoopStoredEnhancedHueCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorLoopStoredEnhancedHueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorLoopStoredEnhancedHueAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorLoopStoredEnhancedHueCommandParams); - readColorControlInteractionInfo.put( - "readColorLoopStoredEnhancedHueAttribute", - readColorControlColorLoopStoredEnhancedHueAttributeInteractionInfo); - Map readColorControlColorCapabilitiesCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorCapabilitiesAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorCapabilitiesAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorCapabilitiesCommandParams); - readColorControlInteractionInfo.put( - "readColorCapabilitiesAttribute", - readColorControlColorCapabilitiesAttributeInteractionInfo); - Map readColorControlColorTempPhysicalMinMiredsCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorTempPhysicalMinMiredsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorTempPhysicalMinMiredsAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorTempPhysicalMinMiredsCommandParams); - readColorControlInteractionInfo.put( - "readColorTempPhysicalMinMiredsAttribute", - readColorControlColorTempPhysicalMinMiredsAttributeInteractionInfo); - Map readColorControlColorTempPhysicalMaxMiredsCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlColorTempPhysicalMaxMiredsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readColorTempPhysicalMaxMiredsAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorTempPhysicalMaxMiredsCommandParams); - readColorControlInteractionInfo.put( - "readColorTempPhysicalMaxMiredsAttribute", - readColorControlColorTempPhysicalMaxMiredsAttributeInteractionInfo); - Map readColorControlCoupleColorTempToLevelMinMiredsCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlCoupleColorTempToLevelMinMiredsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readCoupleColorTempToLevelMinMiredsAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlCoupleColorTempToLevelMinMiredsCommandParams); - readColorControlInteractionInfo.put( - "readCoupleColorTempToLevelMinMiredsAttribute", - readColorControlCoupleColorTempToLevelMinMiredsAttributeInteractionInfo); - Map readColorControlStartUpColorTemperatureMiredsCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlStartUpColorTemperatureMiredsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readStartUpColorTemperatureMiredsAttribute( - (ChipClusters.ColorControlCluster - .StartUpColorTemperatureMiredsAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedColorControlClusterStartUpColorTemperatureMiredsAttributeCallback(), - readColorControlStartUpColorTemperatureMiredsCommandParams); - readColorControlInteractionInfo.put( - "readStartUpColorTemperatureMiredsAttribute", - readColorControlStartUpColorTemperatureMiredsAttributeInteractionInfo); - Map readColorControlGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.ColorControlCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedColorControlClusterGeneratedCommandListAttributeCallback(), - readColorControlGeneratedCommandListCommandParams); - readColorControlInteractionInfo.put( - "readGeneratedCommandListAttribute", - readColorControlGeneratedCommandListAttributeInteractionInfo); - Map readColorControlAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.ColorControlCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedColorControlClusterAcceptedCommandListAttributeCallback(), - readColorControlAcceptedCommandListCommandParams); - readColorControlInteractionInfo.put( - "readAcceptedCommandListAttribute", - readColorControlAcceptedCommandListAttributeInteractionInfo); - Map readColorControlEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readEventListAttribute( - (ChipClusters.ColorControlCluster.EventListAttributeCallback) callback); - }, + readColorControlCompensationTextCommandParams + ); + readColorControlInteractionInfo.put("readCompensationTextAttribute", readColorControlCompensationTextAttributeInteractionInfo); + Map readColorControlColorTemperatureMiredsCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlColorTemperatureMiredsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readColorTemperatureMiredsAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorTemperatureMiredsCommandParams + ); + readColorControlInteractionInfo.put("readColorTemperatureMiredsAttribute", readColorControlColorTemperatureMiredsAttributeInteractionInfo); + Map readColorControlColorModeCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlColorModeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readColorModeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorModeCommandParams + ); + readColorControlInteractionInfo.put("readColorModeAttribute", readColorControlColorModeAttributeInteractionInfo); + Map readColorControlOptionsCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlOptionsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readOptionsAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlOptionsCommandParams + ); + readColorControlInteractionInfo.put("readOptionsAttribute", readColorControlOptionsAttributeInteractionInfo); + Map readColorControlNumberOfPrimariesCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlNumberOfPrimariesAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readNumberOfPrimariesAttribute( + ( ChipClusters.ColorControlCluster.NumberOfPrimariesAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedColorControlClusterNumberOfPrimariesAttributeCallback(), + readColorControlNumberOfPrimariesCommandParams + ); + readColorControlInteractionInfo.put("readNumberOfPrimariesAttribute", readColorControlNumberOfPrimariesAttributeInteractionInfo); + Map readColorControlPrimary1XCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlPrimary1XAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readPrimary1XAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary1XCommandParams + ); + readColorControlInteractionInfo.put("readPrimary1XAttribute", readColorControlPrimary1XAttributeInteractionInfo); + Map readColorControlPrimary1YCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlPrimary1YAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readPrimary1YAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary1YCommandParams + ); + readColorControlInteractionInfo.put("readPrimary1YAttribute", readColorControlPrimary1YAttributeInteractionInfo); + Map readColorControlPrimary1IntensityCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlPrimary1IntensityAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readPrimary1IntensityAttribute( + ( ChipClusters.ColorControlCluster.Primary1IntensityAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedColorControlClusterPrimary1IntensityAttributeCallback(), + readColorControlPrimary1IntensityCommandParams + ); + readColorControlInteractionInfo.put("readPrimary1IntensityAttribute", readColorControlPrimary1IntensityAttributeInteractionInfo); + Map readColorControlPrimary2XCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlPrimary2XAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readPrimary2XAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary2XCommandParams + ); + readColorControlInteractionInfo.put("readPrimary2XAttribute", readColorControlPrimary2XAttributeInteractionInfo); + Map readColorControlPrimary2YCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlPrimary2YAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readPrimary2YAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary2YCommandParams + ); + readColorControlInteractionInfo.put("readPrimary2YAttribute", readColorControlPrimary2YAttributeInteractionInfo); + Map readColorControlPrimary2IntensityCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlPrimary2IntensityAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readPrimary2IntensityAttribute( + ( ChipClusters.ColorControlCluster.Primary2IntensityAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedColorControlClusterPrimary2IntensityAttributeCallback(), + readColorControlPrimary2IntensityCommandParams + ); + readColorControlInteractionInfo.put("readPrimary2IntensityAttribute", readColorControlPrimary2IntensityAttributeInteractionInfo); + Map readColorControlPrimary3XCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlPrimary3XAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readPrimary3XAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary3XCommandParams + ); + readColorControlInteractionInfo.put("readPrimary3XAttribute", readColorControlPrimary3XAttributeInteractionInfo); + Map readColorControlPrimary3YCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlPrimary3YAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readPrimary3YAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary3YCommandParams + ); + readColorControlInteractionInfo.put("readPrimary3YAttribute", readColorControlPrimary3YAttributeInteractionInfo); + Map readColorControlPrimary3IntensityCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlPrimary3IntensityAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readPrimary3IntensityAttribute( + ( ChipClusters.ColorControlCluster.Primary3IntensityAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedColorControlClusterPrimary3IntensityAttributeCallback(), + readColorControlPrimary3IntensityCommandParams + ); + readColorControlInteractionInfo.put("readPrimary3IntensityAttribute", readColorControlPrimary3IntensityAttributeInteractionInfo); + Map readColorControlPrimary4XCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlPrimary4XAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readPrimary4XAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary4XCommandParams + ); + readColorControlInteractionInfo.put("readPrimary4XAttribute", readColorControlPrimary4XAttributeInteractionInfo); + Map readColorControlPrimary4YCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlPrimary4YAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readPrimary4YAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary4YCommandParams + ); + readColorControlInteractionInfo.put("readPrimary4YAttribute", readColorControlPrimary4YAttributeInteractionInfo); + Map readColorControlPrimary4IntensityCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlPrimary4IntensityAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readPrimary4IntensityAttribute( + ( ChipClusters.ColorControlCluster.Primary4IntensityAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedColorControlClusterPrimary4IntensityAttributeCallback(), + readColorControlPrimary4IntensityCommandParams + ); + readColorControlInteractionInfo.put("readPrimary4IntensityAttribute", readColorControlPrimary4IntensityAttributeInteractionInfo); + Map readColorControlPrimary5XCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlPrimary5XAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readPrimary5XAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary5XCommandParams + ); + readColorControlInteractionInfo.put("readPrimary5XAttribute", readColorControlPrimary5XAttributeInteractionInfo); + Map readColorControlPrimary5YCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlPrimary5YAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readPrimary5YAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary5YCommandParams + ); + readColorControlInteractionInfo.put("readPrimary5YAttribute", readColorControlPrimary5YAttributeInteractionInfo); + Map readColorControlPrimary5IntensityCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlPrimary5IntensityAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readPrimary5IntensityAttribute( + ( ChipClusters.ColorControlCluster.Primary5IntensityAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedColorControlClusterPrimary5IntensityAttributeCallback(), + readColorControlPrimary5IntensityCommandParams + ); + readColorControlInteractionInfo.put("readPrimary5IntensityAttribute", readColorControlPrimary5IntensityAttributeInteractionInfo); + Map readColorControlPrimary6XCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlPrimary6XAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readPrimary6XAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary6XCommandParams + ); + readColorControlInteractionInfo.put("readPrimary6XAttribute", readColorControlPrimary6XAttributeInteractionInfo); + Map readColorControlPrimary6YCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlPrimary6YAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readPrimary6YAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary6YCommandParams + ); + readColorControlInteractionInfo.put("readPrimary6YAttribute", readColorControlPrimary6YAttributeInteractionInfo); + Map readColorControlPrimary6IntensityCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlPrimary6IntensityAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readPrimary6IntensityAttribute( + ( ChipClusters.ColorControlCluster.Primary6IntensityAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedColorControlClusterPrimary6IntensityAttributeCallback(), + readColorControlPrimary6IntensityCommandParams + ); + readColorControlInteractionInfo.put("readPrimary6IntensityAttribute", readColorControlPrimary6IntensityAttributeInteractionInfo); + Map readColorControlWhitePointXCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlWhitePointXAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readWhitePointXAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlWhitePointXCommandParams + ); + readColorControlInteractionInfo.put("readWhitePointXAttribute", readColorControlWhitePointXAttributeInteractionInfo); + Map readColorControlWhitePointYCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlWhitePointYAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readWhitePointYAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlWhitePointYCommandParams + ); + readColorControlInteractionInfo.put("readWhitePointYAttribute", readColorControlWhitePointYAttributeInteractionInfo); + Map readColorControlColorPointRXCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlColorPointRXAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readColorPointRXAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorPointRXCommandParams + ); + readColorControlInteractionInfo.put("readColorPointRXAttribute", readColorControlColorPointRXAttributeInteractionInfo); + Map readColorControlColorPointRYCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlColorPointRYAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readColorPointRYAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorPointRYCommandParams + ); + readColorControlInteractionInfo.put("readColorPointRYAttribute", readColorControlColorPointRYAttributeInteractionInfo); + Map readColorControlColorPointRIntensityCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlColorPointRIntensityAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readColorPointRIntensityAttribute( + ( ChipClusters.ColorControlCluster.ColorPointRIntensityAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedColorControlClusterColorPointRIntensityAttributeCallback(), + readColorControlColorPointRIntensityCommandParams + ); + readColorControlInteractionInfo.put("readColorPointRIntensityAttribute", readColorControlColorPointRIntensityAttributeInteractionInfo); + Map readColorControlColorPointGXCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlColorPointGXAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readColorPointGXAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorPointGXCommandParams + ); + readColorControlInteractionInfo.put("readColorPointGXAttribute", readColorControlColorPointGXAttributeInteractionInfo); + Map readColorControlColorPointGYCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlColorPointGYAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readColorPointGYAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorPointGYCommandParams + ); + readColorControlInteractionInfo.put("readColorPointGYAttribute", readColorControlColorPointGYAttributeInteractionInfo); + Map readColorControlColorPointGIntensityCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlColorPointGIntensityAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readColorPointGIntensityAttribute( + ( ChipClusters.ColorControlCluster.ColorPointGIntensityAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedColorControlClusterColorPointGIntensityAttributeCallback(), + readColorControlColorPointGIntensityCommandParams + ); + readColorControlInteractionInfo.put("readColorPointGIntensityAttribute", readColorControlColorPointGIntensityAttributeInteractionInfo); + Map readColorControlColorPointBXCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlColorPointBXAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readColorPointBXAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorPointBXCommandParams + ); + readColorControlInteractionInfo.put("readColorPointBXAttribute", readColorControlColorPointBXAttributeInteractionInfo); + Map readColorControlColorPointBYCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlColorPointBYAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readColorPointBYAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorPointBYCommandParams + ); + readColorControlInteractionInfo.put("readColorPointBYAttribute", readColorControlColorPointBYAttributeInteractionInfo); + Map readColorControlColorPointBIntensityCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlColorPointBIntensityAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readColorPointBIntensityAttribute( + ( ChipClusters.ColorControlCluster.ColorPointBIntensityAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedColorControlClusterColorPointBIntensityAttributeCallback(), + readColorControlColorPointBIntensityCommandParams + ); + readColorControlInteractionInfo.put("readColorPointBIntensityAttribute", readColorControlColorPointBIntensityAttributeInteractionInfo); + Map readColorControlEnhancedCurrentHueCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlEnhancedCurrentHueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readEnhancedCurrentHueAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlEnhancedCurrentHueCommandParams + ); + readColorControlInteractionInfo.put("readEnhancedCurrentHueAttribute", readColorControlEnhancedCurrentHueAttributeInteractionInfo); + Map readColorControlEnhancedColorModeCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlEnhancedColorModeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readEnhancedColorModeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlEnhancedColorModeCommandParams + ); + readColorControlInteractionInfo.put("readEnhancedColorModeAttribute", readColorControlEnhancedColorModeAttributeInteractionInfo); + Map readColorControlColorLoopActiveCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlColorLoopActiveAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readColorLoopActiveAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorLoopActiveCommandParams + ); + readColorControlInteractionInfo.put("readColorLoopActiveAttribute", readColorControlColorLoopActiveAttributeInteractionInfo); + Map readColorControlColorLoopDirectionCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlColorLoopDirectionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readColorLoopDirectionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorLoopDirectionCommandParams + ); + readColorControlInteractionInfo.put("readColorLoopDirectionAttribute", readColorControlColorLoopDirectionAttributeInteractionInfo); + Map readColorControlColorLoopTimeCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlColorLoopTimeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readColorLoopTimeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorLoopTimeCommandParams + ); + readColorControlInteractionInfo.put("readColorLoopTimeAttribute", readColorControlColorLoopTimeAttributeInteractionInfo); + Map readColorControlColorLoopStartEnhancedHueCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlColorLoopStartEnhancedHueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readColorLoopStartEnhancedHueAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorLoopStartEnhancedHueCommandParams + ); + readColorControlInteractionInfo.put("readColorLoopStartEnhancedHueAttribute", readColorControlColorLoopStartEnhancedHueAttributeInteractionInfo); + Map readColorControlColorLoopStoredEnhancedHueCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlColorLoopStoredEnhancedHueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readColorLoopStoredEnhancedHueAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorLoopStoredEnhancedHueCommandParams + ); + readColorControlInteractionInfo.put("readColorLoopStoredEnhancedHueAttribute", readColorControlColorLoopStoredEnhancedHueAttributeInteractionInfo); + Map readColorControlColorCapabilitiesCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlColorCapabilitiesAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readColorCapabilitiesAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorCapabilitiesCommandParams + ); + readColorControlInteractionInfo.put("readColorCapabilitiesAttribute", readColorControlColorCapabilitiesAttributeInteractionInfo); + Map readColorControlColorTempPhysicalMinMiredsCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlColorTempPhysicalMinMiredsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readColorTempPhysicalMinMiredsAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorTempPhysicalMinMiredsCommandParams + ); + readColorControlInteractionInfo.put("readColorTempPhysicalMinMiredsAttribute", readColorControlColorTempPhysicalMinMiredsAttributeInteractionInfo); + Map readColorControlColorTempPhysicalMaxMiredsCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlColorTempPhysicalMaxMiredsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readColorTempPhysicalMaxMiredsAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorTempPhysicalMaxMiredsCommandParams + ); + readColorControlInteractionInfo.put("readColorTempPhysicalMaxMiredsAttribute", readColorControlColorTempPhysicalMaxMiredsAttributeInteractionInfo); + Map readColorControlCoupleColorTempToLevelMinMiredsCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlCoupleColorTempToLevelMinMiredsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readCoupleColorTempToLevelMinMiredsAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlCoupleColorTempToLevelMinMiredsCommandParams + ); + readColorControlInteractionInfo.put("readCoupleColorTempToLevelMinMiredsAttribute", readColorControlCoupleColorTempToLevelMinMiredsAttributeInteractionInfo); + Map readColorControlStartUpColorTemperatureMiredsCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlStartUpColorTemperatureMiredsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readStartUpColorTemperatureMiredsAttribute( + ( ChipClusters.ColorControlCluster.StartUpColorTemperatureMiredsAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedColorControlClusterStartUpColorTemperatureMiredsAttributeCallback(), + readColorControlStartUpColorTemperatureMiredsCommandParams + ); + readColorControlInteractionInfo.put("readStartUpColorTemperatureMiredsAttribute", readColorControlStartUpColorTemperatureMiredsAttributeInteractionInfo); + Map readColorControlGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.ColorControlCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedColorControlClusterGeneratedCommandListAttributeCallback(), + readColorControlGeneratedCommandListCommandParams + ); + readColorControlInteractionInfo.put("readGeneratedCommandListAttribute", readColorControlGeneratedCommandListAttributeInteractionInfo); + Map readColorControlAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.ColorControlCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedColorControlClusterAcceptedCommandListAttributeCallback(), + readColorControlAcceptedCommandListCommandParams + ); + readColorControlInteractionInfo.put("readAcceptedCommandListAttribute", readColorControlAcceptedCommandListAttributeInteractionInfo); + Map readColorControlEventListCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readEventListAttribute( + ( ChipClusters.ColorControlCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedColorControlClusterEventListAttributeCallback(), - readColorControlEventListCommandParams); - readColorControlInteractionInfo.put( - "readEventListAttribute", readColorControlEventListAttributeInteractionInfo); - Map readColorControlAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.ColorControlCluster.AttributeListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedColorControlClusterAttributeListAttributeCallback(), - readColorControlAttributeListCommandParams); - readColorControlInteractionInfo.put( - "readAttributeListAttribute", readColorControlAttributeListAttributeInteractionInfo); - Map readColorControlFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readColorControlFeatureMapCommandParams); - readColorControlInteractionInfo.put( - "readFeatureMapAttribute", readColorControlFeatureMapAttributeInteractionInfo); - Map readColorControlClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readColorControlClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlClusterRevisionCommandParams); - readColorControlInteractionInfo.put( - "readClusterRevisionAttribute", readColorControlClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("colorControl", readColorControlInteractionInfo); - Map readBallastConfigurationInteractionInfo = new LinkedHashMap<>(); - Map readBallastConfigurationPhysicalMinLevelCommandParams = - new LinkedHashMap(); - InteractionInfo readBallastConfigurationPhysicalMinLevelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster) - .readPhysicalMinLevelAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBallastConfigurationPhysicalMinLevelCommandParams); - readBallastConfigurationInteractionInfo.put( - "readPhysicalMinLevelAttribute", - readBallastConfigurationPhysicalMinLevelAttributeInteractionInfo); - Map readBallastConfigurationPhysicalMaxLevelCommandParams = - new LinkedHashMap(); - InteractionInfo readBallastConfigurationPhysicalMaxLevelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster) - .readPhysicalMaxLevelAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBallastConfigurationPhysicalMaxLevelCommandParams); - readBallastConfigurationInteractionInfo.put( - "readPhysicalMaxLevelAttribute", - readBallastConfigurationPhysicalMaxLevelAttributeInteractionInfo); - Map readBallastConfigurationBallastStatusCommandParams = - new LinkedHashMap(); - InteractionInfo readBallastConfigurationBallastStatusAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster) - .readBallastStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBallastConfigurationBallastStatusCommandParams); - readBallastConfigurationInteractionInfo.put( - "readBallastStatusAttribute", - readBallastConfigurationBallastStatusAttributeInteractionInfo); - Map readBallastConfigurationMinLevelCommandParams = - new LinkedHashMap(); - InteractionInfo readBallastConfigurationMinLevelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster) - .readMinLevelAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBallastConfigurationMinLevelCommandParams); - readBallastConfigurationInteractionInfo.put( - "readMinLevelAttribute", readBallastConfigurationMinLevelAttributeInteractionInfo); - Map readBallastConfigurationMaxLevelCommandParams = - new LinkedHashMap(); - InteractionInfo readBallastConfigurationMaxLevelAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster) - .readMaxLevelAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBallastConfigurationMaxLevelCommandParams); - readBallastConfigurationInteractionInfo.put( - "readMaxLevelAttribute", readBallastConfigurationMaxLevelAttributeInteractionInfo); - Map readBallastConfigurationIntrinsicBallastFactorCommandParams = - new LinkedHashMap(); - InteractionInfo readBallastConfigurationIntrinsicBallastFactorAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster) - .readIntrinsicBallastFactorAttribute( - (ChipClusters.BallastConfigurationCluster - .IntrinsicBallastFactorAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBallastConfigurationClusterIntrinsicBallastFactorAttributeCallback(), - readBallastConfigurationIntrinsicBallastFactorCommandParams); - readBallastConfigurationInteractionInfo.put( - "readIntrinsicBallastFactorAttribute", - readBallastConfigurationIntrinsicBallastFactorAttributeInteractionInfo); - Map readBallastConfigurationBallastFactorAdjustmentCommandParams = - new LinkedHashMap(); - InteractionInfo readBallastConfigurationBallastFactorAdjustmentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster) - .readBallastFactorAdjustmentAttribute( - (ChipClusters.BallastConfigurationCluster - .BallastFactorAdjustmentAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBallastConfigurationClusterBallastFactorAdjustmentAttributeCallback(), - readBallastConfigurationBallastFactorAdjustmentCommandParams); - readBallastConfigurationInteractionInfo.put( - "readBallastFactorAdjustmentAttribute", - readBallastConfigurationBallastFactorAdjustmentAttributeInteractionInfo); - Map readBallastConfigurationLampQuantityCommandParams = - new LinkedHashMap(); - InteractionInfo readBallastConfigurationLampQuantityAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster) - .readLampQuantityAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBallastConfigurationLampQuantityCommandParams); - readBallastConfigurationInteractionInfo.put( - "readLampQuantityAttribute", readBallastConfigurationLampQuantityAttributeInteractionInfo); - Map readBallastConfigurationLampTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readBallastConfigurationLampTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster) - .readLampTypeAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readColorControlEventListCommandParams + ); + readColorControlInteractionInfo.put("readEventListAttribute", readColorControlEventListAttributeInteractionInfo); + Map readColorControlAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readAttributeListAttribute( + ( ChipClusters.ColorControlCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedColorControlClusterAttributeListAttributeCallback(), + readColorControlAttributeListCommandParams + ); + readColorControlInteractionInfo.put("readAttributeListAttribute", readColorControlAttributeListAttributeInteractionInfo); + Map readColorControlFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readColorControlFeatureMapCommandParams + ); + readColorControlInteractionInfo.put("readFeatureMapAttribute", readColorControlFeatureMapAttributeInteractionInfo); + Map readColorControlClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readColorControlClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlClusterRevisionCommandParams + ); + readColorControlInteractionInfo.put("readClusterRevisionAttribute", readColorControlClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("colorControl", readColorControlInteractionInfo); + Map readBallastConfigurationInteractionInfo = new LinkedHashMap<>(); + Map readBallastConfigurationPhysicalMinLevelCommandParams = new LinkedHashMap(); + InteractionInfo readBallastConfigurationPhysicalMinLevelAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster).readPhysicalMinLevelAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBallastConfigurationPhysicalMinLevelCommandParams + ); + readBallastConfigurationInteractionInfo.put("readPhysicalMinLevelAttribute", readBallastConfigurationPhysicalMinLevelAttributeInteractionInfo); + Map readBallastConfigurationPhysicalMaxLevelCommandParams = new LinkedHashMap(); + InteractionInfo readBallastConfigurationPhysicalMaxLevelAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster).readPhysicalMaxLevelAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBallastConfigurationPhysicalMaxLevelCommandParams + ); + readBallastConfigurationInteractionInfo.put("readPhysicalMaxLevelAttribute", readBallastConfigurationPhysicalMaxLevelAttributeInteractionInfo); + Map readBallastConfigurationBallastStatusCommandParams = new LinkedHashMap(); + InteractionInfo readBallastConfigurationBallastStatusAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster).readBallastStatusAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBallastConfigurationBallastStatusCommandParams + ); + readBallastConfigurationInteractionInfo.put("readBallastStatusAttribute", readBallastConfigurationBallastStatusAttributeInteractionInfo); + Map readBallastConfigurationMinLevelCommandParams = new LinkedHashMap(); + InteractionInfo readBallastConfigurationMinLevelAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster).readMinLevelAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBallastConfigurationMinLevelCommandParams + ); + readBallastConfigurationInteractionInfo.put("readMinLevelAttribute", readBallastConfigurationMinLevelAttributeInteractionInfo); + Map readBallastConfigurationMaxLevelCommandParams = new LinkedHashMap(); + InteractionInfo readBallastConfigurationMaxLevelAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster).readMaxLevelAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBallastConfigurationMaxLevelCommandParams + ); + readBallastConfigurationInteractionInfo.put("readMaxLevelAttribute", readBallastConfigurationMaxLevelAttributeInteractionInfo); + Map readBallastConfigurationIntrinsicBallastFactorCommandParams = new LinkedHashMap(); + InteractionInfo readBallastConfigurationIntrinsicBallastFactorAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster).readIntrinsicBallastFactorAttribute( + ( ChipClusters.BallastConfigurationCluster.IntrinsicBallastFactorAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBallastConfigurationClusterIntrinsicBallastFactorAttributeCallback(), + readBallastConfigurationIntrinsicBallastFactorCommandParams + ); + readBallastConfigurationInteractionInfo.put("readIntrinsicBallastFactorAttribute", readBallastConfigurationIntrinsicBallastFactorAttributeInteractionInfo); + Map readBallastConfigurationBallastFactorAdjustmentCommandParams = new LinkedHashMap(); + InteractionInfo readBallastConfigurationBallastFactorAdjustmentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster).readBallastFactorAdjustmentAttribute( + ( ChipClusters.BallastConfigurationCluster.BallastFactorAdjustmentAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBallastConfigurationClusterBallastFactorAdjustmentAttributeCallback(), + readBallastConfigurationBallastFactorAdjustmentCommandParams + ); + readBallastConfigurationInteractionInfo.put("readBallastFactorAdjustmentAttribute", readBallastConfigurationBallastFactorAdjustmentAttributeInteractionInfo); + Map readBallastConfigurationLampQuantityCommandParams = new LinkedHashMap(); + InteractionInfo readBallastConfigurationLampQuantityAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster).readLampQuantityAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBallastConfigurationLampQuantityCommandParams + ); + readBallastConfigurationInteractionInfo.put("readLampQuantityAttribute", readBallastConfigurationLampQuantityAttributeInteractionInfo); + Map readBallastConfigurationLampTypeCommandParams = new LinkedHashMap(); + InteractionInfo readBallastConfigurationLampTypeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster).readLampTypeAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBallastConfigurationLampTypeCommandParams); - readBallastConfigurationInteractionInfo.put( - "readLampTypeAttribute", readBallastConfigurationLampTypeAttributeInteractionInfo); - Map readBallastConfigurationLampManufacturerCommandParams = - new LinkedHashMap(); - InteractionInfo readBallastConfigurationLampManufacturerAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster) - .readLampManufacturerAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, + readBallastConfigurationLampTypeCommandParams + ); + readBallastConfigurationInteractionInfo.put("readLampTypeAttribute", readBallastConfigurationLampTypeAttributeInteractionInfo); + Map readBallastConfigurationLampManufacturerCommandParams = new LinkedHashMap(); + InteractionInfo readBallastConfigurationLampManufacturerAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster).readLampManufacturerAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBallastConfigurationLampManufacturerCommandParams); - readBallastConfigurationInteractionInfo.put( - "readLampManufacturerAttribute", - readBallastConfigurationLampManufacturerAttributeInteractionInfo); - Map readBallastConfigurationLampRatedHoursCommandParams = - new LinkedHashMap(); - InteractionInfo readBallastConfigurationLampRatedHoursAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster) - .readLampRatedHoursAttribute( - (ChipClusters.BallastConfigurationCluster.LampRatedHoursAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBallastConfigurationClusterLampRatedHoursAttributeCallback(), - readBallastConfigurationLampRatedHoursCommandParams); - readBallastConfigurationInteractionInfo.put( - "readLampRatedHoursAttribute", - readBallastConfigurationLampRatedHoursAttributeInteractionInfo); - Map readBallastConfigurationLampBurnHoursCommandParams = - new LinkedHashMap(); - InteractionInfo readBallastConfigurationLampBurnHoursAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster) - .readLampBurnHoursAttribute( - (ChipClusters.BallastConfigurationCluster.LampBurnHoursAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBallastConfigurationClusterLampBurnHoursAttributeCallback(), - readBallastConfigurationLampBurnHoursCommandParams); - readBallastConfigurationInteractionInfo.put( - "readLampBurnHoursAttribute", - readBallastConfigurationLampBurnHoursAttributeInteractionInfo); - Map readBallastConfigurationLampAlarmModeCommandParams = - new LinkedHashMap(); - InteractionInfo readBallastConfigurationLampAlarmModeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster) - .readLampAlarmModeAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBallastConfigurationLampAlarmModeCommandParams); - readBallastConfigurationInteractionInfo.put( - "readLampAlarmModeAttribute", - readBallastConfigurationLampAlarmModeAttributeInteractionInfo); - Map readBallastConfigurationLampBurnHoursTripPointCommandParams = - new LinkedHashMap(); - InteractionInfo readBallastConfigurationLampBurnHoursTripPointAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster) - .readLampBurnHoursTripPointAttribute( - (ChipClusters.BallastConfigurationCluster - .LampBurnHoursTripPointAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBallastConfigurationClusterLampBurnHoursTripPointAttributeCallback(), - readBallastConfigurationLampBurnHoursTripPointCommandParams); - readBallastConfigurationInteractionInfo.put( - "readLampBurnHoursTripPointAttribute", - readBallastConfigurationLampBurnHoursTripPointAttributeInteractionInfo); - Map readBallastConfigurationGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readBallastConfigurationGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.BallastConfigurationCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBallastConfigurationClusterGeneratedCommandListAttributeCallback(), - readBallastConfigurationGeneratedCommandListCommandParams); - readBallastConfigurationInteractionInfo.put( - "readGeneratedCommandListAttribute", - readBallastConfigurationGeneratedCommandListAttributeInteractionInfo); - Map readBallastConfigurationAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readBallastConfigurationAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.BallastConfigurationCluster - .AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBallastConfigurationClusterAcceptedCommandListAttributeCallback(), - readBallastConfigurationAcceptedCommandListCommandParams); - readBallastConfigurationInteractionInfo.put( - "readAcceptedCommandListAttribute", - readBallastConfigurationAcceptedCommandListAttributeInteractionInfo); - Map readBallastConfigurationEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readBallastConfigurationEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster) - .readEventListAttribute( - (ChipClusters.BallastConfigurationCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBallastConfigurationClusterEventListAttributeCallback(), - readBallastConfigurationEventListCommandParams); - readBallastConfigurationInteractionInfo.put( - "readEventListAttribute", readBallastConfigurationEventListAttributeInteractionInfo); - Map readBallastConfigurationAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readBallastConfigurationAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.BallastConfigurationCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedBallastConfigurationClusterAttributeListAttributeCallback(), - readBallastConfigurationAttributeListCommandParams); - readBallastConfigurationInteractionInfo.put( - "readAttributeListAttribute", - readBallastConfigurationAttributeListAttributeInteractionInfo); - Map readBallastConfigurationFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readBallastConfigurationFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readBallastConfigurationFeatureMapCommandParams); - readBallastConfigurationInteractionInfo.put( - "readFeatureMapAttribute", readBallastConfigurationFeatureMapAttributeInteractionInfo); - Map readBallastConfigurationClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readBallastConfigurationClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBallastConfigurationClusterRevisionCommandParams); - readBallastConfigurationInteractionInfo.put( - "readClusterRevisionAttribute", - readBallastConfigurationClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("ballastConfiguration", readBallastConfigurationInteractionInfo); - Map readIlluminanceMeasurementInteractionInfo = new LinkedHashMap<>(); - Map readIlluminanceMeasurementMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster) - .readMeasuredValueAttribute( - (ChipClusters.IlluminanceMeasurementCluster.MeasuredValueAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedIlluminanceMeasurementClusterMeasuredValueAttributeCallback(), - readIlluminanceMeasurementMeasuredValueCommandParams); - readIlluminanceMeasurementInteractionInfo.put( - "readMeasuredValueAttribute", - readIlluminanceMeasurementMeasuredValueAttributeInteractionInfo); - Map readIlluminanceMeasurementMinMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementMinMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster) - .readMinMeasuredValueAttribute( - (ChipClusters.IlluminanceMeasurementCluster.MinMeasuredValueAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedIlluminanceMeasurementClusterMinMeasuredValueAttributeCallback(), - readIlluminanceMeasurementMinMeasuredValueCommandParams); - readIlluminanceMeasurementInteractionInfo.put( - "readMinMeasuredValueAttribute", - readIlluminanceMeasurementMinMeasuredValueAttributeInteractionInfo); - Map readIlluminanceMeasurementMaxMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementMaxMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster) - .readMaxMeasuredValueAttribute( - (ChipClusters.IlluminanceMeasurementCluster.MaxMeasuredValueAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedIlluminanceMeasurementClusterMaxMeasuredValueAttributeCallback(), - readIlluminanceMeasurementMaxMeasuredValueCommandParams); - readIlluminanceMeasurementInteractionInfo.put( - "readMaxMeasuredValueAttribute", - readIlluminanceMeasurementMaxMeasuredValueAttributeInteractionInfo); - Map readIlluminanceMeasurementToleranceCommandParams = - new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementToleranceAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster) - .readToleranceAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readIlluminanceMeasurementToleranceCommandParams); - readIlluminanceMeasurementInteractionInfo.put( - "readToleranceAttribute", readIlluminanceMeasurementToleranceAttributeInteractionInfo); - Map readIlluminanceMeasurementLightSensorTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementLightSensorTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster) - .readLightSensorTypeAttribute( - (ChipClusters.IlluminanceMeasurementCluster.LightSensorTypeAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedIlluminanceMeasurementClusterLightSensorTypeAttributeCallback(), - readIlluminanceMeasurementLightSensorTypeCommandParams); - readIlluminanceMeasurementInteractionInfo.put( - "readLightSensorTypeAttribute", - readIlluminanceMeasurementLightSensorTypeAttributeInteractionInfo); - Map readIlluminanceMeasurementGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.IlluminanceMeasurementCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedIlluminanceMeasurementClusterGeneratedCommandListAttributeCallback(), - readIlluminanceMeasurementGeneratedCommandListCommandParams); - readIlluminanceMeasurementInteractionInfo.put( - "readGeneratedCommandListAttribute", - readIlluminanceMeasurementGeneratedCommandListAttributeInteractionInfo); - Map readIlluminanceMeasurementAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.IlluminanceMeasurementCluster - .AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedIlluminanceMeasurementClusterAcceptedCommandListAttributeCallback(), - readIlluminanceMeasurementAcceptedCommandListCommandParams); - readIlluminanceMeasurementInteractionInfo.put( - "readAcceptedCommandListAttribute", - readIlluminanceMeasurementAcceptedCommandListAttributeInteractionInfo); - Map readIlluminanceMeasurementEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster) - .readEventListAttribute( - (ChipClusters.IlluminanceMeasurementCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedIlluminanceMeasurementClusterEventListAttributeCallback(), - readIlluminanceMeasurementEventListCommandParams); - readIlluminanceMeasurementInteractionInfo.put( - "readEventListAttribute", readIlluminanceMeasurementEventListAttributeInteractionInfo); - Map readIlluminanceMeasurementAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.IlluminanceMeasurementCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedIlluminanceMeasurementClusterAttributeListAttributeCallback(), - readIlluminanceMeasurementAttributeListCommandParams); - readIlluminanceMeasurementInteractionInfo.put( - "readAttributeListAttribute", - readIlluminanceMeasurementAttributeListAttributeInteractionInfo); - Map readIlluminanceMeasurementFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readIlluminanceMeasurementFeatureMapCommandParams); - readIlluminanceMeasurementInteractionInfo.put( - "readFeatureMapAttribute", readIlluminanceMeasurementFeatureMapAttributeInteractionInfo); - Map readIlluminanceMeasurementClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readIlluminanceMeasurementClusterRevisionCommandParams); - readIlluminanceMeasurementInteractionInfo.put( - "readClusterRevisionAttribute", - readIlluminanceMeasurementClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("illuminanceMeasurement", readIlluminanceMeasurementInteractionInfo); - Map readTemperatureMeasurementInteractionInfo = new LinkedHashMap<>(); - Map readTemperatureMeasurementMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster) - .readMeasuredValueAttribute( - (ChipClusters.TemperatureMeasurementCluster.MeasuredValueAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedTemperatureMeasurementClusterMeasuredValueAttributeCallback(), - readTemperatureMeasurementMeasuredValueCommandParams); - readTemperatureMeasurementInteractionInfo.put( - "readMeasuredValueAttribute", - readTemperatureMeasurementMeasuredValueAttributeInteractionInfo); - Map readTemperatureMeasurementMinMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementMinMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster) - .readMinMeasuredValueAttribute( - (ChipClusters.TemperatureMeasurementCluster.MinMeasuredValueAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedTemperatureMeasurementClusterMinMeasuredValueAttributeCallback(), - readTemperatureMeasurementMinMeasuredValueCommandParams); - readTemperatureMeasurementInteractionInfo.put( - "readMinMeasuredValueAttribute", - readTemperatureMeasurementMinMeasuredValueAttributeInteractionInfo); - Map readTemperatureMeasurementMaxMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementMaxMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster) - .readMaxMeasuredValueAttribute( - (ChipClusters.TemperatureMeasurementCluster.MaxMeasuredValueAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedTemperatureMeasurementClusterMaxMeasuredValueAttributeCallback(), - readTemperatureMeasurementMaxMeasuredValueCommandParams); - readTemperatureMeasurementInteractionInfo.put( - "readMaxMeasuredValueAttribute", - readTemperatureMeasurementMaxMeasuredValueAttributeInteractionInfo); - Map readTemperatureMeasurementToleranceCommandParams = - new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementToleranceAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster) - .readToleranceAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readTemperatureMeasurementToleranceCommandParams); - readTemperatureMeasurementInteractionInfo.put( - "readToleranceAttribute", readTemperatureMeasurementToleranceAttributeInteractionInfo); - Map readTemperatureMeasurementGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.TemperatureMeasurementCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedTemperatureMeasurementClusterGeneratedCommandListAttributeCallback(), - readTemperatureMeasurementGeneratedCommandListCommandParams); - readTemperatureMeasurementInteractionInfo.put( - "readGeneratedCommandListAttribute", - readTemperatureMeasurementGeneratedCommandListAttributeInteractionInfo); - Map readTemperatureMeasurementAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.TemperatureMeasurementCluster - .AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedTemperatureMeasurementClusterAcceptedCommandListAttributeCallback(), - readTemperatureMeasurementAcceptedCommandListCommandParams); - readTemperatureMeasurementInteractionInfo.put( - "readAcceptedCommandListAttribute", - readTemperatureMeasurementAcceptedCommandListAttributeInteractionInfo); - Map readTemperatureMeasurementEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster) - .readEventListAttribute( - (ChipClusters.TemperatureMeasurementCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedTemperatureMeasurementClusterEventListAttributeCallback(), - readTemperatureMeasurementEventListCommandParams); - readTemperatureMeasurementInteractionInfo.put( - "readEventListAttribute", readTemperatureMeasurementEventListAttributeInteractionInfo); - Map readTemperatureMeasurementAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.TemperatureMeasurementCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedTemperatureMeasurementClusterAttributeListAttributeCallback(), - readTemperatureMeasurementAttributeListCommandParams); - readTemperatureMeasurementInteractionInfo.put( - "readAttributeListAttribute", - readTemperatureMeasurementAttributeListAttributeInteractionInfo); - Map readTemperatureMeasurementFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readTemperatureMeasurementFeatureMapCommandParams); - readTemperatureMeasurementInteractionInfo.put( - "readFeatureMapAttribute", readTemperatureMeasurementFeatureMapAttributeInteractionInfo); - Map readTemperatureMeasurementClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readTemperatureMeasurementClusterRevisionCommandParams); - readTemperatureMeasurementInteractionInfo.put( - "readClusterRevisionAttribute", - readTemperatureMeasurementClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("temperatureMeasurement", readTemperatureMeasurementInteractionInfo); - Map readPressureMeasurementInteractionInfo = new LinkedHashMap<>(); - Map readPressureMeasurementMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readPressureMeasurementMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster) - .readMeasuredValueAttribute( - (ChipClusters.PressureMeasurementCluster.MeasuredValueAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPressureMeasurementClusterMeasuredValueAttributeCallback(), - readPressureMeasurementMeasuredValueCommandParams); - readPressureMeasurementInteractionInfo.put( - "readMeasuredValueAttribute", readPressureMeasurementMeasuredValueAttributeInteractionInfo); - Map readPressureMeasurementMinMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readPressureMeasurementMinMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster) - .readMinMeasuredValueAttribute( - (ChipClusters.PressureMeasurementCluster.MinMeasuredValueAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPressureMeasurementClusterMinMeasuredValueAttributeCallback(), - readPressureMeasurementMinMeasuredValueCommandParams); - readPressureMeasurementInteractionInfo.put( - "readMinMeasuredValueAttribute", - readPressureMeasurementMinMeasuredValueAttributeInteractionInfo); - Map readPressureMeasurementMaxMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readPressureMeasurementMaxMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster) - .readMaxMeasuredValueAttribute( - (ChipClusters.PressureMeasurementCluster.MaxMeasuredValueAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPressureMeasurementClusterMaxMeasuredValueAttributeCallback(), - readPressureMeasurementMaxMeasuredValueCommandParams); - readPressureMeasurementInteractionInfo.put( - "readMaxMeasuredValueAttribute", - readPressureMeasurementMaxMeasuredValueAttributeInteractionInfo); - Map readPressureMeasurementToleranceCommandParams = - new LinkedHashMap(); - InteractionInfo readPressureMeasurementToleranceAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster) - .readToleranceAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPressureMeasurementToleranceCommandParams); - readPressureMeasurementInteractionInfo.put( - "readToleranceAttribute", readPressureMeasurementToleranceAttributeInteractionInfo); - Map readPressureMeasurementScaledValueCommandParams = - new LinkedHashMap(); - InteractionInfo readPressureMeasurementScaledValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster) - .readScaledValueAttribute( - (ChipClusters.PressureMeasurementCluster.ScaledValueAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPressureMeasurementClusterScaledValueAttributeCallback(), - readPressureMeasurementScaledValueCommandParams); - readPressureMeasurementInteractionInfo.put( - "readScaledValueAttribute", readPressureMeasurementScaledValueAttributeInteractionInfo); - Map readPressureMeasurementMinScaledValueCommandParams = - new LinkedHashMap(); - InteractionInfo readPressureMeasurementMinScaledValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster) - .readMinScaledValueAttribute( - (ChipClusters.PressureMeasurementCluster.MinScaledValueAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPressureMeasurementClusterMinScaledValueAttributeCallback(), - readPressureMeasurementMinScaledValueCommandParams); - readPressureMeasurementInteractionInfo.put( - "readMinScaledValueAttribute", - readPressureMeasurementMinScaledValueAttributeInteractionInfo); - Map readPressureMeasurementMaxScaledValueCommandParams = - new LinkedHashMap(); - InteractionInfo readPressureMeasurementMaxScaledValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster) - .readMaxScaledValueAttribute( - (ChipClusters.PressureMeasurementCluster.MaxScaledValueAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPressureMeasurementClusterMaxScaledValueAttributeCallback(), - readPressureMeasurementMaxScaledValueCommandParams); - readPressureMeasurementInteractionInfo.put( - "readMaxScaledValueAttribute", - readPressureMeasurementMaxScaledValueAttributeInteractionInfo); - Map readPressureMeasurementScaledToleranceCommandParams = - new LinkedHashMap(); - InteractionInfo readPressureMeasurementScaledToleranceAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster) - .readScaledToleranceAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPressureMeasurementScaledToleranceCommandParams); - readPressureMeasurementInteractionInfo.put( - "readScaledToleranceAttribute", - readPressureMeasurementScaledToleranceAttributeInteractionInfo); - Map readPressureMeasurementScaleCommandParams = - new LinkedHashMap(); - InteractionInfo readPressureMeasurementScaleAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster) - .readScaleAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPressureMeasurementScaleCommandParams); - readPressureMeasurementInteractionInfo.put( - "readScaleAttribute", readPressureMeasurementScaleAttributeInteractionInfo); - Map readPressureMeasurementGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readPressureMeasurementGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.PressureMeasurementCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPressureMeasurementClusterGeneratedCommandListAttributeCallback(), - readPressureMeasurementGeneratedCommandListCommandParams); - readPressureMeasurementInteractionInfo.put( - "readGeneratedCommandListAttribute", - readPressureMeasurementGeneratedCommandListAttributeInteractionInfo); - Map readPressureMeasurementAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readPressureMeasurementAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.PressureMeasurementCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPressureMeasurementClusterAcceptedCommandListAttributeCallback(), - readPressureMeasurementAcceptedCommandListCommandParams); - readPressureMeasurementInteractionInfo.put( - "readAcceptedCommandListAttribute", - readPressureMeasurementAcceptedCommandListAttributeInteractionInfo); - Map readPressureMeasurementEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readPressureMeasurementEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster) - .readEventListAttribute( - (ChipClusters.PressureMeasurementCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPressureMeasurementClusterEventListAttributeCallback(), - readPressureMeasurementEventListCommandParams); - readPressureMeasurementInteractionInfo.put( - "readEventListAttribute", readPressureMeasurementEventListAttributeInteractionInfo); - Map readPressureMeasurementAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readPressureMeasurementAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.PressureMeasurementCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedPressureMeasurementClusterAttributeListAttributeCallback(), - readPressureMeasurementAttributeListCommandParams); - readPressureMeasurementInteractionInfo.put( - "readAttributeListAttribute", readPressureMeasurementAttributeListAttributeInteractionInfo); - Map readPressureMeasurementFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readPressureMeasurementFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readPressureMeasurementFeatureMapCommandParams); - readPressureMeasurementInteractionInfo.put( - "readFeatureMapAttribute", readPressureMeasurementFeatureMapAttributeInteractionInfo); - Map readPressureMeasurementClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readPressureMeasurementClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPressureMeasurementClusterRevisionCommandParams); - readPressureMeasurementInteractionInfo.put( - "readClusterRevisionAttribute", - readPressureMeasurementClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("pressureMeasurement", readPressureMeasurementInteractionInfo); - Map readFlowMeasurementInteractionInfo = new LinkedHashMap<>(); - Map readFlowMeasurementMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readFlowMeasurementMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster) - .readMeasuredValueAttribute( - (ChipClusters.FlowMeasurementCluster.MeasuredValueAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedFlowMeasurementClusterMeasuredValueAttributeCallback(), - readFlowMeasurementMeasuredValueCommandParams); - readFlowMeasurementInteractionInfo.put( - "readMeasuredValueAttribute", readFlowMeasurementMeasuredValueAttributeInteractionInfo); - Map readFlowMeasurementMinMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readFlowMeasurementMinMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster) - .readMinMeasuredValueAttribute( - (ChipClusters.FlowMeasurementCluster.MinMeasuredValueAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedFlowMeasurementClusterMinMeasuredValueAttributeCallback(), - readFlowMeasurementMinMeasuredValueCommandParams); - readFlowMeasurementInteractionInfo.put( - "readMinMeasuredValueAttribute", - readFlowMeasurementMinMeasuredValueAttributeInteractionInfo); - Map readFlowMeasurementMaxMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readFlowMeasurementMaxMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster) - .readMaxMeasuredValueAttribute( - (ChipClusters.FlowMeasurementCluster.MaxMeasuredValueAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedFlowMeasurementClusterMaxMeasuredValueAttributeCallback(), - readFlowMeasurementMaxMeasuredValueCommandParams); - readFlowMeasurementInteractionInfo.put( - "readMaxMeasuredValueAttribute", - readFlowMeasurementMaxMeasuredValueAttributeInteractionInfo); - Map readFlowMeasurementToleranceCommandParams = - new LinkedHashMap(); - InteractionInfo readFlowMeasurementToleranceAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster) - .readToleranceAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFlowMeasurementToleranceCommandParams); - readFlowMeasurementInteractionInfo.put( - "readToleranceAttribute", readFlowMeasurementToleranceAttributeInteractionInfo); - Map readFlowMeasurementGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readFlowMeasurementGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.FlowMeasurementCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedFlowMeasurementClusterGeneratedCommandListAttributeCallback(), - readFlowMeasurementGeneratedCommandListCommandParams); - readFlowMeasurementInteractionInfo.put( - "readGeneratedCommandListAttribute", - readFlowMeasurementGeneratedCommandListAttributeInteractionInfo); - Map readFlowMeasurementAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readFlowMeasurementAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.FlowMeasurementCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedFlowMeasurementClusterAcceptedCommandListAttributeCallback(), - readFlowMeasurementAcceptedCommandListCommandParams); - readFlowMeasurementInteractionInfo.put( - "readAcceptedCommandListAttribute", - readFlowMeasurementAcceptedCommandListAttributeInteractionInfo); - Map readFlowMeasurementEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readFlowMeasurementEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster) - .readEventListAttribute( - (ChipClusters.FlowMeasurementCluster.EventListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedFlowMeasurementClusterEventListAttributeCallback(), - readFlowMeasurementEventListCommandParams); - readFlowMeasurementInteractionInfo.put( - "readEventListAttribute", readFlowMeasurementEventListAttributeInteractionInfo); - Map readFlowMeasurementAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readFlowMeasurementAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.FlowMeasurementCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedFlowMeasurementClusterAttributeListAttributeCallback(), - readFlowMeasurementAttributeListCommandParams); - readFlowMeasurementInteractionInfo.put( - "readAttributeListAttribute", readFlowMeasurementAttributeListAttributeInteractionInfo); - Map readFlowMeasurementFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readFlowMeasurementFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readFlowMeasurementFeatureMapCommandParams); - readFlowMeasurementInteractionInfo.put( - "readFeatureMapAttribute", readFlowMeasurementFeatureMapAttributeInteractionInfo); - Map readFlowMeasurementClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readFlowMeasurementClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFlowMeasurementClusterRevisionCommandParams); - readFlowMeasurementInteractionInfo.put( - "readClusterRevisionAttribute", readFlowMeasurementClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("flowMeasurement", readFlowMeasurementInteractionInfo); - Map readRelativeHumidityMeasurementInteractionInfo = - new LinkedHashMap<>(); - Map readRelativeHumidityMeasurementMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) - .readMeasuredValueAttribute( - (ChipClusters.RelativeHumidityMeasurementCluster - .MeasuredValueAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedRelativeHumidityMeasurementClusterMeasuredValueAttributeCallback(), - readRelativeHumidityMeasurementMeasuredValueCommandParams); - readRelativeHumidityMeasurementInteractionInfo.put( - "readMeasuredValueAttribute", - readRelativeHumidityMeasurementMeasuredValueAttributeInteractionInfo); - Map readRelativeHumidityMeasurementMinMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementMinMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) - .readMinMeasuredValueAttribute( - (ChipClusters.RelativeHumidityMeasurementCluster - .MinMeasuredValueAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedRelativeHumidityMeasurementClusterMinMeasuredValueAttributeCallback(), - readRelativeHumidityMeasurementMinMeasuredValueCommandParams); - readRelativeHumidityMeasurementInteractionInfo.put( - "readMinMeasuredValueAttribute", - readRelativeHumidityMeasurementMinMeasuredValueAttributeInteractionInfo); - Map readRelativeHumidityMeasurementMaxMeasuredValueCommandParams = - new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementMaxMeasuredValueAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) - .readMaxMeasuredValueAttribute( - (ChipClusters.RelativeHumidityMeasurementCluster - .MaxMeasuredValueAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedRelativeHumidityMeasurementClusterMaxMeasuredValueAttributeCallback(), - readRelativeHumidityMeasurementMaxMeasuredValueCommandParams); - readRelativeHumidityMeasurementInteractionInfo.put( - "readMaxMeasuredValueAttribute", - readRelativeHumidityMeasurementMaxMeasuredValueAttributeInteractionInfo); - Map readRelativeHumidityMeasurementToleranceCommandParams = - new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementToleranceAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) - .readToleranceAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readRelativeHumidityMeasurementToleranceCommandParams); - readRelativeHumidityMeasurementInteractionInfo.put( - "readToleranceAttribute", readRelativeHumidityMeasurementToleranceAttributeInteractionInfo); - Map - readRelativeHumidityMeasurementGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.RelativeHumidityMeasurementCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedRelativeHumidityMeasurementClusterGeneratedCommandListAttributeCallback(), - readRelativeHumidityMeasurementGeneratedCommandListCommandParams); - readRelativeHumidityMeasurementInteractionInfo.put( - "readGeneratedCommandListAttribute", - readRelativeHumidityMeasurementGeneratedCommandListAttributeInteractionInfo); - Map - readRelativeHumidityMeasurementAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.RelativeHumidityMeasurementCluster - .AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedRelativeHumidityMeasurementClusterAcceptedCommandListAttributeCallback(), - readRelativeHumidityMeasurementAcceptedCommandListCommandParams); - readRelativeHumidityMeasurementInteractionInfo.put( - "readAcceptedCommandListAttribute", - readRelativeHumidityMeasurementAcceptedCommandListAttributeInteractionInfo); - Map readRelativeHumidityMeasurementEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) - .readEventListAttribute( - (ChipClusters.RelativeHumidityMeasurementCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedRelativeHumidityMeasurementClusterEventListAttributeCallback(), - readRelativeHumidityMeasurementEventListCommandParams); - readRelativeHumidityMeasurementInteractionInfo.put( - "readEventListAttribute", readRelativeHumidityMeasurementEventListAttributeInteractionInfo); - Map readRelativeHumidityMeasurementAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.RelativeHumidityMeasurementCluster - .AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedRelativeHumidityMeasurementClusterAttributeListAttributeCallback(), - readRelativeHumidityMeasurementAttributeListCommandParams); - readRelativeHumidityMeasurementInteractionInfo.put( - "readAttributeListAttribute", - readRelativeHumidityMeasurementAttributeListAttributeInteractionInfo); - Map readRelativeHumidityMeasurementFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readRelativeHumidityMeasurementFeatureMapCommandParams); - readRelativeHumidityMeasurementInteractionInfo.put( - "readFeatureMapAttribute", - readRelativeHumidityMeasurementFeatureMapAttributeInteractionInfo); - Map readRelativeHumidityMeasurementClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readRelativeHumidityMeasurementClusterRevisionCommandParams); - readRelativeHumidityMeasurementInteractionInfo.put( - "readClusterRevisionAttribute", - readRelativeHumidityMeasurementClusterRevisionAttributeInteractionInfo); - readAttributeMap.put( - "relativeHumidityMeasurement", readRelativeHumidityMeasurementInteractionInfo); - Map readOccupancySensingInteractionInfo = new LinkedHashMap<>(); - Map readOccupancySensingOccupancyCommandParams = - new LinkedHashMap(); - InteractionInfo readOccupancySensingOccupancyAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readOccupancyAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingOccupancyCommandParams); - readOccupancySensingInteractionInfo.put( - "readOccupancyAttribute", readOccupancySensingOccupancyAttributeInteractionInfo); - Map readOccupancySensingOccupancySensorTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readOccupancySensingOccupancySensorTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readOccupancySensorTypeAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingOccupancySensorTypeCommandParams); - readOccupancySensingInteractionInfo.put( - "readOccupancySensorTypeAttribute", - readOccupancySensingOccupancySensorTypeAttributeInteractionInfo); - Map readOccupancySensingOccupancySensorTypeBitmapCommandParams = - new LinkedHashMap(); - InteractionInfo readOccupancySensingOccupancySensorTypeBitmapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readOccupancySensorTypeBitmapAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingOccupancySensorTypeBitmapCommandParams); - readOccupancySensingInteractionInfo.put( - "readOccupancySensorTypeBitmapAttribute", - readOccupancySensingOccupancySensorTypeBitmapAttributeInteractionInfo); - Map - readOccupancySensingPIROccupiedToUnoccupiedDelayCommandParams = - new LinkedHashMap(); - InteractionInfo readOccupancySensingPIROccupiedToUnoccupiedDelayAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readPIROccupiedToUnoccupiedDelayAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingPIROccupiedToUnoccupiedDelayCommandParams); - readOccupancySensingInteractionInfo.put( - "readPIROccupiedToUnoccupiedDelayAttribute", - readOccupancySensingPIROccupiedToUnoccupiedDelayAttributeInteractionInfo); - Map - readOccupancySensingPIRUnoccupiedToOccupiedDelayCommandParams = - new LinkedHashMap(); - InteractionInfo readOccupancySensingPIRUnoccupiedToOccupiedDelayAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readPIRUnoccupiedToOccupiedDelayAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingPIRUnoccupiedToOccupiedDelayCommandParams); - readOccupancySensingInteractionInfo.put( - "readPIRUnoccupiedToOccupiedDelayAttribute", - readOccupancySensingPIRUnoccupiedToOccupiedDelayAttributeInteractionInfo); - Map - readOccupancySensingPIRUnoccupiedToOccupiedThresholdCommandParams = - new LinkedHashMap(); - InteractionInfo readOccupancySensingPIRUnoccupiedToOccupiedThresholdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readPIRUnoccupiedToOccupiedThresholdAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingPIRUnoccupiedToOccupiedThresholdCommandParams); - readOccupancySensingInteractionInfo.put( - "readPIRUnoccupiedToOccupiedThresholdAttribute", - readOccupancySensingPIRUnoccupiedToOccupiedThresholdAttributeInteractionInfo); - Map - readOccupancySensingUltrasonicOccupiedToUnoccupiedDelayCommandParams = - new LinkedHashMap(); - InteractionInfo - readOccupancySensingUltrasonicOccupiedToUnoccupiedDelayAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readUltrasonicOccupiedToUnoccupiedDelayAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingUltrasonicOccupiedToUnoccupiedDelayCommandParams); - readOccupancySensingInteractionInfo.put( - "readUltrasonicOccupiedToUnoccupiedDelayAttribute", - readOccupancySensingUltrasonicOccupiedToUnoccupiedDelayAttributeInteractionInfo); - Map - readOccupancySensingUltrasonicUnoccupiedToOccupiedDelayCommandParams = - new LinkedHashMap(); - InteractionInfo - readOccupancySensingUltrasonicUnoccupiedToOccupiedDelayAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readUltrasonicUnoccupiedToOccupiedDelayAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingUltrasonicUnoccupiedToOccupiedDelayCommandParams); - readOccupancySensingInteractionInfo.put( - "readUltrasonicUnoccupiedToOccupiedDelayAttribute", - readOccupancySensingUltrasonicUnoccupiedToOccupiedDelayAttributeInteractionInfo); - Map - readOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdCommandParams = - new LinkedHashMap(); - InteractionInfo - readOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readUltrasonicUnoccupiedToOccupiedThresholdAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdCommandParams); - readOccupancySensingInteractionInfo.put( - "readUltrasonicUnoccupiedToOccupiedThresholdAttribute", - readOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdAttributeInteractionInfo); - Map - readOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayCommandParams = - new LinkedHashMap(); - InteractionInfo - readOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readPhysicalContactOccupiedToUnoccupiedDelayAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayCommandParams); - readOccupancySensingInteractionInfo.put( - "readPhysicalContactOccupiedToUnoccupiedDelayAttribute", - readOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayAttributeInteractionInfo); - Map - readOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayCommandParams = - new LinkedHashMap(); - InteractionInfo - readOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readPhysicalContactUnoccupiedToOccupiedDelayAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayCommandParams); - readOccupancySensingInteractionInfo.put( - "readPhysicalContactUnoccupiedToOccupiedDelayAttribute", - readOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayAttributeInteractionInfo); - Map - readOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdCommandParams = - new LinkedHashMap(); - InteractionInfo - readOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readPhysicalContactUnoccupiedToOccupiedThresholdAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdCommandParams); - readOccupancySensingInteractionInfo.put( - "readPhysicalContactUnoccupiedToOccupiedThresholdAttribute", - readOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdAttributeInteractionInfo); - Map readOccupancySensingGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readOccupancySensingGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.OccupancySensingCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOccupancySensingClusterGeneratedCommandListAttributeCallback(), - readOccupancySensingGeneratedCommandListCommandParams); - readOccupancySensingInteractionInfo.put( - "readGeneratedCommandListAttribute", - readOccupancySensingGeneratedCommandListAttributeInteractionInfo); - Map readOccupancySensingAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readOccupancySensingAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.OccupancySensingCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOccupancySensingClusterAcceptedCommandListAttributeCallback(), - readOccupancySensingAcceptedCommandListCommandParams); - readOccupancySensingInteractionInfo.put( - "readAcceptedCommandListAttribute", - readOccupancySensingAcceptedCommandListAttributeInteractionInfo); - Map readOccupancySensingEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readOccupancySensingEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readEventListAttribute( - (ChipClusters.OccupancySensingCluster.EventListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedOccupancySensingClusterEventListAttributeCallback(), - readOccupancySensingEventListCommandParams); - readOccupancySensingInteractionInfo.put( - "readEventListAttribute", readOccupancySensingEventListAttributeInteractionInfo); - Map readOccupancySensingAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readOccupancySensingAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.OccupancySensingCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedOccupancySensingClusterAttributeListAttributeCallback(), - readOccupancySensingAttributeListCommandParams); - readOccupancySensingInteractionInfo.put( - "readAttributeListAttribute", readOccupancySensingAttributeListAttributeInteractionInfo); - Map readOccupancySensingFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readOccupancySensingFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readOccupancySensingFeatureMapCommandParams); - readOccupancySensingInteractionInfo.put( - "readFeatureMapAttribute", readOccupancySensingFeatureMapAttributeInteractionInfo); - Map readOccupancySensingClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readOccupancySensingClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingClusterRevisionCommandParams); - readOccupancySensingInteractionInfo.put( - "readClusterRevisionAttribute", - readOccupancySensingClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("occupancySensing", readOccupancySensingInteractionInfo); - Map readWakeOnLanInteractionInfo = new LinkedHashMap<>(); - Map readWakeOnLanMACAddressCommandParams = - new LinkedHashMap(); - InteractionInfo readWakeOnLanMACAddressAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WakeOnLanCluster) cluster) - .readMACAddressAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readBallastConfigurationLampManufacturerCommandParams + ); + readBallastConfigurationInteractionInfo.put("readLampManufacturerAttribute", readBallastConfigurationLampManufacturerAttributeInteractionInfo); + Map readBallastConfigurationLampRatedHoursCommandParams = new LinkedHashMap(); + InteractionInfo readBallastConfigurationLampRatedHoursAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster).readLampRatedHoursAttribute( + ( ChipClusters.BallastConfigurationCluster.LampRatedHoursAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBallastConfigurationClusterLampRatedHoursAttributeCallback(), + readBallastConfigurationLampRatedHoursCommandParams + ); + readBallastConfigurationInteractionInfo.put("readLampRatedHoursAttribute", readBallastConfigurationLampRatedHoursAttributeInteractionInfo); + Map readBallastConfigurationLampBurnHoursCommandParams = new LinkedHashMap(); + InteractionInfo readBallastConfigurationLampBurnHoursAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster).readLampBurnHoursAttribute( + ( ChipClusters.BallastConfigurationCluster.LampBurnHoursAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBallastConfigurationClusterLampBurnHoursAttributeCallback(), + readBallastConfigurationLampBurnHoursCommandParams + ); + readBallastConfigurationInteractionInfo.put("readLampBurnHoursAttribute", readBallastConfigurationLampBurnHoursAttributeInteractionInfo); + Map readBallastConfigurationLampAlarmModeCommandParams = new LinkedHashMap(); + InteractionInfo readBallastConfigurationLampAlarmModeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster).readLampAlarmModeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBallastConfigurationLampAlarmModeCommandParams + ); + readBallastConfigurationInteractionInfo.put("readLampAlarmModeAttribute", readBallastConfigurationLampAlarmModeAttributeInteractionInfo); + Map readBallastConfigurationLampBurnHoursTripPointCommandParams = new LinkedHashMap(); + InteractionInfo readBallastConfigurationLampBurnHoursTripPointAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster).readLampBurnHoursTripPointAttribute( + ( ChipClusters.BallastConfigurationCluster.LampBurnHoursTripPointAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBallastConfigurationClusterLampBurnHoursTripPointAttributeCallback(), + readBallastConfigurationLampBurnHoursTripPointCommandParams + ); + readBallastConfigurationInteractionInfo.put("readLampBurnHoursTripPointAttribute", readBallastConfigurationLampBurnHoursTripPointAttributeInteractionInfo); + Map readBallastConfigurationGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readBallastConfigurationGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.BallastConfigurationCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBallastConfigurationClusterGeneratedCommandListAttributeCallback(), + readBallastConfigurationGeneratedCommandListCommandParams + ); + readBallastConfigurationInteractionInfo.put("readGeneratedCommandListAttribute", readBallastConfigurationGeneratedCommandListAttributeInteractionInfo); + Map readBallastConfigurationAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readBallastConfigurationAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.BallastConfigurationCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBallastConfigurationClusterAcceptedCommandListAttributeCallback(), + readBallastConfigurationAcceptedCommandListCommandParams + ); + readBallastConfigurationInteractionInfo.put("readAcceptedCommandListAttribute", readBallastConfigurationAcceptedCommandListAttributeInteractionInfo); + Map readBallastConfigurationEventListCommandParams = new LinkedHashMap(); + InteractionInfo readBallastConfigurationEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster).readEventListAttribute( + ( ChipClusters.BallastConfigurationCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBallastConfigurationClusterEventListAttributeCallback(), + readBallastConfigurationEventListCommandParams + ); + readBallastConfigurationInteractionInfo.put("readEventListAttribute", readBallastConfigurationEventListAttributeInteractionInfo); + Map readBallastConfigurationAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readBallastConfigurationAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster).readAttributeListAttribute( + ( ChipClusters.BallastConfigurationCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedBallastConfigurationClusterAttributeListAttributeCallback(), + readBallastConfigurationAttributeListCommandParams + ); + readBallastConfigurationInteractionInfo.put("readAttributeListAttribute", readBallastConfigurationAttributeListAttributeInteractionInfo); + Map readBallastConfigurationFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readBallastConfigurationFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readBallastConfigurationFeatureMapCommandParams + ); + readBallastConfigurationInteractionInfo.put("readFeatureMapAttribute", readBallastConfigurationFeatureMapAttributeInteractionInfo); + Map readBallastConfigurationClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readBallastConfigurationClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBallastConfigurationClusterRevisionCommandParams + ); + readBallastConfigurationInteractionInfo.put("readClusterRevisionAttribute", readBallastConfigurationClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("ballastConfiguration", readBallastConfigurationInteractionInfo); + Map readIlluminanceMeasurementInteractionInfo = new LinkedHashMap<>(); + Map readIlluminanceMeasurementMeasuredValueCommandParams = new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementMeasuredValueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster).readMeasuredValueAttribute( + ( ChipClusters.IlluminanceMeasurementCluster.MeasuredValueAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIlluminanceMeasurementClusterMeasuredValueAttributeCallback(), + readIlluminanceMeasurementMeasuredValueCommandParams + ); + readIlluminanceMeasurementInteractionInfo.put("readMeasuredValueAttribute", readIlluminanceMeasurementMeasuredValueAttributeInteractionInfo); + Map readIlluminanceMeasurementMinMeasuredValueCommandParams = new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementMinMeasuredValueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster).readMinMeasuredValueAttribute( + ( ChipClusters.IlluminanceMeasurementCluster.MinMeasuredValueAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIlluminanceMeasurementClusterMinMeasuredValueAttributeCallback(), + readIlluminanceMeasurementMinMeasuredValueCommandParams + ); + readIlluminanceMeasurementInteractionInfo.put("readMinMeasuredValueAttribute", readIlluminanceMeasurementMinMeasuredValueAttributeInteractionInfo); + Map readIlluminanceMeasurementMaxMeasuredValueCommandParams = new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementMaxMeasuredValueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster).readMaxMeasuredValueAttribute( + ( ChipClusters.IlluminanceMeasurementCluster.MaxMeasuredValueAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIlluminanceMeasurementClusterMaxMeasuredValueAttributeCallback(), + readIlluminanceMeasurementMaxMeasuredValueCommandParams + ); + readIlluminanceMeasurementInteractionInfo.put("readMaxMeasuredValueAttribute", readIlluminanceMeasurementMaxMeasuredValueAttributeInteractionInfo); + Map readIlluminanceMeasurementToleranceCommandParams = new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementToleranceAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster).readToleranceAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readIlluminanceMeasurementToleranceCommandParams + ); + readIlluminanceMeasurementInteractionInfo.put("readToleranceAttribute", readIlluminanceMeasurementToleranceAttributeInteractionInfo); + Map readIlluminanceMeasurementLightSensorTypeCommandParams = new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementLightSensorTypeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster).readLightSensorTypeAttribute( + ( ChipClusters.IlluminanceMeasurementCluster.LightSensorTypeAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIlluminanceMeasurementClusterLightSensorTypeAttributeCallback(), + readIlluminanceMeasurementLightSensorTypeCommandParams + ); + readIlluminanceMeasurementInteractionInfo.put("readLightSensorTypeAttribute", readIlluminanceMeasurementLightSensorTypeAttributeInteractionInfo); + Map readIlluminanceMeasurementGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.IlluminanceMeasurementCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIlluminanceMeasurementClusterGeneratedCommandListAttributeCallback(), + readIlluminanceMeasurementGeneratedCommandListCommandParams + ); + readIlluminanceMeasurementInteractionInfo.put("readGeneratedCommandListAttribute", readIlluminanceMeasurementGeneratedCommandListAttributeInteractionInfo); + Map readIlluminanceMeasurementAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.IlluminanceMeasurementCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIlluminanceMeasurementClusterAcceptedCommandListAttributeCallback(), + readIlluminanceMeasurementAcceptedCommandListCommandParams + ); + readIlluminanceMeasurementInteractionInfo.put("readAcceptedCommandListAttribute", readIlluminanceMeasurementAcceptedCommandListAttributeInteractionInfo); + Map readIlluminanceMeasurementEventListCommandParams = new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster).readEventListAttribute( + ( ChipClusters.IlluminanceMeasurementCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIlluminanceMeasurementClusterEventListAttributeCallback(), + readIlluminanceMeasurementEventListCommandParams + ); + readIlluminanceMeasurementInteractionInfo.put("readEventListAttribute", readIlluminanceMeasurementEventListAttributeInteractionInfo); + Map readIlluminanceMeasurementAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster).readAttributeListAttribute( + ( ChipClusters.IlluminanceMeasurementCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIlluminanceMeasurementClusterAttributeListAttributeCallback(), + readIlluminanceMeasurementAttributeListCommandParams + ); + readIlluminanceMeasurementInteractionInfo.put("readAttributeListAttribute", readIlluminanceMeasurementAttributeListAttributeInteractionInfo); + Map readIlluminanceMeasurementFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readIlluminanceMeasurementFeatureMapCommandParams + ); + readIlluminanceMeasurementInteractionInfo.put("readFeatureMapAttribute", readIlluminanceMeasurementFeatureMapAttributeInteractionInfo); + Map readIlluminanceMeasurementClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readIlluminanceMeasurementClusterRevisionCommandParams + ); + readIlluminanceMeasurementInteractionInfo.put("readClusterRevisionAttribute", readIlluminanceMeasurementClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("illuminanceMeasurement", readIlluminanceMeasurementInteractionInfo); + Map readTemperatureMeasurementInteractionInfo = new LinkedHashMap<>(); + Map readTemperatureMeasurementMeasuredValueCommandParams = new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementMeasuredValueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster).readMeasuredValueAttribute( + ( ChipClusters.TemperatureMeasurementCluster.MeasuredValueAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedTemperatureMeasurementClusterMeasuredValueAttributeCallback(), + readTemperatureMeasurementMeasuredValueCommandParams + ); + readTemperatureMeasurementInteractionInfo.put("readMeasuredValueAttribute", readTemperatureMeasurementMeasuredValueAttributeInteractionInfo); + Map readTemperatureMeasurementMinMeasuredValueCommandParams = new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementMinMeasuredValueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster).readMinMeasuredValueAttribute( + ( ChipClusters.TemperatureMeasurementCluster.MinMeasuredValueAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedTemperatureMeasurementClusterMinMeasuredValueAttributeCallback(), + readTemperatureMeasurementMinMeasuredValueCommandParams + ); + readTemperatureMeasurementInteractionInfo.put("readMinMeasuredValueAttribute", readTemperatureMeasurementMinMeasuredValueAttributeInteractionInfo); + Map readTemperatureMeasurementMaxMeasuredValueCommandParams = new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementMaxMeasuredValueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster).readMaxMeasuredValueAttribute( + ( ChipClusters.TemperatureMeasurementCluster.MaxMeasuredValueAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedTemperatureMeasurementClusterMaxMeasuredValueAttributeCallback(), + readTemperatureMeasurementMaxMeasuredValueCommandParams + ); + readTemperatureMeasurementInteractionInfo.put("readMaxMeasuredValueAttribute", readTemperatureMeasurementMaxMeasuredValueAttributeInteractionInfo); + Map readTemperatureMeasurementToleranceCommandParams = new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementToleranceAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster).readToleranceAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readTemperatureMeasurementToleranceCommandParams + ); + readTemperatureMeasurementInteractionInfo.put("readToleranceAttribute", readTemperatureMeasurementToleranceAttributeInteractionInfo); + Map readTemperatureMeasurementGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.TemperatureMeasurementCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedTemperatureMeasurementClusterGeneratedCommandListAttributeCallback(), + readTemperatureMeasurementGeneratedCommandListCommandParams + ); + readTemperatureMeasurementInteractionInfo.put("readGeneratedCommandListAttribute", readTemperatureMeasurementGeneratedCommandListAttributeInteractionInfo); + Map readTemperatureMeasurementAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.TemperatureMeasurementCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedTemperatureMeasurementClusterAcceptedCommandListAttributeCallback(), + readTemperatureMeasurementAcceptedCommandListCommandParams + ); + readTemperatureMeasurementInteractionInfo.put("readAcceptedCommandListAttribute", readTemperatureMeasurementAcceptedCommandListAttributeInteractionInfo); + Map readTemperatureMeasurementEventListCommandParams = new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster).readEventListAttribute( + ( ChipClusters.TemperatureMeasurementCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedTemperatureMeasurementClusterEventListAttributeCallback(), + readTemperatureMeasurementEventListCommandParams + ); + readTemperatureMeasurementInteractionInfo.put("readEventListAttribute", readTemperatureMeasurementEventListAttributeInteractionInfo); + Map readTemperatureMeasurementAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster).readAttributeListAttribute( + ( ChipClusters.TemperatureMeasurementCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedTemperatureMeasurementClusterAttributeListAttributeCallback(), + readTemperatureMeasurementAttributeListCommandParams + ); + readTemperatureMeasurementInteractionInfo.put("readAttributeListAttribute", readTemperatureMeasurementAttributeListAttributeInteractionInfo); + Map readTemperatureMeasurementFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readTemperatureMeasurementFeatureMapCommandParams + ); + readTemperatureMeasurementInteractionInfo.put("readFeatureMapAttribute", readTemperatureMeasurementFeatureMapAttributeInteractionInfo); + Map readTemperatureMeasurementClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readTemperatureMeasurementClusterRevisionCommandParams + ); + readTemperatureMeasurementInteractionInfo.put("readClusterRevisionAttribute", readTemperatureMeasurementClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("temperatureMeasurement", readTemperatureMeasurementInteractionInfo); + Map readPressureMeasurementInteractionInfo = new LinkedHashMap<>(); + Map readPressureMeasurementMeasuredValueCommandParams = new LinkedHashMap(); + InteractionInfo readPressureMeasurementMeasuredValueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster).readMeasuredValueAttribute( + ( ChipClusters.PressureMeasurementCluster.MeasuredValueAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPressureMeasurementClusterMeasuredValueAttributeCallback(), + readPressureMeasurementMeasuredValueCommandParams + ); + readPressureMeasurementInteractionInfo.put("readMeasuredValueAttribute", readPressureMeasurementMeasuredValueAttributeInteractionInfo); + Map readPressureMeasurementMinMeasuredValueCommandParams = new LinkedHashMap(); + InteractionInfo readPressureMeasurementMinMeasuredValueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster).readMinMeasuredValueAttribute( + ( ChipClusters.PressureMeasurementCluster.MinMeasuredValueAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPressureMeasurementClusterMinMeasuredValueAttributeCallback(), + readPressureMeasurementMinMeasuredValueCommandParams + ); + readPressureMeasurementInteractionInfo.put("readMinMeasuredValueAttribute", readPressureMeasurementMinMeasuredValueAttributeInteractionInfo); + Map readPressureMeasurementMaxMeasuredValueCommandParams = new LinkedHashMap(); + InteractionInfo readPressureMeasurementMaxMeasuredValueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster).readMaxMeasuredValueAttribute( + ( ChipClusters.PressureMeasurementCluster.MaxMeasuredValueAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPressureMeasurementClusterMaxMeasuredValueAttributeCallback(), + readPressureMeasurementMaxMeasuredValueCommandParams + ); + readPressureMeasurementInteractionInfo.put("readMaxMeasuredValueAttribute", readPressureMeasurementMaxMeasuredValueAttributeInteractionInfo); + Map readPressureMeasurementToleranceCommandParams = new LinkedHashMap(); + InteractionInfo readPressureMeasurementToleranceAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster).readToleranceAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPressureMeasurementToleranceCommandParams + ); + readPressureMeasurementInteractionInfo.put("readToleranceAttribute", readPressureMeasurementToleranceAttributeInteractionInfo); + Map readPressureMeasurementScaledValueCommandParams = new LinkedHashMap(); + InteractionInfo readPressureMeasurementScaledValueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster).readScaledValueAttribute( + ( ChipClusters.PressureMeasurementCluster.ScaledValueAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPressureMeasurementClusterScaledValueAttributeCallback(), + readPressureMeasurementScaledValueCommandParams + ); + readPressureMeasurementInteractionInfo.put("readScaledValueAttribute", readPressureMeasurementScaledValueAttributeInteractionInfo); + Map readPressureMeasurementMinScaledValueCommandParams = new LinkedHashMap(); + InteractionInfo readPressureMeasurementMinScaledValueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster).readMinScaledValueAttribute( + ( ChipClusters.PressureMeasurementCluster.MinScaledValueAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPressureMeasurementClusterMinScaledValueAttributeCallback(), + readPressureMeasurementMinScaledValueCommandParams + ); + readPressureMeasurementInteractionInfo.put("readMinScaledValueAttribute", readPressureMeasurementMinScaledValueAttributeInteractionInfo); + Map readPressureMeasurementMaxScaledValueCommandParams = new LinkedHashMap(); + InteractionInfo readPressureMeasurementMaxScaledValueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster).readMaxScaledValueAttribute( + ( ChipClusters.PressureMeasurementCluster.MaxScaledValueAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPressureMeasurementClusterMaxScaledValueAttributeCallback(), + readPressureMeasurementMaxScaledValueCommandParams + ); + readPressureMeasurementInteractionInfo.put("readMaxScaledValueAttribute", readPressureMeasurementMaxScaledValueAttributeInteractionInfo); + Map readPressureMeasurementScaledToleranceCommandParams = new LinkedHashMap(); + InteractionInfo readPressureMeasurementScaledToleranceAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster).readScaledToleranceAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPressureMeasurementScaledToleranceCommandParams + ); + readPressureMeasurementInteractionInfo.put("readScaledToleranceAttribute", readPressureMeasurementScaledToleranceAttributeInteractionInfo); + Map readPressureMeasurementScaleCommandParams = new LinkedHashMap(); + InteractionInfo readPressureMeasurementScaleAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster).readScaleAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPressureMeasurementScaleCommandParams + ); + readPressureMeasurementInteractionInfo.put("readScaleAttribute", readPressureMeasurementScaleAttributeInteractionInfo); + Map readPressureMeasurementGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readPressureMeasurementGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.PressureMeasurementCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPressureMeasurementClusterGeneratedCommandListAttributeCallback(), + readPressureMeasurementGeneratedCommandListCommandParams + ); + readPressureMeasurementInteractionInfo.put("readGeneratedCommandListAttribute", readPressureMeasurementGeneratedCommandListAttributeInteractionInfo); + Map readPressureMeasurementAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readPressureMeasurementAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.PressureMeasurementCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPressureMeasurementClusterAcceptedCommandListAttributeCallback(), + readPressureMeasurementAcceptedCommandListCommandParams + ); + readPressureMeasurementInteractionInfo.put("readAcceptedCommandListAttribute", readPressureMeasurementAcceptedCommandListAttributeInteractionInfo); + Map readPressureMeasurementEventListCommandParams = new LinkedHashMap(); + InteractionInfo readPressureMeasurementEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster).readEventListAttribute( + ( ChipClusters.PressureMeasurementCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPressureMeasurementClusterEventListAttributeCallback(), + readPressureMeasurementEventListCommandParams + ); + readPressureMeasurementInteractionInfo.put("readEventListAttribute", readPressureMeasurementEventListAttributeInteractionInfo); + Map readPressureMeasurementAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readPressureMeasurementAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster).readAttributeListAttribute( + ( ChipClusters.PressureMeasurementCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedPressureMeasurementClusterAttributeListAttributeCallback(), + readPressureMeasurementAttributeListCommandParams + ); + readPressureMeasurementInteractionInfo.put("readAttributeListAttribute", readPressureMeasurementAttributeListAttributeInteractionInfo); + Map readPressureMeasurementFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readPressureMeasurementFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readPressureMeasurementFeatureMapCommandParams + ); + readPressureMeasurementInteractionInfo.put("readFeatureMapAttribute", readPressureMeasurementFeatureMapAttributeInteractionInfo); + Map readPressureMeasurementClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readPressureMeasurementClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPressureMeasurementClusterRevisionCommandParams + ); + readPressureMeasurementInteractionInfo.put("readClusterRevisionAttribute", readPressureMeasurementClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("pressureMeasurement", readPressureMeasurementInteractionInfo); + Map readFlowMeasurementInteractionInfo = new LinkedHashMap<>(); + Map readFlowMeasurementMeasuredValueCommandParams = new LinkedHashMap(); + InteractionInfo readFlowMeasurementMeasuredValueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster).readMeasuredValueAttribute( + ( ChipClusters.FlowMeasurementCluster.MeasuredValueAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedFlowMeasurementClusterMeasuredValueAttributeCallback(), + readFlowMeasurementMeasuredValueCommandParams + ); + readFlowMeasurementInteractionInfo.put("readMeasuredValueAttribute", readFlowMeasurementMeasuredValueAttributeInteractionInfo); + Map readFlowMeasurementMinMeasuredValueCommandParams = new LinkedHashMap(); + InteractionInfo readFlowMeasurementMinMeasuredValueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster).readMinMeasuredValueAttribute( + ( ChipClusters.FlowMeasurementCluster.MinMeasuredValueAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedFlowMeasurementClusterMinMeasuredValueAttributeCallback(), + readFlowMeasurementMinMeasuredValueCommandParams + ); + readFlowMeasurementInteractionInfo.put("readMinMeasuredValueAttribute", readFlowMeasurementMinMeasuredValueAttributeInteractionInfo); + Map readFlowMeasurementMaxMeasuredValueCommandParams = new LinkedHashMap(); + InteractionInfo readFlowMeasurementMaxMeasuredValueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster).readMaxMeasuredValueAttribute( + ( ChipClusters.FlowMeasurementCluster.MaxMeasuredValueAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedFlowMeasurementClusterMaxMeasuredValueAttributeCallback(), + readFlowMeasurementMaxMeasuredValueCommandParams + ); + readFlowMeasurementInteractionInfo.put("readMaxMeasuredValueAttribute", readFlowMeasurementMaxMeasuredValueAttributeInteractionInfo); + Map readFlowMeasurementToleranceCommandParams = new LinkedHashMap(); + InteractionInfo readFlowMeasurementToleranceAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster).readToleranceAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFlowMeasurementToleranceCommandParams + ); + readFlowMeasurementInteractionInfo.put("readToleranceAttribute", readFlowMeasurementToleranceAttributeInteractionInfo); + Map readFlowMeasurementGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readFlowMeasurementGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.FlowMeasurementCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedFlowMeasurementClusterGeneratedCommandListAttributeCallback(), + readFlowMeasurementGeneratedCommandListCommandParams + ); + readFlowMeasurementInteractionInfo.put("readGeneratedCommandListAttribute", readFlowMeasurementGeneratedCommandListAttributeInteractionInfo); + Map readFlowMeasurementAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readFlowMeasurementAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.FlowMeasurementCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedFlowMeasurementClusterAcceptedCommandListAttributeCallback(), + readFlowMeasurementAcceptedCommandListCommandParams + ); + readFlowMeasurementInteractionInfo.put("readAcceptedCommandListAttribute", readFlowMeasurementAcceptedCommandListAttributeInteractionInfo); + Map readFlowMeasurementEventListCommandParams = new LinkedHashMap(); + InteractionInfo readFlowMeasurementEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster).readEventListAttribute( + ( ChipClusters.FlowMeasurementCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedFlowMeasurementClusterEventListAttributeCallback(), + readFlowMeasurementEventListCommandParams + ); + readFlowMeasurementInteractionInfo.put("readEventListAttribute", readFlowMeasurementEventListAttributeInteractionInfo); + Map readFlowMeasurementAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readFlowMeasurementAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster).readAttributeListAttribute( + ( ChipClusters.FlowMeasurementCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedFlowMeasurementClusterAttributeListAttributeCallback(), + readFlowMeasurementAttributeListCommandParams + ); + readFlowMeasurementInteractionInfo.put("readAttributeListAttribute", readFlowMeasurementAttributeListAttributeInteractionInfo); + Map readFlowMeasurementFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readFlowMeasurementFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readFlowMeasurementFeatureMapCommandParams + ); + readFlowMeasurementInteractionInfo.put("readFeatureMapAttribute", readFlowMeasurementFeatureMapAttributeInteractionInfo); + Map readFlowMeasurementClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readFlowMeasurementClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFlowMeasurementClusterRevisionCommandParams + ); + readFlowMeasurementInteractionInfo.put("readClusterRevisionAttribute", readFlowMeasurementClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("flowMeasurement", readFlowMeasurementInteractionInfo); + Map readRelativeHumidityMeasurementInteractionInfo = new LinkedHashMap<>(); + Map readRelativeHumidityMeasurementMeasuredValueCommandParams = new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementMeasuredValueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster).readMeasuredValueAttribute( + ( ChipClusters.RelativeHumidityMeasurementCluster.MeasuredValueAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedRelativeHumidityMeasurementClusterMeasuredValueAttributeCallback(), + readRelativeHumidityMeasurementMeasuredValueCommandParams + ); + readRelativeHumidityMeasurementInteractionInfo.put("readMeasuredValueAttribute", readRelativeHumidityMeasurementMeasuredValueAttributeInteractionInfo); + Map readRelativeHumidityMeasurementMinMeasuredValueCommandParams = new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementMinMeasuredValueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster).readMinMeasuredValueAttribute( + ( ChipClusters.RelativeHumidityMeasurementCluster.MinMeasuredValueAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedRelativeHumidityMeasurementClusterMinMeasuredValueAttributeCallback(), + readRelativeHumidityMeasurementMinMeasuredValueCommandParams + ); + readRelativeHumidityMeasurementInteractionInfo.put("readMinMeasuredValueAttribute", readRelativeHumidityMeasurementMinMeasuredValueAttributeInteractionInfo); + Map readRelativeHumidityMeasurementMaxMeasuredValueCommandParams = new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementMaxMeasuredValueAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster).readMaxMeasuredValueAttribute( + ( ChipClusters.RelativeHumidityMeasurementCluster.MaxMeasuredValueAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedRelativeHumidityMeasurementClusterMaxMeasuredValueAttributeCallback(), + readRelativeHumidityMeasurementMaxMeasuredValueCommandParams + ); + readRelativeHumidityMeasurementInteractionInfo.put("readMaxMeasuredValueAttribute", readRelativeHumidityMeasurementMaxMeasuredValueAttributeInteractionInfo); + Map readRelativeHumidityMeasurementToleranceCommandParams = new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementToleranceAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster).readToleranceAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readRelativeHumidityMeasurementToleranceCommandParams + ); + readRelativeHumidityMeasurementInteractionInfo.put("readToleranceAttribute", readRelativeHumidityMeasurementToleranceAttributeInteractionInfo); + Map readRelativeHumidityMeasurementGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.RelativeHumidityMeasurementCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedRelativeHumidityMeasurementClusterGeneratedCommandListAttributeCallback(), + readRelativeHumidityMeasurementGeneratedCommandListCommandParams + ); + readRelativeHumidityMeasurementInteractionInfo.put("readGeneratedCommandListAttribute", readRelativeHumidityMeasurementGeneratedCommandListAttributeInteractionInfo); + Map readRelativeHumidityMeasurementAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.RelativeHumidityMeasurementCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedRelativeHumidityMeasurementClusterAcceptedCommandListAttributeCallback(), + readRelativeHumidityMeasurementAcceptedCommandListCommandParams + ); + readRelativeHumidityMeasurementInteractionInfo.put("readAcceptedCommandListAttribute", readRelativeHumidityMeasurementAcceptedCommandListAttributeInteractionInfo); + Map readRelativeHumidityMeasurementEventListCommandParams = new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster).readEventListAttribute( + ( ChipClusters.RelativeHumidityMeasurementCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedRelativeHumidityMeasurementClusterEventListAttributeCallback(), + readRelativeHumidityMeasurementEventListCommandParams + ); + readRelativeHumidityMeasurementInteractionInfo.put("readEventListAttribute", readRelativeHumidityMeasurementEventListAttributeInteractionInfo); + Map readRelativeHumidityMeasurementAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster).readAttributeListAttribute( + ( ChipClusters.RelativeHumidityMeasurementCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedRelativeHumidityMeasurementClusterAttributeListAttributeCallback(), + readRelativeHumidityMeasurementAttributeListCommandParams + ); + readRelativeHumidityMeasurementInteractionInfo.put("readAttributeListAttribute", readRelativeHumidityMeasurementAttributeListAttributeInteractionInfo); + Map readRelativeHumidityMeasurementFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readRelativeHumidityMeasurementFeatureMapCommandParams + ); + readRelativeHumidityMeasurementInteractionInfo.put("readFeatureMapAttribute", readRelativeHumidityMeasurementFeatureMapAttributeInteractionInfo); + Map readRelativeHumidityMeasurementClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readRelativeHumidityMeasurementClusterRevisionCommandParams + ); + readRelativeHumidityMeasurementInteractionInfo.put("readClusterRevisionAttribute", readRelativeHumidityMeasurementClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("relativeHumidityMeasurement", readRelativeHumidityMeasurementInteractionInfo); + Map readOccupancySensingInteractionInfo = new LinkedHashMap<>(); + Map readOccupancySensingOccupancyCommandParams = new LinkedHashMap(); + InteractionInfo readOccupancySensingOccupancyAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster).readOccupancyAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingOccupancyCommandParams + ); + readOccupancySensingInteractionInfo.put("readOccupancyAttribute", readOccupancySensingOccupancyAttributeInteractionInfo); + Map readOccupancySensingOccupancySensorTypeCommandParams = new LinkedHashMap(); + InteractionInfo readOccupancySensingOccupancySensorTypeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster).readOccupancySensorTypeAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingOccupancySensorTypeCommandParams + ); + readOccupancySensingInteractionInfo.put("readOccupancySensorTypeAttribute", readOccupancySensingOccupancySensorTypeAttributeInteractionInfo); + Map readOccupancySensingOccupancySensorTypeBitmapCommandParams = new LinkedHashMap(); + InteractionInfo readOccupancySensingOccupancySensorTypeBitmapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster).readOccupancySensorTypeBitmapAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingOccupancySensorTypeBitmapCommandParams + ); + readOccupancySensingInteractionInfo.put("readOccupancySensorTypeBitmapAttribute", readOccupancySensingOccupancySensorTypeBitmapAttributeInteractionInfo); + Map readOccupancySensingPIROccupiedToUnoccupiedDelayCommandParams = new LinkedHashMap(); + InteractionInfo readOccupancySensingPIROccupiedToUnoccupiedDelayAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster).readPIROccupiedToUnoccupiedDelayAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingPIROccupiedToUnoccupiedDelayCommandParams + ); + readOccupancySensingInteractionInfo.put("readPIROccupiedToUnoccupiedDelayAttribute", readOccupancySensingPIROccupiedToUnoccupiedDelayAttributeInteractionInfo); + Map readOccupancySensingPIRUnoccupiedToOccupiedDelayCommandParams = new LinkedHashMap(); + InteractionInfo readOccupancySensingPIRUnoccupiedToOccupiedDelayAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster).readPIRUnoccupiedToOccupiedDelayAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingPIRUnoccupiedToOccupiedDelayCommandParams + ); + readOccupancySensingInteractionInfo.put("readPIRUnoccupiedToOccupiedDelayAttribute", readOccupancySensingPIRUnoccupiedToOccupiedDelayAttributeInteractionInfo); + Map readOccupancySensingPIRUnoccupiedToOccupiedThresholdCommandParams = new LinkedHashMap(); + InteractionInfo readOccupancySensingPIRUnoccupiedToOccupiedThresholdAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster).readPIRUnoccupiedToOccupiedThresholdAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingPIRUnoccupiedToOccupiedThresholdCommandParams + ); + readOccupancySensingInteractionInfo.put("readPIRUnoccupiedToOccupiedThresholdAttribute", readOccupancySensingPIRUnoccupiedToOccupiedThresholdAttributeInteractionInfo); + Map readOccupancySensingUltrasonicOccupiedToUnoccupiedDelayCommandParams = new LinkedHashMap(); + InteractionInfo readOccupancySensingUltrasonicOccupiedToUnoccupiedDelayAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster).readUltrasonicOccupiedToUnoccupiedDelayAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingUltrasonicOccupiedToUnoccupiedDelayCommandParams + ); + readOccupancySensingInteractionInfo.put("readUltrasonicOccupiedToUnoccupiedDelayAttribute", readOccupancySensingUltrasonicOccupiedToUnoccupiedDelayAttributeInteractionInfo); + Map readOccupancySensingUltrasonicUnoccupiedToOccupiedDelayCommandParams = new LinkedHashMap(); + InteractionInfo readOccupancySensingUltrasonicUnoccupiedToOccupiedDelayAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster).readUltrasonicUnoccupiedToOccupiedDelayAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingUltrasonicUnoccupiedToOccupiedDelayCommandParams + ); + readOccupancySensingInteractionInfo.put("readUltrasonicUnoccupiedToOccupiedDelayAttribute", readOccupancySensingUltrasonicUnoccupiedToOccupiedDelayAttributeInteractionInfo); + Map readOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdCommandParams = new LinkedHashMap(); + InteractionInfo readOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster).readUltrasonicUnoccupiedToOccupiedThresholdAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdCommandParams + ); + readOccupancySensingInteractionInfo.put("readUltrasonicUnoccupiedToOccupiedThresholdAttribute", readOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdAttributeInteractionInfo); + Map readOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayCommandParams = new LinkedHashMap(); + InteractionInfo readOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster).readPhysicalContactOccupiedToUnoccupiedDelayAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayCommandParams + ); + readOccupancySensingInteractionInfo.put("readPhysicalContactOccupiedToUnoccupiedDelayAttribute", readOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayAttributeInteractionInfo); + Map readOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayCommandParams = new LinkedHashMap(); + InteractionInfo readOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster).readPhysicalContactUnoccupiedToOccupiedDelayAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayCommandParams + ); + readOccupancySensingInteractionInfo.put("readPhysicalContactUnoccupiedToOccupiedDelayAttribute", readOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayAttributeInteractionInfo); + Map readOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdCommandParams = new LinkedHashMap(); + InteractionInfo readOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster).readPhysicalContactUnoccupiedToOccupiedThresholdAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdCommandParams + ); + readOccupancySensingInteractionInfo.put("readPhysicalContactUnoccupiedToOccupiedThresholdAttribute", readOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdAttributeInteractionInfo); + Map readOccupancySensingGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readOccupancySensingGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.OccupancySensingCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOccupancySensingClusterGeneratedCommandListAttributeCallback(), + readOccupancySensingGeneratedCommandListCommandParams + ); + readOccupancySensingInteractionInfo.put("readGeneratedCommandListAttribute", readOccupancySensingGeneratedCommandListAttributeInteractionInfo); + Map readOccupancySensingAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readOccupancySensingAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.OccupancySensingCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOccupancySensingClusterAcceptedCommandListAttributeCallback(), + readOccupancySensingAcceptedCommandListCommandParams + ); + readOccupancySensingInteractionInfo.put("readAcceptedCommandListAttribute", readOccupancySensingAcceptedCommandListAttributeInteractionInfo); + Map readOccupancySensingEventListCommandParams = new LinkedHashMap(); + InteractionInfo readOccupancySensingEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster).readEventListAttribute( + ( ChipClusters.OccupancySensingCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOccupancySensingClusterEventListAttributeCallback(), + readOccupancySensingEventListCommandParams + ); + readOccupancySensingInteractionInfo.put("readEventListAttribute", readOccupancySensingEventListAttributeInteractionInfo); + Map readOccupancySensingAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readOccupancySensingAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster).readAttributeListAttribute( + ( ChipClusters.OccupancySensingCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedOccupancySensingClusterAttributeListAttributeCallback(), + readOccupancySensingAttributeListCommandParams + ); + readOccupancySensingInteractionInfo.put("readAttributeListAttribute", readOccupancySensingAttributeListAttributeInteractionInfo); + Map readOccupancySensingFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readOccupancySensingFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readOccupancySensingFeatureMapCommandParams + ); + readOccupancySensingInteractionInfo.put("readFeatureMapAttribute", readOccupancySensingFeatureMapAttributeInteractionInfo); + Map readOccupancySensingClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readOccupancySensingClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingClusterRevisionCommandParams + ); + readOccupancySensingInteractionInfo.put("readClusterRevisionAttribute", readOccupancySensingClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("occupancySensing", readOccupancySensingInteractionInfo); + Map readWakeOnLanInteractionInfo = new LinkedHashMap<>(); + Map readWakeOnLanMACAddressCommandParams = new LinkedHashMap(); + InteractionInfo readWakeOnLanMACAddressAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WakeOnLanCluster) cluster).readMACAddressAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readWakeOnLanMACAddressCommandParams); - readWakeOnLanInteractionInfo.put( - "readMACAddressAttribute", readWakeOnLanMACAddressAttributeInteractionInfo); - Map readWakeOnLanGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readWakeOnLanGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WakeOnLanCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.WakeOnLanCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWakeOnLanClusterGeneratedCommandListAttributeCallback(), - readWakeOnLanGeneratedCommandListCommandParams); - readWakeOnLanInteractionInfo.put( - "readGeneratedCommandListAttribute", - readWakeOnLanGeneratedCommandListAttributeInteractionInfo); - Map readWakeOnLanAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readWakeOnLanAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WakeOnLanCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.WakeOnLanCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedWakeOnLanClusterAcceptedCommandListAttributeCallback(), - readWakeOnLanAcceptedCommandListCommandParams); - readWakeOnLanInteractionInfo.put( - "readAcceptedCommandListAttribute", - readWakeOnLanAcceptedCommandListAttributeInteractionInfo); - Map readWakeOnLanEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readWakeOnLanEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WakeOnLanCluster) cluster) - .readEventListAttribute( - (ChipClusters.WakeOnLanCluster.EventListAttributeCallback) callback); - }, + readWakeOnLanMACAddressCommandParams + ); + readWakeOnLanInteractionInfo.put("readMACAddressAttribute", readWakeOnLanMACAddressAttributeInteractionInfo); + Map readWakeOnLanGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readWakeOnLanGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WakeOnLanCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.WakeOnLanCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWakeOnLanClusterGeneratedCommandListAttributeCallback(), + readWakeOnLanGeneratedCommandListCommandParams + ); + readWakeOnLanInteractionInfo.put("readGeneratedCommandListAttribute", readWakeOnLanGeneratedCommandListAttributeInteractionInfo); + Map readWakeOnLanAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readWakeOnLanAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WakeOnLanCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.WakeOnLanCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedWakeOnLanClusterAcceptedCommandListAttributeCallback(), + readWakeOnLanAcceptedCommandListCommandParams + ); + readWakeOnLanInteractionInfo.put("readAcceptedCommandListAttribute", readWakeOnLanAcceptedCommandListAttributeInteractionInfo); + Map readWakeOnLanEventListCommandParams = new LinkedHashMap(); + InteractionInfo readWakeOnLanEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WakeOnLanCluster) cluster).readEventListAttribute( + ( ChipClusters.WakeOnLanCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedWakeOnLanClusterEventListAttributeCallback(), - readWakeOnLanEventListCommandParams); - readWakeOnLanInteractionInfo.put( - "readEventListAttribute", readWakeOnLanEventListAttributeInteractionInfo); - Map readWakeOnLanAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readWakeOnLanAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WakeOnLanCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.WakeOnLanCluster.AttributeListAttributeCallback) callback); - }, + readWakeOnLanEventListCommandParams + ); + readWakeOnLanInteractionInfo.put("readEventListAttribute", readWakeOnLanEventListAttributeInteractionInfo); + Map readWakeOnLanAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readWakeOnLanAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WakeOnLanCluster) cluster).readAttributeListAttribute( + ( ChipClusters.WakeOnLanCluster.AttributeListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedWakeOnLanClusterAttributeListAttributeCallback(), - readWakeOnLanAttributeListCommandParams); - readWakeOnLanInteractionInfo.put( - "readAttributeListAttribute", readWakeOnLanAttributeListAttributeInteractionInfo); - Map readWakeOnLanFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readWakeOnLanFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WakeOnLanCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readWakeOnLanFeatureMapCommandParams); - readWakeOnLanInteractionInfo.put( - "readFeatureMapAttribute", readWakeOnLanFeatureMapAttributeInteractionInfo); - Map readWakeOnLanClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readWakeOnLanClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WakeOnLanCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWakeOnLanClusterRevisionCommandParams); - readWakeOnLanInteractionInfo.put( - "readClusterRevisionAttribute", readWakeOnLanClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("wakeOnLan", readWakeOnLanInteractionInfo); - Map readChannelInteractionInfo = new LinkedHashMap<>(); - Map readChannelChannelListCommandParams = - new LinkedHashMap(); - InteractionInfo readChannelChannelListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ChannelCluster) cluster) - .readChannelListAttribute( - (ChipClusters.ChannelCluster.ChannelListAttributeCallback) callback); - }, + readWakeOnLanAttributeListCommandParams + ); + readWakeOnLanInteractionInfo.put("readAttributeListAttribute", readWakeOnLanAttributeListAttributeInteractionInfo); + Map readWakeOnLanFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readWakeOnLanFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WakeOnLanCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readWakeOnLanFeatureMapCommandParams + ); + readWakeOnLanInteractionInfo.put("readFeatureMapAttribute", readWakeOnLanFeatureMapAttributeInteractionInfo); + Map readWakeOnLanClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readWakeOnLanClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WakeOnLanCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWakeOnLanClusterRevisionCommandParams + ); + readWakeOnLanInteractionInfo.put("readClusterRevisionAttribute", readWakeOnLanClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("wakeOnLan", readWakeOnLanInteractionInfo); + Map readChannelInteractionInfo = new LinkedHashMap<>(); + Map readChannelChannelListCommandParams = new LinkedHashMap(); + InteractionInfo readChannelChannelListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ChannelCluster) cluster).readChannelListAttribute( + ( ChipClusters.ChannelCluster.ChannelListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedChannelClusterChannelListAttributeCallback(), - readChannelChannelListCommandParams); - readChannelInteractionInfo.put( - "readChannelListAttribute", readChannelChannelListAttributeInteractionInfo); - Map readChannelGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readChannelGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ChannelCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.ChannelCluster.GeneratedCommandListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedChannelClusterGeneratedCommandListAttributeCallback(), - readChannelGeneratedCommandListCommandParams); - readChannelInteractionInfo.put( - "readGeneratedCommandListAttribute", - readChannelGeneratedCommandListAttributeInteractionInfo); - Map readChannelAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readChannelAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ChannelCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.ChannelCluster.AcceptedCommandListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedChannelClusterAcceptedCommandListAttributeCallback(), - readChannelAcceptedCommandListCommandParams); - readChannelInteractionInfo.put( - "readAcceptedCommandListAttribute", readChannelAcceptedCommandListAttributeInteractionInfo); - Map readChannelEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readChannelEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ChannelCluster) cluster) - .readEventListAttribute( - (ChipClusters.ChannelCluster.EventListAttributeCallback) callback); - }, + readChannelChannelListCommandParams + ); + readChannelInteractionInfo.put("readChannelListAttribute", readChannelChannelListAttributeInteractionInfo); + Map readChannelGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readChannelGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ChannelCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.ChannelCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedChannelClusterGeneratedCommandListAttributeCallback(), + readChannelGeneratedCommandListCommandParams + ); + readChannelInteractionInfo.put("readGeneratedCommandListAttribute", readChannelGeneratedCommandListAttributeInteractionInfo); + Map readChannelAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readChannelAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ChannelCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.ChannelCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedChannelClusterAcceptedCommandListAttributeCallback(), + readChannelAcceptedCommandListCommandParams + ); + readChannelInteractionInfo.put("readAcceptedCommandListAttribute", readChannelAcceptedCommandListAttributeInteractionInfo); + Map readChannelEventListCommandParams = new LinkedHashMap(); + InteractionInfo readChannelEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ChannelCluster) cluster).readEventListAttribute( + ( ChipClusters.ChannelCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedChannelClusterEventListAttributeCallback(), - readChannelEventListCommandParams); - readChannelInteractionInfo.put( - "readEventListAttribute", readChannelEventListAttributeInteractionInfo); - Map readChannelAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readChannelAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ChannelCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.ChannelCluster.AttributeListAttributeCallback) callback); - }, + readChannelEventListCommandParams + ); + readChannelInteractionInfo.put("readEventListAttribute", readChannelEventListAttributeInteractionInfo); + Map readChannelAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readChannelAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ChannelCluster) cluster).readAttributeListAttribute( + ( ChipClusters.ChannelCluster.AttributeListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedChannelClusterAttributeListAttributeCallback(), - readChannelAttributeListCommandParams); - readChannelInteractionInfo.put( - "readAttributeListAttribute", readChannelAttributeListAttributeInteractionInfo); - Map readChannelFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readChannelFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ChannelCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readChannelFeatureMapCommandParams); - readChannelInteractionInfo.put( - "readFeatureMapAttribute", readChannelFeatureMapAttributeInteractionInfo); - Map readChannelClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readChannelClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ChannelCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readChannelClusterRevisionCommandParams); - readChannelInteractionInfo.put( - "readClusterRevisionAttribute", readChannelClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("channel", readChannelInteractionInfo); - Map readTargetNavigatorInteractionInfo = new LinkedHashMap<>(); - Map readTargetNavigatorTargetListCommandParams = - new LinkedHashMap(); - InteractionInfo readTargetNavigatorTargetListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TargetNavigatorCluster) cluster) - .readTargetListAttribute( - (ChipClusters.TargetNavigatorCluster.TargetListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedTargetNavigatorClusterTargetListAttributeCallback(), - readTargetNavigatorTargetListCommandParams); - readTargetNavigatorInteractionInfo.put( - "readTargetListAttribute", readTargetNavigatorTargetListAttributeInteractionInfo); - Map readTargetNavigatorCurrentTargetCommandParams = - new LinkedHashMap(); - InteractionInfo readTargetNavigatorCurrentTargetAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TargetNavigatorCluster) cluster) - .readCurrentTargetAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readTargetNavigatorCurrentTargetCommandParams); - readTargetNavigatorInteractionInfo.put( - "readCurrentTargetAttribute", readTargetNavigatorCurrentTargetAttributeInteractionInfo); - Map readTargetNavigatorGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readTargetNavigatorGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TargetNavigatorCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.TargetNavigatorCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedTargetNavigatorClusterGeneratedCommandListAttributeCallback(), - readTargetNavigatorGeneratedCommandListCommandParams); - readTargetNavigatorInteractionInfo.put( - "readGeneratedCommandListAttribute", - readTargetNavigatorGeneratedCommandListAttributeInteractionInfo); - Map readTargetNavigatorAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readTargetNavigatorAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TargetNavigatorCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.TargetNavigatorCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedTargetNavigatorClusterAcceptedCommandListAttributeCallback(), - readTargetNavigatorAcceptedCommandListCommandParams); - readTargetNavigatorInteractionInfo.put( - "readAcceptedCommandListAttribute", - readTargetNavigatorAcceptedCommandListAttributeInteractionInfo); - Map readTargetNavigatorEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readTargetNavigatorEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TargetNavigatorCluster) cluster) - .readEventListAttribute( - (ChipClusters.TargetNavigatorCluster.EventListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedTargetNavigatorClusterEventListAttributeCallback(), - readTargetNavigatorEventListCommandParams); - readTargetNavigatorInteractionInfo.put( - "readEventListAttribute", readTargetNavigatorEventListAttributeInteractionInfo); - Map readTargetNavigatorAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readTargetNavigatorAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TargetNavigatorCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.TargetNavigatorCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedTargetNavigatorClusterAttributeListAttributeCallback(), - readTargetNavigatorAttributeListCommandParams); - readTargetNavigatorInteractionInfo.put( - "readAttributeListAttribute", readTargetNavigatorAttributeListAttributeInteractionInfo); - Map readTargetNavigatorFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readTargetNavigatorFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TargetNavigatorCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readTargetNavigatorFeatureMapCommandParams); - readTargetNavigatorInteractionInfo.put( - "readFeatureMapAttribute", readTargetNavigatorFeatureMapAttributeInteractionInfo); - Map readTargetNavigatorClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readTargetNavigatorClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TargetNavigatorCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readTargetNavigatorClusterRevisionCommandParams); - readTargetNavigatorInteractionInfo.put( - "readClusterRevisionAttribute", readTargetNavigatorClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("targetNavigator", readTargetNavigatorInteractionInfo); - Map readMediaPlaybackInteractionInfo = new LinkedHashMap<>(); - Map readMediaPlaybackCurrentStateCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaPlaybackCurrentStateAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .readCurrentStateAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readMediaPlaybackCurrentStateCommandParams); - readMediaPlaybackInteractionInfo.put( - "readCurrentStateAttribute", readMediaPlaybackCurrentStateAttributeInteractionInfo); - Map readMediaPlaybackStartTimeCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaPlaybackStartTimeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .readStartTimeAttribute( - (ChipClusters.MediaPlaybackCluster.StartTimeAttributeCallback) callback); - }, + readChannelAttributeListCommandParams + ); + readChannelInteractionInfo.put("readAttributeListAttribute", readChannelAttributeListAttributeInteractionInfo); + Map readChannelFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readChannelFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ChannelCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readChannelFeatureMapCommandParams + ); + readChannelInteractionInfo.put("readFeatureMapAttribute", readChannelFeatureMapAttributeInteractionInfo); + Map readChannelClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readChannelClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ChannelCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readChannelClusterRevisionCommandParams + ); + readChannelInteractionInfo.put("readClusterRevisionAttribute", readChannelClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("channel", readChannelInteractionInfo); + Map readTargetNavigatorInteractionInfo = new LinkedHashMap<>(); + Map readTargetNavigatorTargetListCommandParams = new LinkedHashMap(); + InteractionInfo readTargetNavigatorTargetListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TargetNavigatorCluster) cluster).readTargetListAttribute( + ( ChipClusters.TargetNavigatorCluster.TargetListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedTargetNavigatorClusterTargetListAttributeCallback(), + readTargetNavigatorTargetListCommandParams + ); + readTargetNavigatorInteractionInfo.put("readTargetListAttribute", readTargetNavigatorTargetListAttributeInteractionInfo); + Map readTargetNavigatorCurrentTargetCommandParams = new LinkedHashMap(); + InteractionInfo readTargetNavigatorCurrentTargetAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TargetNavigatorCluster) cluster).readCurrentTargetAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readTargetNavigatorCurrentTargetCommandParams + ); + readTargetNavigatorInteractionInfo.put("readCurrentTargetAttribute", readTargetNavigatorCurrentTargetAttributeInteractionInfo); + Map readTargetNavigatorGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readTargetNavigatorGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TargetNavigatorCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.TargetNavigatorCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedTargetNavigatorClusterGeneratedCommandListAttributeCallback(), + readTargetNavigatorGeneratedCommandListCommandParams + ); + readTargetNavigatorInteractionInfo.put("readGeneratedCommandListAttribute", readTargetNavigatorGeneratedCommandListAttributeInteractionInfo); + Map readTargetNavigatorAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readTargetNavigatorAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TargetNavigatorCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.TargetNavigatorCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedTargetNavigatorClusterAcceptedCommandListAttributeCallback(), + readTargetNavigatorAcceptedCommandListCommandParams + ); + readTargetNavigatorInteractionInfo.put("readAcceptedCommandListAttribute", readTargetNavigatorAcceptedCommandListAttributeInteractionInfo); + Map readTargetNavigatorEventListCommandParams = new LinkedHashMap(); + InteractionInfo readTargetNavigatorEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TargetNavigatorCluster) cluster).readEventListAttribute( + ( ChipClusters.TargetNavigatorCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedTargetNavigatorClusterEventListAttributeCallback(), + readTargetNavigatorEventListCommandParams + ); + readTargetNavigatorInteractionInfo.put("readEventListAttribute", readTargetNavigatorEventListAttributeInteractionInfo); + Map readTargetNavigatorAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readTargetNavigatorAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TargetNavigatorCluster) cluster).readAttributeListAttribute( + ( ChipClusters.TargetNavigatorCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedTargetNavigatorClusterAttributeListAttributeCallback(), + readTargetNavigatorAttributeListCommandParams + ); + readTargetNavigatorInteractionInfo.put("readAttributeListAttribute", readTargetNavigatorAttributeListAttributeInteractionInfo); + Map readTargetNavigatorFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readTargetNavigatorFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TargetNavigatorCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readTargetNavigatorFeatureMapCommandParams + ); + readTargetNavigatorInteractionInfo.put("readFeatureMapAttribute", readTargetNavigatorFeatureMapAttributeInteractionInfo); + Map readTargetNavigatorClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readTargetNavigatorClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TargetNavigatorCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readTargetNavigatorClusterRevisionCommandParams + ); + readTargetNavigatorInteractionInfo.put("readClusterRevisionAttribute", readTargetNavigatorClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("targetNavigator", readTargetNavigatorInteractionInfo); + Map readMediaPlaybackInteractionInfo = new LinkedHashMap<>(); + Map readMediaPlaybackCurrentStateCommandParams = new LinkedHashMap(); + InteractionInfo readMediaPlaybackCurrentStateAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster).readCurrentStateAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readMediaPlaybackCurrentStateCommandParams + ); + readMediaPlaybackInteractionInfo.put("readCurrentStateAttribute", readMediaPlaybackCurrentStateAttributeInteractionInfo); + Map readMediaPlaybackStartTimeCommandParams = new LinkedHashMap(); + InteractionInfo readMediaPlaybackStartTimeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster).readStartTimeAttribute( + ( ChipClusters.MediaPlaybackCluster.StartTimeAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedMediaPlaybackClusterStartTimeAttributeCallback(), - readMediaPlaybackStartTimeCommandParams); - readMediaPlaybackInteractionInfo.put( - "readStartTimeAttribute", readMediaPlaybackStartTimeAttributeInteractionInfo); - Map readMediaPlaybackDurationCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaPlaybackDurationAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .readDurationAttribute( - (ChipClusters.MediaPlaybackCluster.DurationAttributeCallback) callback); - }, + readMediaPlaybackStartTimeCommandParams + ); + readMediaPlaybackInteractionInfo.put("readStartTimeAttribute", readMediaPlaybackStartTimeAttributeInteractionInfo); + Map readMediaPlaybackDurationCommandParams = new LinkedHashMap(); + InteractionInfo readMediaPlaybackDurationAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster).readDurationAttribute( + ( ChipClusters.MediaPlaybackCluster.DurationAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedMediaPlaybackClusterDurationAttributeCallback(), - readMediaPlaybackDurationCommandParams); - readMediaPlaybackInteractionInfo.put( - "readDurationAttribute", readMediaPlaybackDurationAttributeInteractionInfo); - Map readMediaPlaybackPlaybackSpeedCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaPlaybackPlaybackSpeedAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .readPlaybackSpeedAttribute((ChipClusters.FloatAttributeCallback) callback); - }, + readMediaPlaybackDurationCommandParams + ); + readMediaPlaybackInteractionInfo.put("readDurationAttribute", readMediaPlaybackDurationAttributeInteractionInfo); + Map readMediaPlaybackPlaybackSpeedCommandParams = new LinkedHashMap(); + InteractionInfo readMediaPlaybackPlaybackSpeedAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster).readPlaybackSpeedAttribute( + ( + ChipClusters.FloatAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedFloatAttributeCallback(), - readMediaPlaybackPlaybackSpeedCommandParams); - readMediaPlaybackInteractionInfo.put( - "readPlaybackSpeedAttribute", readMediaPlaybackPlaybackSpeedAttributeInteractionInfo); - Map readMediaPlaybackSeekRangeEndCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaPlaybackSeekRangeEndAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .readSeekRangeEndAttribute( - (ChipClusters.MediaPlaybackCluster.SeekRangeEndAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedMediaPlaybackClusterSeekRangeEndAttributeCallback(), - readMediaPlaybackSeekRangeEndCommandParams); - readMediaPlaybackInteractionInfo.put( - "readSeekRangeEndAttribute", readMediaPlaybackSeekRangeEndAttributeInteractionInfo); - Map readMediaPlaybackSeekRangeStartCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaPlaybackSeekRangeStartAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .readSeekRangeStartAttribute( - (ChipClusters.MediaPlaybackCluster.SeekRangeStartAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedMediaPlaybackClusterSeekRangeStartAttributeCallback(), - readMediaPlaybackSeekRangeStartCommandParams); - readMediaPlaybackInteractionInfo.put( - "readSeekRangeStartAttribute", readMediaPlaybackSeekRangeStartAttributeInteractionInfo); - Map readMediaPlaybackGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaPlaybackGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.MediaPlaybackCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedMediaPlaybackClusterGeneratedCommandListAttributeCallback(), - readMediaPlaybackGeneratedCommandListCommandParams); - readMediaPlaybackInteractionInfo.put( - "readGeneratedCommandListAttribute", - readMediaPlaybackGeneratedCommandListAttributeInteractionInfo); - Map readMediaPlaybackAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaPlaybackAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.MediaPlaybackCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedMediaPlaybackClusterAcceptedCommandListAttributeCallback(), - readMediaPlaybackAcceptedCommandListCommandParams); - readMediaPlaybackInteractionInfo.put( - "readAcceptedCommandListAttribute", - readMediaPlaybackAcceptedCommandListAttributeInteractionInfo); - Map readMediaPlaybackEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaPlaybackEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .readEventListAttribute( - (ChipClusters.MediaPlaybackCluster.EventListAttributeCallback) callback); - }, + readMediaPlaybackPlaybackSpeedCommandParams + ); + readMediaPlaybackInteractionInfo.put("readPlaybackSpeedAttribute", readMediaPlaybackPlaybackSpeedAttributeInteractionInfo); + Map readMediaPlaybackSeekRangeEndCommandParams = new LinkedHashMap(); + InteractionInfo readMediaPlaybackSeekRangeEndAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster).readSeekRangeEndAttribute( + ( ChipClusters.MediaPlaybackCluster.SeekRangeEndAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedMediaPlaybackClusterSeekRangeEndAttributeCallback(), + readMediaPlaybackSeekRangeEndCommandParams + ); + readMediaPlaybackInteractionInfo.put("readSeekRangeEndAttribute", readMediaPlaybackSeekRangeEndAttributeInteractionInfo); + Map readMediaPlaybackSeekRangeStartCommandParams = new LinkedHashMap(); + InteractionInfo readMediaPlaybackSeekRangeStartAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster).readSeekRangeStartAttribute( + ( ChipClusters.MediaPlaybackCluster.SeekRangeStartAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedMediaPlaybackClusterSeekRangeStartAttributeCallback(), + readMediaPlaybackSeekRangeStartCommandParams + ); + readMediaPlaybackInteractionInfo.put("readSeekRangeStartAttribute", readMediaPlaybackSeekRangeStartAttributeInteractionInfo); + Map readMediaPlaybackGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readMediaPlaybackGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.MediaPlaybackCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedMediaPlaybackClusterGeneratedCommandListAttributeCallback(), + readMediaPlaybackGeneratedCommandListCommandParams + ); + readMediaPlaybackInteractionInfo.put("readGeneratedCommandListAttribute", readMediaPlaybackGeneratedCommandListAttributeInteractionInfo); + Map readMediaPlaybackAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readMediaPlaybackAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.MediaPlaybackCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedMediaPlaybackClusterAcceptedCommandListAttributeCallback(), + readMediaPlaybackAcceptedCommandListCommandParams + ); + readMediaPlaybackInteractionInfo.put("readAcceptedCommandListAttribute", readMediaPlaybackAcceptedCommandListAttributeInteractionInfo); + Map readMediaPlaybackEventListCommandParams = new LinkedHashMap(); + InteractionInfo readMediaPlaybackEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster).readEventListAttribute( + ( ChipClusters.MediaPlaybackCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedMediaPlaybackClusterEventListAttributeCallback(), - readMediaPlaybackEventListCommandParams); - readMediaPlaybackInteractionInfo.put( - "readEventListAttribute", readMediaPlaybackEventListAttributeInteractionInfo); - Map readMediaPlaybackAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaPlaybackAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.MediaPlaybackCluster.AttributeListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedMediaPlaybackClusterAttributeListAttributeCallback(), - readMediaPlaybackAttributeListCommandParams); - readMediaPlaybackInteractionInfo.put( - "readAttributeListAttribute", readMediaPlaybackAttributeListAttributeInteractionInfo); - Map readMediaPlaybackFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaPlaybackFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readMediaPlaybackFeatureMapCommandParams); - readMediaPlaybackInteractionInfo.put( - "readFeatureMapAttribute", readMediaPlaybackFeatureMapAttributeInteractionInfo); - Map readMediaPlaybackClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaPlaybackClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readMediaPlaybackClusterRevisionCommandParams); - readMediaPlaybackInteractionInfo.put( - "readClusterRevisionAttribute", readMediaPlaybackClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("mediaPlayback", readMediaPlaybackInteractionInfo); - Map readMediaInputInteractionInfo = new LinkedHashMap<>(); - Map readMediaInputInputListCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaInputInputListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster) - .readInputListAttribute( - (ChipClusters.MediaInputCluster.InputListAttributeCallback) callback); - }, + readMediaPlaybackEventListCommandParams + ); + readMediaPlaybackInteractionInfo.put("readEventListAttribute", readMediaPlaybackEventListAttributeInteractionInfo); + Map readMediaPlaybackAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readMediaPlaybackAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster).readAttributeListAttribute( + ( ChipClusters.MediaPlaybackCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedMediaPlaybackClusterAttributeListAttributeCallback(), + readMediaPlaybackAttributeListCommandParams + ); + readMediaPlaybackInteractionInfo.put("readAttributeListAttribute", readMediaPlaybackAttributeListAttributeInteractionInfo); + Map readMediaPlaybackFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readMediaPlaybackFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readMediaPlaybackFeatureMapCommandParams + ); + readMediaPlaybackInteractionInfo.put("readFeatureMapAttribute", readMediaPlaybackFeatureMapAttributeInteractionInfo); + Map readMediaPlaybackClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readMediaPlaybackClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readMediaPlaybackClusterRevisionCommandParams + ); + readMediaPlaybackInteractionInfo.put("readClusterRevisionAttribute", readMediaPlaybackClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("mediaPlayback", readMediaPlaybackInteractionInfo); + Map readMediaInputInteractionInfo = new LinkedHashMap<>(); + Map readMediaInputInputListCommandParams = new LinkedHashMap(); + InteractionInfo readMediaInputInputListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster).readInputListAttribute( + ( ChipClusters.MediaInputCluster.InputListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedMediaInputClusterInputListAttributeCallback(), - readMediaInputInputListCommandParams); - readMediaInputInteractionInfo.put( - "readInputListAttribute", readMediaInputInputListAttributeInteractionInfo); - Map readMediaInputCurrentInputCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaInputCurrentInputAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster) - .readCurrentInputAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readMediaInputCurrentInputCommandParams); - readMediaInputInteractionInfo.put( - "readCurrentInputAttribute", readMediaInputCurrentInputAttributeInteractionInfo); - Map readMediaInputGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaInputGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.MediaInputCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedMediaInputClusterGeneratedCommandListAttributeCallback(), - readMediaInputGeneratedCommandListCommandParams); - readMediaInputInteractionInfo.put( - "readGeneratedCommandListAttribute", - readMediaInputGeneratedCommandListAttributeInteractionInfo); - Map readMediaInputAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaInputAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.MediaInputCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedMediaInputClusterAcceptedCommandListAttributeCallback(), - readMediaInputAcceptedCommandListCommandParams); - readMediaInputInteractionInfo.put( - "readAcceptedCommandListAttribute", - readMediaInputAcceptedCommandListAttributeInteractionInfo); - Map readMediaInputEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaInputEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster) - .readEventListAttribute( - (ChipClusters.MediaInputCluster.EventListAttributeCallback) callback); - }, + readMediaInputInputListCommandParams + ); + readMediaInputInteractionInfo.put("readInputListAttribute", readMediaInputInputListAttributeInteractionInfo); + Map readMediaInputCurrentInputCommandParams = new LinkedHashMap(); + InteractionInfo readMediaInputCurrentInputAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster).readCurrentInputAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readMediaInputCurrentInputCommandParams + ); + readMediaInputInteractionInfo.put("readCurrentInputAttribute", readMediaInputCurrentInputAttributeInteractionInfo); + Map readMediaInputGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readMediaInputGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.MediaInputCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedMediaInputClusterGeneratedCommandListAttributeCallback(), + readMediaInputGeneratedCommandListCommandParams + ); + readMediaInputInteractionInfo.put("readGeneratedCommandListAttribute", readMediaInputGeneratedCommandListAttributeInteractionInfo); + Map readMediaInputAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readMediaInputAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.MediaInputCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedMediaInputClusterAcceptedCommandListAttributeCallback(), + readMediaInputAcceptedCommandListCommandParams + ); + readMediaInputInteractionInfo.put("readAcceptedCommandListAttribute", readMediaInputAcceptedCommandListAttributeInteractionInfo); + Map readMediaInputEventListCommandParams = new LinkedHashMap(); + InteractionInfo readMediaInputEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster).readEventListAttribute( + ( ChipClusters.MediaInputCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedMediaInputClusterEventListAttributeCallback(), - readMediaInputEventListCommandParams); - readMediaInputInteractionInfo.put( - "readEventListAttribute", readMediaInputEventListAttributeInteractionInfo); - Map readMediaInputAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaInputAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.MediaInputCluster.AttributeListAttributeCallback) callback); - }, + readMediaInputEventListCommandParams + ); + readMediaInputInteractionInfo.put("readEventListAttribute", readMediaInputEventListAttributeInteractionInfo); + Map readMediaInputAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readMediaInputAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster).readAttributeListAttribute( + ( ChipClusters.MediaInputCluster.AttributeListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedMediaInputClusterAttributeListAttributeCallback(), - readMediaInputAttributeListCommandParams); - readMediaInputInteractionInfo.put( - "readAttributeListAttribute", readMediaInputAttributeListAttributeInteractionInfo); - Map readMediaInputFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaInputFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readMediaInputFeatureMapCommandParams); - readMediaInputInteractionInfo.put( - "readFeatureMapAttribute", readMediaInputFeatureMapAttributeInteractionInfo); - Map readMediaInputClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readMediaInputClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readMediaInputClusterRevisionCommandParams); - readMediaInputInteractionInfo.put( - "readClusterRevisionAttribute", readMediaInputClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("mediaInput", readMediaInputInteractionInfo); - Map readLowPowerInteractionInfo = new LinkedHashMap<>(); - Map readLowPowerGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readLowPowerGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LowPowerCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.LowPowerCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedLowPowerClusterGeneratedCommandListAttributeCallback(), - readLowPowerGeneratedCommandListCommandParams); - readLowPowerInteractionInfo.put( - "readGeneratedCommandListAttribute", - readLowPowerGeneratedCommandListAttributeInteractionInfo); - Map readLowPowerAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readLowPowerAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LowPowerCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.LowPowerCluster.AcceptedCommandListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedLowPowerClusterAcceptedCommandListAttributeCallback(), - readLowPowerAcceptedCommandListCommandParams); - readLowPowerInteractionInfo.put( - "readAcceptedCommandListAttribute", - readLowPowerAcceptedCommandListAttributeInteractionInfo); - Map readLowPowerEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readLowPowerEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LowPowerCluster) cluster) - .readEventListAttribute( - (ChipClusters.LowPowerCluster.EventListAttributeCallback) callback); - }, + readMediaInputAttributeListCommandParams + ); + readMediaInputInteractionInfo.put("readAttributeListAttribute", readMediaInputAttributeListAttributeInteractionInfo); + Map readMediaInputFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readMediaInputFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readMediaInputFeatureMapCommandParams + ); + readMediaInputInteractionInfo.put("readFeatureMapAttribute", readMediaInputFeatureMapAttributeInteractionInfo); + Map readMediaInputClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readMediaInputClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readMediaInputClusterRevisionCommandParams + ); + readMediaInputInteractionInfo.put("readClusterRevisionAttribute", readMediaInputClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("mediaInput", readMediaInputInteractionInfo); + Map readLowPowerInteractionInfo = new LinkedHashMap<>(); + Map readLowPowerGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readLowPowerGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LowPowerCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.LowPowerCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLowPowerClusterGeneratedCommandListAttributeCallback(), + readLowPowerGeneratedCommandListCommandParams + ); + readLowPowerInteractionInfo.put("readGeneratedCommandListAttribute", readLowPowerGeneratedCommandListAttributeInteractionInfo); + Map readLowPowerAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readLowPowerAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LowPowerCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.LowPowerCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLowPowerClusterAcceptedCommandListAttributeCallback(), + readLowPowerAcceptedCommandListCommandParams + ); + readLowPowerInteractionInfo.put("readAcceptedCommandListAttribute", readLowPowerAcceptedCommandListAttributeInteractionInfo); + Map readLowPowerEventListCommandParams = new LinkedHashMap(); + InteractionInfo readLowPowerEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LowPowerCluster) cluster).readEventListAttribute( + ( ChipClusters.LowPowerCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedLowPowerClusterEventListAttributeCallback(), - readLowPowerEventListCommandParams); - readLowPowerInteractionInfo.put( - "readEventListAttribute", readLowPowerEventListAttributeInteractionInfo); - Map readLowPowerAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readLowPowerAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LowPowerCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.LowPowerCluster.AttributeListAttributeCallback) callback); - }, + readLowPowerEventListCommandParams + ); + readLowPowerInteractionInfo.put("readEventListAttribute", readLowPowerEventListAttributeInteractionInfo); + Map readLowPowerAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readLowPowerAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LowPowerCluster) cluster).readAttributeListAttribute( + ( ChipClusters.LowPowerCluster.AttributeListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedLowPowerClusterAttributeListAttributeCallback(), - readLowPowerAttributeListCommandParams); - readLowPowerInteractionInfo.put( - "readAttributeListAttribute", readLowPowerAttributeListAttributeInteractionInfo); - Map readLowPowerFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readLowPowerFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LowPowerCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readLowPowerFeatureMapCommandParams); - readLowPowerInteractionInfo.put( - "readFeatureMapAttribute", readLowPowerFeatureMapAttributeInteractionInfo); - Map readLowPowerClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readLowPowerClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LowPowerCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readLowPowerClusterRevisionCommandParams); - readLowPowerInteractionInfo.put( - "readClusterRevisionAttribute", readLowPowerClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("lowPower", readLowPowerInteractionInfo); - Map readKeypadInputInteractionInfo = new LinkedHashMap<>(); - Map readKeypadInputGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readKeypadInputGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.KeypadInputCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.KeypadInputCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedKeypadInputClusterGeneratedCommandListAttributeCallback(), - readKeypadInputGeneratedCommandListCommandParams); - readKeypadInputInteractionInfo.put( - "readGeneratedCommandListAttribute", - readKeypadInputGeneratedCommandListAttributeInteractionInfo); - Map readKeypadInputAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readKeypadInputAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.KeypadInputCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.KeypadInputCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedKeypadInputClusterAcceptedCommandListAttributeCallback(), - readKeypadInputAcceptedCommandListCommandParams); - readKeypadInputInteractionInfo.put( - "readAcceptedCommandListAttribute", - readKeypadInputAcceptedCommandListAttributeInteractionInfo); - Map readKeypadInputEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readKeypadInputEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.KeypadInputCluster) cluster) - .readEventListAttribute( - (ChipClusters.KeypadInputCluster.EventListAttributeCallback) callback); - }, + readLowPowerAttributeListCommandParams + ); + readLowPowerInteractionInfo.put("readAttributeListAttribute", readLowPowerAttributeListAttributeInteractionInfo); + Map readLowPowerFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readLowPowerFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LowPowerCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readLowPowerFeatureMapCommandParams + ); + readLowPowerInteractionInfo.put("readFeatureMapAttribute", readLowPowerFeatureMapAttributeInteractionInfo); + Map readLowPowerClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readLowPowerClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LowPowerCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readLowPowerClusterRevisionCommandParams + ); + readLowPowerInteractionInfo.put("readClusterRevisionAttribute", readLowPowerClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("lowPower", readLowPowerInteractionInfo); + Map readKeypadInputInteractionInfo = new LinkedHashMap<>(); + Map readKeypadInputGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readKeypadInputGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.KeypadInputCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.KeypadInputCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedKeypadInputClusterGeneratedCommandListAttributeCallback(), + readKeypadInputGeneratedCommandListCommandParams + ); + readKeypadInputInteractionInfo.put("readGeneratedCommandListAttribute", readKeypadInputGeneratedCommandListAttributeInteractionInfo); + Map readKeypadInputAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readKeypadInputAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.KeypadInputCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.KeypadInputCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedKeypadInputClusterAcceptedCommandListAttributeCallback(), + readKeypadInputAcceptedCommandListCommandParams + ); + readKeypadInputInteractionInfo.put("readAcceptedCommandListAttribute", readKeypadInputAcceptedCommandListAttributeInteractionInfo); + Map readKeypadInputEventListCommandParams = new LinkedHashMap(); + InteractionInfo readKeypadInputEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.KeypadInputCluster) cluster).readEventListAttribute( + ( ChipClusters.KeypadInputCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedKeypadInputClusterEventListAttributeCallback(), - readKeypadInputEventListCommandParams); - readKeypadInputInteractionInfo.put( - "readEventListAttribute", readKeypadInputEventListAttributeInteractionInfo); - Map readKeypadInputAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readKeypadInputAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.KeypadInputCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.KeypadInputCluster.AttributeListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedKeypadInputClusterAttributeListAttributeCallback(), - readKeypadInputAttributeListCommandParams); - readKeypadInputInteractionInfo.put( - "readAttributeListAttribute", readKeypadInputAttributeListAttributeInteractionInfo); - Map readKeypadInputFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readKeypadInputFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.KeypadInputCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readKeypadInputFeatureMapCommandParams); - readKeypadInputInteractionInfo.put( - "readFeatureMapAttribute", readKeypadInputFeatureMapAttributeInteractionInfo); - Map readKeypadInputClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readKeypadInputClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.KeypadInputCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readKeypadInputClusterRevisionCommandParams); - readKeypadInputInteractionInfo.put( - "readClusterRevisionAttribute", readKeypadInputClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("keypadInput", readKeypadInputInteractionInfo); - Map readContentLauncherInteractionInfo = new LinkedHashMap<>(); - Map readContentLauncherAcceptHeaderCommandParams = - new LinkedHashMap(); - InteractionInfo readContentLauncherAcceptHeaderAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ContentLauncherCluster) cluster) - .readAcceptHeaderAttribute( - (ChipClusters.ContentLauncherCluster.AcceptHeaderAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedContentLauncherClusterAcceptHeaderAttributeCallback(), - readContentLauncherAcceptHeaderCommandParams); - readContentLauncherInteractionInfo.put( - "readAcceptHeaderAttribute", readContentLauncherAcceptHeaderAttributeInteractionInfo); - Map readContentLauncherSupportedStreamingProtocolsCommandParams = - new LinkedHashMap(); - InteractionInfo readContentLauncherSupportedStreamingProtocolsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ContentLauncherCluster) cluster) - .readSupportedStreamingProtocolsAttribute( - (ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readContentLauncherSupportedStreamingProtocolsCommandParams); - readContentLauncherInteractionInfo.put( - "readSupportedStreamingProtocolsAttribute", - readContentLauncherSupportedStreamingProtocolsAttributeInteractionInfo); - Map readContentLauncherGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readContentLauncherGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ContentLauncherCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.ContentLauncherCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedContentLauncherClusterGeneratedCommandListAttributeCallback(), - readContentLauncherGeneratedCommandListCommandParams); - readContentLauncherInteractionInfo.put( - "readGeneratedCommandListAttribute", - readContentLauncherGeneratedCommandListAttributeInteractionInfo); - Map readContentLauncherAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readContentLauncherAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ContentLauncherCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.ContentLauncherCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedContentLauncherClusterAcceptedCommandListAttributeCallback(), - readContentLauncherAcceptedCommandListCommandParams); - readContentLauncherInteractionInfo.put( - "readAcceptedCommandListAttribute", - readContentLauncherAcceptedCommandListAttributeInteractionInfo); - Map readContentLauncherEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readContentLauncherEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ContentLauncherCluster) cluster) - .readEventListAttribute( - (ChipClusters.ContentLauncherCluster.EventListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedContentLauncherClusterEventListAttributeCallback(), - readContentLauncherEventListCommandParams); - readContentLauncherInteractionInfo.put( - "readEventListAttribute", readContentLauncherEventListAttributeInteractionInfo); - Map readContentLauncherAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readContentLauncherAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ContentLauncherCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.ContentLauncherCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedContentLauncherClusterAttributeListAttributeCallback(), - readContentLauncherAttributeListCommandParams); - readContentLauncherInteractionInfo.put( - "readAttributeListAttribute", readContentLauncherAttributeListAttributeInteractionInfo); - Map readContentLauncherFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readContentLauncherFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ContentLauncherCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readContentLauncherFeatureMapCommandParams); - readContentLauncherInteractionInfo.put( - "readFeatureMapAttribute", readContentLauncherFeatureMapAttributeInteractionInfo); - Map readContentLauncherClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readContentLauncherClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ContentLauncherCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readContentLauncherClusterRevisionCommandParams); - readContentLauncherInteractionInfo.put( - "readClusterRevisionAttribute", readContentLauncherClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("contentLauncher", readContentLauncherInteractionInfo); - Map readAudioOutputInteractionInfo = new LinkedHashMap<>(); - Map readAudioOutputOutputListCommandParams = - new LinkedHashMap(); - InteractionInfo readAudioOutputOutputListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AudioOutputCluster) cluster) - .readOutputListAttribute( - (ChipClusters.AudioOutputCluster.OutputListAttributeCallback) callback); - }, + readKeypadInputEventListCommandParams + ); + readKeypadInputInteractionInfo.put("readEventListAttribute", readKeypadInputEventListAttributeInteractionInfo); + Map readKeypadInputAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readKeypadInputAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.KeypadInputCluster) cluster).readAttributeListAttribute( + ( ChipClusters.KeypadInputCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedKeypadInputClusterAttributeListAttributeCallback(), + readKeypadInputAttributeListCommandParams + ); + readKeypadInputInteractionInfo.put("readAttributeListAttribute", readKeypadInputAttributeListAttributeInteractionInfo); + Map readKeypadInputFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readKeypadInputFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.KeypadInputCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readKeypadInputFeatureMapCommandParams + ); + readKeypadInputInteractionInfo.put("readFeatureMapAttribute", readKeypadInputFeatureMapAttributeInteractionInfo); + Map readKeypadInputClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readKeypadInputClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.KeypadInputCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readKeypadInputClusterRevisionCommandParams + ); + readKeypadInputInteractionInfo.put("readClusterRevisionAttribute", readKeypadInputClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("keypadInput", readKeypadInputInteractionInfo); + Map readContentLauncherInteractionInfo = new LinkedHashMap<>(); + Map readContentLauncherAcceptHeaderCommandParams = new LinkedHashMap(); + InteractionInfo readContentLauncherAcceptHeaderAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ContentLauncherCluster) cluster).readAcceptHeaderAttribute( + ( ChipClusters.ContentLauncherCluster.AcceptHeaderAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedContentLauncherClusterAcceptHeaderAttributeCallback(), + readContentLauncherAcceptHeaderCommandParams + ); + readContentLauncherInteractionInfo.put("readAcceptHeaderAttribute", readContentLauncherAcceptHeaderAttributeInteractionInfo); + Map readContentLauncherSupportedStreamingProtocolsCommandParams = new LinkedHashMap(); + InteractionInfo readContentLauncherSupportedStreamingProtocolsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ContentLauncherCluster) cluster).readSupportedStreamingProtocolsAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readContentLauncherSupportedStreamingProtocolsCommandParams + ); + readContentLauncherInteractionInfo.put("readSupportedStreamingProtocolsAttribute", readContentLauncherSupportedStreamingProtocolsAttributeInteractionInfo); + Map readContentLauncherGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readContentLauncherGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ContentLauncherCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.ContentLauncherCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedContentLauncherClusterGeneratedCommandListAttributeCallback(), + readContentLauncherGeneratedCommandListCommandParams + ); + readContentLauncherInteractionInfo.put("readGeneratedCommandListAttribute", readContentLauncherGeneratedCommandListAttributeInteractionInfo); + Map readContentLauncherAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readContentLauncherAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ContentLauncherCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.ContentLauncherCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedContentLauncherClusterAcceptedCommandListAttributeCallback(), + readContentLauncherAcceptedCommandListCommandParams + ); + readContentLauncherInteractionInfo.put("readAcceptedCommandListAttribute", readContentLauncherAcceptedCommandListAttributeInteractionInfo); + Map readContentLauncherEventListCommandParams = new LinkedHashMap(); + InteractionInfo readContentLauncherEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ContentLauncherCluster) cluster).readEventListAttribute( + ( ChipClusters.ContentLauncherCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedContentLauncherClusterEventListAttributeCallback(), + readContentLauncherEventListCommandParams + ); + readContentLauncherInteractionInfo.put("readEventListAttribute", readContentLauncherEventListAttributeInteractionInfo); + Map readContentLauncherAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readContentLauncherAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ContentLauncherCluster) cluster).readAttributeListAttribute( + ( ChipClusters.ContentLauncherCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedContentLauncherClusterAttributeListAttributeCallback(), + readContentLauncherAttributeListCommandParams + ); + readContentLauncherInteractionInfo.put("readAttributeListAttribute", readContentLauncherAttributeListAttributeInteractionInfo); + Map readContentLauncherFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readContentLauncherFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ContentLauncherCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readContentLauncherFeatureMapCommandParams + ); + readContentLauncherInteractionInfo.put("readFeatureMapAttribute", readContentLauncherFeatureMapAttributeInteractionInfo); + Map readContentLauncherClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readContentLauncherClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ContentLauncherCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readContentLauncherClusterRevisionCommandParams + ); + readContentLauncherInteractionInfo.put("readClusterRevisionAttribute", readContentLauncherClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("contentLauncher", readContentLauncherInteractionInfo); + Map readAudioOutputInteractionInfo = new LinkedHashMap<>(); + Map readAudioOutputOutputListCommandParams = new LinkedHashMap(); + InteractionInfo readAudioOutputOutputListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AudioOutputCluster) cluster).readOutputListAttribute( + ( ChipClusters.AudioOutputCluster.OutputListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedAudioOutputClusterOutputListAttributeCallback(), - readAudioOutputOutputListCommandParams); - readAudioOutputInteractionInfo.put( - "readOutputListAttribute", readAudioOutputOutputListAttributeInteractionInfo); - Map readAudioOutputCurrentOutputCommandParams = - new LinkedHashMap(); - InteractionInfo readAudioOutputCurrentOutputAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AudioOutputCluster) cluster) - .readCurrentOutputAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readAudioOutputCurrentOutputCommandParams); - readAudioOutputInteractionInfo.put( - "readCurrentOutputAttribute", readAudioOutputCurrentOutputAttributeInteractionInfo); - Map readAudioOutputGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readAudioOutputGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AudioOutputCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.AudioOutputCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedAudioOutputClusterGeneratedCommandListAttributeCallback(), - readAudioOutputGeneratedCommandListCommandParams); - readAudioOutputInteractionInfo.put( - "readGeneratedCommandListAttribute", - readAudioOutputGeneratedCommandListAttributeInteractionInfo); - Map readAudioOutputAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readAudioOutputAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AudioOutputCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.AudioOutputCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedAudioOutputClusterAcceptedCommandListAttributeCallback(), - readAudioOutputAcceptedCommandListCommandParams); - readAudioOutputInteractionInfo.put( - "readAcceptedCommandListAttribute", - readAudioOutputAcceptedCommandListAttributeInteractionInfo); - Map readAudioOutputEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readAudioOutputEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AudioOutputCluster) cluster) - .readEventListAttribute( - (ChipClusters.AudioOutputCluster.EventListAttributeCallback) callback); - }, + readAudioOutputOutputListCommandParams + ); + readAudioOutputInteractionInfo.put("readOutputListAttribute", readAudioOutputOutputListAttributeInteractionInfo); + Map readAudioOutputCurrentOutputCommandParams = new LinkedHashMap(); + InteractionInfo readAudioOutputCurrentOutputAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AudioOutputCluster) cluster).readCurrentOutputAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readAudioOutputCurrentOutputCommandParams + ); + readAudioOutputInteractionInfo.put("readCurrentOutputAttribute", readAudioOutputCurrentOutputAttributeInteractionInfo); + Map readAudioOutputGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readAudioOutputGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AudioOutputCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.AudioOutputCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedAudioOutputClusterGeneratedCommandListAttributeCallback(), + readAudioOutputGeneratedCommandListCommandParams + ); + readAudioOutputInteractionInfo.put("readGeneratedCommandListAttribute", readAudioOutputGeneratedCommandListAttributeInteractionInfo); + Map readAudioOutputAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readAudioOutputAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AudioOutputCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.AudioOutputCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedAudioOutputClusterAcceptedCommandListAttributeCallback(), + readAudioOutputAcceptedCommandListCommandParams + ); + readAudioOutputInteractionInfo.put("readAcceptedCommandListAttribute", readAudioOutputAcceptedCommandListAttributeInteractionInfo); + Map readAudioOutputEventListCommandParams = new LinkedHashMap(); + InteractionInfo readAudioOutputEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AudioOutputCluster) cluster).readEventListAttribute( + ( ChipClusters.AudioOutputCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedAudioOutputClusterEventListAttributeCallback(), - readAudioOutputEventListCommandParams); - readAudioOutputInteractionInfo.put( - "readEventListAttribute", readAudioOutputEventListAttributeInteractionInfo); - Map readAudioOutputAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readAudioOutputAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AudioOutputCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.AudioOutputCluster.AttributeListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedAudioOutputClusterAttributeListAttributeCallback(), - readAudioOutputAttributeListCommandParams); - readAudioOutputInteractionInfo.put( - "readAttributeListAttribute", readAudioOutputAttributeListAttributeInteractionInfo); - Map readAudioOutputFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readAudioOutputFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AudioOutputCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readAudioOutputFeatureMapCommandParams); - readAudioOutputInteractionInfo.put( - "readFeatureMapAttribute", readAudioOutputFeatureMapAttributeInteractionInfo); - Map readAudioOutputClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readAudioOutputClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AudioOutputCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readAudioOutputClusterRevisionCommandParams); - readAudioOutputInteractionInfo.put( - "readClusterRevisionAttribute", readAudioOutputClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("audioOutput", readAudioOutputInteractionInfo); - Map readApplicationLauncherInteractionInfo = new LinkedHashMap<>(); - Map readApplicationLauncherCatalogListCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationLauncherCatalogListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationLauncherCluster) cluster) - .readCatalogListAttribute( - (ChipClusters.ApplicationLauncherCluster.CatalogListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedApplicationLauncherClusterCatalogListAttributeCallback(), - readApplicationLauncherCatalogListCommandParams); - readApplicationLauncherInteractionInfo.put( - "readCatalogListAttribute", readApplicationLauncherCatalogListAttributeInteractionInfo); - Map readApplicationLauncherGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationLauncherGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationLauncherCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.ApplicationLauncherCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedApplicationLauncherClusterGeneratedCommandListAttributeCallback(), - readApplicationLauncherGeneratedCommandListCommandParams); - readApplicationLauncherInteractionInfo.put( - "readGeneratedCommandListAttribute", - readApplicationLauncherGeneratedCommandListAttributeInteractionInfo); - Map readApplicationLauncherAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationLauncherAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationLauncherCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.ApplicationLauncherCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedApplicationLauncherClusterAcceptedCommandListAttributeCallback(), - readApplicationLauncherAcceptedCommandListCommandParams); - readApplicationLauncherInteractionInfo.put( - "readAcceptedCommandListAttribute", - readApplicationLauncherAcceptedCommandListAttributeInteractionInfo); - Map readApplicationLauncherEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationLauncherEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationLauncherCluster) cluster) - .readEventListAttribute( - (ChipClusters.ApplicationLauncherCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedApplicationLauncherClusterEventListAttributeCallback(), - readApplicationLauncherEventListCommandParams); - readApplicationLauncherInteractionInfo.put( - "readEventListAttribute", readApplicationLauncherEventListAttributeInteractionInfo); - Map readApplicationLauncherAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationLauncherAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationLauncherCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.ApplicationLauncherCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedApplicationLauncherClusterAttributeListAttributeCallback(), - readApplicationLauncherAttributeListCommandParams); - readApplicationLauncherInteractionInfo.put( - "readAttributeListAttribute", readApplicationLauncherAttributeListAttributeInteractionInfo); - Map readApplicationLauncherFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationLauncherFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationLauncherCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readApplicationLauncherFeatureMapCommandParams); - readApplicationLauncherInteractionInfo.put( - "readFeatureMapAttribute", readApplicationLauncherFeatureMapAttributeInteractionInfo); - Map readApplicationLauncherClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationLauncherClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationLauncherCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readApplicationLauncherClusterRevisionCommandParams); - readApplicationLauncherInteractionInfo.put( - "readClusterRevisionAttribute", - readApplicationLauncherClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("applicationLauncher", readApplicationLauncherInteractionInfo); - Map readApplicationBasicInteractionInfo = new LinkedHashMap<>(); - Map readApplicationBasicVendorNameCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationBasicVendorNameAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster) - .readVendorNameAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readAudioOutputEventListCommandParams + ); + readAudioOutputInteractionInfo.put("readEventListAttribute", readAudioOutputEventListAttributeInteractionInfo); + Map readAudioOutputAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readAudioOutputAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AudioOutputCluster) cluster).readAttributeListAttribute( + ( ChipClusters.AudioOutputCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedAudioOutputClusterAttributeListAttributeCallback(), + readAudioOutputAttributeListCommandParams + ); + readAudioOutputInteractionInfo.put("readAttributeListAttribute", readAudioOutputAttributeListAttributeInteractionInfo); + Map readAudioOutputFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readAudioOutputFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AudioOutputCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readAudioOutputFeatureMapCommandParams + ); + readAudioOutputInteractionInfo.put("readFeatureMapAttribute", readAudioOutputFeatureMapAttributeInteractionInfo); + Map readAudioOutputClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readAudioOutputClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AudioOutputCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readAudioOutputClusterRevisionCommandParams + ); + readAudioOutputInteractionInfo.put("readClusterRevisionAttribute", readAudioOutputClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("audioOutput", readAudioOutputInteractionInfo); + Map readApplicationLauncherInteractionInfo = new LinkedHashMap<>(); + Map readApplicationLauncherCatalogListCommandParams = new LinkedHashMap(); + InteractionInfo readApplicationLauncherCatalogListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationLauncherCluster) cluster).readCatalogListAttribute( + ( ChipClusters.ApplicationLauncherCluster.CatalogListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedApplicationLauncherClusterCatalogListAttributeCallback(), + readApplicationLauncherCatalogListCommandParams + ); + readApplicationLauncherInteractionInfo.put("readCatalogListAttribute", readApplicationLauncherCatalogListAttributeInteractionInfo); + Map readApplicationLauncherGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readApplicationLauncherGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationLauncherCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.ApplicationLauncherCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedApplicationLauncherClusterGeneratedCommandListAttributeCallback(), + readApplicationLauncherGeneratedCommandListCommandParams + ); + readApplicationLauncherInteractionInfo.put("readGeneratedCommandListAttribute", readApplicationLauncherGeneratedCommandListAttributeInteractionInfo); + Map readApplicationLauncherAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readApplicationLauncherAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationLauncherCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.ApplicationLauncherCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedApplicationLauncherClusterAcceptedCommandListAttributeCallback(), + readApplicationLauncherAcceptedCommandListCommandParams + ); + readApplicationLauncherInteractionInfo.put("readAcceptedCommandListAttribute", readApplicationLauncherAcceptedCommandListAttributeInteractionInfo); + Map readApplicationLauncherEventListCommandParams = new LinkedHashMap(); + InteractionInfo readApplicationLauncherEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationLauncherCluster) cluster).readEventListAttribute( + ( ChipClusters.ApplicationLauncherCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedApplicationLauncherClusterEventListAttributeCallback(), + readApplicationLauncherEventListCommandParams + ); + readApplicationLauncherInteractionInfo.put("readEventListAttribute", readApplicationLauncherEventListAttributeInteractionInfo); + Map readApplicationLauncherAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readApplicationLauncherAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationLauncherCluster) cluster).readAttributeListAttribute( + ( ChipClusters.ApplicationLauncherCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedApplicationLauncherClusterAttributeListAttributeCallback(), + readApplicationLauncherAttributeListCommandParams + ); + readApplicationLauncherInteractionInfo.put("readAttributeListAttribute", readApplicationLauncherAttributeListAttributeInteractionInfo); + Map readApplicationLauncherFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readApplicationLauncherFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationLauncherCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readApplicationLauncherFeatureMapCommandParams + ); + readApplicationLauncherInteractionInfo.put("readFeatureMapAttribute", readApplicationLauncherFeatureMapAttributeInteractionInfo); + Map readApplicationLauncherClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readApplicationLauncherClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationLauncherCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readApplicationLauncherClusterRevisionCommandParams + ); + readApplicationLauncherInteractionInfo.put("readClusterRevisionAttribute", readApplicationLauncherClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("applicationLauncher", readApplicationLauncherInteractionInfo); + Map readApplicationBasicInteractionInfo = new LinkedHashMap<>(); + Map readApplicationBasicVendorNameCommandParams = new LinkedHashMap(); + InteractionInfo readApplicationBasicVendorNameAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster).readVendorNameAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readApplicationBasicVendorNameCommandParams); - readApplicationBasicInteractionInfo.put( - "readVendorNameAttribute", readApplicationBasicVendorNameAttributeInteractionInfo); - Map readApplicationBasicVendorIDCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationBasicVendorIDAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster) - .readVendorIDAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readApplicationBasicVendorIDCommandParams); - readApplicationBasicInteractionInfo.put( - "readVendorIDAttribute", readApplicationBasicVendorIDAttributeInteractionInfo); - Map readApplicationBasicApplicationNameCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationBasicApplicationNameAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster) - .readApplicationNameAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, + readApplicationBasicVendorNameCommandParams + ); + readApplicationBasicInteractionInfo.put("readVendorNameAttribute", readApplicationBasicVendorNameAttributeInteractionInfo); + Map readApplicationBasicVendorIDCommandParams = new LinkedHashMap(); + InteractionInfo readApplicationBasicVendorIDAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster).readVendorIDAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readApplicationBasicVendorIDCommandParams + ); + readApplicationBasicInteractionInfo.put("readVendorIDAttribute", readApplicationBasicVendorIDAttributeInteractionInfo); + Map readApplicationBasicApplicationNameCommandParams = new LinkedHashMap(); + InteractionInfo readApplicationBasicApplicationNameAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster).readApplicationNameAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readApplicationBasicApplicationNameCommandParams); - readApplicationBasicInteractionInfo.put( - "readApplicationNameAttribute", - readApplicationBasicApplicationNameAttributeInteractionInfo); - Map readApplicationBasicProductIDCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationBasicProductIDAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster) - .readProductIDAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readApplicationBasicProductIDCommandParams); - readApplicationBasicInteractionInfo.put( - "readProductIDAttribute", readApplicationBasicProductIDAttributeInteractionInfo); - Map readApplicationBasicStatusCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationBasicStatusAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster) - .readStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readApplicationBasicStatusCommandParams); - readApplicationBasicInteractionInfo.put( - "readStatusAttribute", readApplicationBasicStatusAttributeInteractionInfo); - Map readApplicationBasicApplicationVersionCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationBasicApplicationVersionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster) - .readApplicationVersionAttribute( - (ChipClusters.CharStringAttributeCallback) callback); - }, + readApplicationBasicApplicationNameCommandParams + ); + readApplicationBasicInteractionInfo.put("readApplicationNameAttribute", readApplicationBasicApplicationNameAttributeInteractionInfo); + Map readApplicationBasicProductIDCommandParams = new LinkedHashMap(); + InteractionInfo readApplicationBasicProductIDAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster).readProductIDAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readApplicationBasicProductIDCommandParams + ); + readApplicationBasicInteractionInfo.put("readProductIDAttribute", readApplicationBasicProductIDAttributeInteractionInfo); + Map readApplicationBasicStatusCommandParams = new LinkedHashMap(); + InteractionInfo readApplicationBasicStatusAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster).readStatusAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readApplicationBasicStatusCommandParams + ); + readApplicationBasicInteractionInfo.put("readStatusAttribute", readApplicationBasicStatusAttributeInteractionInfo); + Map readApplicationBasicApplicationVersionCommandParams = new LinkedHashMap(); + InteractionInfo readApplicationBasicApplicationVersionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster).readApplicationVersionAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readApplicationBasicApplicationVersionCommandParams); - readApplicationBasicInteractionInfo.put( - "readApplicationVersionAttribute", - readApplicationBasicApplicationVersionAttributeInteractionInfo); - Map readApplicationBasicAllowedVendorListCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationBasicAllowedVendorListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster) - .readAllowedVendorListAttribute( - (ChipClusters.ApplicationBasicCluster.AllowedVendorListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedApplicationBasicClusterAllowedVendorListAttributeCallback(), - readApplicationBasicAllowedVendorListCommandParams); - readApplicationBasicInteractionInfo.put( - "readAllowedVendorListAttribute", - readApplicationBasicAllowedVendorListAttributeInteractionInfo); - Map readApplicationBasicGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationBasicGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.ApplicationBasicCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedApplicationBasicClusterGeneratedCommandListAttributeCallback(), - readApplicationBasicGeneratedCommandListCommandParams); - readApplicationBasicInteractionInfo.put( - "readGeneratedCommandListAttribute", - readApplicationBasicGeneratedCommandListAttributeInteractionInfo); - Map readApplicationBasicAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationBasicAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.ApplicationBasicCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedApplicationBasicClusterAcceptedCommandListAttributeCallback(), - readApplicationBasicAcceptedCommandListCommandParams); - readApplicationBasicInteractionInfo.put( - "readAcceptedCommandListAttribute", - readApplicationBasicAcceptedCommandListAttributeInteractionInfo); - Map readApplicationBasicEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationBasicEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster) - .readEventListAttribute( - (ChipClusters.ApplicationBasicCluster.EventListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedApplicationBasicClusterEventListAttributeCallback(), - readApplicationBasicEventListCommandParams); - readApplicationBasicInteractionInfo.put( - "readEventListAttribute", readApplicationBasicEventListAttributeInteractionInfo); - Map readApplicationBasicAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationBasicAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.ApplicationBasicCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedApplicationBasicClusterAttributeListAttributeCallback(), - readApplicationBasicAttributeListCommandParams); - readApplicationBasicInteractionInfo.put( - "readAttributeListAttribute", readApplicationBasicAttributeListAttributeInteractionInfo); - Map readApplicationBasicFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationBasicFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readApplicationBasicFeatureMapCommandParams); - readApplicationBasicInteractionInfo.put( - "readFeatureMapAttribute", readApplicationBasicFeatureMapAttributeInteractionInfo); - Map readApplicationBasicClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readApplicationBasicClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readApplicationBasicClusterRevisionCommandParams); - readApplicationBasicInteractionInfo.put( - "readClusterRevisionAttribute", - readApplicationBasicClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("applicationBasic", readApplicationBasicInteractionInfo); - Map readAccountLoginInteractionInfo = new LinkedHashMap<>(); - Map readAccountLoginGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readAccountLoginGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccountLoginCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.AccountLoginCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedAccountLoginClusterGeneratedCommandListAttributeCallback(), - readAccountLoginGeneratedCommandListCommandParams); - readAccountLoginInteractionInfo.put( - "readGeneratedCommandListAttribute", - readAccountLoginGeneratedCommandListAttributeInteractionInfo); - Map readAccountLoginAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readAccountLoginAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccountLoginCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.AccountLoginCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedAccountLoginClusterAcceptedCommandListAttributeCallback(), - readAccountLoginAcceptedCommandListCommandParams); - readAccountLoginInteractionInfo.put( - "readAcceptedCommandListAttribute", - readAccountLoginAcceptedCommandListAttributeInteractionInfo); - Map readAccountLoginEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readAccountLoginEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccountLoginCluster) cluster) - .readEventListAttribute( - (ChipClusters.AccountLoginCluster.EventListAttributeCallback) callback); - }, + readApplicationBasicApplicationVersionCommandParams + ); + readApplicationBasicInteractionInfo.put("readApplicationVersionAttribute", readApplicationBasicApplicationVersionAttributeInteractionInfo); + Map readApplicationBasicAllowedVendorListCommandParams = new LinkedHashMap(); + InteractionInfo readApplicationBasicAllowedVendorListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster).readAllowedVendorListAttribute( + ( ChipClusters.ApplicationBasicCluster.AllowedVendorListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedApplicationBasicClusterAllowedVendorListAttributeCallback(), + readApplicationBasicAllowedVendorListCommandParams + ); + readApplicationBasicInteractionInfo.put("readAllowedVendorListAttribute", readApplicationBasicAllowedVendorListAttributeInteractionInfo); + Map readApplicationBasicGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readApplicationBasicGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.ApplicationBasicCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedApplicationBasicClusterGeneratedCommandListAttributeCallback(), + readApplicationBasicGeneratedCommandListCommandParams + ); + readApplicationBasicInteractionInfo.put("readGeneratedCommandListAttribute", readApplicationBasicGeneratedCommandListAttributeInteractionInfo); + Map readApplicationBasicAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readApplicationBasicAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.ApplicationBasicCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedApplicationBasicClusterAcceptedCommandListAttributeCallback(), + readApplicationBasicAcceptedCommandListCommandParams + ); + readApplicationBasicInteractionInfo.put("readAcceptedCommandListAttribute", readApplicationBasicAcceptedCommandListAttributeInteractionInfo); + Map readApplicationBasicEventListCommandParams = new LinkedHashMap(); + InteractionInfo readApplicationBasicEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster).readEventListAttribute( + ( ChipClusters.ApplicationBasicCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedApplicationBasicClusterEventListAttributeCallback(), + readApplicationBasicEventListCommandParams + ); + readApplicationBasicInteractionInfo.put("readEventListAttribute", readApplicationBasicEventListAttributeInteractionInfo); + Map readApplicationBasicAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readApplicationBasicAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster).readAttributeListAttribute( + ( ChipClusters.ApplicationBasicCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedApplicationBasicClusterAttributeListAttributeCallback(), + readApplicationBasicAttributeListCommandParams + ); + readApplicationBasicInteractionInfo.put("readAttributeListAttribute", readApplicationBasicAttributeListAttributeInteractionInfo); + Map readApplicationBasicFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readApplicationBasicFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readApplicationBasicFeatureMapCommandParams + ); + readApplicationBasicInteractionInfo.put("readFeatureMapAttribute", readApplicationBasicFeatureMapAttributeInteractionInfo); + Map readApplicationBasicClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readApplicationBasicClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readApplicationBasicClusterRevisionCommandParams + ); + readApplicationBasicInteractionInfo.put("readClusterRevisionAttribute", readApplicationBasicClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("applicationBasic", readApplicationBasicInteractionInfo); + Map readAccountLoginInteractionInfo = new LinkedHashMap<>(); + Map readAccountLoginGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readAccountLoginGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccountLoginCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.AccountLoginCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedAccountLoginClusterGeneratedCommandListAttributeCallback(), + readAccountLoginGeneratedCommandListCommandParams + ); + readAccountLoginInteractionInfo.put("readGeneratedCommandListAttribute", readAccountLoginGeneratedCommandListAttributeInteractionInfo); + Map readAccountLoginAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readAccountLoginAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccountLoginCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.AccountLoginCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedAccountLoginClusterAcceptedCommandListAttributeCallback(), + readAccountLoginAcceptedCommandListCommandParams + ); + readAccountLoginInteractionInfo.put("readAcceptedCommandListAttribute", readAccountLoginAcceptedCommandListAttributeInteractionInfo); + Map readAccountLoginEventListCommandParams = new LinkedHashMap(); + InteractionInfo readAccountLoginEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccountLoginCluster) cluster).readEventListAttribute( + ( ChipClusters.AccountLoginCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedAccountLoginClusterEventListAttributeCallback(), - readAccountLoginEventListCommandParams); - readAccountLoginInteractionInfo.put( - "readEventListAttribute", readAccountLoginEventListAttributeInteractionInfo); - Map readAccountLoginAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readAccountLoginAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccountLoginCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.AccountLoginCluster.AttributeListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedAccountLoginClusterAttributeListAttributeCallback(), - readAccountLoginAttributeListCommandParams); - readAccountLoginInteractionInfo.put( - "readAttributeListAttribute", readAccountLoginAttributeListAttributeInteractionInfo); - Map readAccountLoginFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readAccountLoginFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccountLoginCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readAccountLoginFeatureMapCommandParams); - readAccountLoginInteractionInfo.put( - "readFeatureMapAttribute", readAccountLoginFeatureMapAttributeInteractionInfo); - Map readAccountLoginClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readAccountLoginClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccountLoginCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readAccountLoginClusterRevisionCommandParams); - readAccountLoginInteractionInfo.put( - "readClusterRevisionAttribute", readAccountLoginClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("accountLogin", readAccountLoginInteractionInfo); - Map readElectricalMeasurementInteractionInfo = new LinkedHashMap<>(); - Map readElectricalMeasurementMeasurementTypeCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementMeasurementTypeAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readMeasurementTypeAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readElectricalMeasurementMeasurementTypeCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readMeasurementTypeAttribute", - readElectricalMeasurementMeasurementTypeAttributeInteractionInfo); - Map readElectricalMeasurementDcVoltageCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcVoltageAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readDcVoltageAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcVoltageCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readDcVoltageAttribute", readElectricalMeasurementDcVoltageAttributeInteractionInfo); - Map readElectricalMeasurementDcVoltageMinCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcVoltageMinAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readDcVoltageMinAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcVoltageMinCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readDcVoltageMinAttribute", readElectricalMeasurementDcVoltageMinAttributeInteractionInfo); - Map readElectricalMeasurementDcVoltageMaxCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcVoltageMaxAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readDcVoltageMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcVoltageMaxCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readDcVoltageMaxAttribute", readElectricalMeasurementDcVoltageMaxAttributeInteractionInfo); - Map readElectricalMeasurementDcCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readDcCurrentAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcCurrentCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readDcCurrentAttribute", readElectricalMeasurementDcCurrentAttributeInteractionInfo); - Map readElectricalMeasurementDcCurrentMinCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcCurrentMinAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readDcCurrentMinAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcCurrentMinCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readDcCurrentMinAttribute", readElectricalMeasurementDcCurrentMinAttributeInteractionInfo); - Map readElectricalMeasurementDcCurrentMaxCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcCurrentMaxAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readDcCurrentMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcCurrentMaxCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readDcCurrentMaxAttribute", readElectricalMeasurementDcCurrentMaxAttributeInteractionInfo); - Map readElectricalMeasurementDcPowerCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcPowerAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readDcPowerAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcPowerCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readDcPowerAttribute", readElectricalMeasurementDcPowerAttributeInteractionInfo); - Map readElectricalMeasurementDcPowerMinCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcPowerMinAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readDcPowerMinAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcPowerMinCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readDcPowerMinAttribute", readElectricalMeasurementDcPowerMinAttributeInteractionInfo); - Map readElectricalMeasurementDcPowerMaxCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcPowerMaxAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readDcPowerMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcPowerMaxCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readDcPowerMaxAttribute", readElectricalMeasurementDcPowerMaxAttributeInteractionInfo); - Map readElectricalMeasurementDcVoltageMultiplierCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcVoltageMultiplierAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readDcVoltageMultiplierAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcVoltageMultiplierCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readDcVoltageMultiplierAttribute", - readElectricalMeasurementDcVoltageMultiplierAttributeInteractionInfo); - Map readElectricalMeasurementDcVoltageDivisorCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcVoltageDivisorAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readDcVoltageDivisorAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcVoltageDivisorCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readDcVoltageDivisorAttribute", - readElectricalMeasurementDcVoltageDivisorAttributeInteractionInfo); - Map readElectricalMeasurementDcCurrentMultiplierCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcCurrentMultiplierAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readDcCurrentMultiplierAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcCurrentMultiplierCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readDcCurrentMultiplierAttribute", - readElectricalMeasurementDcCurrentMultiplierAttributeInteractionInfo); - Map readElectricalMeasurementDcCurrentDivisorCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcCurrentDivisorAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readDcCurrentDivisorAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcCurrentDivisorCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readDcCurrentDivisorAttribute", - readElectricalMeasurementDcCurrentDivisorAttributeInteractionInfo); - Map readElectricalMeasurementDcPowerMultiplierCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcPowerMultiplierAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readDcPowerMultiplierAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcPowerMultiplierCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readDcPowerMultiplierAttribute", - readElectricalMeasurementDcPowerMultiplierAttributeInteractionInfo); - Map readElectricalMeasurementDcPowerDivisorCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcPowerDivisorAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readDcPowerDivisorAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcPowerDivisorCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readDcPowerDivisorAttribute", - readElectricalMeasurementDcPowerDivisorAttributeInteractionInfo); - Map readElectricalMeasurementAcFrequencyCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcFrequencyAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAcFrequencyAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcFrequencyCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAcFrequencyAttribute", readElectricalMeasurementAcFrequencyAttributeInteractionInfo); - Map readElectricalMeasurementAcFrequencyMinCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcFrequencyMinAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAcFrequencyMinAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcFrequencyMinCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAcFrequencyMinAttribute", - readElectricalMeasurementAcFrequencyMinAttributeInteractionInfo); - Map readElectricalMeasurementAcFrequencyMaxCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcFrequencyMaxAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAcFrequencyMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcFrequencyMaxCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAcFrequencyMaxAttribute", - readElectricalMeasurementAcFrequencyMaxAttributeInteractionInfo); - Map readElectricalMeasurementNeutralCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementNeutralCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readNeutralCurrentAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementNeutralCurrentCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readNeutralCurrentAttribute", - readElectricalMeasurementNeutralCurrentAttributeInteractionInfo); - Map readElectricalMeasurementTotalActivePowerCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementTotalActivePowerAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readTotalActivePowerAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readElectricalMeasurementTotalActivePowerCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readTotalActivePowerAttribute", - readElectricalMeasurementTotalActivePowerAttributeInteractionInfo); - Map readElectricalMeasurementTotalReactivePowerCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementTotalReactivePowerAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readTotalReactivePowerAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readElectricalMeasurementTotalReactivePowerCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readTotalReactivePowerAttribute", - readElectricalMeasurementTotalReactivePowerAttributeInteractionInfo); - Map readElectricalMeasurementTotalApparentPowerCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementTotalApparentPowerAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readTotalApparentPowerAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readElectricalMeasurementTotalApparentPowerCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readTotalApparentPowerAttribute", - readElectricalMeasurementTotalApparentPowerAttributeInteractionInfo); - Map - readElectricalMeasurementMeasured1stHarmonicCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementMeasured1stHarmonicCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readMeasured1stHarmonicCurrentAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasured1stHarmonicCurrentCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readMeasured1stHarmonicCurrentAttribute", - readElectricalMeasurementMeasured1stHarmonicCurrentAttributeInteractionInfo); - Map - readElectricalMeasurementMeasured3rdHarmonicCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementMeasured3rdHarmonicCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readMeasured3rdHarmonicCurrentAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasured3rdHarmonicCurrentCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readMeasured3rdHarmonicCurrentAttribute", - readElectricalMeasurementMeasured3rdHarmonicCurrentAttributeInteractionInfo); - Map - readElectricalMeasurementMeasured5thHarmonicCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementMeasured5thHarmonicCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readMeasured5thHarmonicCurrentAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasured5thHarmonicCurrentCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readMeasured5thHarmonicCurrentAttribute", - readElectricalMeasurementMeasured5thHarmonicCurrentAttributeInteractionInfo); - Map - readElectricalMeasurementMeasured7thHarmonicCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementMeasured7thHarmonicCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readMeasured7thHarmonicCurrentAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasured7thHarmonicCurrentCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readMeasured7thHarmonicCurrentAttribute", - readElectricalMeasurementMeasured7thHarmonicCurrentAttributeInteractionInfo); - Map - readElectricalMeasurementMeasured9thHarmonicCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementMeasured9thHarmonicCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readMeasured9thHarmonicCurrentAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasured9thHarmonicCurrentCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readMeasured9thHarmonicCurrentAttribute", - readElectricalMeasurementMeasured9thHarmonicCurrentAttributeInteractionInfo); - Map - readElectricalMeasurementMeasured11thHarmonicCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementMeasured11thHarmonicCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readMeasured11thHarmonicCurrentAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasured11thHarmonicCurrentCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readMeasured11thHarmonicCurrentAttribute", - readElectricalMeasurementMeasured11thHarmonicCurrentAttributeInteractionInfo); - Map - readElectricalMeasurementMeasuredPhase1stHarmonicCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo - readElectricalMeasurementMeasuredPhase1stHarmonicCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readMeasuredPhase1stHarmonicCurrentAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasuredPhase1stHarmonicCurrentCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readMeasuredPhase1stHarmonicCurrentAttribute", - readElectricalMeasurementMeasuredPhase1stHarmonicCurrentAttributeInteractionInfo); - Map - readElectricalMeasurementMeasuredPhase3rdHarmonicCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo - readElectricalMeasurementMeasuredPhase3rdHarmonicCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readMeasuredPhase3rdHarmonicCurrentAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasuredPhase3rdHarmonicCurrentCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readMeasuredPhase3rdHarmonicCurrentAttribute", - readElectricalMeasurementMeasuredPhase3rdHarmonicCurrentAttributeInteractionInfo); - Map - readElectricalMeasurementMeasuredPhase5thHarmonicCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo - readElectricalMeasurementMeasuredPhase5thHarmonicCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readMeasuredPhase5thHarmonicCurrentAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasuredPhase5thHarmonicCurrentCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readMeasuredPhase5thHarmonicCurrentAttribute", - readElectricalMeasurementMeasuredPhase5thHarmonicCurrentAttributeInteractionInfo); - Map - readElectricalMeasurementMeasuredPhase7thHarmonicCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo - readElectricalMeasurementMeasuredPhase7thHarmonicCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readMeasuredPhase7thHarmonicCurrentAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasuredPhase7thHarmonicCurrentCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readMeasuredPhase7thHarmonicCurrentAttribute", - readElectricalMeasurementMeasuredPhase7thHarmonicCurrentAttributeInteractionInfo); - Map - readElectricalMeasurementMeasuredPhase9thHarmonicCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo - readElectricalMeasurementMeasuredPhase9thHarmonicCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readMeasuredPhase9thHarmonicCurrentAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasuredPhase9thHarmonicCurrentCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readMeasuredPhase9thHarmonicCurrentAttribute", - readElectricalMeasurementMeasuredPhase9thHarmonicCurrentAttributeInteractionInfo); - Map - readElectricalMeasurementMeasuredPhase11thHarmonicCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo - readElectricalMeasurementMeasuredPhase11thHarmonicCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readMeasuredPhase11thHarmonicCurrentAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasuredPhase11thHarmonicCurrentCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readMeasuredPhase11thHarmonicCurrentAttribute", - readElectricalMeasurementMeasuredPhase11thHarmonicCurrentAttributeInteractionInfo); - Map readElectricalMeasurementAcFrequencyMultiplierCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcFrequencyMultiplierAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAcFrequencyMultiplierAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcFrequencyMultiplierCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAcFrequencyMultiplierAttribute", - readElectricalMeasurementAcFrequencyMultiplierAttributeInteractionInfo); - Map readElectricalMeasurementAcFrequencyDivisorCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcFrequencyDivisorAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAcFrequencyDivisorAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcFrequencyDivisorCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAcFrequencyDivisorAttribute", - readElectricalMeasurementAcFrequencyDivisorAttributeInteractionInfo); - Map readElectricalMeasurementPowerMultiplierCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementPowerMultiplierAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readPowerMultiplierAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readElectricalMeasurementPowerMultiplierCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readPowerMultiplierAttribute", - readElectricalMeasurementPowerMultiplierAttributeInteractionInfo); - Map readElectricalMeasurementPowerDivisorCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementPowerDivisorAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readPowerDivisorAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readElectricalMeasurementPowerDivisorCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readPowerDivisorAttribute", readElectricalMeasurementPowerDivisorAttributeInteractionInfo); - Map - readElectricalMeasurementHarmonicCurrentMultiplierCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementHarmonicCurrentMultiplierAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readHarmonicCurrentMultiplierAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementHarmonicCurrentMultiplierCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readHarmonicCurrentMultiplierAttribute", - readElectricalMeasurementHarmonicCurrentMultiplierAttributeInteractionInfo); - Map - readElectricalMeasurementPhaseHarmonicCurrentMultiplierCommandParams = - new LinkedHashMap(); - InteractionInfo - readElectricalMeasurementPhaseHarmonicCurrentMultiplierAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readPhaseHarmonicCurrentMultiplierAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementPhaseHarmonicCurrentMultiplierCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readPhaseHarmonicCurrentMultiplierAttribute", - readElectricalMeasurementPhaseHarmonicCurrentMultiplierAttributeInteractionInfo); - Map readElectricalMeasurementInstantaneousVoltageCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementInstantaneousVoltageAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readInstantaneousVoltageAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementInstantaneousVoltageCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readInstantaneousVoltageAttribute", - readElectricalMeasurementInstantaneousVoltageAttributeInteractionInfo); - Map - readElectricalMeasurementInstantaneousLineCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementInstantaneousLineCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readInstantaneousLineCurrentAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementInstantaneousLineCurrentCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readInstantaneousLineCurrentAttribute", - readElectricalMeasurementInstantaneousLineCurrentAttributeInteractionInfo); - Map - readElectricalMeasurementInstantaneousActiveCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementInstantaneousActiveCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readInstantaneousActiveCurrentAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementInstantaneousActiveCurrentCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readInstantaneousActiveCurrentAttribute", - readElectricalMeasurementInstantaneousActiveCurrentAttributeInteractionInfo); - Map - readElectricalMeasurementInstantaneousReactiveCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementInstantaneousReactiveCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readInstantaneousReactiveCurrentAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementInstantaneousReactiveCurrentCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readInstantaneousReactiveCurrentAttribute", - readElectricalMeasurementInstantaneousReactiveCurrentAttributeInteractionInfo); - Map readElectricalMeasurementInstantaneousPowerCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementInstantaneousPowerAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readInstantaneousPowerAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementInstantaneousPowerCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readInstantaneousPowerAttribute", - readElectricalMeasurementInstantaneousPowerAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltageAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsVoltageAttribute", readElectricalMeasurementRmsVoltageAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageMinCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageMinAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltageMinAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageMinCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsVoltageMinAttribute", - readElectricalMeasurementRmsVoltageMinAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageMaxCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageMaxAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltageMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageMaxCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsVoltageMaxAttribute", - readElectricalMeasurementRmsVoltageMaxAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsCurrentAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsCurrentAttribute", readElectricalMeasurementRmsCurrentAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentMinCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentMinAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsCurrentMinAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentMinCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsCurrentMinAttribute", - readElectricalMeasurementRmsCurrentMinAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentMaxCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentMaxAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsCurrentMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentMaxCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsCurrentMaxAttribute", - readElectricalMeasurementRmsCurrentMaxAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readActivePowerAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readActivePowerAttribute", readElectricalMeasurementActivePowerAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerMinCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerMinAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readActivePowerMinAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerMinCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readActivePowerMinAttribute", - readElectricalMeasurementActivePowerMinAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerMaxCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerMaxAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readActivePowerMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerMaxCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readActivePowerMaxAttribute", - readElectricalMeasurementActivePowerMaxAttributeInteractionInfo); - Map readElectricalMeasurementReactivePowerCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementReactivePowerAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readReactivePowerAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementReactivePowerCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readReactivePowerAttribute", - readElectricalMeasurementReactivePowerAttributeInteractionInfo); - Map readElectricalMeasurementApparentPowerCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementApparentPowerAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readApparentPowerAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementApparentPowerCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readApparentPowerAttribute", - readElectricalMeasurementApparentPowerAttributeInteractionInfo); - Map readElectricalMeasurementPowerFactorCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementPowerFactorAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readPowerFactorAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementPowerFactorCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readPowerFactorAttribute", readElectricalMeasurementPowerFactorAttributeInteractionInfo); - Map - readElectricalMeasurementAverageRmsVoltageMeasurementPeriodCommandParams = - new LinkedHashMap(); - InteractionInfo - readElectricalMeasurementAverageRmsVoltageMeasurementPeriodAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAverageRmsVoltageMeasurementPeriodAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAverageRmsVoltageMeasurementPeriodCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAverageRmsVoltageMeasurementPeriodAttribute", - readElectricalMeasurementAverageRmsVoltageMeasurementPeriodAttributeInteractionInfo); - Map - readElectricalMeasurementAverageRmsUnderVoltageCounterCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAverageRmsUnderVoltageCounterAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAverageRmsUnderVoltageCounterAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAverageRmsUnderVoltageCounterCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAverageRmsUnderVoltageCounterAttribute", - readElectricalMeasurementAverageRmsUnderVoltageCounterAttributeInteractionInfo); - Map - readElectricalMeasurementRmsExtremeOverVoltagePeriodCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsExtremeOverVoltagePeriodAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsExtremeOverVoltagePeriodAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsExtremeOverVoltagePeriodCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsExtremeOverVoltagePeriodAttribute", - readElectricalMeasurementRmsExtremeOverVoltagePeriodAttributeInteractionInfo); - Map - readElectricalMeasurementRmsExtremeUnderVoltagePeriodCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsExtremeUnderVoltagePeriodAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsExtremeUnderVoltagePeriodAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsExtremeUnderVoltagePeriodCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsExtremeUnderVoltagePeriodAttribute", - readElectricalMeasurementRmsExtremeUnderVoltagePeriodAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageSagPeriodCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageSagPeriodAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltageSagPeriodAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageSagPeriodCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsVoltageSagPeriodAttribute", - readElectricalMeasurementRmsVoltageSagPeriodAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageSwellPeriodCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageSwellPeriodAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltageSwellPeriodAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageSwellPeriodCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsVoltageSwellPeriodAttribute", - readElectricalMeasurementRmsVoltageSwellPeriodAttributeInteractionInfo); - Map readElectricalMeasurementAcVoltageMultiplierCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcVoltageMultiplierAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAcVoltageMultiplierAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcVoltageMultiplierCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAcVoltageMultiplierAttribute", - readElectricalMeasurementAcVoltageMultiplierAttributeInteractionInfo); - Map readElectricalMeasurementAcVoltageDivisorCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcVoltageDivisorAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAcVoltageDivisorAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcVoltageDivisorCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAcVoltageDivisorAttribute", - readElectricalMeasurementAcVoltageDivisorAttributeInteractionInfo); - Map readElectricalMeasurementAcCurrentMultiplierCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcCurrentMultiplierAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAcCurrentMultiplierAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcCurrentMultiplierCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAcCurrentMultiplierAttribute", - readElectricalMeasurementAcCurrentMultiplierAttributeInteractionInfo); - Map readElectricalMeasurementAcCurrentDivisorCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcCurrentDivisorAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAcCurrentDivisorAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcCurrentDivisorCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAcCurrentDivisorAttribute", - readElectricalMeasurementAcCurrentDivisorAttributeInteractionInfo); - Map readElectricalMeasurementAcPowerMultiplierCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcPowerMultiplierAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAcPowerMultiplierAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcPowerMultiplierCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAcPowerMultiplierAttribute", - readElectricalMeasurementAcPowerMultiplierAttributeInteractionInfo); - Map readElectricalMeasurementAcPowerDivisorCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcPowerDivisorAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAcPowerDivisorAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcPowerDivisorCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAcPowerDivisorAttribute", - readElectricalMeasurementAcPowerDivisorAttributeInteractionInfo); - Map readElectricalMeasurementOverloadAlarmsMaskCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementOverloadAlarmsMaskAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readOverloadAlarmsMaskAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementOverloadAlarmsMaskCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readOverloadAlarmsMaskAttribute", - readElectricalMeasurementOverloadAlarmsMaskAttributeInteractionInfo); - Map readElectricalMeasurementVoltageOverloadCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementVoltageOverloadAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readVoltageOverloadAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementVoltageOverloadCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readVoltageOverloadAttribute", - readElectricalMeasurementVoltageOverloadAttributeInteractionInfo); - Map readElectricalMeasurementCurrentOverloadCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementCurrentOverloadAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readCurrentOverloadAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementCurrentOverloadCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readCurrentOverloadAttribute", - readElectricalMeasurementCurrentOverloadAttributeInteractionInfo); - Map readElectricalMeasurementAcOverloadAlarmsMaskCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcOverloadAlarmsMaskAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAcOverloadAlarmsMaskAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcOverloadAlarmsMaskCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAcOverloadAlarmsMaskAttribute", - readElectricalMeasurementAcOverloadAlarmsMaskAttributeInteractionInfo); - Map readElectricalMeasurementAcVoltageOverloadCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcVoltageOverloadAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAcVoltageOverloadAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcVoltageOverloadCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAcVoltageOverloadAttribute", - readElectricalMeasurementAcVoltageOverloadAttributeInteractionInfo); - Map readElectricalMeasurementAcCurrentOverloadCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcCurrentOverloadAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAcCurrentOverloadAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcCurrentOverloadCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAcCurrentOverloadAttribute", - readElectricalMeasurementAcCurrentOverloadAttributeInteractionInfo); - Map readElectricalMeasurementAcActivePowerOverloadCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcActivePowerOverloadAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAcActivePowerOverloadAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcActivePowerOverloadCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAcActivePowerOverloadAttribute", - readElectricalMeasurementAcActivePowerOverloadAttributeInteractionInfo); - Map - readElectricalMeasurementAcReactivePowerOverloadCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcReactivePowerOverloadAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAcReactivePowerOverloadAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcReactivePowerOverloadCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAcReactivePowerOverloadAttribute", - readElectricalMeasurementAcReactivePowerOverloadAttributeInteractionInfo); - Map readElectricalMeasurementAverageRmsOverVoltageCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAverageRmsOverVoltageAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAverageRmsOverVoltageAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAverageRmsOverVoltageCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAverageRmsOverVoltageAttribute", - readElectricalMeasurementAverageRmsOverVoltageAttributeInteractionInfo); - Map readElectricalMeasurementAverageRmsUnderVoltageCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAverageRmsUnderVoltageAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAverageRmsUnderVoltageAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAverageRmsUnderVoltageCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAverageRmsUnderVoltageAttribute", - readElectricalMeasurementAverageRmsUnderVoltageAttributeInteractionInfo); - Map readElectricalMeasurementRmsExtremeOverVoltageCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsExtremeOverVoltageAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsExtremeOverVoltageAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsExtremeOverVoltageCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsExtremeOverVoltageAttribute", - readElectricalMeasurementRmsExtremeOverVoltageAttributeInteractionInfo); - Map readElectricalMeasurementRmsExtremeUnderVoltageCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsExtremeUnderVoltageAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsExtremeUnderVoltageAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsExtremeUnderVoltageCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsExtremeUnderVoltageAttribute", - readElectricalMeasurementRmsExtremeUnderVoltageAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageSagCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageSagAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltageSagAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageSagCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsVoltageSagAttribute", - readElectricalMeasurementRmsVoltageSagAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageSwellCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageSwellAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltageSwellAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageSwellCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsVoltageSwellAttribute", - readElectricalMeasurementRmsVoltageSwellAttributeInteractionInfo); - Map readElectricalMeasurementLineCurrentPhaseBCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementLineCurrentPhaseBAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readLineCurrentPhaseBAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementLineCurrentPhaseBCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readLineCurrentPhaseBAttribute", - readElectricalMeasurementLineCurrentPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementActiveCurrentPhaseBCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActiveCurrentPhaseBAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readActiveCurrentPhaseBAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActiveCurrentPhaseBCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readActiveCurrentPhaseBAttribute", - readElectricalMeasurementActiveCurrentPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementReactiveCurrentPhaseBCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementReactiveCurrentPhaseBAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readReactiveCurrentPhaseBAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementReactiveCurrentPhaseBCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readReactiveCurrentPhaseBAttribute", - readElectricalMeasurementReactiveCurrentPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltagePhaseBCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltagePhaseBAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltagePhaseBAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltagePhaseBCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsVoltagePhaseBAttribute", - readElectricalMeasurementRmsVoltagePhaseBAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageMinPhaseBCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageMinPhaseBAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltageMinPhaseBAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageMinPhaseBCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsVoltageMinPhaseBAttribute", - readElectricalMeasurementRmsVoltageMinPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageMaxPhaseBCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageMaxPhaseBAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltageMaxPhaseBAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageMaxPhaseBCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsVoltageMaxPhaseBAttribute", - readElectricalMeasurementRmsVoltageMaxPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentPhaseBCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentPhaseBAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsCurrentPhaseBAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentPhaseBCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsCurrentPhaseBAttribute", - readElectricalMeasurementRmsCurrentPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentMinPhaseBCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentMinPhaseBAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsCurrentMinPhaseBAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentMinPhaseBCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsCurrentMinPhaseBAttribute", - readElectricalMeasurementRmsCurrentMinPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentMaxPhaseBCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentMaxPhaseBAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsCurrentMaxPhaseBAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentMaxPhaseBCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsCurrentMaxPhaseBAttribute", - readElectricalMeasurementRmsCurrentMaxPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerPhaseBCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerPhaseBAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readActivePowerPhaseBAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerPhaseBCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readActivePowerPhaseBAttribute", - readElectricalMeasurementActivePowerPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerMinPhaseBCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerMinPhaseBAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readActivePowerMinPhaseBAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerMinPhaseBCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readActivePowerMinPhaseBAttribute", - readElectricalMeasurementActivePowerMinPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerMaxPhaseBCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerMaxPhaseBAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readActivePowerMaxPhaseBAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerMaxPhaseBCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readActivePowerMaxPhaseBAttribute", - readElectricalMeasurementActivePowerMaxPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementReactivePowerPhaseBCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementReactivePowerPhaseBAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readReactivePowerPhaseBAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementReactivePowerPhaseBCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readReactivePowerPhaseBAttribute", - readElectricalMeasurementReactivePowerPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementApparentPowerPhaseBCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementApparentPowerPhaseBAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readApparentPowerPhaseBAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementApparentPowerPhaseBCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readApparentPowerPhaseBAttribute", - readElectricalMeasurementApparentPowerPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementPowerFactorPhaseBCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementPowerFactorPhaseBAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readPowerFactorPhaseBAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementPowerFactorPhaseBCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readPowerFactorPhaseBAttribute", - readElectricalMeasurementPowerFactorPhaseBAttributeInteractionInfo); - Map - readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseBCommandParams = - new LinkedHashMap(); - InteractionInfo - readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseBAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAverageRmsVoltageMeasurementPeriodPhaseBAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseBCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAverageRmsVoltageMeasurementPeriodPhaseBAttribute", - readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseBAttributeInteractionInfo); - Map - readElectricalMeasurementAverageRmsOverVoltageCounterPhaseBCommandParams = - new LinkedHashMap(); - InteractionInfo - readElectricalMeasurementAverageRmsOverVoltageCounterPhaseBAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAverageRmsOverVoltageCounterPhaseBAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAverageRmsOverVoltageCounterPhaseBCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAverageRmsOverVoltageCounterPhaseBAttribute", - readElectricalMeasurementAverageRmsOverVoltageCounterPhaseBAttributeInteractionInfo); - Map - readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseBCommandParams = - new LinkedHashMap(); - InteractionInfo - readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseBAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAverageRmsUnderVoltageCounterPhaseBAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseBCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAverageRmsUnderVoltageCounterPhaseBAttribute", - readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseBAttributeInteractionInfo); - Map - readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseBCommandParams = - new LinkedHashMap(); - InteractionInfo - readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseBAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsExtremeOverVoltagePeriodPhaseBAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseBCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsExtremeOverVoltagePeriodPhaseBAttribute", - readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseBAttributeInteractionInfo); - Map - readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseBCommandParams = - new LinkedHashMap(); - InteractionInfo - readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseBAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsExtremeUnderVoltagePeriodPhaseBAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseBCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsExtremeUnderVoltagePeriodPhaseBAttribute", - readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseBAttributeInteractionInfo); - Map - readElectricalMeasurementRmsVoltageSagPeriodPhaseBCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageSagPeriodPhaseBAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltageSagPeriodPhaseBAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageSagPeriodPhaseBCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsVoltageSagPeriodPhaseBAttribute", - readElectricalMeasurementRmsVoltageSagPeriodPhaseBAttributeInteractionInfo); - Map - readElectricalMeasurementRmsVoltageSwellPeriodPhaseBCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageSwellPeriodPhaseBAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltageSwellPeriodPhaseBAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageSwellPeriodPhaseBCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsVoltageSwellPeriodPhaseBAttribute", - readElectricalMeasurementRmsVoltageSwellPeriodPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementLineCurrentPhaseCCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementLineCurrentPhaseCAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readLineCurrentPhaseCAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementLineCurrentPhaseCCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readLineCurrentPhaseCAttribute", - readElectricalMeasurementLineCurrentPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementActiveCurrentPhaseCCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActiveCurrentPhaseCAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readActiveCurrentPhaseCAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActiveCurrentPhaseCCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readActiveCurrentPhaseCAttribute", - readElectricalMeasurementActiveCurrentPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementReactiveCurrentPhaseCCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementReactiveCurrentPhaseCAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readReactiveCurrentPhaseCAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementReactiveCurrentPhaseCCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readReactiveCurrentPhaseCAttribute", - readElectricalMeasurementReactiveCurrentPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltagePhaseCCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltagePhaseCAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltagePhaseCAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltagePhaseCCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsVoltagePhaseCAttribute", - readElectricalMeasurementRmsVoltagePhaseCAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageMinPhaseCCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageMinPhaseCAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltageMinPhaseCAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageMinPhaseCCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsVoltageMinPhaseCAttribute", - readElectricalMeasurementRmsVoltageMinPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageMaxPhaseCCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageMaxPhaseCAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltageMaxPhaseCAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageMaxPhaseCCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsVoltageMaxPhaseCAttribute", - readElectricalMeasurementRmsVoltageMaxPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentPhaseCCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentPhaseCAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsCurrentPhaseCAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentPhaseCCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsCurrentPhaseCAttribute", - readElectricalMeasurementRmsCurrentPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentMinPhaseCCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentMinPhaseCAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsCurrentMinPhaseCAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentMinPhaseCCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsCurrentMinPhaseCAttribute", - readElectricalMeasurementRmsCurrentMinPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentMaxPhaseCCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentMaxPhaseCAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsCurrentMaxPhaseCAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentMaxPhaseCCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsCurrentMaxPhaseCAttribute", - readElectricalMeasurementRmsCurrentMaxPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerPhaseCCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerPhaseCAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readActivePowerPhaseCAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerPhaseCCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readActivePowerPhaseCAttribute", - readElectricalMeasurementActivePowerPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerMinPhaseCCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerMinPhaseCAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readActivePowerMinPhaseCAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerMinPhaseCCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readActivePowerMinPhaseCAttribute", - readElectricalMeasurementActivePowerMinPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerMaxPhaseCCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerMaxPhaseCAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readActivePowerMaxPhaseCAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerMaxPhaseCCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readActivePowerMaxPhaseCAttribute", - readElectricalMeasurementActivePowerMaxPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementReactivePowerPhaseCCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementReactivePowerPhaseCAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readReactivePowerPhaseCAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementReactivePowerPhaseCCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readReactivePowerPhaseCAttribute", - readElectricalMeasurementReactivePowerPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementApparentPowerPhaseCCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementApparentPowerPhaseCAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readApparentPowerPhaseCAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementApparentPowerPhaseCCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readApparentPowerPhaseCAttribute", - readElectricalMeasurementApparentPowerPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementPowerFactorPhaseCCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementPowerFactorPhaseCAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readPowerFactorPhaseCAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementPowerFactorPhaseCCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readPowerFactorPhaseCAttribute", - readElectricalMeasurementPowerFactorPhaseCAttributeInteractionInfo); - Map - readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseCCommandParams = - new LinkedHashMap(); - InteractionInfo - readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseCAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAverageRmsVoltageMeasurementPeriodPhaseCAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseCCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAverageRmsVoltageMeasurementPeriodPhaseCAttribute", - readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseCAttributeInteractionInfo); - Map - readElectricalMeasurementAverageRmsOverVoltageCounterPhaseCCommandParams = - new LinkedHashMap(); - InteractionInfo - readElectricalMeasurementAverageRmsOverVoltageCounterPhaseCAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAverageRmsOverVoltageCounterPhaseCAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAverageRmsOverVoltageCounterPhaseCCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAverageRmsOverVoltageCounterPhaseCAttribute", - readElectricalMeasurementAverageRmsOverVoltageCounterPhaseCAttributeInteractionInfo); - Map - readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseCCommandParams = - new LinkedHashMap(); - InteractionInfo - readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseCAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAverageRmsUnderVoltageCounterPhaseCAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseCCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAverageRmsUnderVoltageCounterPhaseCAttribute", - readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseCAttributeInteractionInfo); - Map - readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseCCommandParams = - new LinkedHashMap(); - InteractionInfo - readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseCAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsExtremeOverVoltagePeriodPhaseCAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseCCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsExtremeOverVoltagePeriodPhaseCAttribute", - readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseCAttributeInteractionInfo); - Map - readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseCCommandParams = - new LinkedHashMap(); - InteractionInfo - readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseCAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsExtremeUnderVoltagePeriodPhaseCAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseCCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsExtremeUnderVoltagePeriodPhaseCAttribute", - readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseCAttributeInteractionInfo); - Map - readElectricalMeasurementRmsVoltageSagPeriodPhaseCCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageSagPeriodPhaseCAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltageSagPeriodPhaseCAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageSagPeriodPhaseCCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsVoltageSagPeriodPhaseCAttribute", - readElectricalMeasurementRmsVoltageSagPeriodPhaseCAttributeInteractionInfo); - Map - readElectricalMeasurementRmsVoltageSwellPeriodPhaseCCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageSwellPeriodPhaseCAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readRmsVoltageSwellPeriodPhaseCAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageSwellPeriodPhaseCCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readRmsVoltageSwellPeriodPhaseCAttribute", - readElectricalMeasurementRmsVoltageSwellPeriodPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.ElectricalMeasurementCluster - .GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedElectricalMeasurementClusterGeneratedCommandListAttributeCallback(), - readElectricalMeasurementGeneratedCommandListCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readGeneratedCommandListAttribute", - readElectricalMeasurementGeneratedCommandListAttributeInteractionInfo); - Map readElectricalMeasurementAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.ElectricalMeasurementCluster - .AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedElectricalMeasurementClusterAcceptedCommandListAttributeCallback(), - readElectricalMeasurementAcceptedCommandListCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAcceptedCommandListAttribute", - readElectricalMeasurementAcceptedCommandListAttributeInteractionInfo); - Map readElectricalMeasurementEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readEventListAttribute( - (ChipClusters.ElectricalMeasurementCluster.EventListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedElectricalMeasurementClusterEventListAttributeCallback(), - readElectricalMeasurementEventListCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readEventListAttribute", readElectricalMeasurementEventListAttributeInteractionInfo); - Map readElectricalMeasurementAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.ElectricalMeasurementCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedElectricalMeasurementClusterAttributeListAttributeCallback(), - readElectricalMeasurementAttributeListCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readAttributeListAttribute", - readElectricalMeasurementAttributeListAttributeInteractionInfo); - Map readElectricalMeasurementFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readElectricalMeasurementFeatureMapCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readFeatureMapAttribute", readElectricalMeasurementFeatureMapAttributeInteractionInfo); - Map readElectricalMeasurementClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readElectricalMeasurementClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementClusterRevisionCommandParams); - readElectricalMeasurementInteractionInfo.put( - "readClusterRevisionAttribute", - readElectricalMeasurementClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("electricalMeasurement", readElectricalMeasurementInteractionInfo); - Map readClientMonitoringInteractionInfo = new LinkedHashMap<>(); - Map readClientMonitoringIdleModeIntervalCommandParams = - new LinkedHashMap(); - InteractionInfo readClientMonitoringIdleModeIntervalAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster) - .readIdleModeIntervalAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readClientMonitoringIdleModeIntervalCommandParams); - readClientMonitoringInteractionInfo.put( - "readIdleModeIntervalAttribute", - readClientMonitoringIdleModeIntervalAttributeInteractionInfo); - Map readClientMonitoringActiveModeIntervalCommandParams = - new LinkedHashMap(); - InteractionInfo readClientMonitoringActiveModeIntervalAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster) - .readActiveModeIntervalAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readClientMonitoringActiveModeIntervalCommandParams); - readClientMonitoringInteractionInfo.put( - "readActiveModeIntervalAttribute", - readClientMonitoringActiveModeIntervalAttributeInteractionInfo); - Map readClientMonitoringActiveModeThresholdCommandParams = - new LinkedHashMap(); - InteractionInfo readClientMonitoringActiveModeThresholdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster) - .readActiveModeThresholdAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readClientMonitoringActiveModeThresholdCommandParams); - readClientMonitoringInteractionInfo.put( - "readActiveModeThresholdAttribute", - readClientMonitoringActiveModeThresholdAttributeInteractionInfo); - Map readClientMonitoringExpectedClientsCommandParams = - new LinkedHashMap(); - InteractionInfo readClientMonitoringExpectedClientsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster) - .readExpectedClientsAttribute( - (ChipClusters.ClientMonitoringCluster.ExpectedClientsAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedClientMonitoringClusterExpectedClientsAttributeCallback(), - readClientMonitoringExpectedClientsCommandParams); - readClientMonitoringInteractionInfo.put( - "readExpectedClientsAttribute", - readClientMonitoringExpectedClientsAttributeInteractionInfo); - Map readClientMonitoringGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readClientMonitoringGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.ClientMonitoringCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedClientMonitoringClusterGeneratedCommandListAttributeCallback(), - readClientMonitoringGeneratedCommandListCommandParams); - readClientMonitoringInteractionInfo.put( - "readGeneratedCommandListAttribute", - readClientMonitoringGeneratedCommandListAttributeInteractionInfo); - Map readClientMonitoringAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readClientMonitoringAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.ClientMonitoringCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedClientMonitoringClusterAcceptedCommandListAttributeCallback(), - readClientMonitoringAcceptedCommandListCommandParams); - readClientMonitoringInteractionInfo.put( - "readAcceptedCommandListAttribute", - readClientMonitoringAcceptedCommandListAttributeInteractionInfo); - Map readClientMonitoringEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readClientMonitoringEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster) - .readEventListAttribute( - (ChipClusters.ClientMonitoringCluster.EventListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedClientMonitoringClusterEventListAttributeCallback(), - readClientMonitoringEventListCommandParams); - readClientMonitoringInteractionInfo.put( - "readEventListAttribute", readClientMonitoringEventListAttributeInteractionInfo); - Map readClientMonitoringAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readClientMonitoringAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.ClientMonitoringCluster.AttributeListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedClientMonitoringClusterAttributeListAttributeCallback(), - readClientMonitoringAttributeListCommandParams); - readClientMonitoringInteractionInfo.put( - "readAttributeListAttribute", readClientMonitoringAttributeListAttributeInteractionInfo); - Map readClientMonitoringFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readClientMonitoringFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readClientMonitoringFeatureMapCommandParams); - readClientMonitoringInteractionInfo.put( - "readFeatureMapAttribute", readClientMonitoringFeatureMapAttributeInteractionInfo); - Map readClientMonitoringClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readClientMonitoringClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readClientMonitoringClusterRevisionCommandParams); - readClientMonitoringInteractionInfo.put( - "readClusterRevisionAttribute", - readClientMonitoringClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("clientMonitoring", readClientMonitoringInteractionInfo); - Map readUnitTestingInteractionInfo = new LinkedHashMap<>(); - Map readUnitTestingBooleanCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingBooleanAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readBooleanAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, + readAccountLoginEventListCommandParams + ); + readAccountLoginInteractionInfo.put("readEventListAttribute", readAccountLoginEventListAttributeInteractionInfo); + Map readAccountLoginAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readAccountLoginAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccountLoginCluster) cluster).readAttributeListAttribute( + ( ChipClusters.AccountLoginCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedAccountLoginClusterAttributeListAttributeCallback(), + readAccountLoginAttributeListCommandParams + ); + readAccountLoginInteractionInfo.put("readAttributeListAttribute", readAccountLoginAttributeListAttributeInteractionInfo); + Map readAccountLoginFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readAccountLoginFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccountLoginCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readAccountLoginFeatureMapCommandParams + ); + readAccountLoginInteractionInfo.put("readFeatureMapAttribute", readAccountLoginFeatureMapAttributeInteractionInfo); + Map readAccountLoginClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readAccountLoginClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccountLoginCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readAccountLoginClusterRevisionCommandParams + ); + readAccountLoginInteractionInfo.put("readClusterRevisionAttribute", readAccountLoginClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("accountLogin", readAccountLoginInteractionInfo); + Map readElectricalMeasurementInteractionInfo = new LinkedHashMap<>(); + Map readElectricalMeasurementMeasurementTypeCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasurementTypeAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasurementTypeAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readElectricalMeasurementMeasurementTypeCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readMeasurementTypeAttribute", readElectricalMeasurementMeasurementTypeAttributeInteractionInfo); + Map readElectricalMeasurementDcVoltageCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcVoltageAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcVoltageAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcVoltageCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readDcVoltageAttribute", readElectricalMeasurementDcVoltageAttributeInteractionInfo); + Map readElectricalMeasurementDcVoltageMinCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcVoltageMinAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcVoltageMinAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcVoltageMinCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readDcVoltageMinAttribute", readElectricalMeasurementDcVoltageMinAttributeInteractionInfo); + Map readElectricalMeasurementDcVoltageMaxCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcVoltageMaxAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcVoltageMaxAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcVoltageMaxCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readDcVoltageMaxAttribute", readElectricalMeasurementDcVoltageMaxAttributeInteractionInfo); + Map readElectricalMeasurementDcCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcCurrentAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcCurrentCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readDcCurrentAttribute", readElectricalMeasurementDcCurrentAttributeInteractionInfo); + Map readElectricalMeasurementDcCurrentMinCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcCurrentMinAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcCurrentMinAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcCurrentMinCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readDcCurrentMinAttribute", readElectricalMeasurementDcCurrentMinAttributeInteractionInfo); + Map readElectricalMeasurementDcCurrentMaxCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcCurrentMaxAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcCurrentMaxAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcCurrentMaxCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readDcCurrentMaxAttribute", readElectricalMeasurementDcCurrentMaxAttributeInteractionInfo); + Map readElectricalMeasurementDcPowerCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcPowerAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcPowerAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcPowerCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readDcPowerAttribute", readElectricalMeasurementDcPowerAttributeInteractionInfo); + Map readElectricalMeasurementDcPowerMinCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcPowerMinAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcPowerMinAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcPowerMinCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readDcPowerMinAttribute", readElectricalMeasurementDcPowerMinAttributeInteractionInfo); + Map readElectricalMeasurementDcPowerMaxCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcPowerMaxAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcPowerMaxAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcPowerMaxCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readDcPowerMaxAttribute", readElectricalMeasurementDcPowerMaxAttributeInteractionInfo); + Map readElectricalMeasurementDcVoltageMultiplierCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcVoltageMultiplierAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcVoltageMultiplierAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcVoltageMultiplierCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readDcVoltageMultiplierAttribute", readElectricalMeasurementDcVoltageMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementDcVoltageDivisorCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcVoltageDivisorAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcVoltageDivisorAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcVoltageDivisorCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readDcVoltageDivisorAttribute", readElectricalMeasurementDcVoltageDivisorAttributeInteractionInfo); + Map readElectricalMeasurementDcCurrentMultiplierCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcCurrentMultiplierAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcCurrentMultiplierAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcCurrentMultiplierCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readDcCurrentMultiplierAttribute", readElectricalMeasurementDcCurrentMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementDcCurrentDivisorCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcCurrentDivisorAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcCurrentDivisorAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcCurrentDivisorCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readDcCurrentDivisorAttribute", readElectricalMeasurementDcCurrentDivisorAttributeInteractionInfo); + Map readElectricalMeasurementDcPowerMultiplierCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcPowerMultiplierAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcPowerMultiplierAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcPowerMultiplierCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readDcPowerMultiplierAttribute", readElectricalMeasurementDcPowerMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementDcPowerDivisorCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcPowerDivisorAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcPowerDivisorAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcPowerDivisorCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readDcPowerDivisorAttribute", readElectricalMeasurementDcPowerDivisorAttributeInteractionInfo); + Map readElectricalMeasurementAcFrequencyCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcFrequencyAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcFrequencyAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcFrequencyCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAcFrequencyAttribute", readElectricalMeasurementAcFrequencyAttributeInteractionInfo); + Map readElectricalMeasurementAcFrequencyMinCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcFrequencyMinAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcFrequencyMinAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcFrequencyMinCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAcFrequencyMinAttribute", readElectricalMeasurementAcFrequencyMinAttributeInteractionInfo); + Map readElectricalMeasurementAcFrequencyMaxCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcFrequencyMaxAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcFrequencyMaxAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcFrequencyMaxCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAcFrequencyMaxAttribute", readElectricalMeasurementAcFrequencyMaxAttributeInteractionInfo); + Map readElectricalMeasurementNeutralCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementNeutralCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readNeutralCurrentAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementNeutralCurrentCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readNeutralCurrentAttribute", readElectricalMeasurementNeutralCurrentAttributeInteractionInfo); + Map readElectricalMeasurementTotalActivePowerCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementTotalActivePowerAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readTotalActivePowerAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readElectricalMeasurementTotalActivePowerCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readTotalActivePowerAttribute", readElectricalMeasurementTotalActivePowerAttributeInteractionInfo); + Map readElectricalMeasurementTotalReactivePowerCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementTotalReactivePowerAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readTotalReactivePowerAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readElectricalMeasurementTotalReactivePowerCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readTotalReactivePowerAttribute", readElectricalMeasurementTotalReactivePowerAttributeInteractionInfo); + Map readElectricalMeasurementTotalApparentPowerCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementTotalApparentPowerAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readTotalApparentPowerAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readElectricalMeasurementTotalApparentPowerCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readTotalApparentPowerAttribute", readElectricalMeasurementTotalApparentPowerAttributeInteractionInfo); + Map readElectricalMeasurementMeasured1stHarmonicCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasured1stHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasured1stHarmonicCurrentAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasured1stHarmonicCurrentCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readMeasured1stHarmonicCurrentAttribute", readElectricalMeasurementMeasured1stHarmonicCurrentAttributeInteractionInfo); + Map readElectricalMeasurementMeasured3rdHarmonicCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasured3rdHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasured3rdHarmonicCurrentAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasured3rdHarmonicCurrentCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readMeasured3rdHarmonicCurrentAttribute", readElectricalMeasurementMeasured3rdHarmonicCurrentAttributeInteractionInfo); + Map readElectricalMeasurementMeasured5thHarmonicCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasured5thHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasured5thHarmonicCurrentAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasured5thHarmonicCurrentCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readMeasured5thHarmonicCurrentAttribute", readElectricalMeasurementMeasured5thHarmonicCurrentAttributeInteractionInfo); + Map readElectricalMeasurementMeasured7thHarmonicCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasured7thHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasured7thHarmonicCurrentAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasured7thHarmonicCurrentCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readMeasured7thHarmonicCurrentAttribute", readElectricalMeasurementMeasured7thHarmonicCurrentAttributeInteractionInfo); + Map readElectricalMeasurementMeasured9thHarmonicCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasured9thHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasured9thHarmonicCurrentAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasured9thHarmonicCurrentCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readMeasured9thHarmonicCurrentAttribute", readElectricalMeasurementMeasured9thHarmonicCurrentAttributeInteractionInfo); + Map readElectricalMeasurementMeasured11thHarmonicCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasured11thHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasured11thHarmonicCurrentAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasured11thHarmonicCurrentCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readMeasured11thHarmonicCurrentAttribute", readElectricalMeasurementMeasured11thHarmonicCurrentAttributeInteractionInfo); + Map readElectricalMeasurementMeasuredPhase1stHarmonicCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasuredPhase1stHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasuredPhase1stHarmonicCurrentAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasuredPhase1stHarmonicCurrentCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readMeasuredPhase1stHarmonicCurrentAttribute", readElectricalMeasurementMeasuredPhase1stHarmonicCurrentAttributeInteractionInfo); + Map readElectricalMeasurementMeasuredPhase3rdHarmonicCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasuredPhase3rdHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasuredPhase3rdHarmonicCurrentAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasuredPhase3rdHarmonicCurrentCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readMeasuredPhase3rdHarmonicCurrentAttribute", readElectricalMeasurementMeasuredPhase3rdHarmonicCurrentAttributeInteractionInfo); + Map readElectricalMeasurementMeasuredPhase5thHarmonicCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasuredPhase5thHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasuredPhase5thHarmonicCurrentAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasuredPhase5thHarmonicCurrentCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readMeasuredPhase5thHarmonicCurrentAttribute", readElectricalMeasurementMeasuredPhase5thHarmonicCurrentAttributeInteractionInfo); + Map readElectricalMeasurementMeasuredPhase7thHarmonicCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasuredPhase7thHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasuredPhase7thHarmonicCurrentAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasuredPhase7thHarmonicCurrentCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readMeasuredPhase7thHarmonicCurrentAttribute", readElectricalMeasurementMeasuredPhase7thHarmonicCurrentAttributeInteractionInfo); + Map readElectricalMeasurementMeasuredPhase9thHarmonicCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasuredPhase9thHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasuredPhase9thHarmonicCurrentAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasuredPhase9thHarmonicCurrentCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readMeasuredPhase9thHarmonicCurrentAttribute", readElectricalMeasurementMeasuredPhase9thHarmonicCurrentAttributeInteractionInfo); + Map readElectricalMeasurementMeasuredPhase11thHarmonicCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasuredPhase11thHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasuredPhase11thHarmonicCurrentAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasuredPhase11thHarmonicCurrentCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readMeasuredPhase11thHarmonicCurrentAttribute", readElectricalMeasurementMeasuredPhase11thHarmonicCurrentAttributeInteractionInfo); + Map readElectricalMeasurementAcFrequencyMultiplierCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcFrequencyMultiplierAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcFrequencyMultiplierAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcFrequencyMultiplierCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAcFrequencyMultiplierAttribute", readElectricalMeasurementAcFrequencyMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementAcFrequencyDivisorCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcFrequencyDivisorAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcFrequencyDivisorAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcFrequencyDivisorCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAcFrequencyDivisorAttribute", readElectricalMeasurementAcFrequencyDivisorAttributeInteractionInfo); + Map readElectricalMeasurementPowerMultiplierCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementPowerMultiplierAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readPowerMultiplierAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readElectricalMeasurementPowerMultiplierCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readPowerMultiplierAttribute", readElectricalMeasurementPowerMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementPowerDivisorCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementPowerDivisorAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readPowerDivisorAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readElectricalMeasurementPowerDivisorCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readPowerDivisorAttribute", readElectricalMeasurementPowerDivisorAttributeInteractionInfo); + Map readElectricalMeasurementHarmonicCurrentMultiplierCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementHarmonicCurrentMultiplierAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readHarmonicCurrentMultiplierAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementHarmonicCurrentMultiplierCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readHarmonicCurrentMultiplierAttribute", readElectricalMeasurementHarmonicCurrentMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementPhaseHarmonicCurrentMultiplierCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementPhaseHarmonicCurrentMultiplierAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readPhaseHarmonicCurrentMultiplierAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementPhaseHarmonicCurrentMultiplierCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readPhaseHarmonicCurrentMultiplierAttribute", readElectricalMeasurementPhaseHarmonicCurrentMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementInstantaneousVoltageCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementInstantaneousVoltageAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readInstantaneousVoltageAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementInstantaneousVoltageCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readInstantaneousVoltageAttribute", readElectricalMeasurementInstantaneousVoltageAttributeInteractionInfo); + Map readElectricalMeasurementInstantaneousLineCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementInstantaneousLineCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readInstantaneousLineCurrentAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementInstantaneousLineCurrentCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readInstantaneousLineCurrentAttribute", readElectricalMeasurementInstantaneousLineCurrentAttributeInteractionInfo); + Map readElectricalMeasurementInstantaneousActiveCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementInstantaneousActiveCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readInstantaneousActiveCurrentAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementInstantaneousActiveCurrentCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readInstantaneousActiveCurrentAttribute", readElectricalMeasurementInstantaneousActiveCurrentAttributeInteractionInfo); + Map readElectricalMeasurementInstantaneousReactiveCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementInstantaneousReactiveCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readInstantaneousReactiveCurrentAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementInstantaneousReactiveCurrentCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readInstantaneousReactiveCurrentAttribute", readElectricalMeasurementInstantaneousReactiveCurrentAttributeInteractionInfo); + Map readElectricalMeasurementInstantaneousPowerCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementInstantaneousPowerAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readInstantaneousPowerAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementInstantaneousPowerCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readInstantaneousPowerAttribute", readElectricalMeasurementInstantaneousPowerAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsVoltageAttribute", readElectricalMeasurementRmsVoltageAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageMinCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageMinAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageMinAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageMinCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsVoltageMinAttribute", readElectricalMeasurementRmsVoltageMinAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageMaxCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageMaxAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageMaxAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageMaxCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsVoltageMaxAttribute", readElectricalMeasurementRmsVoltageMaxAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsCurrentAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsCurrentAttribute", readElectricalMeasurementRmsCurrentAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentMinCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentMinAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsCurrentMinAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentMinCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsCurrentMinAttribute", readElectricalMeasurementRmsCurrentMinAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentMaxCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentMaxAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsCurrentMaxAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentMaxCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsCurrentMaxAttribute", readElectricalMeasurementRmsCurrentMaxAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readActivePowerAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readActivePowerAttribute", readElectricalMeasurementActivePowerAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerMinCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerMinAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readActivePowerMinAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerMinCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readActivePowerMinAttribute", readElectricalMeasurementActivePowerMinAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerMaxCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerMaxAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readActivePowerMaxAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerMaxCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readActivePowerMaxAttribute", readElectricalMeasurementActivePowerMaxAttributeInteractionInfo); + Map readElectricalMeasurementReactivePowerCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementReactivePowerAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readReactivePowerAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementReactivePowerCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readReactivePowerAttribute", readElectricalMeasurementReactivePowerAttributeInteractionInfo); + Map readElectricalMeasurementApparentPowerCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementApparentPowerAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readApparentPowerAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementApparentPowerCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readApparentPowerAttribute", readElectricalMeasurementApparentPowerAttributeInteractionInfo); + Map readElectricalMeasurementPowerFactorCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementPowerFactorAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readPowerFactorAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementPowerFactorCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readPowerFactorAttribute", readElectricalMeasurementPowerFactorAttributeInteractionInfo); + Map readElectricalMeasurementAverageRmsVoltageMeasurementPeriodCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAverageRmsVoltageMeasurementPeriodAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAverageRmsVoltageMeasurementPeriodAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAverageRmsVoltageMeasurementPeriodAttribute", readElectricalMeasurementAverageRmsVoltageMeasurementPeriodAttributeInteractionInfo); + Map readElectricalMeasurementAverageRmsUnderVoltageCounterCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAverageRmsUnderVoltageCounterAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAverageRmsUnderVoltageCounterAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsUnderVoltageCounterCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAverageRmsUnderVoltageCounterAttribute", readElectricalMeasurementAverageRmsUnderVoltageCounterAttributeInteractionInfo); + Map readElectricalMeasurementRmsExtremeOverVoltagePeriodCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsExtremeOverVoltagePeriodAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsExtremeOverVoltagePeriodAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeOverVoltagePeriodCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsExtremeOverVoltagePeriodAttribute", readElectricalMeasurementRmsExtremeOverVoltagePeriodAttributeInteractionInfo); + Map readElectricalMeasurementRmsExtremeUnderVoltagePeriodCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsExtremeUnderVoltagePeriodAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsExtremeUnderVoltagePeriodAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeUnderVoltagePeriodCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsExtremeUnderVoltagePeriodAttribute", readElectricalMeasurementRmsExtremeUnderVoltagePeriodAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageSagPeriodCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSagPeriodAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageSagPeriodAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSagPeriodCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsVoltageSagPeriodAttribute", readElectricalMeasurementRmsVoltageSagPeriodAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageSwellPeriodCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSwellPeriodAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageSwellPeriodAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSwellPeriodCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsVoltageSwellPeriodAttribute", readElectricalMeasurementRmsVoltageSwellPeriodAttributeInteractionInfo); + Map readElectricalMeasurementAcVoltageMultiplierCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcVoltageMultiplierAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcVoltageMultiplierAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcVoltageMultiplierCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAcVoltageMultiplierAttribute", readElectricalMeasurementAcVoltageMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementAcVoltageDivisorCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcVoltageDivisorAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcVoltageDivisorAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcVoltageDivisorCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAcVoltageDivisorAttribute", readElectricalMeasurementAcVoltageDivisorAttributeInteractionInfo); + Map readElectricalMeasurementAcCurrentMultiplierCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcCurrentMultiplierAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcCurrentMultiplierAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcCurrentMultiplierCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAcCurrentMultiplierAttribute", readElectricalMeasurementAcCurrentMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementAcCurrentDivisorCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcCurrentDivisorAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcCurrentDivisorAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcCurrentDivisorCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAcCurrentDivisorAttribute", readElectricalMeasurementAcCurrentDivisorAttributeInteractionInfo); + Map readElectricalMeasurementAcPowerMultiplierCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcPowerMultiplierAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcPowerMultiplierAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcPowerMultiplierCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAcPowerMultiplierAttribute", readElectricalMeasurementAcPowerMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementAcPowerDivisorCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcPowerDivisorAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcPowerDivisorAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcPowerDivisorCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAcPowerDivisorAttribute", readElectricalMeasurementAcPowerDivisorAttributeInteractionInfo); + Map readElectricalMeasurementOverloadAlarmsMaskCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementOverloadAlarmsMaskAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readOverloadAlarmsMaskAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementOverloadAlarmsMaskCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readOverloadAlarmsMaskAttribute", readElectricalMeasurementOverloadAlarmsMaskAttributeInteractionInfo); + Map readElectricalMeasurementVoltageOverloadCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementVoltageOverloadAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readVoltageOverloadAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementVoltageOverloadCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readVoltageOverloadAttribute", readElectricalMeasurementVoltageOverloadAttributeInteractionInfo); + Map readElectricalMeasurementCurrentOverloadCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementCurrentOverloadAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readCurrentOverloadAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementCurrentOverloadCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readCurrentOverloadAttribute", readElectricalMeasurementCurrentOverloadAttributeInteractionInfo); + Map readElectricalMeasurementAcOverloadAlarmsMaskCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcOverloadAlarmsMaskAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcOverloadAlarmsMaskAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcOverloadAlarmsMaskCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAcOverloadAlarmsMaskAttribute", readElectricalMeasurementAcOverloadAlarmsMaskAttributeInteractionInfo); + Map readElectricalMeasurementAcVoltageOverloadCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcVoltageOverloadAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcVoltageOverloadAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcVoltageOverloadCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAcVoltageOverloadAttribute", readElectricalMeasurementAcVoltageOverloadAttributeInteractionInfo); + Map readElectricalMeasurementAcCurrentOverloadCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcCurrentOverloadAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcCurrentOverloadAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcCurrentOverloadCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAcCurrentOverloadAttribute", readElectricalMeasurementAcCurrentOverloadAttributeInteractionInfo); + Map readElectricalMeasurementAcActivePowerOverloadCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcActivePowerOverloadAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcActivePowerOverloadAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcActivePowerOverloadCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAcActivePowerOverloadAttribute", readElectricalMeasurementAcActivePowerOverloadAttributeInteractionInfo); + Map readElectricalMeasurementAcReactivePowerOverloadCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcReactivePowerOverloadAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcReactivePowerOverloadAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcReactivePowerOverloadCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAcReactivePowerOverloadAttribute", readElectricalMeasurementAcReactivePowerOverloadAttributeInteractionInfo); + Map readElectricalMeasurementAverageRmsOverVoltageCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAverageRmsOverVoltageAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAverageRmsOverVoltageAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsOverVoltageCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAverageRmsOverVoltageAttribute", readElectricalMeasurementAverageRmsOverVoltageAttributeInteractionInfo); + Map readElectricalMeasurementAverageRmsUnderVoltageCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAverageRmsUnderVoltageAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAverageRmsUnderVoltageAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsUnderVoltageCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAverageRmsUnderVoltageAttribute", readElectricalMeasurementAverageRmsUnderVoltageAttributeInteractionInfo); + Map readElectricalMeasurementRmsExtremeOverVoltageCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsExtremeOverVoltageAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsExtremeOverVoltageAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeOverVoltageCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsExtremeOverVoltageAttribute", readElectricalMeasurementRmsExtremeOverVoltageAttributeInteractionInfo); + Map readElectricalMeasurementRmsExtremeUnderVoltageCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsExtremeUnderVoltageAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsExtremeUnderVoltageAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeUnderVoltageCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsExtremeUnderVoltageAttribute", readElectricalMeasurementRmsExtremeUnderVoltageAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageSagCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSagAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageSagAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSagCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsVoltageSagAttribute", readElectricalMeasurementRmsVoltageSagAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageSwellCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSwellAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageSwellAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSwellCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsVoltageSwellAttribute", readElectricalMeasurementRmsVoltageSwellAttributeInteractionInfo); + Map readElectricalMeasurementLineCurrentPhaseBCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementLineCurrentPhaseBAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readLineCurrentPhaseBAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementLineCurrentPhaseBCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readLineCurrentPhaseBAttribute", readElectricalMeasurementLineCurrentPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementActiveCurrentPhaseBCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActiveCurrentPhaseBAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readActiveCurrentPhaseBAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActiveCurrentPhaseBCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readActiveCurrentPhaseBAttribute", readElectricalMeasurementActiveCurrentPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementReactiveCurrentPhaseBCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementReactiveCurrentPhaseBAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readReactiveCurrentPhaseBAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementReactiveCurrentPhaseBCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readReactiveCurrentPhaseBAttribute", readElectricalMeasurementReactiveCurrentPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltagePhaseBCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltagePhaseBAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltagePhaseBAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltagePhaseBCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsVoltagePhaseBAttribute", readElectricalMeasurementRmsVoltagePhaseBAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageMinPhaseBCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageMinPhaseBAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageMinPhaseBAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageMinPhaseBCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsVoltageMinPhaseBAttribute", readElectricalMeasurementRmsVoltageMinPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageMaxPhaseBCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageMaxPhaseBAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageMaxPhaseBAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageMaxPhaseBCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsVoltageMaxPhaseBAttribute", readElectricalMeasurementRmsVoltageMaxPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentPhaseBCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentPhaseBAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsCurrentPhaseBAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentPhaseBCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsCurrentPhaseBAttribute", readElectricalMeasurementRmsCurrentPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentMinPhaseBCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentMinPhaseBAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsCurrentMinPhaseBAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentMinPhaseBCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsCurrentMinPhaseBAttribute", readElectricalMeasurementRmsCurrentMinPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentMaxPhaseBCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentMaxPhaseBAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsCurrentMaxPhaseBAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentMaxPhaseBCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsCurrentMaxPhaseBAttribute", readElectricalMeasurementRmsCurrentMaxPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerPhaseBCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerPhaseBAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readActivePowerPhaseBAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerPhaseBCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readActivePowerPhaseBAttribute", readElectricalMeasurementActivePowerPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerMinPhaseBCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerMinPhaseBAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readActivePowerMinPhaseBAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerMinPhaseBCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readActivePowerMinPhaseBAttribute", readElectricalMeasurementActivePowerMinPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerMaxPhaseBCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerMaxPhaseBAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readActivePowerMaxPhaseBAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerMaxPhaseBCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readActivePowerMaxPhaseBAttribute", readElectricalMeasurementActivePowerMaxPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementReactivePowerPhaseBCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementReactivePowerPhaseBAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readReactivePowerPhaseBAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementReactivePowerPhaseBCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readReactivePowerPhaseBAttribute", readElectricalMeasurementReactivePowerPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementApparentPowerPhaseBCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementApparentPowerPhaseBAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readApparentPowerPhaseBAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementApparentPowerPhaseBCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readApparentPowerPhaseBAttribute", readElectricalMeasurementApparentPowerPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementPowerFactorPhaseBCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementPowerFactorPhaseBAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readPowerFactorPhaseBAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementPowerFactorPhaseBCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readPowerFactorPhaseBAttribute", readElectricalMeasurementPowerFactorPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseBCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseBAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAverageRmsVoltageMeasurementPeriodPhaseBAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseBCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAverageRmsVoltageMeasurementPeriodPhaseBAttribute", readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementAverageRmsOverVoltageCounterPhaseBCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAverageRmsOverVoltageCounterPhaseBAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAverageRmsOverVoltageCounterPhaseBAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsOverVoltageCounterPhaseBCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAverageRmsOverVoltageCounterPhaseBAttribute", readElectricalMeasurementAverageRmsOverVoltageCounterPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseBCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseBAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAverageRmsUnderVoltageCounterPhaseBAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseBCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAverageRmsUnderVoltageCounterPhaseBAttribute", readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseBCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseBAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsExtremeOverVoltagePeriodPhaseBAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseBCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsExtremeOverVoltagePeriodPhaseBAttribute", readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseBCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseBAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsExtremeUnderVoltagePeriodPhaseBAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseBCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsExtremeUnderVoltagePeriodPhaseBAttribute", readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageSagPeriodPhaseBCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSagPeriodPhaseBAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageSagPeriodPhaseBAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSagPeriodPhaseBCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsVoltageSagPeriodPhaseBAttribute", readElectricalMeasurementRmsVoltageSagPeriodPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageSwellPeriodPhaseBCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSwellPeriodPhaseBAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageSwellPeriodPhaseBAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSwellPeriodPhaseBCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsVoltageSwellPeriodPhaseBAttribute", readElectricalMeasurementRmsVoltageSwellPeriodPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementLineCurrentPhaseCCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementLineCurrentPhaseCAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readLineCurrentPhaseCAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementLineCurrentPhaseCCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readLineCurrentPhaseCAttribute", readElectricalMeasurementLineCurrentPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementActiveCurrentPhaseCCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActiveCurrentPhaseCAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readActiveCurrentPhaseCAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActiveCurrentPhaseCCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readActiveCurrentPhaseCAttribute", readElectricalMeasurementActiveCurrentPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementReactiveCurrentPhaseCCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementReactiveCurrentPhaseCAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readReactiveCurrentPhaseCAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementReactiveCurrentPhaseCCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readReactiveCurrentPhaseCAttribute", readElectricalMeasurementReactiveCurrentPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltagePhaseCCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltagePhaseCAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltagePhaseCAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltagePhaseCCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsVoltagePhaseCAttribute", readElectricalMeasurementRmsVoltagePhaseCAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageMinPhaseCCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageMinPhaseCAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageMinPhaseCAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageMinPhaseCCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsVoltageMinPhaseCAttribute", readElectricalMeasurementRmsVoltageMinPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageMaxPhaseCCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageMaxPhaseCAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageMaxPhaseCAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageMaxPhaseCCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsVoltageMaxPhaseCAttribute", readElectricalMeasurementRmsVoltageMaxPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentPhaseCCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentPhaseCAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsCurrentPhaseCAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentPhaseCCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsCurrentPhaseCAttribute", readElectricalMeasurementRmsCurrentPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentMinPhaseCCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentMinPhaseCAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsCurrentMinPhaseCAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentMinPhaseCCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsCurrentMinPhaseCAttribute", readElectricalMeasurementRmsCurrentMinPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentMaxPhaseCCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentMaxPhaseCAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsCurrentMaxPhaseCAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentMaxPhaseCCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsCurrentMaxPhaseCAttribute", readElectricalMeasurementRmsCurrentMaxPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerPhaseCCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerPhaseCAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readActivePowerPhaseCAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerPhaseCCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readActivePowerPhaseCAttribute", readElectricalMeasurementActivePowerPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerMinPhaseCCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerMinPhaseCAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readActivePowerMinPhaseCAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerMinPhaseCCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readActivePowerMinPhaseCAttribute", readElectricalMeasurementActivePowerMinPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerMaxPhaseCCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerMaxPhaseCAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readActivePowerMaxPhaseCAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerMaxPhaseCCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readActivePowerMaxPhaseCAttribute", readElectricalMeasurementActivePowerMaxPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementReactivePowerPhaseCCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementReactivePowerPhaseCAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readReactivePowerPhaseCAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementReactivePowerPhaseCCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readReactivePowerPhaseCAttribute", readElectricalMeasurementReactivePowerPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementApparentPowerPhaseCCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementApparentPowerPhaseCAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readApparentPowerPhaseCAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementApparentPowerPhaseCCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readApparentPowerPhaseCAttribute", readElectricalMeasurementApparentPowerPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementPowerFactorPhaseCCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementPowerFactorPhaseCAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readPowerFactorPhaseCAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementPowerFactorPhaseCCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readPowerFactorPhaseCAttribute", readElectricalMeasurementPowerFactorPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseCCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseCAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAverageRmsVoltageMeasurementPeriodPhaseCAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseCCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAverageRmsVoltageMeasurementPeriodPhaseCAttribute", readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementAverageRmsOverVoltageCounterPhaseCCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAverageRmsOverVoltageCounterPhaseCAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAverageRmsOverVoltageCounterPhaseCAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsOverVoltageCounterPhaseCCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAverageRmsOverVoltageCounterPhaseCAttribute", readElectricalMeasurementAverageRmsOverVoltageCounterPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseCCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseCAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAverageRmsUnderVoltageCounterPhaseCAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseCCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAverageRmsUnderVoltageCounterPhaseCAttribute", readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseCCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseCAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsExtremeOverVoltagePeriodPhaseCAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseCCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsExtremeOverVoltagePeriodPhaseCAttribute", readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseCCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseCAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsExtremeUnderVoltagePeriodPhaseCAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseCCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsExtremeUnderVoltagePeriodPhaseCAttribute", readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageSagPeriodPhaseCCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSagPeriodPhaseCAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageSagPeriodPhaseCAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSagPeriodPhaseCCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsVoltageSagPeriodPhaseCAttribute", readElectricalMeasurementRmsVoltageSagPeriodPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageSwellPeriodPhaseCCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSwellPeriodPhaseCAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageSwellPeriodPhaseCAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSwellPeriodPhaseCCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readRmsVoltageSwellPeriodPhaseCAttribute", readElectricalMeasurementRmsVoltageSwellPeriodPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.ElectricalMeasurementCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedElectricalMeasurementClusterGeneratedCommandListAttributeCallback(), + readElectricalMeasurementGeneratedCommandListCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readGeneratedCommandListAttribute", readElectricalMeasurementGeneratedCommandListAttributeInteractionInfo); + Map readElectricalMeasurementAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.ElectricalMeasurementCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedElectricalMeasurementClusterAcceptedCommandListAttributeCallback(), + readElectricalMeasurementAcceptedCommandListCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAcceptedCommandListAttribute", readElectricalMeasurementAcceptedCommandListAttributeInteractionInfo); + Map readElectricalMeasurementEventListCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readEventListAttribute( + ( ChipClusters.ElectricalMeasurementCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedElectricalMeasurementClusterEventListAttributeCallback(), + readElectricalMeasurementEventListCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readEventListAttribute", readElectricalMeasurementEventListAttributeInteractionInfo); + Map readElectricalMeasurementAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readAttributeListAttribute( + ( ChipClusters.ElectricalMeasurementCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedElectricalMeasurementClusterAttributeListAttributeCallback(), + readElectricalMeasurementAttributeListCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readAttributeListAttribute", readElectricalMeasurementAttributeListAttributeInteractionInfo); + Map readElectricalMeasurementFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readElectricalMeasurementFeatureMapCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readFeatureMapAttribute", readElectricalMeasurementFeatureMapAttributeInteractionInfo); + Map readElectricalMeasurementClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readElectricalMeasurementClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementClusterRevisionCommandParams + ); + readElectricalMeasurementInteractionInfo.put("readClusterRevisionAttribute", readElectricalMeasurementClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("electricalMeasurement", readElectricalMeasurementInteractionInfo); + Map readClientMonitoringInteractionInfo = new LinkedHashMap<>(); + Map readClientMonitoringIdleModeIntervalCommandParams = new LinkedHashMap(); + InteractionInfo readClientMonitoringIdleModeIntervalAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster).readIdleModeIntervalAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readClientMonitoringIdleModeIntervalCommandParams + ); + readClientMonitoringInteractionInfo.put("readIdleModeIntervalAttribute", readClientMonitoringIdleModeIntervalAttributeInteractionInfo); + Map readClientMonitoringActiveModeIntervalCommandParams = new LinkedHashMap(); + InteractionInfo readClientMonitoringActiveModeIntervalAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster).readActiveModeIntervalAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readClientMonitoringActiveModeIntervalCommandParams + ); + readClientMonitoringInteractionInfo.put("readActiveModeIntervalAttribute", readClientMonitoringActiveModeIntervalAttributeInteractionInfo); + Map readClientMonitoringActiveModeThresholdCommandParams = new LinkedHashMap(); + InteractionInfo readClientMonitoringActiveModeThresholdAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster).readActiveModeThresholdAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readClientMonitoringActiveModeThresholdCommandParams + ); + readClientMonitoringInteractionInfo.put("readActiveModeThresholdAttribute", readClientMonitoringActiveModeThresholdAttributeInteractionInfo); + Map readClientMonitoringExpectedClientsCommandParams = new LinkedHashMap(); + InteractionInfo readClientMonitoringExpectedClientsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster).readExpectedClientsAttribute( + ( ChipClusters.ClientMonitoringCluster.ExpectedClientsAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedClientMonitoringClusterExpectedClientsAttributeCallback(), + readClientMonitoringExpectedClientsCommandParams + ); + readClientMonitoringInteractionInfo.put("readExpectedClientsAttribute", readClientMonitoringExpectedClientsAttributeInteractionInfo); + Map readClientMonitoringGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readClientMonitoringGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.ClientMonitoringCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedClientMonitoringClusterGeneratedCommandListAttributeCallback(), + readClientMonitoringGeneratedCommandListCommandParams + ); + readClientMonitoringInteractionInfo.put("readGeneratedCommandListAttribute", readClientMonitoringGeneratedCommandListAttributeInteractionInfo); + Map readClientMonitoringAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readClientMonitoringAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.ClientMonitoringCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedClientMonitoringClusterAcceptedCommandListAttributeCallback(), + readClientMonitoringAcceptedCommandListCommandParams + ); + readClientMonitoringInteractionInfo.put("readAcceptedCommandListAttribute", readClientMonitoringAcceptedCommandListAttributeInteractionInfo); + Map readClientMonitoringEventListCommandParams = new LinkedHashMap(); + InteractionInfo readClientMonitoringEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster).readEventListAttribute( + ( ChipClusters.ClientMonitoringCluster.EventListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedClientMonitoringClusterEventListAttributeCallback(), + readClientMonitoringEventListCommandParams + ); + readClientMonitoringInteractionInfo.put("readEventListAttribute", readClientMonitoringEventListAttributeInteractionInfo); + Map readClientMonitoringAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readClientMonitoringAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster).readAttributeListAttribute( + ( ChipClusters.ClientMonitoringCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedClientMonitoringClusterAttributeListAttributeCallback(), + readClientMonitoringAttributeListCommandParams + ); + readClientMonitoringInteractionInfo.put("readAttributeListAttribute", readClientMonitoringAttributeListAttributeInteractionInfo); + Map readClientMonitoringFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readClientMonitoringFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readClientMonitoringFeatureMapCommandParams + ); + readClientMonitoringInteractionInfo.put("readFeatureMapAttribute", readClientMonitoringFeatureMapAttributeInteractionInfo); + Map readClientMonitoringClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readClientMonitoringClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readClientMonitoringClusterRevisionCommandParams + ); + readClientMonitoringInteractionInfo.put("readClusterRevisionAttribute", readClientMonitoringClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("clientMonitoring", readClientMonitoringInteractionInfo); + Map readUnitTestingInteractionInfo = new LinkedHashMap<>(); + Map readUnitTestingBooleanCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingBooleanAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readBooleanAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readUnitTestingBooleanCommandParams); - readUnitTestingInteractionInfo.put( - "readBooleanAttribute", readUnitTestingBooleanAttributeInteractionInfo); - Map readUnitTestingBitmap8CommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingBitmap8AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readBitmap8Attribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingBitmap8CommandParams); - readUnitTestingInteractionInfo.put( - "readBitmap8Attribute", readUnitTestingBitmap8AttributeInteractionInfo); - Map readUnitTestingBitmap16CommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingBitmap16AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readBitmap16Attribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingBitmap16CommandParams); - readUnitTestingInteractionInfo.put( - "readBitmap16Attribute", readUnitTestingBitmap16AttributeInteractionInfo); - Map readUnitTestingBitmap32CommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingBitmap32AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readBitmap32Attribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingBitmap32CommandParams); - readUnitTestingInteractionInfo.put( - "readBitmap32Attribute", readUnitTestingBitmap32AttributeInteractionInfo); - Map readUnitTestingBitmap64CommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingBitmap64AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readBitmap64Attribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingBitmap64CommandParams); - readUnitTestingInteractionInfo.put( - "readBitmap64Attribute", readUnitTestingBitmap64AttributeInteractionInfo); - Map readUnitTestingInt8uCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingInt8uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readInt8uAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingInt8uCommandParams); - readUnitTestingInteractionInfo.put( - "readInt8uAttribute", readUnitTestingInt8uAttributeInteractionInfo); - Map readUnitTestingInt16uCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingInt16uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readInt16uAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingInt16uCommandParams); - readUnitTestingInteractionInfo.put( - "readInt16uAttribute", readUnitTestingInt16uAttributeInteractionInfo); - Map readUnitTestingInt24uCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingInt24uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readInt24uAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt24uCommandParams); - readUnitTestingInteractionInfo.put( - "readInt24uAttribute", readUnitTestingInt24uAttributeInteractionInfo); - Map readUnitTestingInt32uCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingInt32uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readInt32uAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt32uCommandParams); - readUnitTestingInteractionInfo.put( - "readInt32uAttribute", readUnitTestingInt32uAttributeInteractionInfo); - Map readUnitTestingInt40uCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingInt40uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readInt40uAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt40uCommandParams); - readUnitTestingInteractionInfo.put( - "readInt40uAttribute", readUnitTestingInt40uAttributeInteractionInfo); - Map readUnitTestingInt48uCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingInt48uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readInt48uAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt48uCommandParams); - readUnitTestingInteractionInfo.put( - "readInt48uAttribute", readUnitTestingInt48uAttributeInteractionInfo); - Map readUnitTestingInt56uCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingInt56uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readInt56uAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt56uCommandParams); - readUnitTestingInteractionInfo.put( - "readInt56uAttribute", readUnitTestingInt56uAttributeInteractionInfo); - Map readUnitTestingInt64uCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingInt64uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readInt64uAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt64uCommandParams); - readUnitTestingInteractionInfo.put( - "readInt64uAttribute", readUnitTestingInt64uAttributeInteractionInfo); - Map readUnitTestingInt8sCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingInt8sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readInt8sAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingInt8sCommandParams); - readUnitTestingInteractionInfo.put( - "readInt8sAttribute", readUnitTestingInt8sAttributeInteractionInfo); - Map readUnitTestingInt16sCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingInt16sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readInt16sAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingInt16sCommandParams); - readUnitTestingInteractionInfo.put( - "readInt16sAttribute", readUnitTestingInt16sAttributeInteractionInfo); - Map readUnitTestingInt24sCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingInt24sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readInt24sAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt24sCommandParams); - readUnitTestingInteractionInfo.put( - "readInt24sAttribute", readUnitTestingInt24sAttributeInteractionInfo); - Map readUnitTestingInt32sCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingInt32sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readInt32sAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt32sCommandParams); - readUnitTestingInteractionInfo.put( - "readInt32sAttribute", readUnitTestingInt32sAttributeInteractionInfo); - Map readUnitTestingInt40sCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingInt40sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readInt40sAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt40sCommandParams); - readUnitTestingInteractionInfo.put( - "readInt40sAttribute", readUnitTestingInt40sAttributeInteractionInfo); - Map readUnitTestingInt48sCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingInt48sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readInt48sAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt48sCommandParams); - readUnitTestingInteractionInfo.put( - "readInt48sAttribute", readUnitTestingInt48sAttributeInteractionInfo); - Map readUnitTestingInt56sCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingInt56sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readInt56sAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt56sCommandParams); - readUnitTestingInteractionInfo.put( - "readInt56sAttribute", readUnitTestingInt56sAttributeInteractionInfo); - Map readUnitTestingInt64sCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingInt64sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readInt64sAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt64sCommandParams); - readUnitTestingInteractionInfo.put( - "readInt64sAttribute", readUnitTestingInt64sAttributeInteractionInfo); - Map readUnitTestingEnum8CommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingEnum8AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readEnum8Attribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingEnum8CommandParams); - readUnitTestingInteractionInfo.put( - "readEnum8Attribute", readUnitTestingEnum8AttributeInteractionInfo); - Map readUnitTestingEnum16CommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingEnum16AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readEnum16Attribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingEnum16CommandParams); - readUnitTestingInteractionInfo.put( - "readEnum16Attribute", readUnitTestingEnum16AttributeInteractionInfo); - Map readUnitTestingFloatSingleCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingFloatSingleAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readFloatSingleAttribute((ChipClusters.FloatAttributeCallback) callback); - }, + readUnitTestingBooleanCommandParams + ); + readUnitTestingInteractionInfo.put("readBooleanAttribute", readUnitTestingBooleanAttributeInteractionInfo); + Map readUnitTestingBitmap8CommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingBitmap8AttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readBitmap8Attribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingBitmap8CommandParams + ); + readUnitTestingInteractionInfo.put("readBitmap8Attribute", readUnitTestingBitmap8AttributeInteractionInfo); + Map readUnitTestingBitmap16CommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingBitmap16AttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readBitmap16Attribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingBitmap16CommandParams + ); + readUnitTestingInteractionInfo.put("readBitmap16Attribute", readUnitTestingBitmap16AttributeInteractionInfo); + Map readUnitTestingBitmap32CommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingBitmap32AttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readBitmap32Attribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingBitmap32CommandParams + ); + readUnitTestingInteractionInfo.put("readBitmap32Attribute", readUnitTestingBitmap32AttributeInteractionInfo); + Map readUnitTestingBitmap64CommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingBitmap64AttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readBitmap64Attribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingBitmap64CommandParams + ); + readUnitTestingInteractionInfo.put("readBitmap64Attribute", readUnitTestingBitmap64AttributeInteractionInfo); + Map readUnitTestingInt8uCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingInt8uAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readInt8uAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingInt8uCommandParams + ); + readUnitTestingInteractionInfo.put("readInt8uAttribute", readUnitTestingInt8uAttributeInteractionInfo); + Map readUnitTestingInt16uCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingInt16uAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readInt16uAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingInt16uCommandParams + ); + readUnitTestingInteractionInfo.put("readInt16uAttribute", readUnitTestingInt16uAttributeInteractionInfo); + Map readUnitTestingInt24uCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingInt24uAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readInt24uAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt24uCommandParams + ); + readUnitTestingInteractionInfo.put("readInt24uAttribute", readUnitTestingInt24uAttributeInteractionInfo); + Map readUnitTestingInt32uCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingInt32uAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readInt32uAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt32uCommandParams + ); + readUnitTestingInteractionInfo.put("readInt32uAttribute", readUnitTestingInt32uAttributeInteractionInfo); + Map readUnitTestingInt40uCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingInt40uAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readInt40uAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt40uCommandParams + ); + readUnitTestingInteractionInfo.put("readInt40uAttribute", readUnitTestingInt40uAttributeInteractionInfo); + Map readUnitTestingInt48uCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingInt48uAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readInt48uAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt48uCommandParams + ); + readUnitTestingInteractionInfo.put("readInt48uAttribute", readUnitTestingInt48uAttributeInteractionInfo); + Map readUnitTestingInt56uCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingInt56uAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readInt56uAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt56uCommandParams + ); + readUnitTestingInteractionInfo.put("readInt56uAttribute", readUnitTestingInt56uAttributeInteractionInfo); + Map readUnitTestingInt64uCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingInt64uAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readInt64uAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt64uCommandParams + ); + readUnitTestingInteractionInfo.put("readInt64uAttribute", readUnitTestingInt64uAttributeInteractionInfo); + Map readUnitTestingInt8sCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingInt8sAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readInt8sAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingInt8sCommandParams + ); + readUnitTestingInteractionInfo.put("readInt8sAttribute", readUnitTestingInt8sAttributeInteractionInfo); + Map readUnitTestingInt16sCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingInt16sAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readInt16sAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingInt16sCommandParams + ); + readUnitTestingInteractionInfo.put("readInt16sAttribute", readUnitTestingInt16sAttributeInteractionInfo); + Map readUnitTestingInt24sCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingInt24sAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readInt24sAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt24sCommandParams + ); + readUnitTestingInteractionInfo.put("readInt24sAttribute", readUnitTestingInt24sAttributeInteractionInfo); + Map readUnitTestingInt32sCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingInt32sAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readInt32sAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt32sCommandParams + ); + readUnitTestingInteractionInfo.put("readInt32sAttribute", readUnitTestingInt32sAttributeInteractionInfo); + Map readUnitTestingInt40sCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingInt40sAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readInt40sAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt40sCommandParams + ); + readUnitTestingInteractionInfo.put("readInt40sAttribute", readUnitTestingInt40sAttributeInteractionInfo); + Map readUnitTestingInt48sCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingInt48sAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readInt48sAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt48sCommandParams + ); + readUnitTestingInteractionInfo.put("readInt48sAttribute", readUnitTestingInt48sAttributeInteractionInfo); + Map readUnitTestingInt56sCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingInt56sAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readInt56sAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt56sCommandParams + ); + readUnitTestingInteractionInfo.put("readInt56sAttribute", readUnitTestingInt56sAttributeInteractionInfo); + Map readUnitTestingInt64sCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingInt64sAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readInt64sAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt64sCommandParams + ); + readUnitTestingInteractionInfo.put("readInt64sAttribute", readUnitTestingInt64sAttributeInteractionInfo); + Map readUnitTestingEnum8CommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingEnum8AttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readEnum8Attribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingEnum8CommandParams + ); + readUnitTestingInteractionInfo.put("readEnum8Attribute", readUnitTestingEnum8AttributeInteractionInfo); + Map readUnitTestingEnum16CommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingEnum16AttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readEnum16Attribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingEnum16CommandParams + ); + readUnitTestingInteractionInfo.put("readEnum16Attribute", readUnitTestingEnum16AttributeInteractionInfo); + Map readUnitTestingFloatSingleCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingFloatSingleAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readFloatSingleAttribute( + ( + ChipClusters.FloatAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedFloatAttributeCallback(), - readUnitTestingFloatSingleCommandParams); - readUnitTestingInteractionInfo.put( - "readFloatSingleAttribute", readUnitTestingFloatSingleAttributeInteractionInfo); - Map readUnitTestingFloatDoubleCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingFloatDoubleAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readFloatDoubleAttribute((ChipClusters.DoubleAttributeCallback) callback); - }, + readUnitTestingFloatSingleCommandParams + ); + readUnitTestingInteractionInfo.put("readFloatSingleAttribute", readUnitTestingFloatSingleAttributeInteractionInfo); + Map readUnitTestingFloatDoubleCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingFloatDoubleAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readFloatDoubleAttribute( + ( + ChipClusters.DoubleAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedDoubleAttributeCallback(), - readUnitTestingFloatDoubleCommandParams); - readUnitTestingInteractionInfo.put( - "readFloatDoubleAttribute", readUnitTestingFloatDoubleAttributeInteractionInfo); - Map readUnitTestingOctetStringCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingOctetStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readOctetStringAttribute((ChipClusters.OctetStringAttributeCallback) callback); - }, + readUnitTestingFloatDoubleCommandParams + ); + readUnitTestingInteractionInfo.put("readFloatDoubleAttribute", readUnitTestingFloatDoubleAttributeInteractionInfo); + Map readUnitTestingOctetStringCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingOctetStringAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readOctetStringAttribute( + ( + ChipClusters.OctetStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedOctetStringAttributeCallback(), - readUnitTestingOctetStringCommandParams); - readUnitTestingInteractionInfo.put( - "readOctetStringAttribute", readUnitTestingOctetStringAttributeInteractionInfo); - Map readUnitTestingListInt8uCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingListInt8uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readListInt8uAttribute( - (ChipClusters.UnitTestingCluster.ListInt8uAttributeCallback) callback); - }, + readUnitTestingOctetStringCommandParams + ); + readUnitTestingInteractionInfo.put("readOctetStringAttribute", readUnitTestingOctetStringAttributeInteractionInfo); + Map readUnitTestingListInt8uCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingListInt8uAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readListInt8uAttribute( + ( ChipClusters.UnitTestingCluster.ListInt8uAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedUnitTestingClusterListInt8uAttributeCallback(), - readUnitTestingListInt8uCommandParams); - readUnitTestingInteractionInfo.put( - "readListInt8uAttribute", readUnitTestingListInt8uAttributeInteractionInfo); - Map readUnitTestingListOctetStringCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingListOctetStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readListOctetStringAttribute( - (ChipClusters.UnitTestingCluster.ListOctetStringAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitTestingClusterListOctetStringAttributeCallback(), - readUnitTestingListOctetStringCommandParams); - readUnitTestingInteractionInfo.put( - "readListOctetStringAttribute", readUnitTestingListOctetStringAttributeInteractionInfo); - Map readUnitTestingListStructOctetStringCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingListStructOctetStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readListStructOctetStringAttribute( - (ChipClusters.UnitTestingCluster.ListStructOctetStringAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitTestingClusterListStructOctetStringAttributeCallback(), - readUnitTestingListStructOctetStringCommandParams); - readUnitTestingInteractionInfo.put( - "readListStructOctetStringAttribute", - readUnitTestingListStructOctetStringAttributeInteractionInfo); - Map readUnitTestingLongOctetStringCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingLongOctetStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readLongOctetStringAttribute( - (ChipClusters.OctetStringAttributeCallback) callback); - }, + readUnitTestingListInt8uCommandParams + ); + readUnitTestingInteractionInfo.put("readListInt8uAttribute", readUnitTestingListInt8uAttributeInteractionInfo); + Map readUnitTestingListOctetStringCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingListOctetStringAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readListOctetStringAttribute( + ( ChipClusters.UnitTestingCluster.ListOctetStringAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterListOctetStringAttributeCallback(), + readUnitTestingListOctetStringCommandParams + ); + readUnitTestingInteractionInfo.put("readListOctetStringAttribute", readUnitTestingListOctetStringAttributeInteractionInfo); + Map readUnitTestingListStructOctetStringCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingListStructOctetStringAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readListStructOctetStringAttribute( + ( ChipClusters.UnitTestingCluster.ListStructOctetStringAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterListStructOctetStringAttributeCallback(), + readUnitTestingListStructOctetStringCommandParams + ); + readUnitTestingInteractionInfo.put("readListStructOctetStringAttribute", readUnitTestingListStructOctetStringAttributeInteractionInfo); + Map readUnitTestingLongOctetStringCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingLongOctetStringAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readLongOctetStringAttribute( + ( + ChipClusters.OctetStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedOctetStringAttributeCallback(), - readUnitTestingLongOctetStringCommandParams); - readUnitTestingInteractionInfo.put( - "readLongOctetStringAttribute", readUnitTestingLongOctetStringAttributeInteractionInfo); - Map readUnitTestingCharStringCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingCharStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readCharStringAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readUnitTestingLongOctetStringCommandParams + ); + readUnitTestingInteractionInfo.put("readLongOctetStringAttribute", readUnitTestingLongOctetStringAttributeInteractionInfo); + Map readUnitTestingCharStringCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingCharStringAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readCharStringAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readUnitTestingCharStringCommandParams); - readUnitTestingInteractionInfo.put( - "readCharStringAttribute", readUnitTestingCharStringAttributeInteractionInfo); - Map readUnitTestingLongCharStringCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingLongCharStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readLongCharStringAttribute((ChipClusters.CharStringAttributeCallback) callback); - }, + readUnitTestingCharStringCommandParams + ); + readUnitTestingInteractionInfo.put("readCharStringAttribute", readUnitTestingCharStringAttributeInteractionInfo); + Map readUnitTestingLongCharStringCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingLongCharStringAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readLongCharStringAttribute( + ( + ChipClusters.CharStringAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readUnitTestingLongCharStringCommandParams); - readUnitTestingInteractionInfo.put( - "readLongCharStringAttribute", readUnitTestingLongCharStringAttributeInteractionInfo); - Map readUnitTestingEpochUsCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingEpochUsAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readEpochUsAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingEpochUsCommandParams); - readUnitTestingInteractionInfo.put( - "readEpochUsAttribute", readUnitTestingEpochUsAttributeInteractionInfo); - Map readUnitTestingEpochSCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingEpochSAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readEpochSAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingEpochSCommandParams); - readUnitTestingInteractionInfo.put( - "readEpochSAttribute", readUnitTestingEpochSAttributeInteractionInfo); - Map readUnitTestingVendorIdCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingVendorIdAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readVendorIdAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingVendorIdCommandParams); - readUnitTestingInteractionInfo.put( - "readVendorIdAttribute", readUnitTestingVendorIdAttributeInteractionInfo); - Map readUnitTestingListNullablesAndOptionalsStructCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingListNullablesAndOptionalsStructAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readListNullablesAndOptionalsStructAttribute( - (ChipClusters.UnitTestingCluster - .ListNullablesAndOptionalsStructAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitTestingClusterListNullablesAndOptionalsStructAttributeCallback(), - readUnitTestingListNullablesAndOptionalsStructCommandParams); - readUnitTestingInteractionInfo.put( - "readListNullablesAndOptionalsStructAttribute", - readUnitTestingListNullablesAndOptionalsStructAttributeInteractionInfo); - Map readUnitTestingEnumAttrCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingEnumAttrAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readEnumAttrAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingEnumAttrCommandParams); - readUnitTestingInteractionInfo.put( - "readEnumAttrAttribute", readUnitTestingEnumAttrAttributeInteractionInfo); - Map readUnitTestingRangeRestrictedInt8uCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingRangeRestrictedInt8uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readRangeRestrictedInt8uAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingRangeRestrictedInt8uCommandParams); - readUnitTestingInteractionInfo.put( - "readRangeRestrictedInt8uAttribute", - readUnitTestingRangeRestrictedInt8uAttributeInteractionInfo); - Map readUnitTestingRangeRestrictedInt8sCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingRangeRestrictedInt8sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readRangeRestrictedInt8sAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingRangeRestrictedInt8sCommandParams); - readUnitTestingInteractionInfo.put( - "readRangeRestrictedInt8sAttribute", - readUnitTestingRangeRestrictedInt8sAttributeInteractionInfo); - Map readUnitTestingRangeRestrictedInt16uCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingRangeRestrictedInt16uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readRangeRestrictedInt16uAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingRangeRestrictedInt16uCommandParams); - readUnitTestingInteractionInfo.put( - "readRangeRestrictedInt16uAttribute", - readUnitTestingRangeRestrictedInt16uAttributeInteractionInfo); - Map readUnitTestingRangeRestrictedInt16sCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingRangeRestrictedInt16sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readRangeRestrictedInt16sAttribute( - (ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingRangeRestrictedInt16sCommandParams); - readUnitTestingInteractionInfo.put( - "readRangeRestrictedInt16sAttribute", - readUnitTestingRangeRestrictedInt16sAttributeInteractionInfo); - Map readUnitTestingListLongOctetStringCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingListLongOctetStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readListLongOctetStringAttribute( - (ChipClusters.UnitTestingCluster.ListLongOctetStringAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitTestingClusterListLongOctetStringAttributeCallback(), - readUnitTestingListLongOctetStringCommandParams); - readUnitTestingInteractionInfo.put( - "readListLongOctetStringAttribute", - readUnitTestingListLongOctetStringAttributeInteractionInfo); - Map readUnitTestingListFabricScopedCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingListFabricScopedAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readListFabricScopedAttribute( - (ChipClusters.UnitTestingCluster.ListFabricScopedAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitTestingClusterListFabricScopedAttributeCallback(), - readUnitTestingListFabricScopedCommandParams); - readUnitTestingInteractionInfo.put( - "readListFabricScopedAttribute", readUnitTestingListFabricScopedAttributeInteractionInfo); - Map readUnitTestingTimedWriteBooleanCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingTimedWriteBooleanAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readTimedWriteBooleanAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, + readUnitTestingLongCharStringCommandParams + ); + readUnitTestingInteractionInfo.put("readLongCharStringAttribute", readUnitTestingLongCharStringAttributeInteractionInfo); + Map readUnitTestingEpochUsCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingEpochUsAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readEpochUsAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingEpochUsCommandParams + ); + readUnitTestingInteractionInfo.put("readEpochUsAttribute", readUnitTestingEpochUsAttributeInteractionInfo); + Map readUnitTestingEpochSCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingEpochSAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readEpochSAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingEpochSCommandParams + ); + readUnitTestingInteractionInfo.put("readEpochSAttribute", readUnitTestingEpochSAttributeInteractionInfo); + Map readUnitTestingVendorIdCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingVendorIdAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readVendorIdAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingVendorIdCommandParams + ); + readUnitTestingInteractionInfo.put("readVendorIdAttribute", readUnitTestingVendorIdAttributeInteractionInfo); + Map readUnitTestingListNullablesAndOptionalsStructCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingListNullablesAndOptionalsStructAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readListNullablesAndOptionalsStructAttribute( + ( ChipClusters.UnitTestingCluster.ListNullablesAndOptionalsStructAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterListNullablesAndOptionalsStructAttributeCallback(), + readUnitTestingListNullablesAndOptionalsStructCommandParams + ); + readUnitTestingInteractionInfo.put("readListNullablesAndOptionalsStructAttribute", readUnitTestingListNullablesAndOptionalsStructAttributeInteractionInfo); + Map readUnitTestingEnumAttrCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingEnumAttrAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readEnumAttrAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingEnumAttrCommandParams + ); + readUnitTestingInteractionInfo.put("readEnumAttrAttribute", readUnitTestingEnumAttrAttributeInteractionInfo); + Map readUnitTestingRangeRestrictedInt8uCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingRangeRestrictedInt8uAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readRangeRestrictedInt8uAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingRangeRestrictedInt8uCommandParams + ); + readUnitTestingInteractionInfo.put("readRangeRestrictedInt8uAttribute", readUnitTestingRangeRestrictedInt8uAttributeInteractionInfo); + Map readUnitTestingRangeRestrictedInt8sCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingRangeRestrictedInt8sAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readRangeRestrictedInt8sAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingRangeRestrictedInt8sCommandParams + ); + readUnitTestingInteractionInfo.put("readRangeRestrictedInt8sAttribute", readUnitTestingRangeRestrictedInt8sAttributeInteractionInfo); + Map readUnitTestingRangeRestrictedInt16uCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingRangeRestrictedInt16uAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readRangeRestrictedInt16uAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingRangeRestrictedInt16uCommandParams + ); + readUnitTestingInteractionInfo.put("readRangeRestrictedInt16uAttribute", readUnitTestingRangeRestrictedInt16uAttributeInteractionInfo); + Map readUnitTestingRangeRestrictedInt16sCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingRangeRestrictedInt16sAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readRangeRestrictedInt16sAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingRangeRestrictedInt16sCommandParams + ); + readUnitTestingInteractionInfo.put("readRangeRestrictedInt16sAttribute", readUnitTestingRangeRestrictedInt16sAttributeInteractionInfo); + Map readUnitTestingListLongOctetStringCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingListLongOctetStringAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readListLongOctetStringAttribute( + ( ChipClusters.UnitTestingCluster.ListLongOctetStringAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterListLongOctetStringAttributeCallback(), + readUnitTestingListLongOctetStringCommandParams + ); + readUnitTestingInteractionInfo.put("readListLongOctetStringAttribute", readUnitTestingListLongOctetStringAttributeInteractionInfo); + Map readUnitTestingListFabricScopedCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingListFabricScopedAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readListFabricScopedAttribute( + ( ChipClusters.UnitTestingCluster.ListFabricScopedAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterListFabricScopedAttributeCallback(), + readUnitTestingListFabricScopedCommandParams + ); + readUnitTestingInteractionInfo.put("readListFabricScopedAttribute", readUnitTestingListFabricScopedAttributeInteractionInfo); + Map readUnitTestingTimedWriteBooleanCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingTimedWriteBooleanAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readTimedWriteBooleanAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readUnitTestingTimedWriteBooleanCommandParams); - readUnitTestingInteractionInfo.put( - "readTimedWriteBooleanAttribute", readUnitTestingTimedWriteBooleanAttributeInteractionInfo); - Map readUnitTestingGeneralErrorBooleanCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingGeneralErrorBooleanAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readGeneralErrorBooleanAttribute( - (ChipClusters.BooleanAttributeCallback) callback); - }, + readUnitTestingTimedWriteBooleanCommandParams + ); + readUnitTestingInteractionInfo.put("readTimedWriteBooleanAttribute", readUnitTestingTimedWriteBooleanAttributeInteractionInfo); + Map readUnitTestingGeneralErrorBooleanCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingGeneralErrorBooleanAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readGeneralErrorBooleanAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readUnitTestingGeneralErrorBooleanCommandParams); - readUnitTestingInteractionInfo.put( - "readGeneralErrorBooleanAttribute", - readUnitTestingGeneralErrorBooleanAttributeInteractionInfo); - Map readUnitTestingClusterErrorBooleanCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingClusterErrorBooleanAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readClusterErrorBooleanAttribute( - (ChipClusters.BooleanAttributeCallback) callback); - }, + readUnitTestingGeneralErrorBooleanCommandParams + ); + readUnitTestingInteractionInfo.put("readGeneralErrorBooleanAttribute", readUnitTestingGeneralErrorBooleanAttributeInteractionInfo); + Map readUnitTestingClusterErrorBooleanCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingClusterErrorBooleanAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readClusterErrorBooleanAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readUnitTestingClusterErrorBooleanCommandParams); - readUnitTestingInteractionInfo.put( - "readClusterErrorBooleanAttribute", - readUnitTestingClusterErrorBooleanAttributeInteractionInfo); - Map readUnitTestingUnsupportedCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingUnsupportedAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readUnsupportedAttribute((ChipClusters.BooleanAttributeCallback) callback); - }, + readUnitTestingClusterErrorBooleanCommandParams + ); + readUnitTestingInteractionInfo.put("readClusterErrorBooleanAttribute", readUnitTestingClusterErrorBooleanAttributeInteractionInfo); + Map readUnitTestingUnsupportedCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingUnsupportedAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readUnsupportedAttribute( + ( + ChipClusters.BooleanAttributeCallback +) callback + ); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readUnitTestingUnsupportedCommandParams); - readUnitTestingInteractionInfo.put( - "readUnsupportedAttribute", readUnitTestingUnsupportedAttributeInteractionInfo); - Map readUnitTestingNullableBooleanCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableBooleanAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableBooleanAttribute( - (ChipClusters.UnitTestingCluster.NullableBooleanAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitTestingClusterNullableBooleanAttributeCallback(), - readUnitTestingNullableBooleanCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableBooleanAttribute", readUnitTestingNullableBooleanAttributeInteractionInfo); - Map readUnitTestingNullableBitmap8CommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableBitmap8AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableBitmap8Attribute( - (ChipClusters.UnitTestingCluster.NullableBitmap8AttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitTestingClusterNullableBitmap8AttributeCallback(), - readUnitTestingNullableBitmap8CommandParams); - readUnitTestingInteractionInfo.put( - "readNullableBitmap8Attribute", readUnitTestingNullableBitmap8AttributeInteractionInfo); - Map readUnitTestingNullableBitmap16CommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableBitmap16AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableBitmap16Attribute( - (ChipClusters.UnitTestingCluster.NullableBitmap16AttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitTestingClusterNullableBitmap16AttributeCallback(), - readUnitTestingNullableBitmap16CommandParams); - readUnitTestingInteractionInfo.put( - "readNullableBitmap16Attribute", readUnitTestingNullableBitmap16AttributeInteractionInfo); - Map readUnitTestingNullableBitmap32CommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableBitmap32AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableBitmap32Attribute( - (ChipClusters.UnitTestingCluster.NullableBitmap32AttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitTestingClusterNullableBitmap32AttributeCallback(), - readUnitTestingNullableBitmap32CommandParams); - readUnitTestingInteractionInfo.put( - "readNullableBitmap32Attribute", readUnitTestingNullableBitmap32AttributeInteractionInfo); - Map readUnitTestingNullableBitmap64CommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableBitmap64AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableBitmap64Attribute( - (ChipClusters.UnitTestingCluster.NullableBitmap64AttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitTestingClusterNullableBitmap64AttributeCallback(), - readUnitTestingNullableBitmap64CommandParams); - readUnitTestingInteractionInfo.put( - "readNullableBitmap64Attribute", readUnitTestingNullableBitmap64AttributeInteractionInfo); - Map readUnitTestingNullableInt8uCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt8uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableInt8uAttribute( - (ChipClusters.UnitTestingCluster.NullableInt8uAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt8uAttributeCallback(), - readUnitTestingNullableInt8uCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableInt8uAttribute", readUnitTestingNullableInt8uAttributeInteractionInfo); - Map readUnitTestingNullableInt16uCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt16uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableInt16uAttribute( - (ChipClusters.UnitTestingCluster.NullableInt16uAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt16uAttributeCallback(), - readUnitTestingNullableInt16uCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableInt16uAttribute", readUnitTestingNullableInt16uAttributeInteractionInfo); - Map readUnitTestingNullableInt24uCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt24uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableInt24uAttribute( - (ChipClusters.UnitTestingCluster.NullableInt24uAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt24uAttributeCallback(), - readUnitTestingNullableInt24uCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableInt24uAttribute", readUnitTestingNullableInt24uAttributeInteractionInfo); - Map readUnitTestingNullableInt32uCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt32uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableInt32uAttribute( - (ChipClusters.UnitTestingCluster.NullableInt32uAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt32uAttributeCallback(), - readUnitTestingNullableInt32uCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableInt32uAttribute", readUnitTestingNullableInt32uAttributeInteractionInfo); - Map readUnitTestingNullableInt40uCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt40uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableInt40uAttribute( - (ChipClusters.UnitTestingCluster.NullableInt40uAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt40uAttributeCallback(), - readUnitTestingNullableInt40uCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableInt40uAttribute", readUnitTestingNullableInt40uAttributeInteractionInfo); - Map readUnitTestingNullableInt48uCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt48uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableInt48uAttribute( - (ChipClusters.UnitTestingCluster.NullableInt48uAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt48uAttributeCallback(), - readUnitTestingNullableInt48uCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableInt48uAttribute", readUnitTestingNullableInt48uAttributeInteractionInfo); - Map readUnitTestingNullableInt56uCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt56uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableInt56uAttribute( - (ChipClusters.UnitTestingCluster.NullableInt56uAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt56uAttributeCallback(), - readUnitTestingNullableInt56uCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableInt56uAttribute", readUnitTestingNullableInt56uAttributeInteractionInfo); - Map readUnitTestingNullableInt64uCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt64uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableInt64uAttribute( - (ChipClusters.UnitTestingCluster.NullableInt64uAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt64uAttributeCallback(), - readUnitTestingNullableInt64uCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableInt64uAttribute", readUnitTestingNullableInt64uAttributeInteractionInfo); - Map readUnitTestingNullableInt8sCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt8sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableInt8sAttribute( - (ChipClusters.UnitTestingCluster.NullableInt8sAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt8sAttributeCallback(), - readUnitTestingNullableInt8sCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableInt8sAttribute", readUnitTestingNullableInt8sAttributeInteractionInfo); - Map readUnitTestingNullableInt16sCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt16sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableInt16sAttribute( - (ChipClusters.UnitTestingCluster.NullableInt16sAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt16sAttributeCallback(), - readUnitTestingNullableInt16sCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableInt16sAttribute", readUnitTestingNullableInt16sAttributeInteractionInfo); - Map readUnitTestingNullableInt24sCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt24sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableInt24sAttribute( - (ChipClusters.UnitTestingCluster.NullableInt24sAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt24sAttributeCallback(), - readUnitTestingNullableInt24sCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableInt24sAttribute", readUnitTestingNullableInt24sAttributeInteractionInfo); - Map readUnitTestingNullableInt32sCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt32sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableInt32sAttribute( - (ChipClusters.UnitTestingCluster.NullableInt32sAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt32sAttributeCallback(), - readUnitTestingNullableInt32sCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableInt32sAttribute", readUnitTestingNullableInt32sAttributeInteractionInfo); - Map readUnitTestingNullableInt40sCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt40sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableInt40sAttribute( - (ChipClusters.UnitTestingCluster.NullableInt40sAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt40sAttributeCallback(), - readUnitTestingNullableInt40sCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableInt40sAttribute", readUnitTestingNullableInt40sAttributeInteractionInfo); - Map readUnitTestingNullableInt48sCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt48sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableInt48sAttribute( - (ChipClusters.UnitTestingCluster.NullableInt48sAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt48sAttributeCallback(), - readUnitTestingNullableInt48sCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableInt48sAttribute", readUnitTestingNullableInt48sAttributeInteractionInfo); - Map readUnitTestingNullableInt56sCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt56sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableInt56sAttribute( - (ChipClusters.UnitTestingCluster.NullableInt56sAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt56sAttributeCallback(), - readUnitTestingNullableInt56sCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableInt56sAttribute", readUnitTestingNullableInt56sAttributeInteractionInfo); - Map readUnitTestingNullableInt64sCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt64sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableInt64sAttribute( - (ChipClusters.UnitTestingCluster.NullableInt64sAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt64sAttributeCallback(), - readUnitTestingNullableInt64sCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableInt64sAttribute", readUnitTestingNullableInt64sAttributeInteractionInfo); - Map readUnitTestingNullableEnum8CommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableEnum8AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableEnum8Attribute( - (ChipClusters.UnitTestingCluster.NullableEnum8AttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedUnitTestingClusterNullableEnum8AttributeCallback(), - readUnitTestingNullableEnum8CommandParams); - readUnitTestingInteractionInfo.put( - "readNullableEnum8Attribute", readUnitTestingNullableEnum8AttributeInteractionInfo); - Map readUnitTestingNullableEnum16CommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableEnum16AttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableEnum16Attribute( - (ChipClusters.UnitTestingCluster.NullableEnum16AttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedUnitTestingClusterNullableEnum16AttributeCallback(), - readUnitTestingNullableEnum16CommandParams); - readUnitTestingInteractionInfo.put( - "readNullableEnum16Attribute", readUnitTestingNullableEnum16AttributeInteractionInfo); - Map readUnitTestingNullableFloatSingleCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableFloatSingleAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableFloatSingleAttribute( - (ChipClusters.UnitTestingCluster.NullableFloatSingleAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitTestingClusterNullableFloatSingleAttributeCallback(), - readUnitTestingNullableFloatSingleCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableFloatSingleAttribute", - readUnitTestingNullableFloatSingleAttributeInteractionInfo); - Map readUnitTestingNullableFloatDoubleCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableFloatDoubleAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableFloatDoubleAttribute( - (ChipClusters.UnitTestingCluster.NullableFloatDoubleAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitTestingClusterNullableFloatDoubleAttributeCallback(), - readUnitTestingNullableFloatDoubleCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableFloatDoubleAttribute", - readUnitTestingNullableFloatDoubleAttributeInteractionInfo); - Map readUnitTestingNullableOctetStringCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableOctetStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableOctetStringAttribute( - (ChipClusters.UnitTestingCluster.NullableOctetStringAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitTestingClusterNullableOctetStringAttributeCallback(), - readUnitTestingNullableOctetStringCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableOctetStringAttribute", - readUnitTestingNullableOctetStringAttributeInteractionInfo); - Map readUnitTestingNullableCharStringCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableCharStringAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableCharStringAttribute( - (ChipClusters.UnitTestingCluster.NullableCharStringAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitTestingClusterNullableCharStringAttributeCallback(), - readUnitTestingNullableCharStringCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableCharStringAttribute", - readUnitTestingNullableCharStringAttributeInteractionInfo); - Map readUnitTestingNullableEnumAttrCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableEnumAttrAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableEnumAttrAttribute( - (ChipClusters.UnitTestingCluster.NullableEnumAttrAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitTestingClusterNullableEnumAttrAttributeCallback(), - readUnitTestingNullableEnumAttrCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableEnumAttrAttribute", readUnitTestingNullableEnumAttrAttributeInteractionInfo); - Map readUnitTestingNullableRangeRestrictedInt8uCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableRangeRestrictedInt8uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableRangeRestrictedInt8uAttribute( - (ChipClusters.UnitTestingCluster - .NullableRangeRestrictedInt8uAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitTestingClusterNullableRangeRestrictedInt8uAttributeCallback(), - readUnitTestingNullableRangeRestrictedInt8uCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableRangeRestrictedInt8uAttribute", - readUnitTestingNullableRangeRestrictedInt8uAttributeInteractionInfo); - Map readUnitTestingNullableRangeRestrictedInt8sCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableRangeRestrictedInt8sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableRangeRestrictedInt8sAttribute( - (ChipClusters.UnitTestingCluster - .NullableRangeRestrictedInt8sAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitTestingClusterNullableRangeRestrictedInt8sAttributeCallback(), - readUnitTestingNullableRangeRestrictedInt8sCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableRangeRestrictedInt8sAttribute", - readUnitTestingNullableRangeRestrictedInt8sAttributeInteractionInfo); - Map readUnitTestingNullableRangeRestrictedInt16uCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableRangeRestrictedInt16uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableRangeRestrictedInt16uAttribute( - (ChipClusters.UnitTestingCluster - .NullableRangeRestrictedInt16uAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitTestingClusterNullableRangeRestrictedInt16uAttributeCallback(), - readUnitTestingNullableRangeRestrictedInt16uCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableRangeRestrictedInt16uAttribute", - readUnitTestingNullableRangeRestrictedInt16uAttributeInteractionInfo); - Map readUnitTestingNullableRangeRestrictedInt16sCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingNullableRangeRestrictedInt16sAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readNullableRangeRestrictedInt16sAttribute( - (ChipClusters.UnitTestingCluster - .NullableRangeRestrictedInt16sAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitTestingClusterNullableRangeRestrictedInt16sAttributeCallback(), - readUnitTestingNullableRangeRestrictedInt16sCommandParams); - readUnitTestingInteractionInfo.put( - "readNullableRangeRestrictedInt16sAttribute", - readUnitTestingNullableRangeRestrictedInt16sAttributeInteractionInfo); - Map readUnitTestingWriteOnlyInt8uCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingWriteOnlyInt8uAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readWriteOnlyInt8uAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingWriteOnlyInt8uCommandParams); - readUnitTestingInteractionInfo.put( - "readWriteOnlyInt8uAttribute", readUnitTestingWriteOnlyInt8uAttributeInteractionInfo); - Map readUnitTestingGeneratedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingGeneratedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readGeneratedCommandListAttribute( - (ChipClusters.UnitTestingCluster.GeneratedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitTestingClusterGeneratedCommandListAttributeCallback(), - readUnitTestingGeneratedCommandListCommandParams); - readUnitTestingInteractionInfo.put( - "readGeneratedCommandListAttribute", - readUnitTestingGeneratedCommandListAttributeInteractionInfo); - Map readUnitTestingAcceptedCommandListCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingAcceptedCommandListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readAcceptedCommandListAttribute( - (ChipClusters.UnitTestingCluster.AcceptedCommandListAttributeCallback) - callback); - }, - () -> - new ClusterInfoMapping - .DelegatedUnitTestingClusterAcceptedCommandListAttributeCallback(), - readUnitTestingAcceptedCommandListCommandParams); - readUnitTestingInteractionInfo.put( - "readAcceptedCommandListAttribute", - readUnitTestingAcceptedCommandListAttributeInteractionInfo); - Map readUnitTestingEventListCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingEventListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readEventListAttribute( - (ChipClusters.UnitTestingCluster.EventListAttributeCallback) callback); - }, + readUnitTestingUnsupportedCommandParams + ); + readUnitTestingInteractionInfo.put("readUnsupportedAttribute", readUnitTestingUnsupportedAttributeInteractionInfo); + Map readUnitTestingNullableBooleanCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableBooleanAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableBooleanAttribute( + ( ChipClusters.UnitTestingCluster.NullableBooleanAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableBooleanAttributeCallback(), + readUnitTestingNullableBooleanCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableBooleanAttribute", readUnitTestingNullableBooleanAttributeInteractionInfo); + Map readUnitTestingNullableBitmap8CommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableBitmap8AttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableBitmap8Attribute( + ( ChipClusters.UnitTestingCluster.NullableBitmap8AttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableBitmap8AttributeCallback(), + readUnitTestingNullableBitmap8CommandParams + ); + readUnitTestingInteractionInfo.put("readNullableBitmap8Attribute", readUnitTestingNullableBitmap8AttributeInteractionInfo); + Map readUnitTestingNullableBitmap16CommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableBitmap16AttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableBitmap16Attribute( + ( ChipClusters.UnitTestingCluster.NullableBitmap16AttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableBitmap16AttributeCallback(), + readUnitTestingNullableBitmap16CommandParams + ); + readUnitTestingInteractionInfo.put("readNullableBitmap16Attribute", readUnitTestingNullableBitmap16AttributeInteractionInfo); + Map readUnitTestingNullableBitmap32CommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableBitmap32AttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableBitmap32Attribute( + ( ChipClusters.UnitTestingCluster.NullableBitmap32AttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableBitmap32AttributeCallback(), + readUnitTestingNullableBitmap32CommandParams + ); + readUnitTestingInteractionInfo.put("readNullableBitmap32Attribute", readUnitTestingNullableBitmap32AttributeInteractionInfo); + Map readUnitTestingNullableBitmap64CommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableBitmap64AttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableBitmap64Attribute( + ( ChipClusters.UnitTestingCluster.NullableBitmap64AttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableBitmap64AttributeCallback(), + readUnitTestingNullableBitmap64CommandParams + ); + readUnitTestingInteractionInfo.put("readNullableBitmap64Attribute", readUnitTestingNullableBitmap64AttributeInteractionInfo); + Map readUnitTestingNullableInt8uCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt8uAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableInt8uAttribute( + ( ChipClusters.UnitTestingCluster.NullableInt8uAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt8uAttributeCallback(), + readUnitTestingNullableInt8uCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableInt8uAttribute", readUnitTestingNullableInt8uAttributeInteractionInfo); + Map readUnitTestingNullableInt16uCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt16uAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableInt16uAttribute( + ( ChipClusters.UnitTestingCluster.NullableInt16uAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt16uAttributeCallback(), + readUnitTestingNullableInt16uCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableInt16uAttribute", readUnitTestingNullableInt16uAttributeInteractionInfo); + Map readUnitTestingNullableInt24uCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt24uAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableInt24uAttribute( + ( ChipClusters.UnitTestingCluster.NullableInt24uAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt24uAttributeCallback(), + readUnitTestingNullableInt24uCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableInt24uAttribute", readUnitTestingNullableInt24uAttributeInteractionInfo); + Map readUnitTestingNullableInt32uCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt32uAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableInt32uAttribute( + ( ChipClusters.UnitTestingCluster.NullableInt32uAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt32uAttributeCallback(), + readUnitTestingNullableInt32uCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableInt32uAttribute", readUnitTestingNullableInt32uAttributeInteractionInfo); + Map readUnitTestingNullableInt40uCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt40uAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableInt40uAttribute( + ( ChipClusters.UnitTestingCluster.NullableInt40uAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt40uAttributeCallback(), + readUnitTestingNullableInt40uCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableInt40uAttribute", readUnitTestingNullableInt40uAttributeInteractionInfo); + Map readUnitTestingNullableInt48uCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt48uAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableInt48uAttribute( + ( ChipClusters.UnitTestingCluster.NullableInt48uAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt48uAttributeCallback(), + readUnitTestingNullableInt48uCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableInt48uAttribute", readUnitTestingNullableInt48uAttributeInteractionInfo); + Map readUnitTestingNullableInt56uCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt56uAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableInt56uAttribute( + ( ChipClusters.UnitTestingCluster.NullableInt56uAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt56uAttributeCallback(), + readUnitTestingNullableInt56uCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableInt56uAttribute", readUnitTestingNullableInt56uAttributeInteractionInfo); + Map readUnitTestingNullableInt64uCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt64uAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableInt64uAttribute( + ( ChipClusters.UnitTestingCluster.NullableInt64uAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt64uAttributeCallback(), + readUnitTestingNullableInt64uCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableInt64uAttribute", readUnitTestingNullableInt64uAttributeInteractionInfo); + Map readUnitTestingNullableInt8sCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt8sAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableInt8sAttribute( + ( ChipClusters.UnitTestingCluster.NullableInt8sAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt8sAttributeCallback(), + readUnitTestingNullableInt8sCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableInt8sAttribute", readUnitTestingNullableInt8sAttributeInteractionInfo); + Map readUnitTestingNullableInt16sCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt16sAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableInt16sAttribute( + ( ChipClusters.UnitTestingCluster.NullableInt16sAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt16sAttributeCallback(), + readUnitTestingNullableInt16sCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableInt16sAttribute", readUnitTestingNullableInt16sAttributeInteractionInfo); + Map readUnitTestingNullableInt24sCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt24sAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableInt24sAttribute( + ( ChipClusters.UnitTestingCluster.NullableInt24sAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt24sAttributeCallback(), + readUnitTestingNullableInt24sCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableInt24sAttribute", readUnitTestingNullableInt24sAttributeInteractionInfo); + Map readUnitTestingNullableInt32sCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt32sAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableInt32sAttribute( + ( ChipClusters.UnitTestingCluster.NullableInt32sAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt32sAttributeCallback(), + readUnitTestingNullableInt32sCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableInt32sAttribute", readUnitTestingNullableInt32sAttributeInteractionInfo); + Map readUnitTestingNullableInt40sCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt40sAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableInt40sAttribute( + ( ChipClusters.UnitTestingCluster.NullableInt40sAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt40sAttributeCallback(), + readUnitTestingNullableInt40sCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableInt40sAttribute", readUnitTestingNullableInt40sAttributeInteractionInfo); + Map readUnitTestingNullableInt48sCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt48sAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableInt48sAttribute( + ( ChipClusters.UnitTestingCluster.NullableInt48sAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt48sAttributeCallback(), + readUnitTestingNullableInt48sCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableInt48sAttribute", readUnitTestingNullableInt48sAttributeInteractionInfo); + Map readUnitTestingNullableInt56sCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt56sAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableInt56sAttribute( + ( ChipClusters.UnitTestingCluster.NullableInt56sAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt56sAttributeCallback(), + readUnitTestingNullableInt56sCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableInt56sAttribute", readUnitTestingNullableInt56sAttributeInteractionInfo); + Map readUnitTestingNullableInt64sCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt64sAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableInt64sAttribute( + ( ChipClusters.UnitTestingCluster.NullableInt64sAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt64sAttributeCallback(), + readUnitTestingNullableInt64sCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableInt64sAttribute", readUnitTestingNullableInt64sAttributeInteractionInfo); + Map readUnitTestingNullableEnum8CommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableEnum8AttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableEnum8Attribute( + ( ChipClusters.UnitTestingCluster.NullableEnum8AttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableEnum8AttributeCallback(), + readUnitTestingNullableEnum8CommandParams + ); + readUnitTestingInteractionInfo.put("readNullableEnum8Attribute", readUnitTestingNullableEnum8AttributeInteractionInfo); + Map readUnitTestingNullableEnum16CommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableEnum16AttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableEnum16Attribute( + ( ChipClusters.UnitTestingCluster.NullableEnum16AttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableEnum16AttributeCallback(), + readUnitTestingNullableEnum16CommandParams + ); + readUnitTestingInteractionInfo.put("readNullableEnum16Attribute", readUnitTestingNullableEnum16AttributeInteractionInfo); + Map readUnitTestingNullableFloatSingleCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableFloatSingleAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableFloatSingleAttribute( + ( ChipClusters.UnitTestingCluster.NullableFloatSingleAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableFloatSingleAttributeCallback(), + readUnitTestingNullableFloatSingleCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableFloatSingleAttribute", readUnitTestingNullableFloatSingleAttributeInteractionInfo); + Map readUnitTestingNullableFloatDoubleCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableFloatDoubleAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableFloatDoubleAttribute( + ( ChipClusters.UnitTestingCluster.NullableFloatDoubleAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableFloatDoubleAttributeCallback(), + readUnitTestingNullableFloatDoubleCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableFloatDoubleAttribute", readUnitTestingNullableFloatDoubleAttributeInteractionInfo); + Map readUnitTestingNullableOctetStringCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableOctetStringAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableOctetStringAttribute( + ( ChipClusters.UnitTestingCluster.NullableOctetStringAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableOctetStringAttributeCallback(), + readUnitTestingNullableOctetStringCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableOctetStringAttribute", readUnitTestingNullableOctetStringAttributeInteractionInfo); + Map readUnitTestingNullableCharStringCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableCharStringAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableCharStringAttribute( + ( ChipClusters.UnitTestingCluster.NullableCharStringAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableCharStringAttributeCallback(), + readUnitTestingNullableCharStringCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableCharStringAttribute", readUnitTestingNullableCharStringAttributeInteractionInfo); + Map readUnitTestingNullableEnumAttrCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableEnumAttrAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableEnumAttrAttribute( + ( ChipClusters.UnitTestingCluster.NullableEnumAttrAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableEnumAttrAttributeCallback(), + readUnitTestingNullableEnumAttrCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableEnumAttrAttribute", readUnitTestingNullableEnumAttrAttributeInteractionInfo); + Map readUnitTestingNullableRangeRestrictedInt8uCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableRangeRestrictedInt8uAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableRangeRestrictedInt8uAttribute( + ( ChipClusters.UnitTestingCluster.NullableRangeRestrictedInt8uAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableRangeRestrictedInt8uAttributeCallback(), + readUnitTestingNullableRangeRestrictedInt8uCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableRangeRestrictedInt8uAttribute", readUnitTestingNullableRangeRestrictedInt8uAttributeInteractionInfo); + Map readUnitTestingNullableRangeRestrictedInt8sCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableRangeRestrictedInt8sAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableRangeRestrictedInt8sAttribute( + ( ChipClusters.UnitTestingCluster.NullableRangeRestrictedInt8sAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableRangeRestrictedInt8sAttributeCallback(), + readUnitTestingNullableRangeRestrictedInt8sCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableRangeRestrictedInt8sAttribute", readUnitTestingNullableRangeRestrictedInt8sAttributeInteractionInfo); + Map readUnitTestingNullableRangeRestrictedInt16uCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableRangeRestrictedInt16uAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableRangeRestrictedInt16uAttribute( + ( ChipClusters.UnitTestingCluster.NullableRangeRestrictedInt16uAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableRangeRestrictedInt16uAttributeCallback(), + readUnitTestingNullableRangeRestrictedInt16uCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableRangeRestrictedInt16uAttribute", readUnitTestingNullableRangeRestrictedInt16uAttributeInteractionInfo); + Map readUnitTestingNullableRangeRestrictedInt16sCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingNullableRangeRestrictedInt16sAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readNullableRangeRestrictedInt16sAttribute( + ( ChipClusters.UnitTestingCluster.NullableRangeRestrictedInt16sAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableRangeRestrictedInt16sAttributeCallback(), + readUnitTestingNullableRangeRestrictedInt16sCommandParams + ); + readUnitTestingInteractionInfo.put("readNullableRangeRestrictedInt16sAttribute", readUnitTestingNullableRangeRestrictedInt16sAttributeInteractionInfo); + Map readUnitTestingWriteOnlyInt8uCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingWriteOnlyInt8uAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readWriteOnlyInt8uAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingWriteOnlyInt8uCommandParams + ); + readUnitTestingInteractionInfo.put("readWriteOnlyInt8uAttribute", readUnitTestingWriteOnlyInt8uAttributeInteractionInfo); + Map readUnitTestingGeneratedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readGeneratedCommandListAttribute( + ( ChipClusters.UnitTestingCluster.GeneratedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterGeneratedCommandListAttributeCallback(), + readUnitTestingGeneratedCommandListCommandParams + ); + readUnitTestingInteractionInfo.put("readGeneratedCommandListAttribute", readUnitTestingGeneratedCommandListAttributeInteractionInfo); + Map readUnitTestingAcceptedCommandListCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readAcceptedCommandListAttribute( + ( ChipClusters.UnitTestingCluster.AcceptedCommandListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterAcceptedCommandListAttributeCallback(), + readUnitTestingAcceptedCommandListCommandParams + ); + readUnitTestingInteractionInfo.put("readAcceptedCommandListAttribute", readUnitTestingAcceptedCommandListAttributeInteractionInfo); + Map readUnitTestingEventListCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingEventListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readEventListAttribute( + ( ChipClusters.UnitTestingCluster.EventListAttributeCallback + ) callback + ); + }, () -> new ClusterInfoMapping.DelegatedUnitTestingClusterEventListAttributeCallback(), - readUnitTestingEventListCommandParams); - readUnitTestingInteractionInfo.put( - "readEventListAttribute", readUnitTestingEventListAttributeInteractionInfo); - Map readUnitTestingAttributeListCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingAttributeListAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readAttributeListAttribute( - (ChipClusters.UnitTestingCluster.AttributeListAttributeCallback) callback); - }, - () -> - new ClusterInfoMapping.DelegatedUnitTestingClusterAttributeListAttributeCallback(), - readUnitTestingAttributeListCommandParams); - readUnitTestingInteractionInfo.put( - "readAttributeListAttribute", readUnitTestingAttributeListAttributeInteractionInfo); - Map readUnitTestingFeatureMapCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingFeatureMapAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingFeatureMapCommandParams); - readUnitTestingInteractionInfo.put( - "readFeatureMapAttribute", readUnitTestingFeatureMapAttributeInteractionInfo); - Map readUnitTestingClusterRevisionCommandParams = - new LinkedHashMap(); - InteractionInfo readUnitTestingClusterRevisionAttributeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingClusterRevisionCommandParams); - readUnitTestingInteractionInfo.put( - "readClusterRevisionAttribute", readUnitTestingClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("unitTesting", readUnitTestingInteractionInfo); - return readAttributeMap; + readUnitTestingEventListCommandParams + ); + readUnitTestingInteractionInfo.put("readEventListAttribute", readUnitTestingEventListAttributeInteractionInfo); + Map readUnitTestingAttributeListCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingAttributeListAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readAttributeListAttribute( + ( ChipClusters.UnitTestingCluster.AttributeListAttributeCallback + ) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedUnitTestingClusterAttributeListAttributeCallback(), + readUnitTestingAttributeListCommandParams + ); + readUnitTestingInteractionInfo.put("readAttributeListAttribute", readUnitTestingAttributeListAttributeInteractionInfo); + Map readUnitTestingFeatureMapCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingFeatureMapAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readFeatureMapAttribute( + ( + ChipClusters.LongAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingFeatureMapCommandParams + ); + readUnitTestingInteractionInfo.put("readFeatureMapAttribute", readUnitTestingFeatureMapAttributeInteractionInfo); + Map readUnitTestingClusterRevisionCommandParams = new LinkedHashMap(); + InteractionInfo readUnitTestingClusterRevisionAttributeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster).readClusterRevisionAttribute( + ( + ChipClusters.IntegerAttributeCallback +) callback + ); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingClusterRevisionCommandParams + ); + readUnitTestingInteractionInfo.put("readClusterRevisionAttribute", readUnitTestingClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("unitTesting", readUnitTestingInteractionInfo); + return readAttributeMap; } } + From 06b3ee212aa7d9a3ae3a8c2cfbac023950a34c18 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Thu, 23 Mar 2023 10:40:24 -0400 Subject: [PATCH 10/13] Another whitespace alignment update --- .../all-clusters-app.matter | 130 +- .../all-clusters-minimal-app.matter | 118 +- .../bridge-common/bridge-app.matter | 48 +- ...p_rootnode_dimmablelight_bCwGYSDpoe.matter | 44 +- ...de_colortemperaturelight_hbUnzYVeyn.matter | 34 +- .../rootnode_contactsensor_lFAGG1bfRO.matter | 38 +- .../rootnode_dimmablelight_bCwGYSDpoe.matter | 40 +- .../rootnode_doorlock_aNKYAreMXE.matter | 38 +- ...tnode_extendedcolorlight_8lcaaYJVAa.matter | 42 +- .../devices/rootnode_fan_7N2TobIlOX.matter | 38 +- .../rootnode_flowsensor_1zVxHedlaV.matter | 38 +- ...tnode_heatingcoolingunit_ncdGai1E5a.matter | 42 +- .../rootnode_humiditysensor_Xyj4gda6Hb.matter | 38 +- .../rootnode_lightsensor_lZQycTFcJK.matter | 38 +- ...rootnode_occupancysensor_iHyVgifZuo.matter | 38 +- .../rootnode_onofflight_bbs1b7IaOV.matter | 40 +- ...ootnode_onofflightswitch_FsPlMr090Q.matter | 38 +- ...rootnode_onoffpluginunit_Wtf8ss5EBY.matter | 38 +- .../rootnode_pressuresensor_s0qC9wLH4k.matter | 40 +- .../rootnode_speaker_RpzeXdimqA.matter | 40 +- ...otnode_temperaturesensor_Qy1zkNW7c3.matter | 38 +- .../rootnode_thermostat_bm3fb8dhYi.matter | 40 +- .../rootnode_windowcovering_RLCxaGi9Yx.matter | 38 +- .../contact-sensor-app.matter | 46 +- .../bridge-common/bridge-app.matter | 48 +- .../light-switch-app.matter | 46 +- .../lighting-common/lighting-app.matter | 52 +- .../nxp/zap/lighting-on-off.matter | 32 +- examples/lighting-app/qpg/zap/light.matter | 40 +- .../data_model/lighting-thread-app.matter | 44 +- .../efr32/data_model/lighting-wifi-app.matter | 44 +- examples/lock-app/lock-common/lock-app.matter | 48 +- examples/lock-app/nxp/zap/lock-app.matter | 26 +- examples/lock-app/qpg/zap/lock.matter | 36 +- .../log-source-common/log-source-app.matter | 10 +- .../ota-provider-app.matter | 28 +- .../ota-requestor-app.matter | 34 +- .../placeholder/linux/apps/app1/config.matter | 84 +- .../placeholder/linux/apps/app2/config.matter | 84 +- examples/pump-app/pump-common/pump-app.matter | 38 +- .../pump-controller-app.matter | 26 +- .../temperature-measurement.matter | 38 +- .../thermostat-common/thermostat.matter | 52 +- examples/tv-app/tv-common/tv-app.matter | 72 +- .../tv-casting-common/tv-casting-app.matter | 60 +- examples/window-app/common/window-app.matter | 48 +- .../templates/app/MatterIDL.zapt | 3 +- .../chip/devicecontroller/ChipClusters.java | 47051 ++++++++-------- .../devicecontroller/ChipEventStructs.java | 2734 +- .../chip/devicecontroller/ChipIdLookup.java | 12 +- .../chip/devicecontroller/ChipStructs.java | 4460 +- .../devicecontroller/ClusterInfoMapping.java | 32608 ++++++----- .../devicecontroller/ClusterReadMapping.java | 30933 +++++----- 53 files changed, 63154 insertions(+), 56759 deletions(-) diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter index 91f22dc590ef05..99acb67bc867a9 100644 --- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter +++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -62,7 +62,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -144,7 +144,7 @@ server cluster Scenes = 5 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddSceneRequest { group_id groupID = 0; @@ -318,7 +318,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; @@ -347,7 +347,7 @@ server cluster OnOffSwitchConfiguration = 7 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster LevelControl = 8 { @@ -391,7 +391,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -466,7 +466,7 @@ server cluster BinaryInputBasic = 15 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Descriptor = 29 { @@ -484,7 +484,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Binding = 30 { @@ -502,7 +502,7 @@ server cluster Binding = 30 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -571,7 +571,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Actions = 37 { @@ -655,7 +655,7 @@ server cluster Actions = 37 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -704,7 +704,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -827,7 +827,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -848,7 +848,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -880,7 +880,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UnitLocalization = 45 { @@ -900,7 +900,7 @@ server cluster UnitLocalization = 45 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PowerSourceConfiguration = 46 { @@ -910,7 +910,7 @@ server cluster PowerSourceConfiguration = 46 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PowerSource = 47 { @@ -1125,7 +1125,7 @@ server cluster PowerSource = 47 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -1158,7 +1158,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -1268,7 +1268,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -1354,7 +1354,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -1459,7 +1459,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -1497,7 +1497,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1659,7 +1659,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1731,7 +1731,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1769,7 +1769,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1821,7 +1821,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1845,7 +1845,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1909,7 +1909,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -2018,7 +2018,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -2057,7 +2057,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -2067,7 +2067,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BooleanState = 69 { @@ -2081,7 +2081,7 @@ server cluster BooleanState = 69 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ModeSelect = 80 { @@ -2112,7 +2112,7 @@ server cluster ModeSelect = 80 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { INT8U newMode = 0; @@ -2531,7 +2531,7 @@ server cluster DoorLock = 257 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; @@ -2772,7 +2772,7 @@ server cluster WindowCovering = 258 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct GoToLiftValueRequest { INT16U liftValue = 0; @@ -2809,7 +2809,7 @@ server cluster BarrierControl = 259 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct BarrierControlGoToPercentRequest { INT8U percentOpen = 0; @@ -2937,7 +2937,7 @@ server cluster PumpConfigurationAndControl = 512 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Thermostat = 513 { @@ -3024,7 +3024,7 @@ server cluster Thermostat = 513 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; @@ -3093,7 +3093,7 @@ server cluster FanControl = 514 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ThermostatUserInterfaceConfiguration = 516 { @@ -3105,7 +3105,7 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ColorControl = 768 { @@ -3235,7 +3235,7 @@ server cluster ColorControl = 768 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { INT8U hue = 0; @@ -3426,7 +3426,7 @@ server cluster BallastConfiguration = 769 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster IlluminanceMeasurement = 1024 { @@ -3445,7 +3445,7 @@ server cluster IlluminanceMeasurement = 1024 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TemperatureMeasurement = 1026 { @@ -3458,7 +3458,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PressureMeasurement = 1027 { @@ -3474,7 +3474,7 @@ server cluster PressureMeasurement = 1027 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster FlowMeasurement = 1028 { @@ -3487,7 +3487,7 @@ server cluster FlowMeasurement = 1028 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster RelativeHumidityMeasurement = 1029 { @@ -3500,7 +3500,7 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster OccupancySensing = 1030 { @@ -3529,7 +3529,7 @@ server cluster OccupancySensing = 1030 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster WakeOnLan = 1283 { @@ -3539,7 +3539,7 @@ server cluster WakeOnLan = 1283 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Channel = 1284 { @@ -3572,7 +3572,7 @@ server cluster Channel = 1284 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TargetNavigator = 1285 { @@ -3594,7 +3594,7 @@ server cluster TargetNavigator = 1285 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct NavigateTargetRequest { INT8U target = 0; @@ -3642,7 +3642,7 @@ server cluster MediaPlayback = 1286 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster MediaInput = 1287 { @@ -3679,7 +3679,7 @@ server cluster MediaInput = 1287 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SelectInputRequest { INT8U index = 0; @@ -3702,7 +3702,7 @@ server cluster LowPower = 1288 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Sleep(): DefaultSuccess = 0; } @@ -3814,7 +3814,7 @@ server cluster KeypadInput = 1289 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SendKeyRequest { CecKeyCode keyCode = 0; @@ -3909,7 +3909,7 @@ server cluster ContentLauncher = 1290 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AudioOutput = 1291 { @@ -3939,7 +3939,7 @@ server cluster AudioOutput = 1291 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ApplicationLauncher = 1292 { @@ -3964,7 +3964,7 @@ server cluster ApplicationLauncher = 1292 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ApplicationBasic = 1293 { @@ -3987,7 +3987,7 @@ server cluster ApplicationBasic = 1293 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccountLogin = 1294 { @@ -3996,7 +3996,7 @@ server cluster AccountLogin = 1294 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ElectricalMeasurement = 2820 { @@ -4016,7 +4016,7 @@ server cluster ElectricalMeasurement = 2820 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ClientMonitoring = 4166 { @@ -4035,7 +4035,7 @@ server cluster ClientMonitoring = 4166 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RegisterClientMonitoringRequest { node_id clientNodeId = 0; @@ -4250,7 +4250,7 @@ server cluster UnitTesting = 4294048773 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestAddArgumentsRequest { INT8U arg1 = 0; @@ -4382,7 +4382,7 @@ server cluster FaultInjection = 4294048774 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct FailAtFaultRequest { FaultType type = 0; diff --git a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter index b73ca47c6a00df..6a8b066ef5148a 100644 --- a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter +++ b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter @@ -41,7 +41,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -61,7 +61,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -143,7 +143,7 @@ server cluster Scenes = 5 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddSceneRequest { group_id groupID = 0; @@ -266,7 +266,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -303,7 +303,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -384,7 +384,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Binding = 30 { @@ -402,7 +402,7 @@ server cluster Binding = 30 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -465,7 +465,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Actions = 37 { @@ -548,7 +548,7 @@ server cluster Actions = 37 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -589,7 +589,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -712,7 +712,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -733,7 +733,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -763,7 +763,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UnitLocalization = 45 { @@ -782,7 +782,7 @@ server cluster UnitLocalization = 45 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PowerSourceConfiguration = 46 { @@ -792,7 +792,7 @@ server cluster PowerSourceConfiguration = 46 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PowerSource = 47 { @@ -1004,7 +1004,7 @@ server cluster PowerSource = 47 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -1037,7 +1037,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -1147,7 +1147,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -1233,7 +1233,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -1332,7 +1332,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -1358,7 +1358,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ThreadNetworkDiagnostics = 53 { @@ -1472,7 +1472,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster WiFiNetworkDiagnostics = 54 { @@ -1534,7 +1534,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster EthernetNetworkDiagnostics = 55 { @@ -1570,7 +1570,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1621,7 +1621,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1645,7 +1645,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1704,7 +1704,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1813,7 +1813,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1852,7 +1852,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1862,7 +1862,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BooleanState = 69 { @@ -1876,7 +1876,7 @@ server cluster BooleanState = 69 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ModeSelect = 80 { @@ -1904,7 +1904,7 @@ server cluster ModeSelect = 80 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { INT8U newMode = 0; @@ -2298,7 +2298,7 @@ server cluster DoorLock = 257 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; @@ -2411,7 +2411,7 @@ server cluster WindowCovering = 258 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command UpOrOpen(): DefaultSuccess = 0; command DownOrClose(): DefaultSuccess = 1; @@ -2522,7 +2522,7 @@ server cluster PumpConfigurationAndControl = 512 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Thermostat = 513 { @@ -2599,7 +2599,7 @@ server cluster Thermostat = 513 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; @@ -2661,7 +2661,7 @@ server cluster FanControl = 514 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ThermostatUserInterfaceConfiguration = 516 { @@ -2672,7 +2672,7 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ColorControl = 768 { @@ -2755,7 +2755,7 @@ server cluster ColorControl = 768 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BallastConfiguration = 769 { @@ -2769,7 +2769,7 @@ server cluster BallastConfiguration = 769 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster IlluminanceMeasurement = 1024 { @@ -2786,7 +2786,7 @@ server cluster IlluminanceMeasurement = 1024 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TemperatureMeasurement = 1026 { @@ -2798,7 +2798,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PressureMeasurement = 1027 { @@ -2814,7 +2814,7 @@ server cluster PressureMeasurement = 1027 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster FlowMeasurement = 1028 { @@ -2826,7 +2826,7 @@ server cluster FlowMeasurement = 1028 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster RelativeHumidityMeasurement = 1029 { @@ -2838,7 +2838,7 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster OccupancySensing = 1030 { @@ -2867,7 +2867,7 @@ server cluster OccupancySensing = 1030 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster WakeOnLan = 1283 { @@ -2876,7 +2876,7 @@ server cluster WakeOnLan = 1283 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Channel = 1284 { @@ -2900,7 +2900,7 @@ server cluster Channel = 1284 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ChangeChannelByNumberRequest { INT16U majorNumber = 0; @@ -2933,7 +2933,7 @@ server cluster TargetNavigator = 1285 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct NavigateTargetRequest { INT8U target = 0; @@ -2976,7 +2976,7 @@ server cluster MediaPlayback = 1286 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; response struct PlaybackResponse = 10 { MediaPlaybackStatusEnum status = 0; @@ -3022,7 +3022,7 @@ server cluster MediaInput = 1287 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SelectInputRequest { INT8U index = 0; @@ -3039,7 +3039,7 @@ server cluster LowPower = 1288 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Sleep(): DefaultSuccess = 0; } @@ -3151,7 +3151,7 @@ server cluster KeypadInput = 1289 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SendKeyRequest { CecKeyCode keyCode = 0; @@ -3244,7 +3244,7 @@ server cluster ContentLauncher = 1290 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AudioOutput = 1291 { @@ -3274,7 +3274,7 @@ server cluster AudioOutput = 1291 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SelectOutputRequest { INT8U index = 0; @@ -3299,7 +3299,7 @@ server cluster ApplicationLauncher = 1292 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct LaunchAppRequest { optional ApplicationStruct application = 0; @@ -3342,7 +3342,7 @@ server cluster ApplicationBasic = 1293 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccountLogin = 1294 { @@ -3351,7 +3351,7 @@ server cluster AccountLogin = 1294 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct GetSetupPINRequest { CHAR_STRING<100> tempAccountIdentifier = 0; @@ -3569,7 +3569,7 @@ server cluster UnitTesting = 4294048773 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestAddArgumentsRequest { INT8U arg1 = 0; diff --git a/examples/bridge-app/bridge-common/bridge-app.matter b/examples/bridge-app/bridge-common/bridge-app.matter index be2da692a615e1..464416e0943658 100644 --- a/examples/bridge-app/bridge-common/bridge-app.matter +++ b/examples/bridge-app/bridge-common/bridge-app.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -82,7 +82,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -130,7 +130,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -211,7 +211,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -367,7 +367,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Actions = 37 { @@ -451,7 +451,7 @@ server cluster Actions = 37 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct InstantActionRequest { INT16U actionID = 0; @@ -507,7 +507,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster LocalizationConfiguration = 43 { @@ -518,7 +518,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -550,7 +550,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UnitLocalization = 45 { @@ -570,7 +570,7 @@ server cluster UnitLocalization = 45 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -603,7 +603,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -713,7 +713,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -799,7 +799,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -904,7 +904,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -942,7 +942,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ThreadNetworkDiagnostics = 53 { @@ -1102,7 +1102,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster WiFiNetworkDiagnostics = 54 { @@ -1172,7 +1172,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster EthernetNetworkDiagnostics = 55 { @@ -1208,7 +1208,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1260,7 +1260,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1284,7 +1284,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1348,7 +1348,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1457,7 +1457,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1501,7 +1501,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TemperatureMeasurement = 1026 { @@ -1513,7 +1513,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter index e5244e64e7aa46..0138aa3207b6b2 100644 --- a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter +++ b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -144,7 +144,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -185,7 +185,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -266,7 +266,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -350,7 +350,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -393,7 +393,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -527,7 +527,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -547,7 +547,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -579,7 +579,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -611,7 +611,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -669,7 +669,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -774,7 +774,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -812,7 +812,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -974,7 +974,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1046,7 +1046,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1084,7 +1084,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1133,7 +1133,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1157,7 +1157,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1221,7 +1221,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1330,7 +1330,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1374,7 +1374,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OccupancySensing = 1030 { diff --git a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter index c54d7b236c9594..73f0fad8aa24b5 100644 --- a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter +++ b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -57,7 +57,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -150,7 +150,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; @@ -203,7 +203,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -284,7 +284,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -353,7 +353,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -402,7 +402,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -536,7 +536,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -579,7 +579,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -689,7 +689,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -775,7 +775,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -880,7 +880,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -918,7 +918,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -944,7 +944,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1008,7 +1008,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1117,7 +1117,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1254,7 +1254,7 @@ server cluster ColorControl = 768 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { INT8U hue = 0; diff --git a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter index e1e1b169f6a0b6..d69ad8d02016c8 100644 --- a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter +++ b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -119,7 +119,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -203,7 +203,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -246,7 +246,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -380,7 +380,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -400,7 +400,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -432,7 +432,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -464,7 +464,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -574,7 +574,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -660,7 +660,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -765,7 +765,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -803,7 +803,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -852,7 +852,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -876,7 +876,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -940,7 +940,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1049,7 +1049,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1093,7 +1093,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BooleanState = 69 { @@ -1107,7 +1107,7 @@ server cluster BooleanState = 69 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter index d713c78b0ab48e..fa8f85729e31a4 100644 --- a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter +++ b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -144,7 +144,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -185,7 +185,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -266,7 +266,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -350,7 +350,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -393,7 +393,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -527,7 +527,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -547,7 +547,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -579,7 +579,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -611,7 +611,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -721,7 +721,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -807,7 +807,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -912,7 +912,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -950,7 +950,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -999,7 +999,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1023,7 +1023,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1087,7 +1087,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1196,7 +1196,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1240,7 +1240,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OccupancySensing = 1030 { diff --git a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter index 05d2b8c38b4e00..0dda840f15e723 100644 --- a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter +++ b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -119,7 +119,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -203,7 +203,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -246,7 +246,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -380,7 +380,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -400,7 +400,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -432,7 +432,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -464,7 +464,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -574,7 +574,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -660,7 +660,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -765,7 +765,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -803,7 +803,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -852,7 +852,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -876,7 +876,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -940,7 +940,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1049,7 +1049,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1093,7 +1093,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster DoorLock = 257 { @@ -1490,7 +1490,7 @@ server cluster DoorLock = 257 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; diff --git a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter index a28778ec63357e..8e42c417cef86f 100644 --- a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter +++ b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -144,7 +144,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -185,7 +185,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -266,7 +266,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -350,7 +350,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -393,7 +393,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -527,7 +527,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -547,7 +547,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -579,7 +579,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -611,7 +611,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -721,7 +721,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -807,7 +807,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -912,7 +912,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -950,7 +950,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -999,7 +999,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1023,7 +1023,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1087,7 +1087,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1196,7 +1196,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1240,7 +1240,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ColorControl = 768 { @@ -1338,7 +1338,7 @@ server cluster ColorControl = 768 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { INT8U hue = 0; diff --git a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter index b55caed7823fe3..af6104234a63ff 100644 --- a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter +++ b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -57,7 +57,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -125,7 +125,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -194,7 +194,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -243,7 +243,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -377,7 +377,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -398,7 +398,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -430,7 +430,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -463,7 +463,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -573,7 +573,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -659,7 +659,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -764,7 +764,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -802,7 +802,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -853,7 +853,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -877,7 +877,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -941,7 +941,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1050,7 +1050,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1094,7 +1094,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster FanControl = 514 { @@ -1156,7 +1156,7 @@ server cluster FanControl = 514 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter index e39127b23c01d9..004787645dcf69 100644 --- a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter +++ b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -65,7 +65,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -133,7 +133,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -217,7 +217,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -260,7 +260,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -394,7 +394,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -414,7 +414,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -446,7 +446,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -478,7 +478,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -588,7 +588,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -674,7 +674,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -779,7 +779,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -817,7 +817,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -866,7 +866,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -890,7 +890,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -954,7 +954,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1063,7 +1063,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1107,7 +1107,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster FlowMeasurement = 1028 { @@ -1120,7 +1120,7 @@ server cluster FlowMeasurement = 1028 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter index b1cd7361c34568..9d30700dab65f1 100644 --- a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter +++ b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -140,7 +140,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -178,7 +178,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -259,7 +259,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -343,7 +343,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -386,7 +386,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -520,7 +520,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -540,7 +540,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -572,7 +572,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -604,7 +604,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -714,7 +714,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -800,7 +800,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -905,7 +905,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -943,7 +943,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -992,7 +992,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1016,7 +1016,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1080,7 +1080,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1189,7 +1189,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1233,7 +1233,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Thermostat = 513 { @@ -1407,7 +1407,7 @@ server cluster FanControl = 514 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter index 31b436b23fe8ff..7a45ce19377ed4 100644 --- a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter +++ b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -65,7 +65,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -133,7 +133,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -217,7 +217,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -260,7 +260,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -394,7 +394,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -414,7 +414,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -446,7 +446,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -478,7 +478,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -588,7 +588,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -674,7 +674,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -779,7 +779,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -817,7 +817,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -866,7 +866,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -890,7 +890,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -954,7 +954,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1063,7 +1063,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1107,7 +1107,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster RelativeHumidityMeasurement = 1029 { @@ -1120,7 +1120,7 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter index f0aef7db57bdca..b49f38eb025857 100644 --- a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter +++ b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -65,7 +65,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -133,7 +133,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -217,7 +217,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -260,7 +260,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -394,7 +394,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -414,7 +414,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -446,7 +446,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -478,7 +478,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -588,7 +588,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -674,7 +674,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -779,7 +779,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -817,7 +817,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -866,7 +866,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -890,7 +890,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -954,7 +954,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1063,7 +1063,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1107,7 +1107,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster IlluminanceMeasurement = 1024 { @@ -1124,7 +1124,7 @@ server cluster IlluminanceMeasurement = 1024 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter index acd71f5ad21690..4e218927f80eee 100644 --- a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter +++ b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -65,7 +65,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -133,7 +133,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -217,7 +217,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -260,7 +260,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -394,7 +394,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -414,7 +414,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -446,7 +446,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -478,7 +478,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -588,7 +588,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -674,7 +674,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -779,7 +779,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -817,7 +817,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -866,7 +866,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -890,7 +890,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -954,7 +954,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1063,7 +1063,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1107,7 +1107,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster OccupancySensing = 1030 { @@ -1136,7 +1136,7 @@ server cluster OccupancySensing = 1030 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter index 0bac0e31f938b3..5c079a5eafd9e2 100644 --- a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter +++ b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -144,7 +144,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -185,7 +185,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -266,7 +266,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -350,7 +350,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -393,7 +393,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -527,7 +527,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -547,7 +547,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -579,7 +579,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -611,7 +611,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -721,7 +721,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -807,7 +807,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -912,7 +912,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -950,7 +950,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -999,7 +999,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1023,7 +1023,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1087,7 +1087,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1196,7 +1196,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1240,7 +1240,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter index 6061a2622489a5..e4ad689f018f34 100644 --- a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter +++ b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -187,7 +187,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -209,7 +209,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -293,7 +293,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -336,7 +336,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -470,7 +470,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -490,7 +490,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -522,7 +522,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -554,7 +554,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -664,7 +664,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -750,7 +750,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -855,7 +855,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -893,7 +893,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -942,7 +942,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -966,7 +966,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1030,7 +1030,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1139,7 +1139,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1183,7 +1183,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter index 6aae097b193874..2c7d1b9e16bab8 100644 --- a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter +++ b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -144,7 +144,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -166,7 +166,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -250,7 +250,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -293,7 +293,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -427,7 +427,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -447,7 +447,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -479,7 +479,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -511,7 +511,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -621,7 +621,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -707,7 +707,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -812,7 +812,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -850,7 +850,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -899,7 +899,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -923,7 +923,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -987,7 +987,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1096,7 +1096,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1140,7 +1140,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter index 15b85802c9f0b5..146e6d58ad75f3 100644 --- a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter +++ b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -70,7 +70,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -138,7 +138,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -222,7 +222,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -265,7 +265,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -399,7 +399,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -419,7 +419,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -451,7 +451,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -483,7 +483,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -593,7 +593,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -679,7 +679,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -784,7 +784,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -822,7 +822,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -871,7 +871,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -895,7 +895,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -959,7 +959,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1068,7 +1068,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1107,7 +1107,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1117,7 +1117,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PressureMeasurement = 1027 { @@ -1133,7 +1133,7 @@ server cluster PressureMeasurement = 1027 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter index a8be343a8e5255..0c1041f3c77441 100644 --- a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter +++ b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -140,7 +140,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -179,7 +179,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -260,7 +260,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -344,7 +344,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -387,7 +387,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -521,7 +521,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -541,7 +541,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -573,7 +573,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -605,7 +605,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -715,7 +715,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -801,7 +801,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -906,7 +906,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -944,7 +944,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -993,7 +993,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1017,7 +1017,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1081,7 +1081,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1190,7 +1190,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1234,7 +1234,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter index 8da832b26694c4..951abb3781f2b6 100644 --- a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter +++ b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -65,7 +65,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -133,7 +133,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -217,7 +217,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -260,7 +260,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -394,7 +394,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -414,7 +414,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -446,7 +446,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -478,7 +478,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -588,7 +588,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -674,7 +674,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -779,7 +779,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -817,7 +817,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -866,7 +866,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -890,7 +890,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -954,7 +954,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1063,7 +1063,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1107,7 +1107,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TemperatureMeasurement = 1026 { @@ -1119,7 +1119,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter index 1e3d88316cd879..03bc1853fbd387 100644 --- a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter +++ b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -119,7 +119,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -203,7 +203,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -246,7 +246,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -380,7 +380,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -400,7 +400,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -432,7 +432,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -464,7 +464,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -574,7 +574,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -660,7 +660,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -765,7 +765,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -803,7 +803,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -852,7 +852,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -876,7 +876,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -940,7 +940,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1049,7 +1049,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1093,7 +1093,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Thermostat = 513 { @@ -1187,7 +1187,7 @@ server cluster Thermostat = 513 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; @@ -1267,7 +1267,7 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster TemperatureMeasurement = 1026 { diff --git a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter index b7ba9b75bd1304..7eb2860ebe40b4 100644 --- a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter +++ b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -51,7 +51,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -119,7 +119,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -203,7 +203,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -246,7 +246,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -380,7 +380,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -400,7 +400,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -432,7 +432,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -464,7 +464,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -574,7 +574,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -660,7 +660,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -765,7 +765,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -803,7 +803,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -852,7 +852,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -876,7 +876,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -940,7 +940,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1049,7 +1049,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1093,7 +1093,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster WindowCovering = 258 { @@ -1212,7 +1212,7 @@ server cluster WindowCovering = 258 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct GoToLiftValueRequest { INT16U liftValue = 0; diff --git a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter index f5f03d3eef4695..7b59e70d22e86c 100644 --- a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter +++ b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -62,7 +62,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -130,7 +130,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -199,7 +199,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -248,7 +248,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -382,7 +382,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -403,7 +403,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -435,7 +435,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -468,7 +468,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -578,7 +578,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -664,7 +664,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -769,7 +769,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -807,7 +807,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -969,7 +969,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1041,7 +1041,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1079,7 +1079,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1105,7 +1105,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1169,7 +1169,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1278,7 +1278,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1317,7 +1317,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1327,7 +1327,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BooleanState = 69 { @@ -1341,7 +1341,7 @@ server cluster BooleanState = 69 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster OccupancySensing = 1030 { @@ -1370,7 +1370,7 @@ server cluster OccupancySensing = 1030 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/dynamic-bridge-app/bridge-common/bridge-app.matter b/examples/dynamic-bridge-app/bridge-common/bridge-app.matter index 829ca0fe6bf9a9..b84898e28a475f 100644 --- a/examples/dynamic-bridge-app/bridge-common/bridge-app.matter +++ b/examples/dynamic-bridge-app/bridge-common/bridge-app.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -82,7 +82,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -130,7 +130,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -211,7 +211,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -367,7 +367,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Actions = 37 { @@ -451,7 +451,7 @@ server cluster Actions = 37 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct InstantActionRequest { INT16U actionID = 0; @@ -507,7 +507,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster LocalizationConfiguration = 43 { @@ -518,7 +518,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -550,7 +550,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UnitLocalization = 45 { @@ -570,7 +570,7 @@ server cluster UnitLocalization = 45 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -603,7 +603,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -713,7 +713,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -799,7 +799,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -904,7 +904,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -942,7 +942,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ThreadNetworkDiagnostics = 53 { @@ -1102,7 +1102,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster WiFiNetworkDiagnostics = 54 { @@ -1172,7 +1172,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster EthernetNetworkDiagnostics = 55 { @@ -1208,7 +1208,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1260,7 +1260,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1284,7 +1284,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1348,7 +1348,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1457,7 +1457,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1501,7 +1501,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TemperatureMeasurement = 1026 { @@ -1513,7 +1513,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/light-switch-app/light-switch-common/light-switch-app.matter b/examples/light-switch-app/light-switch-common/light-switch-app.matter index d3af7339f74909..81d3c89077291d 100644 --- a/examples/light-switch-app/light-switch-common/light-switch-app.matter +++ b/examples/light-switch-app/light-switch-common/light-switch-app.matter @@ -69,7 +69,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -95,7 +95,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -327,7 +327,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Binding = 30 { @@ -345,7 +345,7 @@ server cluster Binding = 30 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -414,7 +414,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -463,7 +463,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -597,7 +597,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -618,7 +618,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -650,7 +650,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -683,7 +683,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -793,7 +793,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -879,7 +879,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -984,7 +984,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -1022,7 +1022,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1184,7 +1184,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1256,7 +1256,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1294,7 +1294,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1345,7 +1345,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1369,7 +1369,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1433,7 +1433,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1542,7 +1542,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1581,7 +1581,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1591,7 +1591,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster ColorControl = 768 { diff --git a/examples/lighting-app/lighting-common/lighting-app.matter b/examples/lighting-app/lighting-common/lighting-app.matter index b7cae46e7d312d..73f3b486a12dbd 100644 --- a/examples/lighting-app/lighting-common/lighting-app.matter +++ b/examples/lighting-app/lighting-common/lighting-app.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -62,7 +62,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -155,7 +155,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; @@ -217,7 +217,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -298,7 +298,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -367,7 +367,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -416,7 +416,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -550,7 +550,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -571,7 +571,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -603,7 +603,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -636,7 +636,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -746,7 +746,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -832,7 +832,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -937,7 +937,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -975,7 +975,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1137,7 +1137,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1209,7 +1209,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1247,7 +1247,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1298,7 +1298,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1322,7 +1322,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1386,7 +1386,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1495,7 +1495,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1534,7 +1534,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1544,7 +1544,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ColorControl = 768 { @@ -1643,7 +1643,7 @@ server cluster ColorControl = 768 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { INT8U hue = 0; @@ -1840,7 +1840,7 @@ server cluster OccupancySensing = 1030 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/lighting-app/nxp/zap/lighting-on-off.matter b/examples/lighting-app/nxp/zap/lighting-on-off.matter index 9139fa5dc4fbf6..0dba423775462d 100644 --- a/examples/lighting-app/nxp/zap/lighting-on-off.matter +++ b/examples/lighting-app/nxp/zap/lighting-on-off.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -57,7 +57,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -150,7 +150,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; @@ -205,7 +205,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -286,7 +286,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -349,7 +349,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -390,7 +390,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -524,7 +524,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -567,7 +567,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -677,7 +677,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -819,7 +819,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -857,7 +857,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1016,7 +1016,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1042,7 +1042,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1101,7 +1101,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1210,7 +1210,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; diff --git a/examples/lighting-app/qpg/zap/light.matter b/examples/lighting-app/qpg/zap/light.matter index 5455aa85af68b5..27e8f79439d858 100644 --- a/examples/lighting-app/qpg/zap/light.matter +++ b/examples/lighting-app/qpg/zap/light.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -62,7 +62,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -155,7 +155,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; @@ -213,7 +213,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -294,7 +294,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -357,7 +357,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -406,7 +406,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -540,7 +540,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -583,7 +583,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -693,7 +693,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -772,7 +772,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -884,7 +884,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -922,7 +922,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1081,7 +1081,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1107,7 +1107,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1171,7 +1171,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1280,7 +1280,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1319,7 +1319,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1329,7 +1329,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ColorControl = 768 { @@ -1446,7 +1446,7 @@ server cluster ColorControl = 768 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { INT8U hue = 0; diff --git a/examples/lighting-app/silabs/efr32/data_model/lighting-thread-app.matter b/examples/lighting-app/silabs/efr32/data_model/lighting-thread-app.matter index 1a3858770812a9..34ecc1a58681f0 100644 --- a/examples/lighting-app/silabs/efr32/data_model/lighting-thread-app.matter +++ b/examples/lighting-app/silabs/efr32/data_model/lighting-thread-app.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -62,7 +62,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -155,7 +155,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; @@ -217,7 +217,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -298,7 +298,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -367,7 +367,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -416,7 +416,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -550,7 +550,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -571,7 +571,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -603,7 +603,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -636,7 +636,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -746,7 +746,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -832,7 +832,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -937,7 +937,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -975,7 +975,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1137,7 +1137,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1163,7 +1163,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1227,7 +1227,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1336,7 +1336,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1375,7 +1375,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1385,7 +1385,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ColorControl = 768 { @@ -1484,7 +1484,7 @@ server cluster ColorControl = 768 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { INT8U hue = 0; diff --git a/examples/lighting-app/silabs/efr32/data_model/lighting-wifi-app.matter b/examples/lighting-app/silabs/efr32/data_model/lighting-wifi-app.matter index 395a21683cfc54..0ca16845849b6a 100644 --- a/examples/lighting-app/silabs/efr32/data_model/lighting-wifi-app.matter +++ b/examples/lighting-app/silabs/efr32/data_model/lighting-wifi-app.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -62,7 +62,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -155,7 +155,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; @@ -217,7 +217,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -298,7 +298,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -367,7 +367,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -416,7 +416,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -550,7 +550,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -571,7 +571,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -603,7 +603,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -636,7 +636,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -746,7 +746,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -832,7 +832,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -937,7 +937,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -975,7 +975,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1047,7 +1047,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1073,7 +1073,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1137,7 +1137,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1246,7 +1246,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1285,7 +1285,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1295,7 +1295,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ColorControl = 768 { @@ -1394,7 +1394,7 @@ server cluster ColorControl = 768 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { INT8U hue = 0; diff --git a/examples/lock-app/lock-common/lock-app.matter b/examples/lock-app/lock-common/lock-app.matter index 7500dd51a9609b..3f175fc88bea6a 100644 --- a/examples/lock-app/lock-common/lock-app.matter +++ b/examples/lock-app/lock-common/lock-app.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -85,7 +85,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -107,7 +107,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -176,7 +176,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -225,7 +225,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -359,7 +359,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -380,7 +380,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -412,7 +412,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PowerSourceConfiguration = 46 { @@ -422,7 +422,7 @@ server cluster PowerSourceConfiguration = 46 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PowerSource = 47 { @@ -639,7 +639,7 @@ server cluster PowerSource = 47 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -672,7 +672,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -782,7 +782,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -868,7 +868,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -973,7 +973,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -1011,7 +1011,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1173,7 +1173,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1245,7 +1245,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1283,7 +1283,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1309,7 +1309,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1373,7 +1373,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1482,7 +1482,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1521,7 +1521,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1531,7 +1531,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster DoorLock = 257 { @@ -1939,7 +1939,7 @@ server cluster DoorLock = 257 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; diff --git a/examples/lock-app/nxp/zap/lock-app.matter b/examples/lock-app/nxp/zap/lock-app.matter index 851841239289cc..de2ea9558dcf6a 100644 --- a/examples/lock-app/nxp/zap/lock-app.matter +++ b/examples/lock-app/nxp/zap/lock-app.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -61,7 +61,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -124,7 +124,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -165,7 +165,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -198,7 +198,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -308,7 +308,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -450,7 +450,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -488,7 +488,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -647,7 +647,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -673,7 +673,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -732,7 +732,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -841,7 +841,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1261,7 +1261,7 @@ server cluster DoorLock = 257 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; diff --git a/examples/lock-app/qpg/zap/lock.matter b/examples/lock-app/qpg/zap/lock.matter index a81583b20a67c2..163de91d88ab64 100644 --- a/examples/lock-app/qpg/zap/lock.matter +++ b/examples/lock-app/qpg/zap/lock.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -62,7 +62,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -130,7 +130,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -193,7 +193,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -242,7 +242,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -376,7 +376,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -419,7 +419,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -529,7 +529,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -608,7 +608,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -720,7 +720,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -758,7 +758,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -917,7 +917,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -943,7 +943,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1007,7 +1007,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1116,7 +1116,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1155,7 +1155,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1165,7 +1165,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster DoorLock = 257 { @@ -1573,7 +1573,7 @@ server cluster DoorLock = 257 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { optional OCTET_STRING PINCode = 0; diff --git a/examples/log-source-app/log-source-common/log-source-app.matter b/examples/log-source-app/log-source-common/log-source-app.matter index a80b117d9a5b76..70fa6cfcede0ac 100644 --- a/examples/log-source-app/log-source-common/log-source-app.matter +++ b/examples/log-source-app/log-source-common/log-source-app.matter @@ -67,7 +67,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -98,7 +98,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -195,7 +195,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -309,7 +309,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -364,7 +364,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; diff --git a/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter b/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter index a25246f1443663..2bb77fc4bd7a03 100644 --- a/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter +++ b/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter @@ -21,7 +21,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster AccessControl = 31 { @@ -159,7 +159,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -208,7 +208,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster OtaSoftwareUpdateProvider = 41 { @@ -237,7 +237,7 @@ server cluster OtaSoftwareUpdateProvider = 41 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct QueryImageRequest { vendor_id vendorID = 0; @@ -289,7 +289,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -321,7 +321,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -354,7 +354,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -464,7 +464,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -619,7 +619,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -650,7 +650,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -714,7 +714,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -823,7 +823,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -862,7 +862,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -872,7 +872,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter index 28e30f38a0093e..aa541eeaf95d44 100644 --- a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter +++ b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -62,7 +62,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -155,7 +155,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; @@ -191,7 +191,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -260,7 +260,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -309,7 +309,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -443,7 +443,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -464,7 +464,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -496,7 +496,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -529,7 +529,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -639,7 +639,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -794,7 +794,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -825,7 +825,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -889,7 +889,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -998,7 +998,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1037,7 +1037,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1047,7 +1047,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/placeholder/linux/apps/app1/config.matter b/examples/placeholder/linux/apps/app1/config.matter index 495893dd34b1cf..57b7d1cc115cfc 100644 --- a/examples/placeholder/linux/apps/app1/config.matter +++ b/examples/placeholder/linux/apps/app1/config.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -62,7 +62,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -144,7 +144,7 @@ server cluster Scenes = 5 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddSceneRequest { group_id groupID = 0; @@ -332,7 +332,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; @@ -385,7 +385,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -466,7 +466,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -529,7 +529,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Actions = 37 { @@ -613,7 +613,7 @@ server cluster Actions = 37 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -662,7 +662,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster LocalizationConfiguration = 43 { @@ -684,7 +684,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -716,7 +716,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster UnitLocalization = 45 { @@ -756,7 +756,7 @@ server cluster UnitLocalization = 45 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PowerSourceConfiguration = 46 { @@ -766,7 +766,7 @@ server cluster PowerSourceConfiguration = 46 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PowerSource = 47 { @@ -1006,7 +1006,7 @@ server cluster PowerSource = 47 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster GeneralCommissioning = 48 { @@ -1087,7 +1087,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -1197,7 +1197,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -1352,7 +1352,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -1390,7 +1390,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1462,7 +1462,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1500,7 +1500,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1602,7 +1602,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1626,7 +1626,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1772,7 +1772,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1859,7 +1859,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1869,7 +1869,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BooleanState = 69 { @@ -1883,7 +1883,7 @@ server cluster BooleanState = 69 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster ModeSelect = 80 { @@ -1948,7 +1948,7 @@ server cluster ModeSelect = 80 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { INT8U newMode = 0; @@ -2069,7 +2069,7 @@ server cluster WindowCovering = 258 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct GoToLiftValueRequest { INT16U liftValue = 0; @@ -2214,7 +2214,7 @@ server cluster PumpConfigurationAndControl = 512 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Thermostat = 513 { @@ -2303,7 +2303,7 @@ server cluster Thermostat = 513 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster ThermostatUserInterfaceConfiguration = 516 { @@ -2327,7 +2327,7 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ColorControl = 768 { @@ -2410,7 +2410,7 @@ server cluster ColorControl = 768 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToColorRequest { INT16U colorX = 0; @@ -2456,7 +2456,7 @@ server cluster IlluminanceMeasurement = 1024 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster TemperatureMeasurement = 1026 { @@ -2482,7 +2482,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PressureMeasurement = 1027 { @@ -2504,7 +2504,7 @@ server cluster PressureMeasurement = 1027 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster FlowMeasurement = 1028 { @@ -2517,7 +2517,7 @@ server cluster FlowMeasurement = 1028 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster RelativeHumidityMeasurement = 1029 { @@ -2543,7 +2543,7 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster OccupancySensing = 1030 { @@ -2581,7 +2581,7 @@ server cluster OccupancySensing = 1030 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster TargetNavigator = 1285 { @@ -2637,7 +2637,7 @@ server cluster TargetNavigator = 1285 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct NavigateTargetRequest { INT8U target = 0; @@ -2879,7 +2879,7 @@ server cluster KeypadInput = 1289 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SendKeyRequest { CecKeyCode keyCode = 0; @@ -3079,7 +3079,7 @@ server cluster ContentLauncher = 1290 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct LaunchContentRequest { ContentSearchStruct search = 0; @@ -3157,7 +3157,7 @@ server cluster ApplicationBasic = 1293 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/placeholder/linux/apps/app2/config.matter b/examples/placeholder/linux/apps/app2/config.matter index 53f0b3043b3686..24cf414ac711f7 100644 --- a/examples/placeholder/linux/apps/app2/config.matter +++ b/examples/placeholder/linux/apps/app2/config.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -62,7 +62,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -144,7 +144,7 @@ server cluster Scenes = 5 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddSceneRequest { group_id groupID = 0; @@ -332,7 +332,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OffWithEffectRequest { OnOffEffectIdentifier effectIdentifier = 0; @@ -385,7 +385,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -466,7 +466,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -529,7 +529,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Actions = 37 { @@ -613,7 +613,7 @@ server cluster Actions = 37 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -662,7 +662,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster LocalizationConfiguration = 43 { @@ -673,7 +673,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -705,7 +705,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UnitLocalization = 45 { @@ -725,7 +725,7 @@ server cluster UnitLocalization = 45 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PowerSourceConfiguration = 46 { @@ -735,7 +735,7 @@ server cluster PowerSourceConfiguration = 46 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PowerSource = 47 { @@ -975,7 +975,7 @@ server cluster PowerSource = 47 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster GeneralCommissioning = 48 { @@ -1056,7 +1056,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -1166,7 +1166,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -1321,7 +1321,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -1359,7 +1359,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1431,7 +1431,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1469,7 +1469,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1571,7 +1571,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1595,7 +1595,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1741,7 +1741,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1828,7 +1828,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1838,7 +1838,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BooleanState = 69 { @@ -1852,7 +1852,7 @@ server cluster BooleanState = 69 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster ModeSelect = 80 { @@ -1917,7 +1917,7 @@ server cluster ModeSelect = 80 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { INT8U newMode = 0; @@ -2038,7 +2038,7 @@ server cluster WindowCovering = 258 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct GoToLiftValueRequest { INT16U liftValue = 0; @@ -2183,7 +2183,7 @@ server cluster PumpConfigurationAndControl = 512 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Thermostat = 513 { @@ -2272,7 +2272,7 @@ server cluster Thermostat = 513 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster ThermostatUserInterfaceConfiguration = 516 { @@ -2296,7 +2296,7 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ColorControl = 768 { @@ -2379,7 +2379,7 @@ server cluster ColorControl = 768 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToColorRequest { INT16U colorX = 0; @@ -2425,7 +2425,7 @@ server cluster IlluminanceMeasurement = 1024 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster TemperatureMeasurement = 1026 { @@ -2451,7 +2451,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PressureMeasurement = 1027 { @@ -2473,7 +2473,7 @@ server cluster PressureMeasurement = 1027 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster FlowMeasurement = 1028 { @@ -2486,7 +2486,7 @@ server cluster FlowMeasurement = 1028 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster RelativeHumidityMeasurement = 1029 { @@ -2512,7 +2512,7 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster OccupancySensing = 1030 { @@ -2550,7 +2550,7 @@ server cluster OccupancySensing = 1030 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster TargetNavigator = 1285 { @@ -2606,7 +2606,7 @@ server cluster TargetNavigator = 1285 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct NavigateTargetRequest { INT8U target = 0; @@ -2848,7 +2848,7 @@ server cluster KeypadInput = 1289 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SendKeyRequest { CecKeyCode keyCode = 0; @@ -3048,7 +3048,7 @@ server cluster ContentLauncher = 1290 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct LaunchContentRequest { ContentSearchStruct search = 0; @@ -3126,7 +3126,7 @@ server cluster ApplicationBasic = 1293 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/pump-app/pump-common/pump-app.matter b/examples/pump-app/pump-common/pump-app.matter index c40adf3deb61f3..00ebcb517d0681 100644 --- a/examples/pump-app/pump-common/pump-app.matter +++ b/examples/pump-app/pump-common/pump-app.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -76,7 +76,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -115,7 +115,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -196,7 +196,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Binding = 30 { @@ -214,7 +214,7 @@ server cluster Binding = 30 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -283,7 +283,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -329,7 +329,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -463,7 +463,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -506,7 +506,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -616,7 +616,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -758,7 +758,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -879,7 +879,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -905,7 +905,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -969,7 +969,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1078,7 +1078,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1228,7 +1228,7 @@ server cluster PumpConfigurationAndControl = 512 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TemperatureMeasurement = 1026 { @@ -1241,7 +1241,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PressureMeasurement = 1027 { @@ -1263,7 +1263,7 @@ server cluster PressureMeasurement = 1027 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster FlowMeasurement = 1028 { @@ -1276,7 +1276,7 @@ server cluster FlowMeasurement = 1028 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OccupancySensing = 1030 { diff --git a/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter b/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter index ccf1440000f329..28c489b5177d1c 100644 --- a/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter +++ b/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter @@ -31,7 +31,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -102,7 +102,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Binding = 30 { @@ -120,7 +120,7 @@ server cluster Binding = 30 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -189,7 +189,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -235,7 +235,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -369,7 +369,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -412,7 +412,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -522,7 +522,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -664,7 +664,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -785,7 +785,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -811,7 +811,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -875,7 +875,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -984,7 +984,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; diff --git a/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter b/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter index 888b469bab88b0..231209600fca32 100644 --- a/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter +++ b/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter @@ -21,7 +21,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -90,7 +90,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -139,7 +139,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster LocalizationConfiguration = 43 { @@ -150,7 +150,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -182,7 +182,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UnitLocalization = 45 { @@ -202,7 +202,7 @@ server cluster UnitLocalization = 45 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -235,7 +235,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -345,7 +345,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -425,7 +425,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -530,7 +530,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -557,7 +557,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster WiFiNetworkDiagnostics = 54 { @@ -627,7 +627,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster EthernetNetworkDiagnostics = 55 { @@ -663,7 +663,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -689,7 +689,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -753,7 +753,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -862,7 +862,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -901,7 +901,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -911,7 +911,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TemperatureMeasurement = 1026 { @@ -923,7 +923,7 @@ server cluster TemperatureMeasurement = 1026 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/thermostat/thermostat-common/thermostat.matter b/examples/thermostat/thermostat-common/thermostat.matter index cc60aa1f29102a..14a7a104b6c205 100644 --- a/examples/thermostat/thermostat-common/thermostat.matter +++ b/examples/thermostat/thermostat-common/thermostat.matter @@ -75,7 +75,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -101,7 +101,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -183,7 +183,7 @@ server cluster Scenes = 5 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddSceneRequest { group_id groupID = 0; @@ -285,7 +285,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Binding = 30 { @@ -303,7 +303,7 @@ server cluster Binding = 30 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -372,7 +372,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -421,7 +421,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -555,7 +555,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -576,7 +576,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -608,7 +608,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UnitLocalization = 45 { @@ -628,7 +628,7 @@ server cluster UnitLocalization = 45 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -661,7 +661,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -771,7 +771,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -857,7 +857,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -962,7 +962,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -1000,7 +1000,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ThreadNetworkDiagnostics = 53 { @@ -1160,7 +1160,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1232,7 +1232,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster EthernetNetworkDiagnostics = 55 { @@ -1268,7 +1268,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1292,7 +1292,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1356,7 +1356,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1465,7 +1465,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1504,7 +1504,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1514,7 +1514,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Thermostat = 513 { @@ -1601,7 +1601,7 @@ server cluster Thermostat = 513 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; @@ -1619,7 +1619,7 @@ server cluster ThermostatUserInterfaceConfiguration = 516 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } endpoint 0 { diff --git a/examples/tv-app/tv-common/tv-app.matter b/examples/tv-app/tv-common/tv-app.matter index b423d5458c9570..ad38b6dca1023b 100644 --- a/examples/tv-app/tv-common/tv-app.matter +++ b/examples/tv-app/tv-common/tv-app.matter @@ -47,7 +47,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -95,7 +95,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -176,7 +176,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Binding = 30 { @@ -212,7 +212,7 @@ server cluster Binding = 30 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -281,7 +281,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -330,7 +330,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster OtaSoftwareUpdateProvider = 41 { @@ -359,7 +359,7 @@ server cluster OtaSoftwareUpdateProvider = 41 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct QueryImageRequest { vendor_id vendorID = 0; @@ -411,7 +411,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -443,7 +443,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UnitLocalization = 45 { @@ -463,7 +463,7 @@ server cluster UnitLocalization = 45 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster GeneralCommissioning = 48 { @@ -559,7 +559,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -807,7 +807,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -893,7 +893,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -998,7 +998,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -1036,7 +1036,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ThreadNetworkDiagnostics = 53 { @@ -1196,7 +1196,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster WiFiNetworkDiagnostics = 54 { @@ -1266,7 +1266,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster EthernetNetworkDiagnostics = 55 { @@ -1302,7 +1302,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1328,7 +1328,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1501,7 +1501,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1610,7 +1610,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1649,7 +1649,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1659,7 +1659,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster RelativeHumidityMeasurement = 1029 { @@ -1671,7 +1671,7 @@ server cluster RelativeHumidityMeasurement = 1029 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster WakeOnLan = 1283 { @@ -1681,7 +1681,7 @@ server cluster WakeOnLan = 1283 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Channel = 1284 { @@ -1723,7 +1723,7 @@ server cluster Channel = 1284 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ChangeChannelRequest { CHAR_STRING match = 0; @@ -1767,7 +1767,7 @@ server cluster TargetNavigator = 1285 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct NavigateTargetRequest { INT8U target = 0; @@ -1821,7 +1821,7 @@ server cluster MediaPlayback = 1286 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SkipForwardRequest { INT64U deltaPositionMilliseconds = 0; @@ -1887,7 +1887,7 @@ server cluster MediaInput = 1287 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SelectInputRequest { INT8U index = 0; @@ -1910,7 +1910,7 @@ server cluster LowPower = 1288 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Sleep(): DefaultSuccess = 0; } @@ -2022,7 +2022,7 @@ server cluster KeypadInput = 1289 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SendKeyRequest { CecKeyCode keyCode = 0; @@ -2117,7 +2117,7 @@ server cluster ContentLauncher = 1290 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct LaunchContentRequest { ContentSearchStruct search = 0; @@ -2167,7 +2167,7 @@ server cluster AudioOutput = 1291 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct SelectOutputRequest { INT8U index = 0; @@ -2205,7 +2205,7 @@ server cluster ApplicationLauncher = 1292 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct LaunchAppRequest { optional ApplicationStruct application = 0; @@ -2251,7 +2251,7 @@ server cluster ApplicationBasic = 1293 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccountLogin = 1294 { @@ -2260,7 +2260,7 @@ server cluster AccountLogin = 1294 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct GetSetupPINRequest { CHAR_STRING<100> tempAccountIdentifier = 0; diff --git a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter index 30d42bacb0b953..7404eab8dddd41 100644 --- a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter +++ b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -56,7 +56,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -138,7 +138,7 @@ server cluster Scenes = 5 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddSceneRequest { group_id groupID = 0; @@ -312,7 +312,7 @@ server cluster OnOff = 6 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command Off(): DefaultSuccess = 0; command On(): DefaultSuccess = 1; @@ -467,7 +467,7 @@ server cluster LevelControl = 8 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { INT8U level = 0; @@ -542,7 +542,7 @@ server cluster BinaryInputBasic = 15 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Descriptor = 29 { @@ -578,7 +578,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster Binding = 30 { @@ -596,7 +596,7 @@ server cluster Binding = 30 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -665,7 +665,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -714,7 +714,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster OtaSoftwareUpdateProvider = 41 { @@ -743,7 +743,7 @@ server cluster OtaSoftwareUpdateProvider = 41 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct QueryImageRequest { vendor_id vendorID = 0; @@ -795,7 +795,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -827,7 +827,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UnitLocalization = 45 { @@ -847,7 +847,7 @@ server cluster UnitLocalization = 45 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -880,7 +880,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -990,7 +990,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -1076,7 +1076,7 @@ server cluster DiagnosticLogs = 50 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; @@ -1181,7 +1181,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -1219,7 +1219,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster ThreadNetworkDiagnostics = 53 { @@ -1379,7 +1379,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster WiFiNetworkDiagnostics = 54 { @@ -1449,7 +1449,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster EthernetNetworkDiagnostics = 55 { @@ -1485,7 +1485,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1536,7 +1536,7 @@ server cluster Switch = 59 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1560,7 +1560,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1624,7 +1624,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1733,7 +1733,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1764,7 +1764,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1774,7 +1774,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BarrierControl = 259 { @@ -1787,7 +1787,7 @@ server cluster BarrierControl = 259 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct BarrierControlGoToPercentRequest { INT8U percentOpen = 0; @@ -1804,7 +1804,7 @@ server cluster WakeOnLan = 1283 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster Channel = 1284 { diff --git a/examples/window-app/common/window-app.matter b/examples/window-app/common/window-app.matter index 31bc7dbeefc4b1..76f47712d12acc 100644 --- a/examples/window-app/common/window-app.matter +++ b/examples/window-app/common/window-app.matter @@ -36,7 +36,7 @@ server cluster Identify = 3 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { INT16U identifyTime = 0; @@ -62,7 +62,7 @@ server cluster Groups = 4 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddGroupRequest { group_id groupID = 0; @@ -144,7 +144,7 @@ server cluster Scenes = 5 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AddSceneRequest { group_id groupID = 0; @@ -246,7 +246,7 @@ server cluster Descriptor = 29 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AccessControl = 31 { @@ -315,7 +315,7 @@ server cluster AccessControl = 31 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster BasicInformation = 40 { @@ -364,7 +364,7 @@ server cluster BasicInformation = 40 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } client cluster OtaSoftwareUpdateProvider = 41 { @@ -498,7 +498,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AnnounceOTAProviderRequest { node_id providerNodeID = 0; @@ -519,7 +519,7 @@ server cluster LocalizationConfiguration = 43 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster TimeFormatLocalization = 44 { @@ -551,7 +551,7 @@ server cluster TimeFormatLocalization = 44 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UnitLocalization = 45 { @@ -570,7 +570,7 @@ server cluster UnitLocalization = 45 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster PowerSource = 47 { @@ -788,7 +788,7 @@ server cluster PowerSource = 47 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster GeneralCommissioning = 48 { @@ -821,7 +821,7 @@ server cluster GeneralCommissioning = 48 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { INT16U expiryLengthSeconds = 0; @@ -931,7 +931,7 @@ server cluster NetworkCommissioning = 49 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { optional nullable OCTET_STRING<32> ssid = 0; @@ -1086,7 +1086,7 @@ server cluster GeneralDiagnostics = 51 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { OCTET_STRING<16> enableKey = 0; @@ -1124,7 +1124,7 @@ server cluster SoftwareDiagnostics = 52 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetWatermarks(): DefaultSuccess = 0; } @@ -1286,7 +1286,7 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; command ResetCounts(): DefaultSuccess = 0; } @@ -1358,7 +1358,7 @@ server cluster WiFiNetworkDiagnostics = 54 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster EthernetNetworkDiagnostics = 55 { @@ -1394,7 +1394,7 @@ server cluster EthernetNetworkDiagnostics = 55 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster AdministratorCommissioning = 60 { @@ -1418,7 +1418,7 @@ server cluster AdministratorCommissioning = 60 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; @@ -1482,7 +1482,7 @@ server cluster OperationalCredentials = 62 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { OCTET_STRING attestationNonce = 0; @@ -1591,7 +1591,7 @@ server cluster GroupKeyManagement = 63 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct KeySetWriteRequest { GroupKeySetStruct groupKeySet = 0; @@ -1630,7 +1630,7 @@ server cluster FixedLabel = 64 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster UserLabel = 65 { @@ -1640,7 +1640,7 @@ server cluster UserLabel = 65 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; } server cluster WindowCovering = 258 { @@ -1759,7 +1759,7 @@ server cluster WindowCovering = 258 { readonly attribute event_id eventList[] = 65530; readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; - readonly attribute int16u clusterRevision = 65533; + readonly attribute int16u clusterRevision = 65533; request struct GoToLiftValueRequest { INT16U liftValue = 0; diff --git a/src/app/zap-templates/templates/app/MatterIDL.zapt b/src/app/zap-templates/templates/app/MatterIDL.zapt index 2bccbea34bfe5b..7bc2cac03b04f6 100644 --- a/src/app/zap-templates/templates/app/MatterIDL.zapt +++ b/src/app/zap-templates/templates/app/MatterIDL.zapt @@ -64,11 +64,10 @@ readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; - {{~/if}} {{!--Open:Generating command request structs for all incoming commands into server side--~}} {{#if (is_server side)}} - + {{#all_incoming_commands_for_cluster name side}} {{~>idl_command_request_struct}} {{/all_incoming_commands_for_cluster}} diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java b/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java index 4b6a5d2fc64fe6..68cadaf318e3e4 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java @@ -19,64 +19,78 @@ 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 static abstract class BaseChipCluster { + public abstract static class BaseChipCluster { protected long chipClusterPtr; public BaseChipCluster(long devicePtr, int endpointId) { @@ -105,7 +119,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(); @@ -127,215 +141,217 @@ 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); + 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 interface AttributeListAttributeCallback { - void onSuccess( List valueList); - void onError(Exception ex); - default void onSubscriptionEstablished(long subscriptionId) {} - } + 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); - public void readIdentifyTimeAttribute( - IntegerAttributeCallback callback - ) { + 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) { 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 { @@ -348,267 +364,276 @@ 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); - 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); + + 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 { @@ -621,393 +646,443 @@ 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); - 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) {} - } + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readSceneCountAttribute( - IntegerAttributeCallback 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) {} + } + + 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 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 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 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 { @@ -1020,351 +1095,368 @@ 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); - public void readOnOffAttribute( - BooleanAttributeCallback callback - ) { + 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) { 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 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 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); } public static class OnOffSwitchConfigurationCluster extends BaseChipCluster { @@ -1377,187 +1469,181 @@ public OnOffSwitchConfigurationCluster(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 readSwitchTypeAttribute( - IntegerAttributeCallback callback - ) { + public void readSwitchTypeAttribute(IntegerAttributeCallback callback) { readSwitchTypeAttribute(chipClusterPtr, callback); } + public void subscribeSwitchTypeAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { + 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 { @@ -1570,611 +1656,790 @@ 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) { + 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 - , int timedInvokeTimeoutMs) { - moveToLevel(chipClusterPtr, callback, level, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs); + 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 move(DefaultClusterCallback callback - , Integer moveMode, @Nullable Integer rate, Integer optionsMask, Integer optionsOverride) { - move(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null); + 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 - , int timedInvokeTimeoutMs) { - move(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, timedInvokeTimeoutMs); + 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 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 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 - , int timedInvokeTimeoutMs) { - step(chipClusterPtr, callback, stepMode, stepSize, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs); + public void stopWithOnOff( + DefaultClusterCallback callback, + Integer optionsMask, + Integer optionsOverride, + int timedInvokeTimeoutMs) { + stopWithOnOff(chipClusterPtr, callback, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public void stop(DefaultClusterCallback callback - , Integer optionsMask, Integer optionsOverride) { - stop(chipClusterPtr, callback, optionsMask, optionsOverride, null); + 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 - , int timedInvokeTimeoutMs) { - stop(chipClusterPtr, callback, optionsMask, optionsOverride, timedInvokeTimeoutMs); + public interface OnLevelAttributeCallback { + 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 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 - , int timedInvokeTimeoutMs) { - moveToLevelWithOnOff(chipClusterPtr, callback, level, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs); + public interface OffTransitionTimeAttributeCallback { + 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 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 - , int timedInvokeTimeoutMs) { - moveWithOnOff(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, timedInvokeTimeoutMs); + public interface StartUpCurrentLevelAttributeCallback { + void onSuccess(@Nullable Integer value); + + 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 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 - , int timedInvokeTimeoutMs) { - stepWithOnOff(chipClusterPtr, callback, stepMode, stepSize, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs); + public interface AcceptedCommandListAttributeCallback { + 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 EventListAttributeCallback { + 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); + public interface AttributeListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - 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 { @@ -2187,365 +2452,370 @@ 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 void readActiveTextAttribute( - CharStringAttributeCallback callback - ) { + 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) { 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 DescriptorCluster extends BaseChipCluster { @@ -2558,236 +2828,237 @@ 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); - public void readDeviceTypeListAttribute( - DeviceTypeListAttributeCallback callback - ) { - readDeviceTypeListAttribute(chipClusterPtr, callback); - } - public void subscribeDeviceTypeListAttribute( - DeviceTypeListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeDeviceTypeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readServerListAttribute( - ServerListAttributeCallback callback - ) { - readServerListAttribute(chipClusterPtr, callback); + public interface ServerListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeServerListAttribute( - ServerListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeServerListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface ClientListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readClientListAttribute( - ClientListAttributeCallback callback - ) { - readClientListAttribute(chipClusterPtr, callback); + public interface PartsListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeClientListAttribute( - ClientListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeClientListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface GeneratedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readPartsListAttribute( - PartsListAttributeCallback callback - ) { - readPartsListAttribute(chipClusterPtr, callback); + 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) { + readDeviceTypeListAttribute(chipClusterPtr, callback); + } + + public void subscribeDeviceTypeListAttribute( + DeviceTypeListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeDeviceTypeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readServerListAttribute(ServerListAttributeCallback callback) { + readServerListAttribute(chipClusterPtr, callback); + } + + public void subscribeServerListAttribute( + ServerListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeServerListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readClientListAttribute(ClientListAttributeCallback callback) { + readClientListAttribute(chipClusterPtr, callback); + } + + public void subscribeClientListAttribute( + ClientListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeClientListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + + 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 { @@ -2800,173 +3071,177 @@ 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); - public void readBindingAttribute( - BindingAttributeCallback callback - ) { + 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) { 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 { @@ -2979,263 +3254,267 @@ 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 { @@ -3248,375 +3527,465 @@ 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); - public void readActionListAttribute( - ActionListAttributeCallback callback - ) { + 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) { 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 { @@ -3629,528 +3998,502 @@ 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 void readDataModelRevisionAttribute( - IntegerAttributeCallback callback - ) { + 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) { 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 { @@ -4163,194 +4506,259 @@ 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); - 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); + + 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); - public void readGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - ) { + 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 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 { @@ -4363,249 +4771,284 @@ 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) { + 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); + 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 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 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 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 { @@ -4618,192 +5061,195 @@ 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 void readActiveLocaleAttribute( - CharStringAttributeCallback callback - ) { + 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) { 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 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 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); } public static class TimeFormatLocalizationCluster extends BaseChipCluster { @@ -4816,394 +5262,395 @@ public TimeFormatLocalizationCluster(long devicePtr, int 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 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); - public static class UnitLocalizationCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 45L; + private native void writeHourFormatAttribute( + long chipClusterPtr, + DefaultClusterCallback callback, + Integer value, + @Nullable Integer timedWriteTimeoutMs); - public UnitLocalizationCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } + private native void subscribeHourFormatAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - @Override - public native long initWithDevice(long devicePtr, int endpointId); + private native void readActiveCalendarTypeAttribute( + long chipClusterPtr, IntegerAttributeCallback 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 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 { + public static final long CLUSTER_ID = 45L; + + public UnitLocalizationCluster(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 readTemperatureUnitAttribute( - IntegerAttributeCallback callback - ) { + 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) { 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 { @@ -5216,164 +5663,159 @@ 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 void readSourcesAttribute( - SourcesAttributeCallback callback - ) { + 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) { 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 { @@ -5386,1075 +5828,1042 @@ 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); - public void readStatusAttribute( - IntegerAttributeCallback callback - ) { + 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) { 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); - public static class GeneralCommissioningCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 48L; + private native void subscribeStatusAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public GeneralCommissioningCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } + private native void readOrderAttribute(long chipClusterPtr, IntegerAttributeCallback callback); - @Override - public native long initWithDevice(long devicePtr, int endpointId); + private native void subscribeOrderAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void armFailSafe(ArmFailSafeResponseCallback callback - , Integer expiryLengthSeconds, Long breadcrumb) { - armFailSafe(chipClusterPtr, callback, expiryLengthSeconds, breadcrumb, null); - } + private native void readDescriptionAttribute( + long chipClusterPtr, CharStringAttributeCallback callback); - public void armFailSafe(ArmFailSafeResponseCallback callback - , Integer expiryLengthSeconds, Long breadcrumb - , int timedInvokeTimeoutMs) { - armFailSafe(chipClusterPtr, callback, expiryLengthSeconds, breadcrumb, timedInvokeTimeoutMs); - } + private native void subscribeDescriptionAttribute( + long chipClusterPtr, + CharStringAttributeCallback callback, + int minInterval, + int maxInterval); - public void setRegulatoryConfig(SetRegulatoryConfigResponseCallback callback - , Integer newRegulatoryConfig, String countryCode, Long breadcrumb) { - setRegulatoryConfig(chipClusterPtr, callback, newRegulatoryConfig, countryCode, breadcrumb, null); - } + private native void readWiredAssessedInputVoltageAttribute( + long chipClusterPtr, WiredAssessedInputVoltageAttributeCallback callback); - public void setRegulatoryConfig(SetRegulatoryConfigResponseCallback callback - , Integer newRegulatoryConfig, String countryCode, Long breadcrumb - , int timedInvokeTimeoutMs) { - setRegulatoryConfig(chipClusterPtr, callback, newRegulatoryConfig, countryCode, breadcrumb, timedInvokeTimeoutMs); - } + private native void subscribeWiredAssessedInputVoltageAttribute( + long chipClusterPtr, + WiredAssessedInputVoltageAttributeCallback callback, + int minInterval, + int maxInterval); - public void commissioningComplete(CommissioningCompleteResponseCallback callback - ) { - commissioningComplete(chipClusterPtr, callback, null); - } + private native void readWiredAssessedInputFrequencyAttribute( + long chipClusterPtr, WiredAssessedInputFrequencyAttributeCallback callback); - 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); - public interface ArmFailSafeResponseCallback { - void onSuccess(Integer errorCode, String debugText); - - void onError(Exception error); - } + private native void subscribeWiredAssessedInputFrequencyAttribute( + long chipClusterPtr, + WiredAssessedInputFrequencyAttributeCallback callback, + int minInterval, + int maxInterval); - public interface SetRegulatoryConfigResponseCallback { - void onSuccess(Integer errorCode, String debugText); - - void onError(Exception error); - } + private native void readWiredCurrentTypeAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public interface CommissioningCompleteResponseCallback { - void onSuccess(Integer errorCode, String debugText); - - void onError(Exception error); - } + private native void subscribeWiredCurrentTypeAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readWiredAssessedCurrentAttribute( + long chipClusterPtr, WiredAssessedCurrentAttributeCallback 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 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 { + public static final long CLUSTER_ID = 48L; + + public GeneralCommissioningCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } + + @Override + public native long initWithDevice(long devicePtr, int endpointId); + + 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) { + 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, + int timedInvokeTimeoutMs) { + setRegulatoryConfig( + chipClusterPtr, + callback, + newRegulatoryConfig, + countryCode, + breadcrumb, + timedInvokeTimeoutMs); + } + + public void commissioningComplete(CommissioningCompleteResponseCallback callback) { + commissioningComplete(chipClusterPtr, callback, null); + } + + 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); + + 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); - public void readBreadcrumbAttribute( - LongAttributeCallback callback - ) { + 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) { 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 { @@ -6467,423 +6876,476 @@ 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); - 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) {} - } + 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); - public void readMaxNetworksAttribute( - IntegerAttributeCallback callback - ) { + 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) { 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 { @@ -6896,160 +7358,178 @@ 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) { + 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 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 onSuccess( + Integer status, + byte[] logContent, + Optional UTCTimeStamp, + Optional timeSinceBoot); + void onError(Exception error); } + 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 readGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - ) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - ) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + 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) { + 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 { @@ -7062,345 +7542,335 @@ 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); - 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) {} - } + 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); - public void readNetworkInterfacesAttribute( - NetworkInterfacesAttributeCallback callback - ) { + 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) { 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 { @@ -7413,235 +7883,222 @@ 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); - 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) {} - } + 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 void readThreadMetricsAttribute( - ThreadMetricsAttributeCallback 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) {} + } + + 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 { @@ -7654,19098 +8111,19453 @@ 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); - 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) {} - } + private native void resetCounts( + long chipClusterPtr, + DefaultClusterCallback Callback, + @Nullable Integer timedInvokeTimeoutMs); - public void readChannelAttribute( - ChannelAttributeCallback callback - ) { - readChannelAttribute(chipClusterPtr, callback); - } - public void subscribeChannelAttribute( - ChannelAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeChannelAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public interface ChannelAttributeCallback { + void onSuccess(@Nullable Integer value); - public void readRoutingRoleAttribute( - RoutingRoleAttributeCallback callback - ) { - readRoutingRoleAttribute(chipClusterPtr, callback); + 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 RoutingRoleAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readNetworkNameAttribute( - NetworkNameAttributeCallback callback - ) { - readNetworkNameAttribute(chipClusterPtr, callback); + public interface NetworkNameAttributeCallback { + void onSuccess(@Nullable String 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 PanIdAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readPanIdAttribute( - PanIdAttributeCallback callback - ) { - readPanIdAttribute(chipClusterPtr, callback); + public interface ExtendedPanIdAttributeCallback { + void onSuccess(@Nullable Long value); + + 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 MeshLocalPrefixAttributeCallback { + void onSuccess(@Nullable byte[] value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readExtendedPanIdAttribute( - ExtendedPanIdAttributeCallback callback - ) { - readExtendedPanIdAttribute(chipClusterPtr, callback); + public interface NeighborTableAttributeCallback { + void onSuccess(List valueList); + + 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 RouteTableAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readMeshLocalPrefixAttribute( - MeshLocalPrefixAttributeCallback callback - ) { - readMeshLocalPrefixAttribute(chipClusterPtr, callback); + public interface PartitionIdAttributeCallback { + void onSuccess(@Nullable Long 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 WeightingAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readOverrunCountAttribute( - LongAttributeCallback callback - ) { - readOverrunCountAttribute(chipClusterPtr, callback); + public interface DataVersionAttributeCallback { + void onSuccess(@Nullable Integer 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 StableDataVersionAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readNeighborTableAttribute( - NeighborTableAttributeCallback callback - ) { - readNeighborTableAttribute(chipClusterPtr, callback); + public interface LeaderRouterIdAttributeCallback { + void onSuccess(@Nullable Integer 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 ActiveTimestampAttributeCallback { + void onSuccess(@Nullable Long value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readRouteTableAttribute( - RouteTableAttributeCallback callback - ) { + 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) {} + } + + 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) { + RouteTableAttributeCallback callback, int minInterval, int maxInterval) { subscribeRouteTableAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPartitionIdAttribute( - PartitionIdAttributeCallback callback - ) { + public void readPartitionIdAttribute(PartitionIdAttributeCallback callback) { readPartitionIdAttribute(chipClusterPtr, callback); } + public void subscribePartitionIdAttribute( - PartitionIdAttributeCallback callback - , - int minInterval, int maxInterval) { + 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 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 readChannelAttribute( + long chipClusterPtr, ChannelAttributeCallback callback); - public static class WiFiNetworkDiagnosticsCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 54L; + private native void subscribeChannelAttribute( + long chipClusterPtr, ChannelAttributeCallback callback, int minInterval, int maxInterval); - public WiFiNetworkDiagnosticsCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } + private native void readRoutingRoleAttribute( + long chipClusterPtr, RoutingRoleAttributeCallback callback); - @Override - public native long initWithDevice(long devicePtr, int endpointId); + private native void subscribeRoutingRoleAttribute( + long chipClusterPtr, + RoutingRoleAttributeCallback callback, + int minInterval, + int maxInterval); - public void resetCounts(DefaultClusterCallback callback - ) { - resetCounts(chipClusterPtr, callback, null); - } + private native void readNetworkNameAttribute( + long chipClusterPtr, NetworkNameAttributeCallback callback); - 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 subscribeNetworkNameAttribute( + long chipClusterPtr, + NetworkNameAttributeCallback callback, + int minInterval, + int maxInterval); - 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 readPanIdAttribute(long chipClusterPtr, PanIdAttributeCallback callback); - 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 subscribePanIdAttribute( + long chipClusterPtr, PanIdAttributeCallback callback, int minInterval, int maxInterval); - 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 readExtendedPanIdAttribute( + long chipClusterPtr, ExtendedPanIdAttributeCallback callback); - 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 subscribeExtendedPanIdAttribute( + long chipClusterPtr, + ExtendedPanIdAttributeCallback callback, + int minInterval, + int maxInterval); - 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 readMeshLocalPrefixAttribute( + long chipClusterPtr, MeshLocalPrefixAttributeCallback callback); - 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 subscribeMeshLocalPrefixAttribute( + long chipClusterPtr, + MeshLocalPrefixAttributeCallback callback, + int minInterval, + int maxInterval); - 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 readOverrunCountAttribute( + long chipClusterPtr, LongAttributeCallback callback); - 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 subscribeOverrunCountAttribute( + long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - 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 readNeighborTableAttribute( + long chipClusterPtr, NeighborTableAttributeCallback callback); - 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 subscribeNeighborTableAttribute( + long chipClusterPtr, + NeighborTableAttributeCallback callback, + int minInterval, + int maxInterval); - 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 readRouteTableAttribute( + long chipClusterPtr, RouteTableAttributeCallback callback); - 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 subscribeRouteTableAttribute( + long chipClusterPtr, + RouteTableAttributeCallback callback, + int minInterval, + int maxInterval); - 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 readPartitionIdAttribute( + long chipClusterPtr, PartitionIdAttributeCallback callback); - 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 subscribePartitionIdAttribute( + long chipClusterPtr, + PartitionIdAttributeCallback 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 readWeightingAttribute( + long chipClusterPtr, WeightingAttributeCallback 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 subscribeWeightingAttribute( + long chipClusterPtr, WeightingAttributeCallback 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 readDataVersionAttribute( + long chipClusterPtr, DataVersionAttributeCallback 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 subscribeDataVersionAttribute( + long chipClusterPtr, + DataVersionAttributeCallback 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 readStableDataVersionAttribute( + long chipClusterPtr, StableDataVersionAttributeCallback 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 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 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 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); } - public static class EthernetNetworkDiagnosticsCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 55L; + public static class WiFiNetworkDiagnosticsCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 54L; - public EthernetNetworkDiagnosticsCluster(long devicePtr, int endpointId) { + public WiFiNetworkDiagnosticsCluster(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); - 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) {} - } + private native void resetCounts( + long chipClusterPtr, + DefaultClusterCallback Callback, + @Nullable Integer timedInvokeTimeoutMs); - public void readPHYRateAttribute( - PHYRateAttributeCallback callback - ) { - readPHYRateAttribute(chipClusterPtr, callback); + public interface BssidAttributeCallback { + void onSuccess(@Nullable byte[] 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 SecurityTypeAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readFullDuplexAttribute( - FullDuplexAttributeCallback callback - ) { - readFullDuplexAttribute(chipClusterPtr, callback); + public interface WiFiVersionAttributeCallback { + 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 ChannelNumberAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readPacketRxCountAttribute( - LongAttributeCallback callback - ) { - readPacketRxCountAttribute(chipClusterPtr, callback); + public interface RssiAttributeCallback { + void onSuccess(@Nullable Integer 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 BeaconLostCountAttributeCallback { + void onSuccess(@Nullable Long value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readPacketTxCountAttribute( - LongAttributeCallback callback - ) { - readPacketTxCountAttribute(chipClusterPtr, callback); + public interface BeaconRxCountAttributeCallback { + 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 PacketMulticastRxCountAttributeCallback { + void onSuccess(@Nullable Long value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readTxErrCountAttribute( - LongAttributeCallback callback - ) { - readTxErrCountAttribute(chipClusterPtr, callback); + public interface PacketMulticastTxCountAttributeCallback { + 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 PacketUnicastRxCountAttributeCallback { + void onSuccess(@Nullable Long value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readCollisionCountAttribute( - LongAttributeCallback callback - ) { - readCollisionCountAttribute(chipClusterPtr, callback); + public interface PacketUnicastTxCountAttributeCallback { + 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 CurrentMaxRateAttributeCallback { + void onSuccess(@Nullable Long value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readOverrunCountAttribute( - LongAttributeCallback callback - ) { - readOverrunCountAttribute(chipClusterPtr, callback); + public interface OverrunCountAttributeCallback { + 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 GeneratedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readCarrierDetectAttribute( - CarrierDetectAttributeCallback callback - ) { - readCarrierDetectAttribute(chipClusterPtr, callback); + public interface AcceptedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeCarrierDetectAttribute( - CarrierDetectAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeCarrierDetectAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface EventListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readTimeSinceResetAttribute( - LongAttributeCallback callback - ) { - readTimeSinceResetAttribute(chipClusterPtr, callback); + public interface AttributeListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeTimeSinceResetAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeTimeSinceResetAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readBssidAttribute(BssidAttributeCallback callback) { + readBssidAttribute(chipClusterPtr, callback); } - public void readGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - ) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void subscribeBssidAttribute( + BssidAttributeCallback callback, int minInterval, int maxInterval) { + subscribeBssidAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readSecurityTypeAttribute(SecurityTypeAttributeCallback callback) { + readSecurityTypeAttribute(chipClusterPtr, callback); } - public void readAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - ) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void subscribeSecurityTypeAttribute( + SecurityTypeAttributeCallback callback, int minInterval, int maxInterval) { + subscribeSecurityTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readWiFiVersionAttribute(WiFiVersionAttributeCallback callback) { + readWiFiVersionAttribute(chipClusterPtr, callback); } - public void readEventListAttribute( - EventListAttributeCallback callback - ) { - readEventListAttribute(chipClusterPtr, callback); + public void subscribeWiFiVersionAttribute( + WiFiVersionAttributeCallback callback, int minInterval, int maxInterval) { + subscribeWiFiVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readChannelNumberAttribute(ChannelNumberAttributeCallback callback) { + readChannelNumberAttribute(chipClusterPtr, callback); } - public void readAttributeListAttribute( - AttributeListAttributeCallback callback - ) { - readAttributeListAttribute(chipClusterPtr, callback); + public void subscribeChannelNumberAttribute( + ChannelNumberAttributeCallback callback, int minInterval, int maxInterval) { + subscribeChannelNumberAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readRssiAttribute(RssiAttributeCallback callback) { + readRssiAttribute(chipClusterPtr, callback); } - public void readFeatureMapAttribute( - LongAttributeCallback callback - ) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void subscribeRssiAttribute( + RssiAttributeCallback callback, int minInterval, int maxInterval) { + subscribeRssiAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readBeaconLostCountAttribute(BeaconLostCountAttributeCallback callback) { + readBeaconLostCountAttribute(chipClusterPtr, callback); } - public void readClusterRevisionAttribute( - IntegerAttributeCallback callback - ) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void subscribeBeaconLostCountAttribute( + BeaconLostCountAttributeCallback callback, int minInterval, int maxInterval) { + subscribeBeaconLostCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readBeaconRxCountAttribute(BeaconRxCountAttributeCallback callback) { + readBeaconRxCountAttribute(chipClusterPtr, callback); } - 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); - } + public void subscribeBeaconRxCountAttribute( + BeaconRxCountAttributeCallback callback, int minInterval, int maxInterval) { + subscribeBeaconRxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public static class BridgedDeviceBasicInformationCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 57L; - - public BridgedDeviceBasicInformationCluster(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 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 readProductNameAttribute( - CharStringAttributeCallback callback - ) { - readProductNameAttribute(chipClusterPtr, callback); - } - public void subscribeProductNameAttribute( - CharStringAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeProductNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - 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) { - writeNodeLabelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - public void subscribeNodeLabelAttribute( - CharStringAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeNodeLabelAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPacketMulticastRxCountAttribute( + PacketMulticastRxCountAttributeCallback callback) { + readPacketMulticastRxCountAttribute(chipClusterPtr, callback); } - public void readHardwareVersionAttribute( - IntegerAttributeCallback callback - ) { - readHardwareVersionAttribute(chipClusterPtr, callback); - } - public void subscribeHardwareVersionAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeHardwareVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePacketMulticastRxCountAttribute( + PacketMulticastRxCountAttributeCallback callback, int minInterval, int maxInterval) { + subscribePacketMulticastRxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readHardwareVersionStringAttribute( - CharStringAttributeCallback callback - ) { - readHardwareVersionStringAttribute(chipClusterPtr, callback); - } - public void subscribeHardwareVersionStringAttribute( - CharStringAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeHardwareVersionStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPacketMulticastTxCountAttribute( + PacketMulticastTxCountAttributeCallback callback) { + readPacketMulticastTxCountAttribute(chipClusterPtr, callback); } - public void readSoftwareVersionAttribute( - LongAttributeCallback callback - ) { - readSoftwareVersionAttribute(chipClusterPtr, callback); - } - public void subscribeSoftwareVersionAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeSoftwareVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePacketMulticastTxCountAttribute( + PacketMulticastTxCountAttributeCallback callback, int minInterval, int maxInterval) { + subscribePacketMulticastTxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSoftwareVersionStringAttribute( - CharStringAttributeCallback callback - ) { - readSoftwareVersionStringAttribute(chipClusterPtr, callback); - } - public void subscribeSoftwareVersionStringAttribute( - CharStringAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeSoftwareVersionStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPacketUnicastRxCountAttribute(PacketUnicastRxCountAttributeCallback callback) { + readPacketUnicastRxCountAttribute(chipClusterPtr, callback); } - public void readManufacturingDateAttribute( - CharStringAttributeCallback callback - ) { - readManufacturingDateAttribute(chipClusterPtr, callback); - } - public void subscribeManufacturingDateAttribute( - CharStringAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeManufacturingDateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePacketUnicastRxCountAttribute( + PacketUnicastRxCountAttributeCallback callback, int minInterval, int maxInterval) { + subscribePacketUnicastRxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPartNumberAttribute( - CharStringAttributeCallback callback - ) { - readPartNumberAttribute(chipClusterPtr, callback); - } - public void subscribePartNumberAttribute( - CharStringAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePartNumberAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPacketUnicastTxCountAttribute(PacketUnicastTxCountAttributeCallback callback) { + readPacketUnicastTxCountAttribute(chipClusterPtr, callback); } - public void readProductURLAttribute( - CharStringAttributeCallback callback - ) { - readProductURLAttribute(chipClusterPtr, callback); - } - public void subscribeProductURLAttribute( - CharStringAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeProductURLAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePacketUnicastTxCountAttribute( + PacketUnicastTxCountAttributeCallback callback, int minInterval, int maxInterval) { + subscribePacketUnicastTxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readProductLabelAttribute( - CharStringAttributeCallback callback - ) { - readProductLabelAttribute(chipClusterPtr, callback); - } - public void subscribeProductLabelAttribute( - CharStringAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeProductLabelAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readCurrentMaxRateAttribute(CurrentMaxRateAttributeCallback callback) { + readCurrentMaxRateAttribute(chipClusterPtr, callback); } - public void readSerialNumberAttribute( - CharStringAttributeCallback callback - ) { - readSerialNumberAttribute(chipClusterPtr, callback); - } - public void subscribeSerialNumberAttribute( - CharStringAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeSerialNumberAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeCurrentMaxRateAttribute( + CurrentMaxRateAttributeCallback callback, int minInterval, int maxInterval) { + subscribeCurrentMaxRateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readReachableAttribute( - BooleanAttributeCallback callback - ) { - readReachableAttribute(chipClusterPtr, callback); - } - public void subscribeReachableAttribute( - BooleanAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeReachableAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readOverrunCountAttribute(OverrunCountAttributeCallback callback) { + readOverrunCountAttribute(chipClusterPtr, callback); } - public void readUniqueIDAttribute( - CharStringAttributeCallback callback - ) { - readUniqueIDAttribute(chipClusterPtr, callback); - } - public void subscribeUniqueIDAttribute( - CharStringAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeUniqueIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeOverrunCountAttribute( + OverrunCountAttributeCallback callback, int minInterval, int maxInterval) { + subscribeOverrunCountAttribute(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 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 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 SwitchCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 59L; + public static class EthernetNetworkDiagnosticsCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 55L; - public SwitchCluster(long devicePtr, int endpointId) { + public EthernetNetworkDiagnosticsCluster(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 resetCounts(DefaultClusterCallback callback) { + resetCounts(chipClusterPtr, callback, null); + } - public void readNumberOfPositionsAttribute( - IntegerAttributeCallback callback - ) { - readNumberOfPositionsAttribute(chipClusterPtr, callback); + public void resetCounts(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { + + resetCounts(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public void subscribeNumberOfPositionsAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeNumberOfPositionsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + 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 readCurrentPositionAttribute( - IntegerAttributeCallback callback - ) { - readCurrentPositionAttribute(chipClusterPtr, callback); + public interface FullDuplexAttributeCallback { + void onSuccess(@Nullable Boolean value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeCurrentPositionAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeCurrentPositionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface CarrierDetectAttributeCallback { + void onSuccess(@Nullable Boolean value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readMultiPressMaxAttribute( - IntegerAttributeCallback callback - ) { - readMultiPressMaxAttribute(chipClusterPtr, callback); + public interface GeneratedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeMultiPressMaxAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMultiPressMaxAttribute(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 readPHYRateAttribute(PHYRateAttributeCallback callback) { + readPHYRateAttribute(chipClusterPtr, callback); + } + + public void subscribePHYRateAttribute( + PHYRateAttributeCallback callback, int minInterval, int maxInterval) { + subscribePHYRateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readFullDuplexAttribute(FullDuplexAttributeCallback callback) { + readFullDuplexAttribute(chipClusterPtr, callback); + } + + public void subscribeFullDuplexAttribute( + FullDuplexAttributeCallback callback, int minInterval, int maxInterval) { + subscribeFullDuplexAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readPacketRxCountAttribute(LongAttributeCallback callback) { + readPacketRxCountAttribute(chipClusterPtr, callback); + } + + public void subscribePacketRxCountAttribute( + LongAttributeCallback callback, int minInterval, int maxInterval) { + subscribePacketRxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readPacketTxCountAttribute(LongAttributeCallback callback) { + readPacketTxCountAttribute(chipClusterPtr, callback); + } + + public void subscribePacketTxCountAttribute( + LongAttributeCallback callback, int minInterval, int maxInterval) { + subscribePacketTxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readTxErrCountAttribute(LongAttributeCallback callback) { + readTxErrCountAttribute(chipClusterPtr, callback); + } + + public void subscribeTxErrCountAttribute( + LongAttributeCallback callback, int minInterval, int maxInterval) { + subscribeTxErrCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readCollisionCountAttribute(LongAttributeCallback callback) { + readCollisionCountAttribute(chipClusterPtr, callback); + } + + public void subscribeCollisionCountAttribute( + LongAttributeCallback callback, int minInterval, int maxInterval) { + subscribeCollisionCountAttribute(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 readCarrierDetectAttribute(CarrierDetectAttributeCallback callback) { + readCarrierDetectAttribute(chipClusterPtr, callback); + } + + public void subscribeCarrierDetectAttribute( + CarrierDetectAttributeCallback callback, int minInterval, int maxInterval) { + subscribeCarrierDetectAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readTimeSinceResetAttribute(LongAttributeCallback callback) { + readTimeSinceResetAttribute(chipClusterPtr, callback); + } + + public void subscribeTimeSinceResetAttribute( + LongAttributeCallback callback, int minInterval, int maxInterval) { + subscribeTimeSinceResetAttribute(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 readPHYRateAttribute( + long chipClusterPtr, PHYRateAttributeCallback callback); - public static class AdministratorCommissioningCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 60L; + private native void subscribePHYRateAttribute( + long chipClusterPtr, PHYRateAttributeCallback callback, int minInterval, int maxInterval); - public AdministratorCommissioningCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } + private native void readFullDuplexAttribute( + long chipClusterPtr, FullDuplexAttributeCallback callback); - @Override - public native long initWithDevice(long devicePtr, int endpointId); + private native void subscribeFullDuplexAttribute( + long chipClusterPtr, + FullDuplexAttributeCallback callback, + int minInterval, + int maxInterval); + private native void readPacketRxCountAttribute( + long chipClusterPtr, LongAttributeCallback callback); - 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); - } + private native void subscribePacketRxCountAttribute( + long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + private native void readPacketTxCountAttribute( + long chipClusterPtr, LongAttributeCallback callback); - public void openBasicCommissioningWindow(DefaultClusterCallback callback - , Integer commissioningTimeout - , int timedInvokeTimeoutMs) { - openBasicCommissioningWindow(chipClusterPtr, callback, commissioningTimeout, timedInvokeTimeoutMs); - } + private native void subscribePacketTxCountAttribute( + long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + private native void readTxErrCountAttribute( + long chipClusterPtr, LongAttributeCallback callback); - 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) {} - } + private native void subscribeTxErrCountAttribute( + long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - public void readWindowStatusAttribute( - IntegerAttributeCallback callback - ) { - readWindowStatusAttribute(chipClusterPtr, callback); - } - public void subscribeWindowStatusAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeWindowStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readCollisionCountAttribute( + long chipClusterPtr, LongAttributeCallback callback); - public void readAdminFabricIndexAttribute( - AdminFabricIndexAttributeCallback callback - ) { - readAdminFabricIndexAttribute(chipClusterPtr, callback); - } - public void subscribeAdminFabricIndexAttribute( - AdminFabricIndexAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAdminFabricIndexAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeCollisionCountAttribute( + long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - public void readAdminVendorIdAttribute( - AdminVendorIdAttributeCallback callback - ) { - readAdminVendorIdAttribute(chipClusterPtr, callback); - } - public void subscribeAdminVendorIdAttribute( - AdminVendorIdAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAdminVendorIdAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readOverrunCountAttribute( + long chipClusterPtr, LongAttributeCallback 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 subscribeOverrunCountAttribute( + long chipClusterPtr, LongAttributeCallback 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 readCarrierDetectAttribute( + long chipClusterPtr, CarrierDetectAttributeCallback 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 subscribeCarrierDetectAttribute( + long chipClusterPtr, + CarrierDetectAttributeCallback 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 readTimeSinceResetAttribute( + long chipClusterPtr, LongAttributeCallback 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 subscribeTimeSinceResetAttribute( + long chipClusterPtr, LongAttributeCallback 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 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 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 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 BridgedDeviceBasicInformationCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 57L; - public OperationalCredentialsCluster(long devicePtr, int endpointId) { + public BridgedDeviceBasicInformationCluster(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 interface GeneratedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void attestationRequest(AttestationResponseCallback callback - , byte[] attestationNonce - , int timedInvokeTimeoutMs) { - attestationRequest(chipClusterPtr, callback, attestationNonce, timedInvokeTimeoutMs); + public interface AcceptedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void certificateChainRequest(CertificateChainResponseCallback callback - , Integer certificateType) { - certificateChainRequest(chipClusterPtr, callback, certificateType, null); + public interface EventListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void certificateChainRequest(CertificateChainResponseCallback callback - , Integer certificateType - , int timedInvokeTimeoutMs) { - certificateChainRequest(chipClusterPtr, callback, certificateType, timedInvokeTimeoutMs); + 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 readVendorNameAttribute(CharStringAttributeCallback callback) { + readVendorNameAttribute(chipClusterPtr, callback); } - public void CSRRequest(CSRResponseCallback callback - , byte[] CSRNonce, Optional isForUpdateNOC - , int timedInvokeTimeoutMs) { - CSRRequest(chipClusterPtr, callback, CSRNonce, isForUpdateNOC, timedInvokeTimeoutMs); + public void subscribeVendorNameAttribute( + CharStringAttributeCallback callback, int minInterval, int maxInterval) { + subscribeVendorNameAttribute(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 readVendorIDAttribute(IntegerAttributeCallback callback) { + readVendorIDAttribute(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 subscribeVendorIDAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeVendorIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void updateNOC(NOCResponseCallback callback - , byte[] NOCValue, Optional ICACValue) { - updateNOC(chipClusterPtr, callback, NOCValue, ICACValue, null); + public void readProductNameAttribute(CharStringAttributeCallback callback) { + readProductNameAttribute(chipClusterPtr, callback); } - public void updateNOC(NOCResponseCallback callback - , byte[] NOCValue, Optional ICACValue - , int timedInvokeTimeoutMs) { - updateNOC(chipClusterPtr, callback, NOCValue, ICACValue, timedInvokeTimeoutMs); + public void subscribeProductNameAttribute( + CharStringAttributeCallback callback, int minInterval, int maxInterval) { + subscribeProductNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void updateFabricLabel(NOCResponseCallback callback - , String label) { - updateFabricLabel(chipClusterPtr, callback, label, null); + public void readNodeLabelAttribute(CharStringAttributeCallback callback) { + readNodeLabelAttribute(chipClusterPtr, callback); } - public void updateFabricLabel(NOCResponseCallback callback - , String label - , int timedInvokeTimeoutMs) { - updateFabricLabel(chipClusterPtr, callback, label, timedInvokeTimeoutMs); + public void writeNodeLabelAttribute(DefaultClusterCallback callback, String value) { + writeNodeLabelAttribute(chipClusterPtr, callback, value, null); } - public void removeFabric(NOCResponseCallback callback - , Integer fabricIndex) { - removeFabric(chipClusterPtr, callback, fabricIndex, null); + public void writeNodeLabelAttribute( + DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { + writeNodeLabelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void removeFabric(NOCResponseCallback callback - , Integer fabricIndex - , int timedInvokeTimeoutMs) { - removeFabric(chipClusterPtr, callback, fabricIndex, timedInvokeTimeoutMs); + public void subscribeNodeLabelAttribute( + CharStringAttributeCallback callback, int minInterval, int maxInterval) { + subscribeNodeLabelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void addTrustedRootCertificate(DefaultClusterCallback callback - , byte[] rootCACertificate) { - addTrustedRootCertificate(chipClusterPtr, callback, rootCACertificate, null); + public void readHardwareVersionAttribute(IntegerAttributeCallback callback) { + readHardwareVersionAttribute(chipClusterPtr, callback); } - public void addTrustedRootCertificate(DefaultClusterCallback callback - , byte[] rootCACertificate - , int timedInvokeTimeoutMs) { - addTrustedRootCertificate(chipClusterPtr, callback, rootCACertificate, timedInvokeTimeoutMs); + public void subscribeHardwareVersionAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeHardwareVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - 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 readHardwareVersionStringAttribute(CharStringAttributeCallback callback) { + readHardwareVersionStringAttribute(chipClusterPtr, callback); } - public interface CertificateChainResponseCallback { - void onSuccess(byte[] certificate); - - void onError(Exception error); + public void subscribeHardwareVersionStringAttribute( + CharStringAttributeCallback callback, int minInterval, int maxInterval) { + subscribeHardwareVersionStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface CSRResponseCallback { - void onSuccess(byte[] NOCSRElements, byte[] attestationSignature); - - void onError(Exception error); + public void readSoftwareVersionAttribute(LongAttributeCallback callback) { + readSoftwareVersionAttribute(chipClusterPtr, callback); } - public interface NOCResponseCallback { - void onSuccess(Integer statusCode, Optional fabricIndex, Optional debugText); - - void onError(Exception error); + public void subscribeSoftwareVersionAttribute( + LongAttributeCallback callback, int minInterval, int maxInterval) { + subscribeSoftwareVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } + public void readSoftwareVersionStringAttribute(CharStringAttributeCallback callback) { + readSoftwareVersionStringAttribute(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 subscribeSoftwareVersionStringAttribute( + CharStringAttributeCallback callback, int minInterval, int maxInterval) { + subscribeSoftwareVersionStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public void readNOCsAttribute( - NOCsAttributeCallback callback - ) { - readNOCsAttribute(chipClusterPtr, callback); + public void readManufacturingDateAttribute(CharStringAttributeCallback callback) { + readManufacturingDateAttribute(chipClusterPtr, callback); } - public void subscribeNOCsAttribute( - NOCsAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeNOCsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeManufacturingDateAttribute( + CharStringAttributeCallback callback, int minInterval, int maxInterval) { + subscribeManufacturingDateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFabricsAttribute( - FabricsAttributeCallback callback - ) { - readFabricsAttribute(chipClusterPtr, callback); + public void readPartNumberAttribute(CharStringAttributeCallback callback) { + readPartNumberAttribute(chipClusterPtr, callback); } - public void subscribeFabricsAttribute( - FabricsAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeFabricsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribePartNumberAttribute( + CharStringAttributeCallback callback, int minInterval, int maxInterval) { + subscribePartNumberAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSupportedFabricsAttribute( - IntegerAttributeCallback callback - ) { - readSupportedFabricsAttribute(chipClusterPtr, callback); + public void readProductURLAttribute(CharStringAttributeCallback callback) { + readProductURLAttribute(chipClusterPtr, callback); } - public void subscribeSupportedFabricsAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeSupportedFabricsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeProductURLAttribute( + CharStringAttributeCallback callback, int minInterval, int maxInterval) { + subscribeProductURLAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCommissionedFabricsAttribute( - IntegerAttributeCallback callback - ) { - readCommissionedFabricsAttribute(chipClusterPtr, callback); + public void readProductLabelAttribute(CharStringAttributeCallback callback) { + readProductLabelAttribute(chipClusterPtr, callback); } - public void subscribeCommissionedFabricsAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeCommissionedFabricsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeProductLabelAttribute( + CharStringAttributeCallback callback, int minInterval, int maxInterval) { + subscribeProductLabelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTrustedRootCertificatesAttribute( - TrustedRootCertificatesAttributeCallback callback - ) { - readTrustedRootCertificatesAttribute(chipClusterPtr, callback); + public void readSerialNumberAttribute(CharStringAttributeCallback callback) { + readSerialNumberAttribute(chipClusterPtr, callback); } - public void subscribeTrustedRootCertificatesAttribute( - TrustedRootCertificatesAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeTrustedRootCertificatesAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeSerialNumberAttribute( + CharStringAttributeCallback callback, int minInterval, int maxInterval) { + subscribeSerialNumberAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCurrentFabricIndexAttribute( - IntegerAttributeCallback callback - ) { - readCurrentFabricIndexAttribute(chipClusterPtr, callback); + public void readReachableAttribute(BooleanAttributeCallback callback) { + readReachableAttribute(chipClusterPtr, callback); } - public void subscribeCurrentFabricIndexAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeCurrentFabricIndexAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeReachableAttribute( + BooleanAttributeCallback callback, int minInterval, int maxInterval) { + subscribeReachableAttribute(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 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 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); } - public static class GroupKeyManagementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 63L; + public static class SwitchCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 59L; - public GroupKeyManagementCluster(long devicePtr, int endpointId) { + public SwitchCluster(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 interface GeneratedCommandListAttributeCallback { + void onSuccess(List valueList); - public void keySetWrite(DefaultClusterCallback callback - , ChipStructs.GroupKeyManagementClusterGroupKeySetStruct groupKeySet - , int timedInvokeTimeoutMs) { - keySetWrite(chipClusterPtr, callback, groupKeySet, timedInvokeTimeoutMs); - } + void onError(Exception ex); - public void keySetRead(KeySetReadResponseCallback callback - , Integer groupKeySetID) { - keySetRead(chipClusterPtr, callback, groupKeySetID, null); + default void onSubscriptionEstablished(long subscriptionId) {} } - public void keySetRead(KeySetReadResponseCallback callback - , Integer groupKeySetID - , int timedInvokeTimeoutMs) { - keySetRead(chipClusterPtr, callback, groupKeySetID, timedInvokeTimeoutMs); - } + public interface AcceptedCommandListAttributeCallback { + void onSuccess(List valueList); - public void keySetRemove(DefaultClusterCallback callback - , Integer groupKeySetID) { - keySetRemove(chipClusterPtr, callback, groupKeySetID, null); + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void keySetRemove(DefaultClusterCallback callback - , Integer groupKeySetID - , int timedInvokeTimeoutMs) { - keySetRemove(chipClusterPtr, callback, groupKeySetID, timedInvokeTimeoutMs); + public interface EventListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void keySetReadAllIndices(KeySetReadAllIndicesResponseCallback callback - , ArrayList groupKeySetIDs) { - keySetReadAllIndices(chipClusterPtr, callback, groupKeySetIDs, null); + public interface AttributeListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void keySetReadAllIndices(KeySetReadAllIndicesResponseCallback callback - , ArrayList groupKeySetIDs - , int timedInvokeTimeoutMs) { - keySetReadAllIndices(chipClusterPtr, callback, groupKeySetIDs, timedInvokeTimeoutMs); + public void readNumberOfPositionsAttribute(IntegerAttributeCallback callback) { + readNumberOfPositionsAttribute(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 interface KeySetReadAllIndicesResponseCallback { - void onSuccess(ArrayList groupKeySetIDs); - - void onError(Exception error); - } - - - 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) {} - } - public void readGroupKeyMapAttribute( - GroupKeyMapAttributeCallback callback - ) { - readGroupKeyMapAttribute(chipClusterPtr, callback); - } - public void writeGroupKeyMapAttribute(DefaultClusterCallback callback, ArrayList value) { - writeGroupKeyMapAttribute(chipClusterPtr, callback, value, null); + public void subscribeNumberOfPositionsAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeNumberOfPositionsAttribute(chipClusterPtr, callback, minInterval, 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); + public void readCurrentPositionAttribute(IntegerAttributeCallback callback) { + readCurrentPositionAttribute(chipClusterPtr, callback); } - public void readGroupTableAttribute( - GroupTableAttributeCallback callback - ) { - readGroupTableAttribute(chipClusterPtr, callback); - } - public void subscribeGroupTableAttribute( - GroupTableAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeGroupTableAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeCurrentPositionAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeCurrentPositionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxGroupsPerFabricAttribute( - IntegerAttributeCallback callback - ) { - readMaxGroupsPerFabricAttribute(chipClusterPtr, callback); - } - public void subscribeMaxGroupsPerFabricAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMaxGroupsPerFabricAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMultiPressMaxAttribute(IntegerAttributeCallback callback) { + readMultiPressMaxAttribute(chipClusterPtr, callback); } - public void readMaxGroupKeysPerFabricAttribute( - IntegerAttributeCallback callback - ) { - readMaxGroupKeysPerFabricAttribute(chipClusterPtr, callback); - } - public void subscribeMaxGroupKeysPerFabricAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMaxGroupKeysPerFabricAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMultiPressMaxAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMultiPressMaxAttribute(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 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 FixedLabelCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 64L; + public static class AdministratorCommissioningCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 60L; - public FixedLabelCluster(long devicePtr, int endpointId) { + public AdministratorCommissioningCluster(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); - 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 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) { - public void readLabelListAttribute( - LabelListAttributeCallback callback - ) { - readLabelListAttribute(chipClusterPtr, callback); - } - public void subscribeLabelListAttribute( - LabelListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeLabelListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + revokeCommissioning(chipClusterPtr, callback, timedInvokeTimeoutMs); } - 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 openCommissioningWindow( + long chipClusterPtr, + DefaultClusterCallback Callback, + Integer commissioningTimeout, + byte[] PAKEPasscodeVerifier, + Integer discriminator, + Long iterations, + byte[] salt, + @Nullable Integer timedInvokeTimeoutMs); - 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 openBasicCommissioningWindow( + long chipClusterPtr, + DefaultClusterCallback Callback, + Integer commissioningTimeout, + @Nullable Integer timedInvokeTimeoutMs); - 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 revokeCommissioning( + long chipClusterPtr, + DefaultClusterCallback Callback, + @Nullable Integer timedInvokeTimeoutMs); - public void readAttributeListAttribute( - AttributeListAttributeCallback callback - ) { - readAttributeListAttribute(chipClusterPtr, callback); - } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public interface AdminFabricIndexAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readFeatureMapAttribute( - LongAttributeCallback callback - ) { - readFeatureMapAttribute(chipClusterPtr, callback); + public interface AdminVendorIdAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface GeneratedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readClusterRevisionAttribute( - IntegerAttributeCallback callback - ) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public interface AcceptedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface EventListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - 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 interface AttributeListAttributeCallback { + void onSuccess(List valueList); - public static class UserLabelCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 65L; + void onError(Exception ex); - public UserLabelCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + default void onSubscriptionEstablished(long subscriptionId) {} } - @Override - public native long initWithDevice(long devicePtr, int endpointId); + public void readWindowStatusAttribute(IntegerAttributeCallback callback) { + readWindowStatusAttribute(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 subscribeWindowStatusAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeWindowStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public void readLabelListAttribute( - LabelListAttributeCallback callback - ) { - readLabelListAttribute(chipClusterPtr, callback); + public void readAdminFabricIndexAttribute(AdminFabricIndexAttributeCallback callback) { + readAdminFabricIndexAttribute(chipClusterPtr, callback); } - public void writeLabelListAttribute(DefaultClusterCallback callback, ArrayList value) { - writeLabelListAttribute(chipClusterPtr, callback, value, null); + + public void subscribeAdminFabricIndexAttribute( + AdminFabricIndexAttributeCallback callback, int minInterval, int maxInterval) { + subscribeAdminFabricIndexAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLabelListAttribute(DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) { - writeLabelListAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readAdminVendorIdAttribute(AdminVendorIdAttributeCallback callback) { + readAdminVendorIdAttribute(chipClusterPtr, callback); } - public void subscribeLabelListAttribute( - LabelListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeLabelListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeAdminVendorIdAttribute( + AdminVendorIdAttributeCallback callback, int minInterval, int maxInterval) { + subscribeAdminVendorIdAttribute(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 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); } - public static class BooleanStateCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 69L; + public static class OperationalCredentialsCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 62L; - public BooleanStateCluster(long devicePtr, int endpointId) { + public OperationalCredentialsCluster(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 readStateValueAttribute( - BooleanAttributeCallback callback - ) { - readStateValueAttribute(chipClusterPtr, callback); + public void attestationRequest(AttestationResponseCallback callback, byte[] attestationNonce) { + attestationRequest(chipClusterPtr, callback, attestationNonce, null); } - public void subscribeStateValueAttribute( - BooleanAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeStateValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void attestationRequest( + AttestationResponseCallback callback, byte[] attestationNonce, int timedInvokeTimeoutMs) { + attestationRequest(chipClusterPtr, callback, attestationNonce, timedInvokeTimeoutMs); } - public void readGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - ) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void certificateChainRequest( + CertificateChainResponseCallback callback, Integer certificateType) { + certificateChainRequest(chipClusterPtr, callback, certificateType, null); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void certificateChainRequest( + CertificateChainResponseCallback callback, + Integer certificateType, + int timedInvokeTimeoutMs) { + certificateChainRequest(chipClusterPtr, callback, certificateType, timedInvokeTimeoutMs); } - public void readAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - ) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void CSRRequest( + CSRResponseCallback callback, byte[] CSRNonce, Optional isForUpdateNOC) { + CSRRequest(chipClusterPtr, callback, CSRNonce, isForUpdateNOC, null); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void CSRRequest( + CSRResponseCallback callback, + byte[] CSRNonce, + Optional isForUpdateNOC, + int timedInvokeTimeoutMs) { + CSRRequest(chipClusterPtr, callback, CSRNonce, isForUpdateNOC, timedInvokeTimeoutMs); } - public void readEventListAttribute( - EventListAttributeCallback callback - ) { - readEventListAttribute(chipClusterPtr, callback); + 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 subscribeEventListAttribute( - EventListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void updateNOC( + NOCResponseCallback callback, + byte[] NOCValue, + Optional ICACValue, + int timedInvokeTimeoutMs) { + updateNOC(chipClusterPtr, callback, NOCValue, ICACValue, timedInvokeTimeoutMs); } - public void readAttributeListAttribute( - AttributeListAttributeCallback callback - ) { - readAttributeListAttribute(chipClusterPtr, callback); + public void updateFabricLabel(NOCResponseCallback callback, String label) { + updateFabricLabel(chipClusterPtr, callback, label, null); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void updateFabricLabel( + NOCResponseCallback callback, String label, int timedInvokeTimeoutMs) { + updateFabricLabel(chipClusterPtr, callback, label, timedInvokeTimeoutMs); } - public void readFeatureMapAttribute( - LongAttributeCallback callback - ) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void removeFabric(NOCResponseCallback callback, Integer fabricIndex) { + removeFabric(chipClusterPtr, callback, fabricIndex, null); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void removeFabric( + NOCResponseCallback callback, Integer fabricIndex, int timedInvokeTimeoutMs) { + removeFabric(chipClusterPtr, callback, fabricIndex, timedInvokeTimeoutMs); } - public void readClusterRevisionAttribute( - IntegerAttributeCallback callback - ) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void addTrustedRootCertificate( + DefaultClusterCallback callback, byte[] rootCACertificate) { + addTrustedRootCertificate(chipClusterPtr, callback, rootCACertificate, null); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void addTrustedRootCertificate( + DefaultClusterCallback callback, byte[] rootCACertificate, int timedInvokeTimeoutMs) { + addTrustedRootCertificate(chipClusterPtr, callback, rootCACertificate, timedInvokeTimeoutMs); } - 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 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 static class ModeSelectCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 80L; + public interface AttestationResponseCallback { + void onSuccess(byte[] attestationElements, byte[] attestationSignature); - public ModeSelectCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + void onError(Exception error); } - @Override - public native long initWithDevice(long devicePtr, int endpointId); + public interface CertificateChainResponseCallback { + void onSuccess(byte[] certificate); - public void changeToMode(DefaultClusterCallback callback - , Integer newMode) { - changeToMode(chipClusterPtr, callback, newMode, null); + void onError(Exception error); } - public void changeToMode(DefaultClusterCallback callback - , Integer newMode - , int timedInvokeTimeoutMs) { - changeToMode(chipClusterPtr, callback, newMode, timedInvokeTimeoutMs); + public interface CSRResponseCallback { + void onSuccess(byte[] NOCSRElements, byte[] attestationSignature); + + void onError(Exception error); } - 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 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 interface NOCResponseCallback { + void onSuccess(Integer statusCode, Optional fabricIndex, Optional debugText); - public void readDescriptionAttribute( - CharStringAttributeCallback callback - ) { - readDescriptionAttribute(chipClusterPtr, callback); + void onError(Exception error); } - public void subscribeDescriptionAttribute( - CharStringAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeDescriptionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface NOCsAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readStandardNamespaceAttribute( - StandardNamespaceAttributeCallback callback - ) { - readStandardNamespaceAttribute(chipClusterPtr, callback); + public interface FabricsAttributeCallback { + void onSuccess( + List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeStandardNamespaceAttribute( - StandardNamespaceAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeStandardNamespaceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface TrustedRootCertificatesAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readSupportedModesAttribute( - SupportedModesAttributeCallback callback - ) { - readSupportedModesAttribute(chipClusterPtr, callback); + public interface GeneratedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeSupportedModesAttribute( - SupportedModesAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeSupportedModesAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface AcceptedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readCurrentModeAttribute( - IntegerAttributeCallback callback - ) { - readCurrentModeAttribute(chipClusterPtr, callback); + public interface EventListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeCurrentModeAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeCurrentModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface AttributeListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readStartUpModeAttribute( - StartUpModeAttributeCallback callback - ) { - readStartUpModeAttribute(chipClusterPtr, callback); + public void readNOCsAttribute(NOCsAttributeCallback callback) { + readNOCsAttribute(chipClusterPtr, callback); } - public void writeStartUpModeAttribute(DefaultClusterCallback callback, Integer value) { - writeStartUpModeAttribute(chipClusterPtr, callback, value, null); + + public void subscribeNOCsAttribute( + NOCsAttributeCallback callback, int minInterval, int maxInterval) { + subscribeNOCsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeStartUpModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeStartUpModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readFabricsAttribute(FabricsAttributeCallback callback) { + readFabricsAttribute(chipClusterPtr, callback); } - public void subscribeStartUpModeAttribute( - StartUpModeAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeStartUpModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeFabricsAttribute( + FabricsAttributeCallback callback, int minInterval, int maxInterval) { + subscribeFabricsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOnModeAttribute( - OnModeAttributeCallback callback - ) { - readOnModeAttribute(chipClusterPtr, callback); + public void readSupportedFabricsAttribute(IntegerAttributeCallback callback) { + readSupportedFabricsAttribute(chipClusterPtr, callback); } - public void writeOnModeAttribute(DefaultClusterCallback callback, Integer value) { - writeOnModeAttribute(chipClusterPtr, callback, value, null); + + public void subscribeSupportedFabricsAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeSupportedFabricsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeOnModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOnModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readCommissionedFabricsAttribute(IntegerAttributeCallback callback) { + readCommissionedFabricsAttribute(chipClusterPtr, callback); } - public void subscribeOnModeAttribute( - OnModeAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeOnModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeCommissionedFabricsAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeCommissionedFabricsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readTrustedRootCertificatesAttribute( + TrustedRootCertificatesAttributeCallback callback) { + readTrustedRootCertificatesAttribute(chipClusterPtr, callback); + } + + public void subscribeTrustedRootCertificatesAttribute( + TrustedRootCertificatesAttributeCallback callback, int minInterval, int maxInterval) { + subscribeTrustedRootCertificatesAttribute(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 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 readNOCsAttribute(long chipClusterPtr, NOCsAttributeCallback callback); - public static class DoorLockCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 257L; + private native void subscribeNOCsAttribute( + long chipClusterPtr, NOCsAttributeCallback callback, int minInterval, int maxInterval); - public DoorLockCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } + private native void readFabricsAttribute( + long chipClusterPtr, FabricsAttributeCallback callback); - @Override - public native long initWithDevice(long devicePtr, int endpointId); + private native void subscribeFabricsAttribute( + long chipClusterPtr, FabricsAttributeCallback callback, int minInterval, int maxInterval); + private native void readSupportedFabricsAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void lockDoor(DefaultClusterCallback callback - , Optional PINCode - , int timedInvokeTimeoutMs) { - lockDoor(chipClusterPtr, callback, PINCode, timedInvokeTimeoutMs); - } + private native void subscribeSupportedFabricsAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readCommissionedFabricsAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void unlockDoor(DefaultClusterCallback callback - , Optional PINCode - , int timedInvokeTimeoutMs) { - unlockDoor(chipClusterPtr, callback, PINCode, timedInvokeTimeoutMs); - } + private native void subscribeCommissionedFabricsAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readTrustedRootCertificatesAttribute( + long chipClusterPtr, TrustedRootCertificatesAttributeCallback callback); - public void unlockWithTimeout(DefaultClusterCallback callback - , Integer timeout, Optional PINCode - , int timedInvokeTimeoutMs) { - unlockWithTimeout(chipClusterPtr, callback, timeout, PINCode, timedInvokeTimeoutMs); - } + private native void subscribeTrustedRootCertificatesAttribute( + long chipClusterPtr, + TrustedRootCertificatesAttributeCallback callback, + int minInterval, + int maxInterval); - 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); - } + private native void readCurrentFabricIndexAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - 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 subscribeCurrentFabricIndexAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void getWeekDaySchedule(GetWeekDayScheduleResponseCallback callback - , Integer weekDayIndex, Integer userIndex) { - getWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, null); - } + private native void readGeneratedCommandListAttribute( + long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - public void getWeekDaySchedule(GetWeekDayScheduleResponseCallback callback - , Integer weekDayIndex, Integer userIndex - , int timedInvokeTimeoutMs) { - getWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, timedInvokeTimeoutMs); - } + private native void subscribeGeneratedCommandListAttribute( + long chipClusterPtr, + GeneratedCommandListAttributeCallback callback, + int minInterval, + int maxInterval); - public void clearWeekDaySchedule(DefaultClusterCallback callback - , Integer weekDayIndex, Integer userIndex) { - clearWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, null); - } + private native void readAcceptedCommandListAttribute( + long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - public void clearWeekDaySchedule(DefaultClusterCallback callback - , Integer weekDayIndex, Integer userIndex - , int timedInvokeTimeoutMs) { - clearWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, timedInvokeTimeoutMs); - } + private native void subscribeAcceptedCommandListAttribute( + long chipClusterPtr, + AcceptedCommandListAttributeCallback callback, + int minInterval, + int maxInterval); - public void setYearDaySchedule(DefaultClusterCallback callback - , Integer yearDayIndex, Integer userIndex, Long localStartTime, Long localEndTime) { - setYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, localStartTime, localEndTime, null); - } + private native void readEventListAttribute( + long chipClusterPtr, EventListAttributeCallback callback); - public void setYearDaySchedule(DefaultClusterCallback callback - , Integer yearDayIndex, Integer userIndex, Long localStartTime, Long localEndTime - , int timedInvokeTimeoutMs) { - setYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, localStartTime, localEndTime, timedInvokeTimeoutMs); - } + private native void subscribeEventListAttribute( + long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - public void getYearDaySchedule(GetYearDayScheduleResponseCallback callback - , Integer yearDayIndex, Integer userIndex) { - getYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, null); - } + private native void readAttributeListAttribute( + long chipClusterPtr, AttributeListAttributeCallback callback); - public void getYearDaySchedule(GetYearDayScheduleResponseCallback callback - , Integer yearDayIndex, Integer userIndex - , int timedInvokeTimeoutMs) { - getYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, timedInvokeTimeoutMs); - } + private native void subscribeAttributeListAttribute( + long chipClusterPtr, + AttributeListAttributeCallback callback, + int minInterval, + int maxInterval); - public void clearYearDaySchedule(DefaultClusterCallback callback - , Integer yearDayIndex, Integer userIndex) { - clearYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, null); - } + private native void readFeatureMapAttribute( + long chipClusterPtr, LongAttributeCallback callback); - public void clearYearDaySchedule(DefaultClusterCallback callback - , Integer yearDayIndex, Integer userIndex - , int timedInvokeTimeoutMs) { - clearYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, timedInvokeTimeoutMs); - } + private native void subscribeFeatureMapAttribute( + long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - public void setHolidaySchedule(DefaultClusterCallback callback - , Integer holidayIndex, Long localStartTime, Long localEndTime, Integer operatingMode) { - setHolidaySchedule(chipClusterPtr, callback, holidayIndex, localStartTime, localEndTime, operatingMode, null); - } + private native void readClusterRevisionAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void setHolidaySchedule(DefaultClusterCallback callback - , Integer holidayIndex, Long localStartTime, Long localEndTime, Integer operatingMode - , int timedInvokeTimeoutMs) { - setHolidaySchedule(chipClusterPtr, callback, holidayIndex, localStartTime, localEndTime, operatingMode, timedInvokeTimeoutMs); - } + private native void subscribeClusterRevisionAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + } - public void getHolidaySchedule(GetHolidayScheduleResponseCallback callback - , Integer holidayIndex) { - getHolidaySchedule(chipClusterPtr, callback, holidayIndex, null); - } + public static class GroupKeyManagementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 63L; - public void getHolidaySchedule(GetHolidayScheduleResponseCallback callback - , Integer holidayIndex - , int timedInvokeTimeoutMs) { - getHolidaySchedule(chipClusterPtr, callback, holidayIndex, timedInvokeTimeoutMs); + public GroupKeyManagementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void clearHolidaySchedule(DefaultClusterCallback callback - , Integer holidayIndex) { - clearHolidaySchedule(chipClusterPtr, callback, holidayIndex, null); + @Override + public native long initWithDevice(long devicePtr, int endpointId); + + public void keySetWrite( + DefaultClusterCallback callback, + ChipStructs.GroupKeyManagementClusterGroupKeySetStruct groupKeySet) { + keySetWrite(chipClusterPtr, callback, groupKeySet, null); } - public void clearHolidaySchedule(DefaultClusterCallback callback - , Integer holidayIndex - , int timedInvokeTimeoutMs) { - clearHolidaySchedule(chipClusterPtr, callback, holidayIndex, timedInvokeTimeoutMs); + public void keySetWrite( + DefaultClusterCallback callback, + ChipStructs.GroupKeyManagementClusterGroupKeySetStruct groupKeySet, + int timedInvokeTimeoutMs) { + keySetWrite(chipClusterPtr, callback, groupKeySet, timedInvokeTimeoutMs); } + public void keySetRead(KeySetReadResponseCallback callback, Integer groupKeySetID) { + keySetRead(chipClusterPtr, callback, groupKeySetID, null); + } - 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 keySetRead( + KeySetReadResponseCallback callback, Integer groupKeySetID, int timedInvokeTimeoutMs) { + keySetRead(chipClusterPtr, callback, groupKeySetID, timedInvokeTimeoutMs); } - public void getUser(GetUserResponseCallback callback - , Integer userIndex) { - getUser(chipClusterPtr, callback, userIndex, null); + public void keySetRemove(DefaultClusterCallback callback, Integer groupKeySetID) { + keySetRemove(chipClusterPtr, callback, groupKeySetID, null); } - public void getUser(GetUserResponseCallback callback - , Integer userIndex - , int timedInvokeTimeoutMs) { - getUser(chipClusterPtr, callback, userIndex, timedInvokeTimeoutMs); + public void keySetRemove( + DefaultClusterCallback callback, Integer groupKeySetID, int timedInvokeTimeoutMs) { + keySetRemove(chipClusterPtr, callback, groupKeySetID, timedInvokeTimeoutMs); } + public void keySetReadAllIndices( + KeySetReadAllIndicesResponseCallback callback, ArrayList groupKeySetIDs) { + keySetReadAllIndices(chipClusterPtr, callback, groupKeySetIDs, null); + } - public void clearUser(DefaultClusterCallback callback - , Integer userIndex - , int timedInvokeTimeoutMs) { - clearUser(chipClusterPtr, callback, userIndex, timedInvokeTimeoutMs); + 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); - 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); - } + private native void keySetRead( + long chipClusterPtr, + KeySetReadResponseCallback Callback, + Integer groupKeySetID, + @Nullable Integer timedInvokeTimeoutMs); - public void getCredentialStatus(GetCredentialStatusResponseCallback callback - , ChipStructs.DoorLockClusterCredentialStruct credential) { - getCredentialStatus(chipClusterPtr, callback, credential, null); - } + private native void keySetRemove( + long chipClusterPtr, + DefaultClusterCallback Callback, + Integer groupKeySetID, + @Nullable Integer timedInvokeTimeoutMs); - public void getCredentialStatus(GetCredentialStatusResponseCallback callback - , ChipStructs.DoorLockClusterCredentialStruct credential - , int timedInvokeTimeoutMs) { - getCredentialStatus(chipClusterPtr, callback, credential, timedInvokeTimeoutMs); - } + private native void keySetReadAllIndices( + long chipClusterPtr, + KeySetReadAllIndicesResponseCallback Callback, + ArrayList groupKeySetIDs, + @Nullable Integer timedInvokeTimeoutMs); + public interface KeySetReadResponseCallback { + void onSuccess(ChipStructs.GroupKeyManagementClusterGroupKeySetStruct groupKeySet); - public void clearCredential(DefaultClusterCallback callback - , @Nullable ChipStructs.DoorLockClusterCredentialStruct credential - , int timedInvokeTimeoutMs) { - clearCredential(chipClusterPtr, callback, credential, timedInvokeTimeoutMs); - } - 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 interface GetYearDayScheduleResponseCallback { - void onSuccess(Integer yearDayIndex, Integer userIndex, Integer status, Optional localStartTime, Optional localEndTime); - - void onError(Exception error); - } + public interface KeySetReadAllIndicesResponseCallback { + void onSuccess(ArrayList groupKeySetIDs); - public interface GetHolidayScheduleResponseCallback { - void onSuccess(Integer holidayIndex, Integer status, Optional localStartTime, Optional localEndTime, Optional operatingMode); - void onError(Exception error); } - 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 interface GroupKeyMapAttributeCallback { + void onSuccess(List valueList); - public interface SetCredentialResponseCallback { - void onSuccess(Integer status, @Nullable Integer userIndex, @Nullable Integer nextCredentialIndex); - - void onError(Exception error); + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public interface GetCredentialStatusResponseCallback { - void onSuccess(Boolean credentialExists, @Nullable Integer userIndex, @Nullable Integer creatorFabricIndex, @Nullable Integer lastModifiedFabricIndex, @Nullable Integer nextCredentialIndex); - - void onError(Exception error); + public interface GroupTableAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } + public interface GeneratedCommandListAttributeCallback { + void onSuccess(List valueList); - 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) {} - } + void onError(Exception ex); - public void readLockStateAttribute( - LockStateAttributeCallback callback - ) { - readLockStateAttribute(chipClusterPtr, callback); + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeLockStateAttribute( - LockStateAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeLockStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface AcceptedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readLockTypeAttribute( - IntegerAttributeCallback callback - ) { - readLockTypeAttribute(chipClusterPtr, callback); + public interface EventListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeLockTypeAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeLockTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface AttributeListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readActuatorEnabledAttribute( - BooleanAttributeCallback callback - ) { - readActuatorEnabledAttribute(chipClusterPtr, callback); + public void readGroupKeyMapAttribute(GroupKeyMapAttributeCallback callback) { + readGroupKeyMapAttribute(chipClusterPtr, callback); } - public void subscribeActuatorEnabledAttribute( - BooleanAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeActuatorEnabledAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeGroupKeyMapAttribute( + DefaultClusterCallback callback, + ArrayList value) { + writeGroupKeyMapAttribute(chipClusterPtr, callback, value, null); } - public void readDoorStateAttribute( - DoorStateAttributeCallback callback - ) { - readDoorStateAttribute(chipClusterPtr, callback); + public void writeGroupKeyMapAttribute( + DefaultClusterCallback callback, + ArrayList value, + int timedWriteTimeoutMs) { + writeGroupKeyMapAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeDoorStateAttribute( - DoorStateAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeDoorStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeGroupKeyMapAttribute( + GroupKeyMapAttributeCallback callback, int minInterval, int maxInterval) { + subscribeGroupKeyMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readDoorOpenEventsAttribute( - LongAttributeCallback callback - ) { - readDoorOpenEventsAttribute(chipClusterPtr, callback); + public void readGroupTableAttribute(GroupTableAttributeCallback callback) { + readGroupTableAttribute(chipClusterPtr, callback); } - public void writeDoorOpenEventsAttribute(DefaultClusterCallback callback, Long value) { - writeDoorOpenEventsAttribute(chipClusterPtr, callback, value, null); + + public void subscribeGroupTableAttribute( + GroupTableAttributeCallback callback, int minInterval, int maxInterval) { + subscribeGroupTableAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeDoorOpenEventsAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeDoorOpenEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readMaxGroupsPerFabricAttribute(IntegerAttributeCallback callback) { + readMaxGroupsPerFabricAttribute(chipClusterPtr, callback); } - public void subscribeDoorOpenEventsAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeDoorOpenEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeMaxGroupsPerFabricAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMaxGroupsPerFabricAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readDoorClosedEventsAttribute( - LongAttributeCallback callback - ) { - readDoorClosedEventsAttribute(chipClusterPtr, callback); + public void readMaxGroupKeysPerFabricAttribute(IntegerAttributeCallback callback) { + readMaxGroupKeysPerFabricAttribute(chipClusterPtr, callback); } - public void writeDoorClosedEventsAttribute(DefaultClusterCallback callback, Long value) { - writeDoorClosedEventsAttribute(chipClusterPtr, callback, value, null); + + public void subscribeMaxGroupKeysPerFabricAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMaxGroupKeysPerFabricAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeDoorClosedEventsAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeDoorClosedEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeDoorClosedEventsAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeDoorClosedEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOpenPeriodAttribute( - IntegerAttributeCallback callback - ) { - readOpenPeriodAttribute(chipClusterPtr, callback); + public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void writeOpenPeriodAttribute(DefaultClusterCallback callback, Integer value) { - writeOpenPeriodAttribute(chipClusterPtr, callback, value, null); + + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeOpenPeriodAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOpenPeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readEventListAttribute(EventListAttributeCallback callback) { + readEventListAttribute(chipClusterPtr, callback); } - public void subscribeOpenPeriodAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeOpenPeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeEventListAttribute( + EventListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNumberOfTotalUsersSupportedAttribute( - IntegerAttributeCallback callback - ) { - readNumberOfTotalUsersSupportedAttribute(chipClusterPtr, callback); + public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeNumberOfTotalUsersSupportedAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeNumberOfTotalUsersSupportedAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNumberOfPINUsersSupportedAttribute( - IntegerAttributeCallback callback - ) { - readNumberOfPINUsersSupportedAttribute(chipClusterPtr, callback); + public void readFeatureMapAttribute(LongAttributeCallback callback) { + readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeNumberOfPINUsersSupportedAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeNumberOfPINUsersSupportedAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback, int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNumberOfRFIDUsersSupportedAttribute( - IntegerAttributeCallback callback - ) { - readNumberOfRFIDUsersSupportedAttribute(chipClusterPtr, callback); - } - public void subscribeNumberOfRFIDUsersSupportedAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeNumberOfRFIDUsersSupportedAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - public void readNumberOfWeekDaySchedulesSupportedPerUserAttribute( - IntegerAttributeCallback callback - ) { - readNumberOfWeekDaySchedulesSupportedPerUserAttribute(chipClusterPtr, callback); - } - public void subscribeNumberOfWeekDaySchedulesSupportedPerUserAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeNumberOfWeekDaySchedulesSupportedPerUserAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNumberOfYearDaySchedulesSupportedPerUserAttribute( - IntegerAttributeCallback callback - ) { - readNumberOfYearDaySchedulesSupportedPerUserAttribute(chipClusterPtr, callback); - } - public void subscribeNumberOfYearDaySchedulesSupportedPerUserAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeNumberOfYearDaySchedulesSupportedPerUserAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readGroupKeyMapAttribute( + long chipClusterPtr, GroupKeyMapAttributeCallback callback); - public void readNumberOfHolidaySchedulesSupportedAttribute( - IntegerAttributeCallback callback - ) { - readNumberOfHolidaySchedulesSupportedAttribute(chipClusterPtr, callback); - } - public void subscribeNumberOfHolidaySchedulesSupportedAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeNumberOfHolidaySchedulesSupportedAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void writeGroupKeyMapAttribute( + long chipClusterPtr, + DefaultClusterCallback callback, + ArrayList value, + @Nullable Integer timedWriteTimeoutMs); - public void readMaxPINCodeLengthAttribute( - IntegerAttributeCallback callback - ) { - readMaxPINCodeLengthAttribute(chipClusterPtr, callback); - } - public void subscribeMaxPINCodeLengthAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMaxPINCodeLengthAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeGroupKeyMapAttribute( + long chipClusterPtr, + GroupKeyMapAttributeCallback callback, + int minInterval, + int maxInterval); - 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 readGroupTableAttribute( + long chipClusterPtr, GroupTableAttributeCallback callback); - 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 subscribeGroupTableAttribute( + long chipClusterPtr, + GroupTableAttributeCallback callback, + int minInterval, + int maxInterval); - 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 readMaxGroupsPerFabricAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - 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 subscribeMaxGroupsPerFabricAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - 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 readMaxGroupKeysPerFabricAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readLanguageAttribute( - CharStringAttributeCallback callback - ) { - readLanguageAttribute(chipClusterPtr, callback); - } - public void writeLanguageAttribute(DefaultClusterCallback callback, String value) { - writeLanguageAttribute(chipClusterPtr, callback, value, null); - } + private native void subscribeMaxGroupKeysPerFabricAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - 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 readGeneratedCommandListAttribute( + long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - public void readLEDSettingsAttribute( - IntegerAttributeCallback callback - ) { - readLEDSettingsAttribute(chipClusterPtr, callback); - } - public void writeLEDSettingsAttribute(DefaultClusterCallback callback, Integer value) { - writeLEDSettingsAttribute(chipClusterPtr, callback, value, null); - } + private native void subscribeGeneratedCommandListAttribute( + long chipClusterPtr, + GeneratedCommandListAttributeCallback callback, + int minInterval, + int maxInterval); - 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 readAcceptedCommandListAttribute( + long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - public void readAutoRelockTimeAttribute( - LongAttributeCallback callback - ) { - readAutoRelockTimeAttribute(chipClusterPtr, callback); - } - public void writeAutoRelockTimeAttribute(DefaultClusterCallback callback, Long value) { - writeAutoRelockTimeAttribute(chipClusterPtr, callback, value, null); - } + private native void subscribeAcceptedCommandListAttribute( + long chipClusterPtr, + AcceptedCommandListAttributeCallback callback, + int minInterval, + int maxInterval); - 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 readEventListAttribute( + long chipClusterPtr, EventListAttributeCallback callback); - public void readSoundVolumeAttribute( - IntegerAttributeCallback callback - ) { - readSoundVolumeAttribute(chipClusterPtr, callback); - } - public void writeSoundVolumeAttribute(DefaultClusterCallback callback, Integer value) { - writeSoundVolumeAttribute(chipClusterPtr, callback, value, null); - } + private native void subscribeEventListAttribute( + long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - 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 readAttributeListAttribute( + long chipClusterPtr, AttributeListAttributeCallback callback); - public void readOperatingModeAttribute( - IntegerAttributeCallback callback - ) { - readOperatingModeAttribute(chipClusterPtr, callback); - } - public void writeOperatingModeAttribute(DefaultClusterCallback callback, Integer value) { - writeOperatingModeAttribute(chipClusterPtr, callback, value, null); - } + private native void subscribeAttributeListAttribute( + long chipClusterPtr, + AttributeListAttributeCallback callback, + int minInterval, + int maxInterval); - 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); - } + private native void readFeatureMapAttribute( + long chipClusterPtr, LongAttributeCallback callback); - public void readSupportedOperatingModesAttribute( - IntegerAttributeCallback callback - ) { - readSupportedOperatingModesAttribute(chipClusterPtr, callback); - } - public void subscribeSupportedOperatingModesAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeSupportedOperatingModesAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeFeatureMapAttribute( + long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - public void readDefaultConfigurationRegisterAttribute( - IntegerAttributeCallback callback - ) { - readDefaultConfigurationRegisterAttribute(chipClusterPtr, callback); - } - public void subscribeDefaultConfigurationRegisterAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeDefaultConfigurationRegisterAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readClusterRevisionAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readEnableLocalProgrammingAttribute( - BooleanAttributeCallback callback - ) { - readEnableLocalProgrammingAttribute(chipClusterPtr, callback); - } - public void writeEnableLocalProgrammingAttribute(DefaultClusterCallback callback, Boolean value) { - writeEnableLocalProgrammingAttribute(chipClusterPtr, callback, value, null); - } + private native void subscribeClusterRevisionAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + } - 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); - } + public static class FixedLabelCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 64L; - public void readEnableOneTouchLockingAttribute( - BooleanAttributeCallback callback - ) { - readEnableOneTouchLockingAttribute(chipClusterPtr, callback); - } - public void writeEnableOneTouchLockingAttribute(DefaultClusterCallback callback, Boolean value) { - writeEnableOneTouchLockingAttribute(chipClusterPtr, callback, value, null); + public FixedLabelCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - 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); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void readEnableInsideStatusLEDAttribute( - BooleanAttributeCallback callback - ) { - readEnableInsideStatusLEDAttribute(chipClusterPtr, callback); - } - public void writeEnableInsideStatusLEDAttribute(DefaultClusterCallback callback, Boolean value) { - writeEnableInsideStatusLEDAttribute(chipClusterPtr, callback, value, null); - } + public interface LabelListAttributeCallback { + void onSuccess(List valueList); - 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); - } + void onError(Exception ex); - public void readEnablePrivacyModeButtonAttribute( - BooleanAttributeCallback callback - ) { - readEnablePrivacyModeButtonAttribute(chipClusterPtr, callback); - } - public void writeEnablePrivacyModeButtonAttribute(DefaultClusterCallback callback, Boolean value) { - writeEnablePrivacyModeButtonAttribute(chipClusterPtr, callback, value, null); + default void onSubscriptionEstablished(long subscriptionId) {} } - 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); - } + public interface GeneratedCommandListAttributeCallback { + void onSuccess(List valueList); - public void readLocalProgrammingFeaturesAttribute( - IntegerAttributeCallback callback - ) { - readLocalProgrammingFeaturesAttribute(chipClusterPtr, callback); - } - public void writeLocalProgrammingFeaturesAttribute(DefaultClusterCallback callback, Integer value) { - writeLocalProgrammingFeaturesAttribute(chipClusterPtr, callback, value, null); - } + void onError(Exception ex); - 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); + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readWrongCodeEntryLimitAttribute( - IntegerAttributeCallback callback - ) { - readWrongCodeEntryLimitAttribute(chipClusterPtr, callback); - } - public void writeWrongCodeEntryLimitAttribute(DefaultClusterCallback callback, Integer value) { - writeWrongCodeEntryLimitAttribute(chipClusterPtr, callback, value, null); - } + public interface AcceptedCommandListAttributeCallback { + void onSuccess(List valueList); - 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); - } + void onError(Exception ex); - public void readUserCodeTemporaryDisableTimeAttribute( - IntegerAttributeCallback callback - ) { - readUserCodeTemporaryDisableTimeAttribute(chipClusterPtr, callback); - } - public void writeUserCodeTemporaryDisableTimeAttribute(DefaultClusterCallback callback, Integer value) { - writeUserCodeTemporaryDisableTimeAttribute(chipClusterPtr, callback, value, null); + default void onSubscriptionEstablished(long subscriptionId) {} } - 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 interface EventListAttributeCallback { + void onSuccess(List valueList); - public void readSendPINOverTheAirAttribute( - BooleanAttributeCallback callback - ) { - readSendPINOverTheAirAttribute(chipClusterPtr, callback); - } - public void writeSendPINOverTheAirAttribute(DefaultClusterCallback callback, Boolean value) { - writeSendPINOverTheAirAttribute(chipClusterPtr, callback, value, null); - } + void onError(Exception ex); - 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); + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readRequirePINforRemoteOperationAttribute( - BooleanAttributeCallback callback - ) { - readRequirePINforRemoteOperationAttribute(chipClusterPtr, callback); - } - public void writeRequirePINforRemoteOperationAttribute(DefaultClusterCallback callback, Boolean value) { - writeRequirePINforRemoteOperationAttribute(chipClusterPtr, callback, value, null); - } + public interface AttributeListAttributeCallback { + void onSuccess(List valueList); - 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); - } + void onError(Exception ex); - public void readExpiringUserTimeoutAttribute( - IntegerAttributeCallback callback - ) { - readExpiringUserTimeoutAttribute(chipClusterPtr, callback); - } - public void writeExpiringUserTimeoutAttribute(DefaultClusterCallback callback, Integer value) { - writeExpiringUserTimeoutAttribute(chipClusterPtr, callback, value, null); + default void onSubscriptionEstablished(long subscriptionId) {} } - public void writeExpiringUserTimeoutAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeExpiringUserTimeoutAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readLabelListAttribute(LabelListAttributeCallback callback) { + readLabelListAttribute(chipClusterPtr, callback); } - public void subscribeExpiringUserTimeoutAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeExpiringUserTimeoutAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeLabelListAttribute( + LabelListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeLabelListAttribute(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 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); + 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 static class WindowCoveringCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 258L; + public static class UserLabelCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 65L; - public WindowCoveringCluster(long devicePtr, int endpointId) { + public UserLabelCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public void upOrOpen(DefaultClusterCallback callback - ) { - upOrOpen(chipClusterPtr, callback, null); + public interface LabelListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void upOrOpen(DefaultClusterCallback callback - - , int timedInvokeTimeoutMs) { - upOrOpen(chipClusterPtr, callback, timedInvokeTimeoutMs); + public interface GeneratedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void downOrClose(DefaultClusterCallback callback - ) { - downOrClose(chipClusterPtr, callback, null); + public interface AcceptedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void downOrClose(DefaultClusterCallback callback - - , int timedInvokeTimeoutMs) { - downOrClose(chipClusterPtr, callback, timedInvokeTimeoutMs); + public interface EventListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void stopMotion(DefaultClusterCallback callback - ) { - stopMotion(chipClusterPtr, callback, null); + public interface AttributeListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void stopMotion(DefaultClusterCallback callback - - , int timedInvokeTimeoutMs) { - stopMotion(chipClusterPtr, callback, timedInvokeTimeoutMs); + public void readLabelListAttribute(LabelListAttributeCallback callback) { + readLabelListAttribute(chipClusterPtr, callback); } - public void goToLiftValue(DefaultClusterCallback callback - , Integer liftValue) { - goToLiftValue(chipClusterPtr, callback, liftValue, null); + public void writeLabelListAttribute( + DefaultClusterCallback callback, ArrayList value) { + writeLabelListAttribute(chipClusterPtr, callback, value, null); } - public void goToLiftValue(DefaultClusterCallback callback - , Integer liftValue - , int timedInvokeTimeoutMs) { - goToLiftValue(chipClusterPtr, callback, liftValue, timedInvokeTimeoutMs); + public void writeLabelListAttribute( + DefaultClusterCallback callback, + ArrayList value, + int timedWriteTimeoutMs) { + writeLabelListAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void goToLiftPercentage(DefaultClusterCallback callback - , Integer liftPercent100thsValue) { - goToLiftPercentage(chipClusterPtr, callback, liftPercent100thsValue, null); + public void subscribeLabelListAttribute( + LabelListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeLabelListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void goToLiftPercentage(DefaultClusterCallback callback - , Integer liftPercent100thsValue - , int timedInvokeTimeoutMs) { - goToLiftPercentage(chipClusterPtr, callback, liftPercent100thsValue, timedInvokeTimeoutMs); + public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void goToTiltValue(DefaultClusterCallback callback - , Integer tiltValue) { - goToTiltValue(chipClusterPtr, callback, tiltValue, null); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void goToTiltValue(DefaultClusterCallback callback - , Integer tiltValue - , int timedInvokeTimeoutMs) { - goToTiltValue(chipClusterPtr, callback, tiltValue, timedInvokeTimeoutMs); + public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void goToTiltPercentage(DefaultClusterCallback callback - , Integer tiltPercent100thsValue) { - goToTiltPercentage(chipClusterPtr, callback, tiltPercent100thsValue, null); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void goToTiltPercentage(DefaultClusterCallback callback - , Integer tiltPercent100thsValue - , int timedInvokeTimeoutMs) { - goToTiltPercentage(chipClusterPtr, callback, tiltPercent100thsValue, timedInvokeTimeoutMs); + public void readEventListAttribute(EventListAttributeCallback callback) { + readEventListAttribute(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 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 readTypeAttribute( - IntegerAttributeCallback callback - ) { - readTypeAttribute(chipClusterPtr, callback); - } - public void subscribeTypeAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeEventListAttribute( + EventListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPhysicalClosedLimitLiftAttribute( - IntegerAttributeCallback callback - ) { - readPhysicalClosedLimitLiftAttribute(chipClusterPtr, callback); - } - public void subscribePhysicalClosedLimitLiftAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePhysicalClosedLimitLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + readAttributeListAttribute(chipClusterPtr, callback); } - public void readPhysicalClosedLimitTiltAttribute( - IntegerAttributeCallback callback - ) { - readPhysicalClosedLimitTiltAttribute(chipClusterPtr, callback); - } - public void subscribePhysicalClosedLimitTiltAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePhysicalClosedLimitTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCurrentPositionLiftAttribute( - CurrentPositionLiftAttributeCallback callback - ) { - readCurrentPositionLiftAttribute(chipClusterPtr, callback); - } - public void subscribeCurrentPositionLiftAttribute( - CurrentPositionLiftAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeCurrentPositionLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readFeatureMapAttribute(LongAttributeCallback callback) { + readFeatureMapAttribute(chipClusterPtr, callback); } - public void readCurrentPositionTiltAttribute( - CurrentPositionTiltAttributeCallback callback - ) { - readCurrentPositionTiltAttribute(chipClusterPtr, callback); - } - public void subscribeCurrentPositionTiltAttribute( - CurrentPositionTiltAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeCurrentPositionTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback, int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNumberOfActuationsLiftAttribute( - IntegerAttributeCallback callback - ) { - readNumberOfActuationsLiftAttribute(chipClusterPtr, callback); - } - 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 subscribeNumberOfActuationsTiltAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeNumberOfActuationsTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readConfigStatusAttribute( - IntegerAttributeCallback callback - ) { - readConfigStatusAttribute(chipClusterPtr, callback); - } - public void subscribeConfigStatusAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeConfigStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readLabelListAttribute( + long chipClusterPtr, LabelListAttributeCallback callback); - public void readCurrentPositionLiftPercentageAttribute( - CurrentPositionLiftPercentageAttributeCallback callback - ) { - readCurrentPositionLiftPercentageAttribute(chipClusterPtr, callback); - } - public void subscribeCurrentPositionLiftPercentageAttribute( - CurrentPositionLiftPercentageAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeCurrentPositionLiftPercentageAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void writeLabelListAttribute( + long chipClusterPtr, + DefaultClusterCallback callback, + ArrayList value, + @Nullable Integer timedWriteTimeoutMs); - public void readCurrentPositionTiltPercentageAttribute( - CurrentPositionTiltPercentageAttributeCallback callback - ) { - readCurrentPositionTiltPercentageAttribute(chipClusterPtr, callback); - } - public void subscribeCurrentPositionTiltPercentageAttribute( - CurrentPositionTiltPercentageAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeCurrentPositionTiltPercentageAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeLabelListAttribute( + long chipClusterPtr, LabelListAttributeCallback callback, int minInterval, int maxInterval); - public void readOperationalStatusAttribute( - IntegerAttributeCallback callback - ) { - readOperationalStatusAttribute(chipClusterPtr, callback); - } - public void subscribeOperationalStatusAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeOperationalStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readGeneratedCommandListAttribute( + long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - public void readTargetPositionLiftPercent100thsAttribute( - TargetPositionLiftPercent100thsAttributeCallback callback - ) { - readTargetPositionLiftPercent100thsAttribute(chipClusterPtr, callback); - } - public void subscribeTargetPositionLiftPercent100thsAttribute( - TargetPositionLiftPercent100thsAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeTargetPositionLiftPercent100thsAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeGeneratedCommandListAttribute( + long chipClusterPtr, + GeneratedCommandListAttributeCallback callback, + int minInterval, + int maxInterval); - public void readTargetPositionTiltPercent100thsAttribute( - TargetPositionTiltPercent100thsAttributeCallback callback - ) { - readTargetPositionTiltPercent100thsAttribute(chipClusterPtr, callback); - } - public void subscribeTargetPositionTiltPercent100thsAttribute( - TargetPositionTiltPercent100thsAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeTargetPositionTiltPercent100thsAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readAcceptedCommandListAttribute( + long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - public void readEndProductTypeAttribute( - IntegerAttributeCallback callback - ) { - readEndProductTypeAttribute(chipClusterPtr, callback); - } - public void subscribeEndProductTypeAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeEndProductTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeAcceptedCommandListAttribute( + long chipClusterPtr, + AcceptedCommandListAttributeCallback callback, + int minInterval, + int maxInterval); - public void readCurrentPositionLiftPercent100thsAttribute( - CurrentPositionLiftPercent100thsAttributeCallback callback - ) { - readCurrentPositionLiftPercent100thsAttribute(chipClusterPtr, callback); - } - public void subscribeCurrentPositionLiftPercent100thsAttribute( - CurrentPositionLiftPercent100thsAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeCurrentPositionLiftPercent100thsAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readEventListAttribute( + long chipClusterPtr, EventListAttributeCallback callback); - public void readCurrentPositionTiltPercent100thsAttribute( - CurrentPositionTiltPercent100thsAttributeCallback callback - ) { - readCurrentPositionTiltPercent100thsAttribute(chipClusterPtr, callback); - } - public void subscribeCurrentPositionTiltPercent100thsAttribute( - CurrentPositionTiltPercent100thsAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeCurrentPositionTiltPercent100thsAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeEventListAttribute( + long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - public void readInstalledOpenLimitLiftAttribute( - IntegerAttributeCallback callback - ) { - readInstalledOpenLimitLiftAttribute(chipClusterPtr, callback); - } - public void subscribeInstalledOpenLimitLiftAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeInstalledOpenLimitLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readAttributeListAttribute( + long chipClusterPtr, AttributeListAttributeCallback callback); - public void readInstalledClosedLimitLiftAttribute( - IntegerAttributeCallback callback - ) { - readInstalledClosedLimitLiftAttribute(chipClusterPtr, callback); - } - public void subscribeInstalledClosedLimitLiftAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeInstalledClosedLimitLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeAttributeListAttribute( + long chipClusterPtr, + AttributeListAttributeCallback callback, + int minInterval, + int maxInterval); - public void readInstalledOpenLimitTiltAttribute( - IntegerAttributeCallback callback - ) { - readInstalledOpenLimitTiltAttribute(chipClusterPtr, callback); - } - public void subscribeInstalledOpenLimitTiltAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeInstalledOpenLimitTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readFeatureMapAttribute( + long chipClusterPtr, LongAttributeCallback callback); - public void readInstalledClosedLimitTiltAttribute( - IntegerAttributeCallback callback - ) { - readInstalledClosedLimitTiltAttribute(chipClusterPtr, callback); - } - public void subscribeInstalledClosedLimitTiltAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeInstalledClosedLimitTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); + 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 readModeAttribute( - IntegerAttributeCallback callback - ) { - readModeAttribute(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 writeModeAttribute(DefaultClusterCallback callback, Integer value) { - writeModeAttribute(chipClusterPtr, callback, value, null); + + public interface AcceptedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void writeModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public interface EventListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeModeAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface AttributeListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readSafetyStatusAttribute( - IntegerAttributeCallback callback - ) { - readSafetyStatusAttribute(chipClusterPtr, callback); + public void readStateValueAttribute(BooleanAttributeCallback callback) { + readStateValueAttribute(chipClusterPtr, callback); } - public void subscribeSafetyStatusAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeSafetyStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + 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 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); + 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 BarrierControlCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 259L; + public static class ModeSelectCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 80L; - public BarrierControlCluster(long devicePtr, int endpointId) { + public ModeSelectCluster(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 void changeToMode(DefaultClusterCallback callback, Integer newMode) { + changeToMode(chipClusterPtr, callback, newMode, null); } - public void barrierControlGoToPercent(DefaultClusterCallback callback - , Integer percentOpen - , int timedInvokeTimeoutMs) { - barrierControlGoToPercent(chipClusterPtr, callback, percentOpen, timedInvokeTimeoutMs); + public void changeToMode( + DefaultClusterCallback callback, Integer newMode, int timedInvokeTimeoutMs) { + changeToMode(chipClusterPtr, callback, newMode, timedInvokeTimeoutMs); } - public void barrierControlStop(DefaultClusterCallback callback - ) { - barrierControlStop(chipClusterPtr, callback, null); + 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 barrierControlStop(DefaultClusterCallback callback - - , int timedInvokeTimeoutMs) { - barrierControlStop(chipClusterPtr, callback, timedInvokeTimeoutMs); + public interface SupportedModesAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - 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 readBarrierMovingStateAttribute( - IntegerAttributeCallback callback - ) { - readBarrierMovingStateAttribute(chipClusterPtr, callback); + public interface StartUpModeAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeBarrierMovingStateAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeBarrierMovingStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface OnModeAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readBarrierSafetyStatusAttribute( - IntegerAttributeCallback callback - ) { - readBarrierSafetyStatusAttribute(chipClusterPtr, callback); + public interface GeneratedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeBarrierSafetyStatusAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeBarrierSafetyStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface AcceptedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readBarrierCapabilitiesAttribute( - IntegerAttributeCallback callback - ) { - readBarrierCapabilitiesAttribute(chipClusterPtr, callback); + public interface EventListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeBarrierCapabilitiesAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeBarrierCapabilitiesAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface AttributeListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readBarrierOpenEventsAttribute( - IntegerAttributeCallback callback - ) { - readBarrierOpenEventsAttribute(chipClusterPtr, callback); + public void readDescriptionAttribute(CharStringAttributeCallback callback) { + readDescriptionAttribute(chipClusterPtr, callback); } - public void writeBarrierOpenEventsAttribute(DefaultClusterCallback callback, Integer value) { - writeBarrierOpenEventsAttribute(chipClusterPtr, callback, value, null); + + public void subscribeDescriptionAttribute( + CharStringAttributeCallback callback, int minInterval, int maxInterval) { + subscribeDescriptionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeBarrierOpenEventsAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeBarrierOpenEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readStandardNamespaceAttribute(StandardNamespaceAttributeCallback callback) { + readStandardNamespaceAttribute(chipClusterPtr, callback); } - public void subscribeBarrierOpenEventsAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeBarrierOpenEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeStandardNamespaceAttribute( + StandardNamespaceAttributeCallback callback, int minInterval, int maxInterval) { + subscribeStandardNamespaceAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBarrierCloseEventsAttribute( - IntegerAttributeCallback callback - ) { - readBarrierCloseEventsAttribute(chipClusterPtr, callback); + public void readSupportedModesAttribute(SupportedModesAttributeCallback callback) { + readSupportedModesAttribute(chipClusterPtr, callback); } - public void writeBarrierCloseEventsAttribute(DefaultClusterCallback callback, Integer value) { - writeBarrierCloseEventsAttribute(chipClusterPtr, callback, value, null); + + public void subscribeSupportedModesAttribute( + SupportedModesAttributeCallback callback, int minInterval, int maxInterval) { + subscribeSupportedModesAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeBarrierCloseEventsAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeBarrierCloseEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readCurrentModeAttribute(IntegerAttributeCallback callback) { + readCurrentModeAttribute(chipClusterPtr, callback); } - public void subscribeBarrierCloseEventsAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeBarrierCloseEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeCurrentModeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeCurrentModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBarrierCommandOpenEventsAttribute( - IntegerAttributeCallback callback - ) { - readBarrierCommandOpenEventsAttribute(chipClusterPtr, callback); + public void readStartUpModeAttribute(StartUpModeAttributeCallback callback) { + readStartUpModeAttribute(chipClusterPtr, callback); } - public void writeBarrierCommandOpenEventsAttribute(DefaultClusterCallback callback, Integer value) { - writeBarrierCommandOpenEventsAttribute(chipClusterPtr, callback, value, null); + + public void writeStartUpModeAttribute(DefaultClusterCallback callback, Integer value) { + writeStartUpModeAttribute(chipClusterPtr, callback, value, null); } - public void writeBarrierCommandOpenEventsAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeBarrierCommandOpenEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeStartUpModeAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeStartUpModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeBarrierCommandOpenEventsAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeBarrierCommandOpenEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeStartUpModeAttribute( + StartUpModeAttributeCallback callback, int minInterval, int maxInterval) { + subscribeStartUpModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBarrierCommandCloseEventsAttribute( - IntegerAttributeCallback callback - ) { - readBarrierCommandCloseEventsAttribute(chipClusterPtr, callback); - } - public void writeBarrierCommandCloseEventsAttribute(DefaultClusterCallback callback, Integer value) { - writeBarrierCommandCloseEventsAttribute(chipClusterPtr, callback, value, null); - } - - public void writeBarrierCommandCloseEventsAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeBarrierCommandCloseEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - public void subscribeBarrierCommandCloseEventsAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeBarrierCommandCloseEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readBarrierOpenPeriodAttribute( - IntegerAttributeCallback callback - ) { - readBarrierOpenPeriodAttribute(chipClusterPtr, callback); - } - public void writeBarrierOpenPeriodAttribute(DefaultClusterCallback callback, Integer value) { - writeBarrierOpenPeriodAttribute(chipClusterPtr, callback, value, null); - } - - public void writeBarrierOpenPeriodAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeBarrierOpenPeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - public void subscribeBarrierOpenPeriodAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeBarrierOpenPeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readOnModeAttribute(OnModeAttributeCallback callback) { + readOnModeAttribute(chipClusterPtr, callback); } - public void readBarrierClosePeriodAttribute( - IntegerAttributeCallback callback - ) { - readBarrierClosePeriodAttribute(chipClusterPtr, callback); - } - public void writeBarrierClosePeriodAttribute(DefaultClusterCallback callback, Integer value) { - writeBarrierClosePeriodAttribute(chipClusterPtr, callback, value, null); + public void writeOnModeAttribute(DefaultClusterCallback callback, Integer value) { + writeOnModeAttribute(chipClusterPtr, callback, value, null); } - public void writeBarrierClosePeriodAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeBarrierClosePeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - public void subscribeBarrierClosePeriodAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeBarrierClosePeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeOnModeAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOnModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readBarrierPositionAttribute( - IntegerAttributeCallback callback - ) { - readBarrierPositionAttribute(chipClusterPtr, callback); - } - public void subscribeBarrierPositionAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeBarrierPositionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeOnModeAttribute( + OnModeAttributeCallback callback, int minInterval, int maxInterval) { + subscribeOnModeAttribute(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 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); + 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); } - public static class PumpConfigurationAndControlCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 512L; + public static class DoorLockCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 257L; - public PumpConfigurationAndControlCluster(long devicePtr, int endpointId) { + public DoorLockCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @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 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) {} - } - - public void readMaxPressureAttribute( - MaxPressureAttributeCallback callback - ) { - readMaxPressureAttribute(chipClusterPtr, callback); + public void lockDoor( + DefaultClusterCallback callback, Optional PINCode, int timedInvokeTimeoutMs) { + lockDoor(chipClusterPtr, callback, PINCode, timedInvokeTimeoutMs); } - public void subscribeMaxPressureAttribute( - MaxPressureAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMaxPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void unlockDoor( + DefaultClusterCallback callback, Optional PINCode, int timedInvokeTimeoutMs) { + unlockDoor(chipClusterPtr, callback, PINCode, timedInvokeTimeoutMs); } - public void readMaxSpeedAttribute( - MaxSpeedAttributeCallback callback - ) { - readMaxSpeedAttribute(chipClusterPtr, callback); + public void unlockWithTimeout( + DefaultClusterCallback callback, + Integer timeout, + Optional PINCode, + int timedInvokeTimeoutMs) { + unlockWithTimeout(chipClusterPtr, callback, timeout, PINCode, timedInvokeTimeoutMs); } - public void subscribeMaxSpeedAttribute( - MaxSpeedAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMaxSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + 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 readMaxFlowAttribute( - MaxFlowAttributeCallback callback - ) { - readMaxFlowAttribute(chipClusterPtr, callback); + public void getWeekDaySchedule( + GetWeekDayScheduleResponseCallback callback, + Integer weekDayIndex, + Integer userIndex, + int timedInvokeTimeoutMs) { + getWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, timedInvokeTimeoutMs); } - public void subscribeMaxFlowAttribute( - MaxFlowAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMaxFlowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void clearWeekDaySchedule( + DefaultClusterCallback callback, Integer weekDayIndex, Integer userIndex) { + clearWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, null); } - public void readMinConstPressureAttribute( - MinConstPressureAttributeCallback callback - ) { - readMinConstPressureAttribute(chipClusterPtr, callback); + public void clearWeekDaySchedule( + DefaultClusterCallback callback, + Integer weekDayIndex, + Integer userIndex, + int timedInvokeTimeoutMs) { + clearWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, timedInvokeTimeoutMs); } - public void subscribeMinConstPressureAttribute( - MinConstPressureAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMinConstPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + 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 readMaxConstPressureAttribute( - MaxConstPressureAttributeCallback callback - ) { - readMaxConstPressureAttribute(chipClusterPtr, callback); + public void getYearDaySchedule( + GetYearDayScheduleResponseCallback callback, + Integer yearDayIndex, + Integer userIndex, + int timedInvokeTimeoutMs) { + getYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, timedInvokeTimeoutMs); } - public void subscribeMaxConstPressureAttribute( - MaxConstPressureAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMaxConstPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void clearYearDaySchedule( + DefaultClusterCallback callback, Integer yearDayIndex, Integer userIndex) { + clearYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, null); } - public void readMinCompPressureAttribute( - MinCompPressureAttributeCallback callback - ) { - readMinCompPressureAttribute(chipClusterPtr, callback); + public void clearYearDaySchedule( + DefaultClusterCallback callback, + Integer yearDayIndex, + Integer userIndex, + int timedInvokeTimeoutMs) { + clearYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, timedInvokeTimeoutMs); } - public void subscribeMinCompPressureAttribute( - MinCompPressureAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMinCompPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + 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 readMaxCompPressureAttribute( - MaxCompPressureAttributeCallback callback - ) { - readMaxCompPressureAttribute(chipClusterPtr, callback); + public void getHolidaySchedule( + GetHolidayScheduleResponseCallback callback, + Integer holidayIndex, + int timedInvokeTimeoutMs) { + getHolidaySchedule(chipClusterPtr, callback, holidayIndex, timedInvokeTimeoutMs); } - public void subscribeMaxCompPressureAttribute( - MaxCompPressureAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMaxCompPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void clearHolidaySchedule(DefaultClusterCallback callback, Integer holidayIndex) { + clearHolidaySchedule(chipClusterPtr, callback, holidayIndex, null); } - public void readMinConstSpeedAttribute( - MinConstSpeedAttributeCallback callback - ) { - readMinConstSpeedAttribute(chipClusterPtr, callback); + public void clearHolidaySchedule( + DefaultClusterCallback callback, Integer holidayIndex, int timedInvokeTimeoutMs) { + clearHolidaySchedule(chipClusterPtr, callback, holidayIndex, timedInvokeTimeoutMs); } - public void subscribeMinConstSpeedAttribute( - MinConstSpeedAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMinConstSpeedAttribute(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 readMaxConstSpeedAttribute( - MaxConstSpeedAttributeCallback callback - ) { - readMaxConstSpeedAttribute(chipClusterPtr, callback); + public void getUser( + GetUserResponseCallback callback, Integer userIndex, int timedInvokeTimeoutMs) { + getUser(chipClusterPtr, callback, userIndex, timedInvokeTimeoutMs); } - public void subscribeMaxConstSpeedAttribute( - MaxConstSpeedAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMaxConstSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void clearUser( + DefaultClusterCallback callback, Integer userIndex, int timedInvokeTimeoutMs) { + clearUser(chipClusterPtr, callback, userIndex, timedInvokeTimeoutMs); } - public void readMinConstFlowAttribute( - MinConstFlowAttributeCallback callback - ) { - readMinConstFlowAttribute(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 subscribeMinConstFlowAttribute( - MinConstFlowAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMinConstFlowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void getCredentialStatus( + GetCredentialStatusResponseCallback callback, + ChipStructs.DoorLockClusterCredentialStruct credential, + int timedInvokeTimeoutMs) { + getCredentialStatus(chipClusterPtr, callback, credential, timedInvokeTimeoutMs); } - public void readMaxConstFlowAttribute( - MaxConstFlowAttributeCallback callback - ) { - readMaxConstFlowAttribute(chipClusterPtr, callback); + public void clearCredential( + DefaultClusterCallback callback, + @Nullable ChipStructs.DoorLockClusterCredentialStruct credential, + int timedInvokeTimeoutMs) { + clearCredential(chipClusterPtr, callback, credential, timedInvokeTimeoutMs); } - public void subscribeMaxConstFlowAttribute( - MaxConstFlowAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMaxConstFlowAttribute(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 readMinConstTempAttribute( - MinConstTempAttributeCallback callback - ) { - readMinConstTempAttribute(chipClusterPtr, callback); + public interface GetYearDayScheduleResponseCallback { + void onSuccess( + Integer yearDayIndex, + Integer userIndex, + Integer status, + Optional localStartTime, + Optional localEndTime); + + void onError(Exception error); } - public void subscribeMinConstTempAttribute( - MinConstTempAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMinConstTempAttribute(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 readMaxConstTempAttribute( - MaxConstTempAttributeCallback callback - ) { - readMaxConstTempAttribute(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 subscribeMaxConstTempAttribute( - MaxConstTempAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMaxConstTempAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface SetCredentialResponseCallback { + void onSuccess( + Integer status, @Nullable Integer userIndex, @Nullable Integer nextCredentialIndex); + + void onError(Exception error); } - public void readPumpStatusAttribute( - IntegerAttributeCallback callback - ) { - readPumpStatusAttribute(chipClusterPtr, callback); + 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 subscribePumpStatusAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePumpStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface LockStateAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readEffectiveOperationModeAttribute( - IntegerAttributeCallback callback - ) { - readEffectiveOperationModeAttribute(chipClusterPtr, callback); + public interface DoorStateAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeEffectiveOperationModeAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeEffectiveOperationModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface GeneratedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readEffectiveControlModeAttribute( - IntegerAttributeCallback callback - ) { - readEffectiveControlModeAttribute(chipClusterPtr, callback); + public interface AcceptedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeEffectiveControlModeAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeEffectiveControlModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface EventListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readCapacityAttribute( - CapacityAttributeCallback callback - ) { - readCapacityAttribute(chipClusterPtr, callback); + public interface AttributeListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeCapacityAttribute( - CapacityAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeCapacityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readLockStateAttribute(LockStateAttributeCallback callback) { + readLockStateAttribute(chipClusterPtr, callback); } - public void readSpeedAttribute( - SpeedAttributeCallback callback - ) { - readSpeedAttribute(chipClusterPtr, callback); + public void subscribeLockStateAttribute( + LockStateAttributeCallback callback, int minInterval, int maxInterval) { + subscribeLockStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeSpeedAttribute( - SpeedAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readLockTypeAttribute(IntegerAttributeCallback callback) { + readLockTypeAttribute(chipClusterPtr, callback); } - public void readLifetimeRunningHoursAttribute( - LifetimeRunningHoursAttributeCallback callback - ) { - readLifetimeRunningHoursAttribute(chipClusterPtr, callback); + public void subscribeLockTypeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeLockTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLifetimeRunningHoursAttribute(DefaultClusterCallback callback, Long value) { - writeLifetimeRunningHoursAttribute(chipClusterPtr, callback, value, null); + + public void readActuatorEnabledAttribute(BooleanAttributeCallback callback) { + readActuatorEnabledAttribute(chipClusterPtr, callback); } - public void writeLifetimeRunningHoursAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeLifetimeRunningHoursAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeActuatorEnabledAttribute( + BooleanAttributeCallback callback, int minInterval, int maxInterval) { + subscribeActuatorEnabledAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeLifetimeRunningHoursAttribute( - LifetimeRunningHoursAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeLifetimeRunningHoursAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readDoorStateAttribute(DoorStateAttributeCallback callback) { + readDoorStateAttribute(chipClusterPtr, callback); } - public void readPowerAttribute( - PowerAttributeCallback callback - ) { - readPowerAttribute(chipClusterPtr, callback); + public void subscribeDoorStateAttribute( + DoorStateAttributeCallback callback, int minInterval, int maxInterval) { + subscribeDoorStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePowerAttribute( - PowerAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readDoorOpenEventsAttribute(LongAttributeCallback callback) { + readDoorOpenEventsAttribute(chipClusterPtr, callback); } - public void readLifetimeEnergyConsumedAttribute( - LifetimeEnergyConsumedAttributeCallback callback - ) { - readLifetimeEnergyConsumedAttribute(chipClusterPtr, callback); + public void writeDoorOpenEventsAttribute(DefaultClusterCallback callback, Long value) { + writeDoorOpenEventsAttribute(chipClusterPtr, callback, value, null); } - public void writeLifetimeEnergyConsumedAttribute(DefaultClusterCallback callback, Long value) { - writeLifetimeEnergyConsumedAttribute(chipClusterPtr, callback, value, null); + + public void writeDoorOpenEventsAttribute( + DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeDoorOpenEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - 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 subscribeDoorOpenEventsAttribute( + LongAttributeCallback callback, int minInterval, int maxInterval) { + subscribeDoorOpenEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOperationModeAttribute( - IntegerAttributeCallback callback - ) { - readOperationModeAttribute(chipClusterPtr, callback); - } - public void writeOperationModeAttribute(DefaultClusterCallback callback, Integer value) { - writeOperationModeAttribute(chipClusterPtr, callback, value, null); + public void readDoorClosedEventsAttribute(LongAttributeCallback callback) { + readDoorClosedEventsAttribute(chipClusterPtr, callback); } - public void writeOperationModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOperationModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeDoorClosedEventsAttribute(DefaultClusterCallback callback, Long value) { + writeDoorClosedEventsAttribute(chipClusterPtr, callback, value, null); } - public void subscribeOperationModeAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeOperationModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeDoorClosedEventsAttribute( + DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeDoorClosedEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readControlModeAttribute( - IntegerAttributeCallback callback - ) { - readControlModeAttribute(chipClusterPtr, callback); + public void subscribeDoorClosedEventsAttribute( + LongAttributeCallback callback, int minInterval, int maxInterval) { + subscribeDoorClosedEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeControlModeAttribute(DefaultClusterCallback callback, Integer value) { - writeControlModeAttribute(chipClusterPtr, callback, value, null); + + public void readOpenPeriodAttribute(IntegerAttributeCallback callback) { + readOpenPeriodAttribute(chipClusterPtr, callback); } - public void writeControlModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeControlModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeOpenPeriodAttribute(DefaultClusterCallback callback, Integer value) { + writeOpenPeriodAttribute(chipClusterPtr, callback, value, null); } - public void subscribeControlModeAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeControlModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeOpenPeriodAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOpenPeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - ) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void subscribeOpenPeriodAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeOpenPeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readNumberOfTotalUsersSupportedAttribute(IntegerAttributeCallback callback) { + readNumberOfTotalUsersSupportedAttribute(chipClusterPtr, callback); } - public void readAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - ) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void subscribeNumberOfTotalUsersSupportedAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeNumberOfTotalUsersSupportedAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readNumberOfPINUsersSupportedAttribute(IntegerAttributeCallback callback) { + readNumberOfPINUsersSupportedAttribute(chipClusterPtr, callback); } - public void readEventListAttribute( - EventListAttributeCallback callback - ) { - readEventListAttribute(chipClusterPtr, callback); + public void subscribeNumberOfPINUsersSupportedAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeNumberOfPINUsersSupportedAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readNumberOfRFIDUsersSupportedAttribute(IntegerAttributeCallback callback) { + readNumberOfRFIDUsersSupportedAttribute(chipClusterPtr, callback); } - public void readAttributeListAttribute( - AttributeListAttributeCallback callback - ) { - readAttributeListAttribute(chipClusterPtr, callback); + public void subscribeNumberOfRFIDUsersSupportedAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeNumberOfRFIDUsersSupportedAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readNumberOfWeekDaySchedulesSupportedPerUserAttribute( + IntegerAttributeCallback callback) { + readNumberOfWeekDaySchedulesSupportedPerUserAttribute(chipClusterPtr, callback); } - public void readFeatureMapAttribute( - LongAttributeCallback callback - ) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void subscribeNumberOfWeekDaySchedulesSupportedPerUserAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeNumberOfWeekDaySchedulesSupportedPerUserAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readNumberOfYearDaySchedulesSupportedPerUserAttribute( + IntegerAttributeCallback callback) { + readNumberOfYearDaySchedulesSupportedPerUserAttribute(chipClusterPtr, callback); } - public void readClusterRevisionAttribute( - IntegerAttributeCallback callback - ) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void subscribeNumberOfYearDaySchedulesSupportedPerUserAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeNumberOfYearDaySchedulesSupportedPerUserAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readNumberOfHolidaySchedulesSupportedAttribute(IntegerAttributeCallback callback) { + readNumberOfHolidaySchedulesSupportedAttribute(chipClusterPtr, callback); } - 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 void subscribeNumberOfHolidaySchedulesSupportedAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeNumberOfHolidaySchedulesSupportedAttribute( + chipClusterPtr, callback, minInterval, maxInterval); + } - public static class ThermostatCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 513L; + public void readMaxPINCodeLengthAttribute(IntegerAttributeCallback callback) { + readMaxPINCodeLengthAttribute(chipClusterPtr, callback); + } - public ThermostatCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void subscribeMaxPINCodeLengthAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMaxPINCodeLengthAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - @Override - public native long initWithDevice(long devicePtr, int endpointId); + public void readMinPINCodeLengthAttribute(IntegerAttributeCallback callback) { + readMinPINCodeLengthAttribute(chipClusterPtr, callback); + } - public void setpointRaiseLower(DefaultClusterCallback callback - , Integer mode, Integer amount) { - setpointRaiseLower(chipClusterPtr, callback, mode, amount, null); + public void subscribeMinPINCodeLengthAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMinPINCodeLengthAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void setpointRaiseLower(DefaultClusterCallback callback - , Integer mode, Integer amount - , int timedInvokeTimeoutMs) { - setpointRaiseLower(chipClusterPtr, callback, mode, amount, timedInvokeTimeoutMs); + public void readMaxRFIDCodeLengthAttribute(IntegerAttributeCallback callback) { + readMaxRFIDCodeLengthAttribute(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 subscribeMaxRFIDCodeLengthAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMaxRFIDCodeLengthAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - 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 readMinRFIDCodeLengthAttribute(IntegerAttributeCallback callback) { + readMinRFIDCodeLengthAttribute(chipClusterPtr, callback); } - public void getWeeklySchedule(GetWeeklyScheduleResponseCallback callback - , Integer daysToReturn, Integer modeToReturn) { - getWeeklySchedule(chipClusterPtr, callback, daysToReturn, modeToReturn, null); + public void subscribeMinRFIDCodeLengthAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMinRFIDCodeLengthAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void getWeeklySchedule(GetWeeklyScheduleResponseCallback callback - , Integer daysToReturn, Integer modeToReturn - , int timedInvokeTimeoutMs) { - getWeeklySchedule(chipClusterPtr, callback, daysToReturn, modeToReturn, timedInvokeTimeoutMs); + public void readCredentialRulesSupportAttribute(IntegerAttributeCallback callback) { + readCredentialRulesSupportAttribute(chipClusterPtr, callback); } - public void clearWeeklySchedule(DefaultClusterCallback callback - ) { - clearWeeklySchedule(chipClusterPtr, callback, null); + public void subscribeCredentialRulesSupportAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeCredentialRulesSupportAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void clearWeeklySchedule(DefaultClusterCallback callback - - , int timedInvokeTimeoutMs) { - clearWeeklySchedule(chipClusterPtr, callback, timedInvokeTimeoutMs); + public void readNumberOfCredentialsSupportedPerUserAttribute( + IntegerAttributeCallback callback) { + readNumberOfCredentialsSupportedPerUserAttribute(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 subscribeNumberOfCredentialsSupportedPerUserAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeNumberOfCredentialsSupportedPerUserAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } + public void readLanguageAttribute(CharStringAttributeCallback callback) { + readLanguageAttribute(chipClusterPtr, callback); + } - 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) {} - } + public void writeLanguageAttribute(DefaultClusterCallback callback, String value) { + writeLanguageAttribute(chipClusterPtr, callback, value, null); + } - public void readLocalTemperatureAttribute( - LocalTemperatureAttributeCallback callback - ) { - readLocalTemperatureAttribute(chipClusterPtr, callback); + public void writeLanguageAttribute( + DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { + writeLanguageAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeLocalTemperatureAttribute( - LocalTemperatureAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeLocalTemperatureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeLanguageAttribute( + CharStringAttributeCallback callback, int minInterval, int maxInterval) { + subscribeLanguageAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOutdoorTemperatureAttribute( - OutdoorTemperatureAttributeCallback callback - ) { - readOutdoorTemperatureAttribute(chipClusterPtr, callback); + public void readLEDSettingsAttribute(IntegerAttributeCallback callback) { + readLEDSettingsAttribute(chipClusterPtr, callback); } - public void subscribeOutdoorTemperatureAttribute( - OutdoorTemperatureAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeOutdoorTemperatureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeLEDSettingsAttribute(DefaultClusterCallback callback, Integer value) { + writeLEDSettingsAttribute(chipClusterPtr, callback, value, null); } - public void readOccupancyAttribute( - IntegerAttributeCallback callback - ) { - readOccupancyAttribute(chipClusterPtr, callback); + public void writeLEDSettingsAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeLEDSettingsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeOccupancyAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeOccupancyAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeLEDSettingsAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeLEDSettingsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAbsMinHeatSetpointLimitAttribute( - IntegerAttributeCallback callback - ) { - readAbsMinHeatSetpointLimitAttribute(chipClusterPtr, callback); + public void readAutoRelockTimeAttribute(LongAttributeCallback callback) { + readAutoRelockTimeAttribute(chipClusterPtr, callback); } - public void subscribeAbsMinHeatSetpointLimitAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAbsMinHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeAutoRelockTimeAttribute(DefaultClusterCallback callback, Long value) { + writeAutoRelockTimeAttribute(chipClusterPtr, callback, value, null); } - public void readAbsMaxHeatSetpointLimitAttribute( - IntegerAttributeCallback callback - ) { - readAbsMaxHeatSetpointLimitAttribute(chipClusterPtr, callback); + public void writeAutoRelockTimeAttribute( + DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeAutoRelockTimeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeAbsMaxHeatSetpointLimitAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAbsMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeAutoRelockTimeAttribute( + LongAttributeCallback callback, int minInterval, int maxInterval) { + subscribeAutoRelockTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAbsMinCoolSetpointLimitAttribute( - IntegerAttributeCallback callback - ) { - readAbsMinCoolSetpointLimitAttribute(chipClusterPtr, callback); + public void readSoundVolumeAttribute(IntegerAttributeCallback callback) { + readSoundVolumeAttribute(chipClusterPtr, callback); } - public void subscribeAbsMinCoolSetpointLimitAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAbsMinCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeSoundVolumeAttribute(DefaultClusterCallback callback, Integer value) { + writeSoundVolumeAttribute(chipClusterPtr, callback, value, null); } - public void readAbsMaxCoolSetpointLimitAttribute( - IntegerAttributeCallback callback - ) { - readAbsMaxCoolSetpointLimitAttribute(chipClusterPtr, callback); + public void writeSoundVolumeAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeSoundVolumeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeAbsMaxCoolSetpointLimitAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAbsMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeSoundVolumeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeSoundVolumeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPICoolingDemandAttribute( - IntegerAttributeCallback callback - ) { - readPICoolingDemandAttribute(chipClusterPtr, callback); + public void readOperatingModeAttribute(IntegerAttributeCallback callback) { + readOperatingModeAttribute(chipClusterPtr, callback); } - public void subscribePICoolingDemandAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePICoolingDemandAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeOperatingModeAttribute(DefaultClusterCallback callback, Integer value) { + writeOperatingModeAttribute(chipClusterPtr, callback, value, null); } - public void readPIHeatingDemandAttribute( - IntegerAttributeCallback callback - ) { - readPIHeatingDemandAttribute(chipClusterPtr, callback); + public void writeOperatingModeAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOperatingModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribePIHeatingDemandAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePIHeatingDemandAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeOperatingModeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeOperatingModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readHVACSystemTypeConfigurationAttribute( - IntegerAttributeCallback callback - ) { - readHVACSystemTypeConfigurationAttribute(chipClusterPtr, callback); + public void readSupportedOperatingModesAttribute(IntegerAttributeCallback callback) { + readSupportedOperatingModesAttribute(chipClusterPtr, callback); } - public void writeHVACSystemTypeConfigurationAttribute(DefaultClusterCallback callback, Integer value) { - writeHVACSystemTypeConfigurationAttribute(chipClusterPtr, callback, value, null); + + public void subscribeSupportedOperatingModesAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeSupportedOperatingModesAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeHVACSystemTypeConfigurationAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeHVACSystemTypeConfigurationAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readDefaultConfigurationRegisterAttribute(IntegerAttributeCallback callback) { + readDefaultConfigurationRegisterAttribute(chipClusterPtr, callback); } - public void subscribeHVACSystemTypeConfigurationAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeHVACSystemTypeConfigurationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeDefaultConfigurationRegisterAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeDefaultConfigurationRegisterAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void readLocalTemperatureCalibrationAttribute( - IntegerAttributeCallback callback - ) { - readLocalTemperatureCalibrationAttribute(chipClusterPtr, callback); + public void readEnableLocalProgrammingAttribute(BooleanAttributeCallback callback) { + readEnableLocalProgrammingAttribute(chipClusterPtr, callback); } - public void writeLocalTemperatureCalibrationAttribute(DefaultClusterCallback callback, Integer value) { - writeLocalTemperatureCalibrationAttribute(chipClusterPtr, callback, value, null); + + public void writeEnableLocalProgrammingAttribute( + DefaultClusterCallback callback, Boolean value) { + writeEnableLocalProgrammingAttribute(chipClusterPtr, callback, value, null); } - public void writeLocalTemperatureCalibrationAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeLocalTemperatureCalibrationAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeEnableLocalProgrammingAttribute( + DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { + writeEnableLocalProgrammingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeLocalTemperatureCalibrationAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeLocalTemperatureCalibrationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeEnableLocalProgrammingAttribute( + BooleanAttributeCallback callback, int minInterval, int maxInterval) { + subscribeEnableLocalProgrammingAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOccupiedCoolingSetpointAttribute( - IntegerAttributeCallback callback - ) { - readOccupiedCoolingSetpointAttribute(chipClusterPtr, callback); + public void readEnableOneTouchLockingAttribute(BooleanAttributeCallback callback) { + readEnableOneTouchLockingAttribute(chipClusterPtr, callback); } - public void writeOccupiedCoolingSetpointAttribute(DefaultClusterCallback callback, Integer value) { - writeOccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, null); + + public void writeEnableOneTouchLockingAttribute( + DefaultClusterCallback callback, Boolean value) { + writeEnableOneTouchLockingAttribute(chipClusterPtr, callback, value, null); } - public void writeOccupiedCoolingSetpointAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeEnableOneTouchLockingAttribute( + DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { + writeEnableOneTouchLockingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeOccupiedCoolingSetpointAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeOccupiedCoolingSetpointAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeEnableOneTouchLockingAttribute( + BooleanAttributeCallback callback, int minInterval, int maxInterval) { + subscribeEnableOneTouchLockingAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOccupiedHeatingSetpointAttribute( - IntegerAttributeCallback callback - ) { - readOccupiedHeatingSetpointAttribute(chipClusterPtr, callback); + public void readEnableInsideStatusLEDAttribute(BooleanAttributeCallback callback) { + readEnableInsideStatusLEDAttribute(chipClusterPtr, callback); } - public void writeOccupiedHeatingSetpointAttribute(DefaultClusterCallback callback, Integer value) { - writeOccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, null); + + public void writeEnableInsideStatusLEDAttribute( + DefaultClusterCallback callback, Boolean value) { + writeEnableInsideStatusLEDAttribute(chipClusterPtr, callback, value, null); } - public void writeOccupiedHeatingSetpointAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeEnableInsideStatusLEDAttribute( + DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { + writeEnableInsideStatusLEDAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeOccupiedHeatingSetpointAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeOccupiedHeatingSetpointAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeEnableInsideStatusLEDAttribute( + BooleanAttributeCallback callback, int minInterval, int maxInterval) { + subscribeEnableInsideStatusLEDAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUnoccupiedCoolingSetpointAttribute( - IntegerAttributeCallback callback - ) { - readUnoccupiedCoolingSetpointAttribute(chipClusterPtr, callback); + public void readEnablePrivacyModeButtonAttribute(BooleanAttributeCallback callback) { + readEnablePrivacyModeButtonAttribute(chipClusterPtr, callback); } - public void writeUnoccupiedCoolingSetpointAttribute(DefaultClusterCallback callback, Integer value) { - writeUnoccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, null); + + public void writeEnablePrivacyModeButtonAttribute( + DefaultClusterCallback callback, Boolean value) { + writeEnablePrivacyModeButtonAttribute(chipClusterPtr, callback, value, null); } - public void writeUnoccupiedCoolingSetpointAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeUnoccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeEnablePrivacyModeButtonAttribute( + DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { + writeEnablePrivacyModeButtonAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeUnoccupiedCoolingSetpointAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeUnoccupiedCoolingSetpointAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeEnablePrivacyModeButtonAttribute( + BooleanAttributeCallback callback, int minInterval, int maxInterval) { + subscribeEnablePrivacyModeButtonAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUnoccupiedHeatingSetpointAttribute( - IntegerAttributeCallback callback - ) { - readUnoccupiedHeatingSetpointAttribute(chipClusterPtr, callback); + public void readLocalProgrammingFeaturesAttribute(IntegerAttributeCallback callback) { + readLocalProgrammingFeaturesAttribute(chipClusterPtr, callback); } - public void writeUnoccupiedHeatingSetpointAttribute(DefaultClusterCallback callback, Integer value) { - writeUnoccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, null); + + public void writeLocalProgrammingFeaturesAttribute( + DefaultClusterCallback callback, Integer value) { + writeLocalProgrammingFeaturesAttribute(chipClusterPtr, callback, value, null); } - public void writeUnoccupiedHeatingSetpointAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeUnoccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeLocalProgrammingFeaturesAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeLocalProgrammingFeaturesAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeUnoccupiedHeatingSetpointAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeUnoccupiedHeatingSetpointAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeLocalProgrammingFeaturesAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeLocalProgrammingFeaturesAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinHeatSetpointLimitAttribute( - IntegerAttributeCallback callback - ) { - readMinHeatSetpointLimitAttribute(chipClusterPtr, callback); - } - public void writeMinHeatSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { - writeMinHeatSetpointLimitAttribute(chipClusterPtr, callback, value, null); + public void readWrongCodeEntryLimitAttribute(IntegerAttributeCallback callback) { + readWrongCodeEntryLimitAttribute(chipClusterPtr, callback); } - public void writeMinHeatSetpointLimitAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeMinHeatSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - public void subscribeMinHeatSetpointLimitAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMinHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeWrongCodeEntryLimitAttribute(DefaultClusterCallback callback, Integer value) { + writeWrongCodeEntryLimitAttribute(chipClusterPtr, callback, value, null); } - public void readMaxHeatSetpointLimitAttribute( - IntegerAttributeCallback callback - ) { - readMaxHeatSetpointLimitAttribute(chipClusterPtr, callback); - } - public void writeMaxHeatSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { - writeMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, value, null); + public void writeWrongCodeEntryLimitAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeWrongCodeEntryLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void writeMaxHeatSetpointLimitAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - public void subscribeMaxHeatSetpointLimitAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeWrongCodeEntryLimitAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeWrongCodeEntryLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinCoolSetpointLimitAttribute( - IntegerAttributeCallback callback - ) { - readMinCoolSetpointLimitAttribute(chipClusterPtr, callback); - } - public void writeMinCoolSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { - writeMinCoolSetpointLimitAttribute(chipClusterPtr, callback, value, null); + public void readUserCodeTemporaryDisableTimeAttribute(IntegerAttributeCallback callback) { + readUserCodeTemporaryDisableTimeAttribute(chipClusterPtr, callback); } - public void writeMinCoolSetpointLimitAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeMinCoolSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - public void subscribeMinCoolSetpointLimitAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMinCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeUserCodeTemporaryDisableTimeAttribute( + DefaultClusterCallback callback, Integer value) { + writeUserCodeTemporaryDisableTimeAttribute(chipClusterPtr, callback, value, null); } - public void readMaxCoolSetpointLimitAttribute( - IntegerAttributeCallback callback - ) { - readMaxCoolSetpointLimitAttribute(chipClusterPtr, callback); - } - public void writeMaxCoolSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { - writeMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, value, null); + public void writeUserCodeTemporaryDisableTimeAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeUserCodeTemporaryDisableTimeAttribute( + chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void writeMaxCoolSetpointLimitAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - public void subscribeMaxCoolSetpointLimitAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeUserCodeTemporaryDisableTimeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeUserCodeTemporaryDisableTimeAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinSetpointDeadBandAttribute( - IntegerAttributeCallback callback - ) { - readMinSetpointDeadBandAttribute(chipClusterPtr, callback); - } - public void writeMinSetpointDeadBandAttribute(DefaultClusterCallback callback, Integer value) { - writeMinSetpointDeadBandAttribute(chipClusterPtr, callback, value, null); + public void readSendPINOverTheAirAttribute(BooleanAttributeCallback callback) { + readSendPINOverTheAirAttribute(chipClusterPtr, callback); } - public void writeMinSetpointDeadBandAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeMinSetpointDeadBandAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - public void subscribeMinSetpointDeadBandAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMinSetpointDeadBandAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeSendPINOverTheAirAttribute(DefaultClusterCallback callback, Boolean value) { + writeSendPINOverTheAirAttribute(chipClusterPtr, callback, value, null); } - public void readRemoteSensingAttribute( - IntegerAttributeCallback callback - ) { - readRemoteSensingAttribute(chipClusterPtr, callback); - } - public void writeRemoteSensingAttribute(DefaultClusterCallback callback, Integer value) { - writeRemoteSensingAttribute(chipClusterPtr, callback, value, null); + public void writeSendPINOverTheAirAttribute( + DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { + writeSendPINOverTheAirAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - 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 subscribeSendPINOverTheAirAttribute( + BooleanAttributeCallback callback, int minInterval, int maxInterval) { + subscribeSendPINOverTheAirAttribute(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 readRequirePINforRemoteOperationAttribute(BooleanAttributeCallback callback) { + readRequirePINforRemoteOperationAttribute(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 writeRequirePINforRemoteOperationAttribute( + DefaultClusterCallback callback, Boolean value) { + writeRequirePINforRemoteOperationAttribute(chipClusterPtr, callback, value, null); } - public void readSystemModeAttribute( - IntegerAttributeCallback callback - ) { - readSystemModeAttribute(chipClusterPtr, callback); - } - public void writeSystemModeAttribute(DefaultClusterCallback callback, Integer value) { - writeSystemModeAttribute(chipClusterPtr, callback, value, null); + public void writeRequirePINforRemoteOperationAttribute( + DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { + writeRequirePINforRemoteOperationAttribute( + chipClusterPtr, callback, value, timedWriteTimeoutMs); } - 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 subscribeRequirePINforRemoteOperationAttribute( + BooleanAttributeCallback callback, int minInterval, int maxInterval) { + subscribeRequirePINforRemoteOperationAttribute( + 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 readExpiringUserTimeoutAttribute(IntegerAttributeCallback callback) { + readExpiringUserTimeoutAttribute(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 writeExpiringUserTimeoutAttribute(DefaultClusterCallback callback, Integer value) { + writeExpiringUserTimeoutAttribute(chipClusterPtr, callback, value, null); } - public void readNumberOfWeeklyTransitionsAttribute( - IntegerAttributeCallback callback - ) { - readNumberOfWeeklyTransitionsAttribute(chipClusterPtr, callback); - } - public void subscribeNumberOfWeeklyTransitionsAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeNumberOfWeeklyTransitionsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeExpiringUserTimeoutAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeExpiringUserTimeoutAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readNumberOfDailyTransitionsAttribute( - IntegerAttributeCallback callback - ) { - readNumberOfDailyTransitionsAttribute(chipClusterPtr, callback); - } - public void subscribeNumberOfDailyTransitionsAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeNumberOfDailyTransitionsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeExpiringUserTimeoutAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeExpiringUserTimeoutAttribute(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 readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + readGeneratedCommandListAttribute(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 subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(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 readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + readAcceptedCommandListAttribute(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 subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readThermostatProgrammingOperationModeAttribute( - IntegerAttributeCallback callback - ) { - readThermostatProgrammingOperationModeAttribute(chipClusterPtr, callback); - } - public void writeThermostatProgrammingOperationModeAttribute(DefaultClusterCallback callback, Integer value) { - writeThermostatProgrammingOperationModeAttribute(chipClusterPtr, callback, value, null); + public void readEventListAttribute(EventListAttributeCallback callback) { + readEventListAttribute(chipClusterPtr, 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); + public void subscribeEventListAttribute( + EventListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readThermostatRunningStateAttribute( - IntegerAttributeCallback callback - ) { - readThermostatRunningStateAttribute(chipClusterPtr, callback); - } - public void subscribeThermostatRunningStateAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeThermostatRunningStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + readAttributeListAttribute(chipClusterPtr, callback); } - public void readSetpointChangeSourceAttribute( - IntegerAttributeCallback callback - ) { - readSetpointChangeSourceAttribute(chipClusterPtr, callback); - } - public void subscribeSetpointChangeSourceAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeSetpointChangeSourceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSetpointChangeAmountAttribute( - SetpointChangeAmountAttributeCallback callback - ) { - readSetpointChangeAmountAttribute(chipClusterPtr, callback); - } - public void subscribeSetpointChangeAmountAttribute( - SetpointChangeAmountAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeSetpointChangeAmountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readFeatureMapAttribute(LongAttributeCallback callback) { + readFeatureMapAttribute(chipClusterPtr, callback); } - public void readSetpointChangeSourceTimestampAttribute( - LongAttributeCallback callback - ) { - readSetpointChangeSourceTimestampAttribute(chipClusterPtr, callback); - } - public void subscribeSetpointChangeSourceTimestampAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeSetpointChangeSourceTimestampAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback, int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOccupiedSetbackAttribute( - OccupiedSetbackAttributeCallback callback - ) { - readOccupiedSetbackAttribute(chipClusterPtr, callback); - } - public void writeOccupiedSetbackAttribute(DefaultClusterCallback callback, Integer value) { - writeOccupiedSetbackAttribute(chipClusterPtr, callback, value, null); + public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - 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 void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOccupiedSetbackMinAttribute( - OccupiedSetbackMinAttributeCallback callback - ) { - readOccupiedSetbackMinAttribute(chipClusterPtr, callback); - } - public void subscribeOccupiedSetbackMinAttribute( - OccupiedSetbackMinAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeOccupiedSetbackMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readLockStateAttribute( + long chipClusterPtr, LockStateAttributeCallback callback); - public void readOccupiedSetbackMaxAttribute( - OccupiedSetbackMaxAttributeCallback callback - ) { - readOccupiedSetbackMaxAttribute(chipClusterPtr, callback); - } - public void subscribeOccupiedSetbackMaxAttribute( - OccupiedSetbackMaxAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeOccupiedSetbackMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeLockStateAttribute( + long chipClusterPtr, LockStateAttributeCallback callback, int minInterval, int maxInterval); - public void readUnoccupiedSetbackAttribute( - UnoccupiedSetbackAttributeCallback callback - ) { - readUnoccupiedSetbackAttribute(chipClusterPtr, callback); - } - public void writeUnoccupiedSetbackAttribute(DefaultClusterCallback callback, Integer value) { - writeUnoccupiedSetbackAttribute(chipClusterPtr, callback, value, null); - } + private native void readLockTypeAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - 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); - } + private native void subscribeLockTypeAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void readUnoccupiedSetbackMinAttribute( - UnoccupiedSetbackMinAttributeCallback callback - ) { - readUnoccupiedSetbackMinAttribute(chipClusterPtr, callback); - } - public void subscribeUnoccupiedSetbackMinAttribute( - UnoccupiedSetbackMinAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeUnoccupiedSetbackMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readActuatorEnabledAttribute( + long chipClusterPtr, BooleanAttributeCallback callback); - public void readUnoccupiedSetbackMaxAttribute( - UnoccupiedSetbackMaxAttributeCallback callback - ) { - readUnoccupiedSetbackMaxAttribute(chipClusterPtr, callback); - } - public void subscribeUnoccupiedSetbackMaxAttribute( - UnoccupiedSetbackMaxAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeUnoccupiedSetbackMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeActuatorEnabledAttribute( + long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - public void readEmergencyHeatDeltaAttribute( - IntegerAttributeCallback callback - ) { - readEmergencyHeatDeltaAttribute(chipClusterPtr, callback); - } - public void writeEmergencyHeatDeltaAttribute(DefaultClusterCallback callback, Integer value) { - writeEmergencyHeatDeltaAttribute(chipClusterPtr, callback, value, null); - } + private native void readDoorStateAttribute( + long chipClusterPtr, DoorStateAttributeCallback callback); - 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); - } + private native void subscribeDoorStateAttribute( + long chipClusterPtr, DoorStateAttributeCallback callback, int minInterval, int maxInterval); - public void readACTypeAttribute( - IntegerAttributeCallback callback - ) { - readACTypeAttribute(chipClusterPtr, callback); - } - public void writeACTypeAttribute(DefaultClusterCallback callback, Integer value) { - writeACTypeAttribute(chipClusterPtr, callback, value, null); - } + private native void readDoorOpenEventsAttribute( + long chipClusterPtr, LongAttributeCallback callback); - 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); - } + private native void writeDoorOpenEventsAttribute( + long chipClusterPtr, + DefaultClusterCallback callback, + Long value, + @Nullable Integer timedWriteTimeoutMs); - public void readACCapacityAttribute( - IntegerAttributeCallback callback - ) { - readACCapacityAttribute(chipClusterPtr, callback); - } - public void writeACCapacityAttribute(DefaultClusterCallback callback, Integer value) { - writeACCapacityAttribute(chipClusterPtr, callback, value, null); - } + private native void subscribeDoorOpenEventsAttribute( + long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - 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); - } + private native void readDoorClosedEventsAttribute( + long chipClusterPtr, LongAttributeCallback callback); - public void readACRefrigerantTypeAttribute( - IntegerAttributeCallback callback - ) { - readACRefrigerantTypeAttribute(chipClusterPtr, callback); - } - public void writeACRefrigerantTypeAttribute(DefaultClusterCallback callback, Integer value) { - writeACRefrigerantTypeAttribute(chipClusterPtr, callback, value, null); - } + private native void writeDoorClosedEventsAttribute( + long chipClusterPtr, + DefaultClusterCallback callback, + Long value, + @Nullable Integer timedWriteTimeoutMs); - 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); - } + private native void subscribeDoorClosedEventsAttribute( + long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - public void readACCompressorTypeAttribute( - IntegerAttributeCallback callback - ) { - readACCompressorTypeAttribute(chipClusterPtr, callback); - } - public void writeACCompressorTypeAttribute(DefaultClusterCallback callback, Integer value) { - writeACCompressorTypeAttribute(chipClusterPtr, callback, value, null); - } + private native void readOpenPeriodAttribute( + long chipClusterPtr, IntegerAttributeCallback 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); - } + private native void writeOpenPeriodAttribute( + long chipClusterPtr, + DefaultClusterCallback callback, + Integer value, + @Nullable Integer timedWriteTimeoutMs); - public void readACErrorCodeAttribute( - LongAttributeCallback callback - ) { - readACErrorCodeAttribute(chipClusterPtr, callback); - } - public void writeACErrorCodeAttribute(DefaultClusterCallback callback, Long value) { - writeACErrorCodeAttribute(chipClusterPtr, callback, value, null); - } + private native void subscribeOpenPeriodAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - 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); - } + private native void readNumberOfTotalUsersSupportedAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readACLouverPositionAttribute( - IntegerAttributeCallback callback - ) { - readACLouverPositionAttribute(chipClusterPtr, callback); - } - public void writeACLouverPositionAttribute(DefaultClusterCallback callback, Integer value) { - writeACLouverPositionAttribute(chipClusterPtr, callback, value, null); - } + private native void subscribeNumberOfTotalUsersSupportedAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - 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); - } + private native void readNumberOfPINUsersSupportedAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readACCoilTemperatureAttribute( - ACCoilTemperatureAttributeCallback callback - ) { - readACCoilTemperatureAttribute(chipClusterPtr, 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 WindowCoveringCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 258L; + + public WindowCoveringCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void subscribeACCoilTemperatureAttribute( - ACCoilTemperatureAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeACCoilTemperatureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + @Override + public native long initWithDevice(long devicePtr, int endpointId); + + public void upOrOpen(DefaultClusterCallback callback) { + upOrOpen(chipClusterPtr, callback, null); } - public void readACCapacityformatAttribute( - IntegerAttributeCallback callback - ) { - readACCapacityformatAttribute(chipClusterPtr, callback); + public void upOrOpen(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { + + upOrOpen(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public void writeACCapacityformatAttribute(DefaultClusterCallback callback, Integer value) { - writeACCapacityformatAttribute(chipClusterPtr, callback, value, null); + + public void downOrClose(DefaultClusterCallback callback) { + downOrClose(chipClusterPtr, callback, null); } - public void writeACCapacityformatAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeACCapacityformatAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void downOrClose(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { + + downOrClose(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public void subscribeACCapacityformatAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeACCapacityformatAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void stopMotion(DefaultClusterCallback callback) { + stopMotion(chipClusterPtr, callback, null); } - public void readGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - ) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void stopMotion(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { + + stopMotion(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void goToLiftValue(DefaultClusterCallback callback, Integer liftValue) { + goToLiftValue(chipClusterPtr, callback, liftValue, null); } - public void readAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - ) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void goToLiftValue( + DefaultClusterCallback callback, Integer liftValue, int timedInvokeTimeoutMs) { + goToLiftValue(chipClusterPtr, callback, liftValue, timedInvokeTimeoutMs); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void goToLiftPercentage( + DefaultClusterCallback callback, Integer liftPercent100thsValue) { + goToLiftPercentage(chipClusterPtr, callback, liftPercent100thsValue, null); } - public void readEventListAttribute( - EventListAttributeCallback callback - ) { - readEventListAttribute(chipClusterPtr, callback); + public void goToLiftPercentage( + DefaultClusterCallback callback, Integer liftPercent100thsValue, int timedInvokeTimeoutMs) { + goToLiftPercentage(chipClusterPtr, callback, liftPercent100thsValue, timedInvokeTimeoutMs); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void goToTiltValue(DefaultClusterCallback callback, Integer tiltValue) { + goToTiltValue(chipClusterPtr, callback, tiltValue, null); } - public void readAttributeListAttribute( - AttributeListAttributeCallback callback - ) { - readAttributeListAttribute(chipClusterPtr, callback); + public void goToTiltValue( + DefaultClusterCallback callback, Integer tiltValue, int timedInvokeTimeoutMs) { + goToTiltValue(chipClusterPtr, callback, tiltValue, timedInvokeTimeoutMs); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void goToTiltPercentage( + DefaultClusterCallback callback, Integer tiltPercent100thsValue) { + goToTiltPercentage(chipClusterPtr, callback, tiltPercent100thsValue, null); } - public void readFeatureMapAttribute( - LongAttributeCallback callback - ) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void goToTiltPercentage( + DefaultClusterCallback callback, Integer tiltPercent100thsValue, int timedInvokeTimeoutMs) { + goToTiltPercentage(chipClusterPtr, callback, tiltPercent100thsValue, timedInvokeTimeoutMs); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + 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 readClusterRevisionAttribute( - IntegerAttributeCallback callback - ) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public interface CurrentPositionTiltAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface CurrentPositionLiftPercentageAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - 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 interface CurrentPositionTiltPercentageAttributeCallback { + void onSuccess(@Nullable Integer value); - public static class FanControlCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 514L; + void onError(Exception ex); - public FanControlCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + default void onSubscriptionEstablished(long subscriptionId) {} } - @Override - public native long initWithDevice(long devicePtr, int endpointId); + public interface TargetPositionLiftPercent100thsAttributeCallback { + void onSuccess(@Nullable Integer value); - 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) {} - } + void onError(Exception ex); - public void readFanModeAttribute( - IntegerAttributeCallback callback - ) { - readFanModeAttribute(chipClusterPtr, callback); + default void onSubscriptionEstablished(long subscriptionId) {} } - public void writeFanModeAttribute(DefaultClusterCallback callback, Integer value) { - writeFanModeAttribute(chipClusterPtr, callback, value, null); + + public interface TargetPositionTiltPercent100thsAttributeCallback { + void onSuccess(@Nullable Integer value); + + 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 CurrentPositionLiftPercent100thsAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeFanModeAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeFanModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface CurrentPositionTiltPercent100thsAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readFanModeSequenceAttribute( - IntegerAttributeCallback callback - ) { - readFanModeSequenceAttribute(chipClusterPtr, callback); + public interface GeneratedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void writeFanModeSequenceAttribute(DefaultClusterCallback callback, Integer value) { - writeFanModeSequenceAttribute(chipClusterPtr, callback, value, null); + + public interface AcceptedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void writeFanModeSequenceAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeFanModeSequenceAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public interface EventListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeFanModeSequenceAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeFanModeSequenceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface AttributeListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readPercentSettingAttribute( - PercentSettingAttributeCallback callback - ) { - readPercentSettingAttribute(chipClusterPtr, callback); + public void readTypeAttribute(IntegerAttributeCallback callback) { + readTypeAttribute(chipClusterPtr, callback); } - public void writePercentSettingAttribute(DefaultClusterCallback callback, Integer value) { - writePercentSettingAttribute(chipClusterPtr, callback, value, null); + + public void subscribeTypeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writePercentSettingAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writePercentSettingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readPhysicalClosedLimitLiftAttribute(IntegerAttributeCallback callback) { + readPhysicalClosedLimitLiftAttribute(chipClusterPtr, callback); } - public void subscribePercentSettingAttribute( - PercentSettingAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribePercentSettingAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribePhysicalClosedLimitLiftAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePhysicalClosedLimitLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPercentCurrentAttribute( - IntegerAttributeCallback callback - ) { - readPercentCurrentAttribute(chipClusterPtr, callback); + public void readPhysicalClosedLimitTiltAttribute(IntegerAttributeCallback callback) { + readPhysicalClosedLimitTiltAttribute(chipClusterPtr, callback); } - public void subscribePercentCurrentAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePercentCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribePhysicalClosedLimitTiltAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePhysicalClosedLimitTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSpeedMaxAttribute( - IntegerAttributeCallback callback - ) { - readSpeedMaxAttribute(chipClusterPtr, callback); + public void readCurrentPositionLiftAttribute(CurrentPositionLiftAttributeCallback callback) { + readCurrentPositionLiftAttribute(chipClusterPtr, callback); } - public void subscribeSpeedMaxAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeSpeedMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeCurrentPositionLiftAttribute( + CurrentPositionLiftAttributeCallback callback, int minInterval, int maxInterval) { + subscribeCurrentPositionLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSpeedSettingAttribute( - SpeedSettingAttributeCallback callback - ) { - readSpeedSettingAttribute(chipClusterPtr, callback); + public void readCurrentPositionTiltAttribute(CurrentPositionTiltAttributeCallback callback) { + readCurrentPositionTiltAttribute(chipClusterPtr, callback); } - public void writeSpeedSettingAttribute(DefaultClusterCallback callback, Integer value) { - writeSpeedSettingAttribute(chipClusterPtr, callback, value, null); + + public void subscribeCurrentPositionTiltAttribute( + CurrentPositionTiltAttributeCallback callback, int minInterval, int maxInterval) { + subscribeCurrentPositionTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeSpeedSettingAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeSpeedSettingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readNumberOfActuationsLiftAttribute(IntegerAttributeCallback callback) { + readNumberOfActuationsLiftAttribute(chipClusterPtr, callback); } - public void subscribeSpeedSettingAttribute( - SpeedSettingAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeSpeedSettingAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeNumberOfActuationsLiftAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeNumberOfActuationsLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSpeedCurrentAttribute( - IntegerAttributeCallback callback - ) { - readSpeedCurrentAttribute(chipClusterPtr, callback); + public void readNumberOfActuationsTiltAttribute(IntegerAttributeCallback callback) { + readNumberOfActuationsTiltAttribute(chipClusterPtr, callback); } - public void subscribeSpeedCurrentAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeSpeedCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeNumberOfActuationsTiltAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeNumberOfActuationsTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRockSupportAttribute( - IntegerAttributeCallback callback - ) { - readRockSupportAttribute(chipClusterPtr, callback); + public void readConfigStatusAttribute(IntegerAttributeCallback callback) { + readConfigStatusAttribute(chipClusterPtr, callback); } - public void subscribeRockSupportAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRockSupportAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeConfigStatusAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeConfigStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRockSettingAttribute( - IntegerAttributeCallback callback - ) { - readRockSettingAttribute(chipClusterPtr, callback); - } - public void writeRockSettingAttribute(DefaultClusterCallback callback, Integer value) { - writeRockSettingAttribute(chipClusterPtr, callback, value, null); + public void readCurrentPositionLiftPercentageAttribute( + CurrentPositionLiftPercentageAttributeCallback callback) { + readCurrentPositionLiftPercentageAttribute(chipClusterPtr, callback); } - 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); + public void subscribeCurrentPositionLiftPercentageAttribute( + CurrentPositionLiftPercentageAttributeCallback callback, int minInterval, int maxInterval) { + subscribeCurrentPositionLiftPercentageAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void readWindSupportAttribute( - IntegerAttributeCallback callback - ) { - readWindSupportAttribute(chipClusterPtr, callback); - } - public void subscribeWindSupportAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeWindSupportAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readCurrentPositionTiltPercentageAttribute( + CurrentPositionTiltPercentageAttributeCallback callback) { + readCurrentPositionTiltPercentageAttribute(chipClusterPtr, callback); } - public void readWindSettingAttribute( - IntegerAttributeCallback callback - ) { - readWindSettingAttribute(chipClusterPtr, callback); - } - public void writeWindSettingAttribute(DefaultClusterCallback callback, Integer value) { - writeWindSettingAttribute(chipClusterPtr, callback, value, null); + public void subscribeCurrentPositionTiltPercentageAttribute( + CurrentPositionTiltPercentageAttributeCallback callback, int minInterval, int maxInterval) { + subscribeCurrentPositionTiltPercentageAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - 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); + public void readOperationalStatusAttribute(IntegerAttributeCallback callback) { + readOperationalStatusAttribute(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 subscribeOperationalStatusAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeOperationalStatusAttribute(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 readTargetPositionLiftPercent100thsAttribute( + TargetPositionLiftPercent100thsAttributeCallback callback) { + readTargetPositionLiftPercent100thsAttribute(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 subscribeTargetPositionLiftPercent100thsAttribute( + TargetPositionLiftPercent100thsAttributeCallback callback, + int minInterval, + int maxInterval) { + subscribeTargetPositionLiftPercent100thsAttribute( + 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 readTargetPositionTiltPercent100thsAttribute( + TargetPositionTiltPercent100thsAttributeCallback callback) { + readTargetPositionTiltPercent100thsAttribute(chipClusterPtr, callback); } - public void readFeatureMapAttribute( - LongAttributeCallback callback - ) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void subscribeTargetPositionTiltPercent100thsAttribute( + TargetPositionTiltPercent100thsAttributeCallback callback, + int minInterval, + int maxInterval) { + subscribeTargetPositionTiltPercent100thsAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readEndProductTypeAttribute(IntegerAttributeCallback callback) { + readEndProductTypeAttribute(chipClusterPtr, callback); } - public void readClusterRevisionAttribute( - IntegerAttributeCallback callback - ) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void subscribeEndProductTypeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeEndProductTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readCurrentPositionLiftPercent100thsAttribute( + CurrentPositionLiftPercent100thsAttributeCallback callback) { + readCurrentPositionLiftPercent100thsAttribute(chipClusterPtr, callback); } - 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 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 subscribeCurrentPositionLiftPercent100thsAttribute( + CurrentPositionLiftPercent100thsAttributeCallback callback, + int minInterval, + int maxInterval) { + subscribeCurrentPositionLiftPercent100thsAttribute( + chipClusterPtr, callback, minInterval, maxInterval); + } - public static class ThermostatUserInterfaceConfigurationCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 516L; + public void readCurrentPositionTiltPercent100thsAttribute( + CurrentPositionTiltPercent100thsAttributeCallback callback) { + readCurrentPositionTiltPercent100thsAttribute(chipClusterPtr, callback); + } - public ThermostatUserInterfaceConfigurationCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void subscribeCurrentPositionTiltPercent100thsAttribute( + CurrentPositionTiltPercent100thsAttributeCallback callback, + int minInterval, + int maxInterval) { + subscribeCurrentPositionTiltPercent100thsAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - @Override - public native long initWithDevice(long devicePtr, int endpointId); + public void readInstalledOpenLimitLiftAttribute(IntegerAttributeCallback callback) { + readInstalledOpenLimitLiftAttribute(chipClusterPtr, 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) {} - } + public void subscribeInstalledOpenLimitLiftAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeInstalledOpenLimitLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public void readTemperatureDisplayModeAttribute( - IntegerAttributeCallback callback - ) { - readTemperatureDisplayModeAttribute(chipClusterPtr, callback); + public void readInstalledClosedLimitLiftAttribute(IntegerAttributeCallback callback) { + readInstalledClosedLimitLiftAttribute(chipClusterPtr, callback); } - public void writeTemperatureDisplayModeAttribute(DefaultClusterCallback callback, Integer value) { - writeTemperatureDisplayModeAttribute(chipClusterPtr, callback, value, null); + + public void subscribeInstalledClosedLimitLiftAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeInstalledClosedLimitLiftAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void writeTemperatureDisplayModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeTemperatureDisplayModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readInstalledOpenLimitTiltAttribute(IntegerAttributeCallback callback) { + readInstalledOpenLimitTiltAttribute(chipClusterPtr, callback); } - public void subscribeTemperatureDisplayModeAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeTemperatureDisplayModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeInstalledOpenLimitTiltAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeInstalledOpenLimitTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readKeypadLockoutAttribute( - IntegerAttributeCallback callback - ) { - readKeypadLockoutAttribute(chipClusterPtr, callback); + public void readInstalledClosedLimitTiltAttribute(IntegerAttributeCallback callback) { + readInstalledClosedLimitTiltAttribute(chipClusterPtr, callback); } - public void writeKeypadLockoutAttribute(DefaultClusterCallback callback, Integer value) { - writeKeypadLockoutAttribute(chipClusterPtr, callback, value, null); + + public void subscribeInstalledClosedLimitTiltAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeInstalledClosedLimitTiltAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void writeKeypadLockoutAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeKeypadLockoutAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readModeAttribute(IntegerAttributeCallback callback) { + readModeAttribute(chipClusterPtr, callback); } - public void subscribeKeypadLockoutAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeKeypadLockoutAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeModeAttribute(DefaultClusterCallback callback, Integer value) { + writeModeAttribute(chipClusterPtr, callback, value, null); } - public void readScheduleProgrammingVisibilityAttribute( - IntegerAttributeCallback callback - ) { - readScheduleProgrammingVisibilityAttribute(chipClusterPtr, callback); + public void writeModeAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void writeScheduleProgrammingVisibilityAttribute(DefaultClusterCallback callback, Integer value) { - writeScheduleProgrammingVisibilityAttribute(chipClusterPtr, callback, value, null); + + public void subscribeModeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeScheduleProgrammingVisibilityAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeScheduleProgrammingVisibilityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readSafetyStatusAttribute(IntegerAttributeCallback callback) { + readSafetyStatusAttribute(chipClusterPtr, callback); } - public void subscribeScheduleProgrammingVisibilityAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeScheduleProgrammingVisibilityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + 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 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 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 ColorControlCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 768L; + public static class BarrierControlCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 259L; - public ColorControlCluster(long devicePtr, int endpointId) { + public BarrierControlCluster(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 barrierControlGoToPercent(DefaultClusterCallback callback, Integer percentOpen) { + barrierControlGoToPercent(chipClusterPtr, callback, percentOpen, 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 barrierControlGoToPercent( + DefaultClusterCallback callback, Integer percentOpen, int timedInvokeTimeoutMs) { + barrierControlGoToPercent(chipClusterPtr, callback, percentOpen, timedInvokeTimeoutMs); } - public void moveHue(DefaultClusterCallback callback - , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride) { - moveHue(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null); + public void barrierControlStop(DefaultClusterCallback callback) { + barrierControlStop(chipClusterPtr, callback, null); } - 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 barrierControlStop(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { + + barrierControlStop(chipClusterPtr, callback, 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); + 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 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 interface AcceptedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void moveToSaturation(DefaultClusterCallback callback - , Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride) { - moveToSaturation(chipClusterPtr, callback, saturation, transitionTime, optionsMask, optionsOverride, null); + public interface EventListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void moveToSaturation(DefaultClusterCallback callback - , Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride - , int timedInvokeTimeoutMs) { - moveToSaturation(chipClusterPtr, callback, saturation, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs); + public interface AttributeListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void moveSaturation(DefaultClusterCallback callback - , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride) { - moveSaturation(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null); + public void readBarrierMovingStateAttribute(IntegerAttributeCallback callback) { + readBarrierMovingStateAttribute(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 subscribeBarrierMovingStateAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeBarrierMovingStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - 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 readBarrierSafetyStatusAttribute(IntegerAttributeCallback callback) { + readBarrierSafetyStatusAttribute(chipClusterPtr, callback); } - 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 subscribeBarrierSafetyStatusAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeBarrierSafetyStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - 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 readBarrierCapabilitiesAttribute(IntegerAttributeCallback callback) { + readBarrierCapabilitiesAttribute(chipClusterPtr, callback); } - 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 subscribeBarrierCapabilitiesAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeBarrierCapabilitiesAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - 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 readBarrierOpenEventsAttribute(IntegerAttributeCallback callback) { + readBarrierOpenEventsAttribute(chipClusterPtr, callback); } - 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 writeBarrierOpenEventsAttribute(DefaultClusterCallback callback, Integer value) { + writeBarrierOpenEventsAttribute(chipClusterPtr, callback, value, null); } - public void moveColor(DefaultClusterCallback callback - , Integer rateX, Integer rateY, Integer optionsMask, Integer optionsOverride) { - moveColor(chipClusterPtr, callback, rateX, rateY, optionsMask, optionsOverride, null); + public void writeBarrierOpenEventsAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierOpenEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - 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 subscribeBarrierOpenEventsAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeBarrierOpenEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - 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 readBarrierCloseEventsAttribute(IntegerAttributeCallback callback) { + readBarrierCloseEventsAttribute(chipClusterPtr, callback); } - 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 writeBarrierCloseEventsAttribute(DefaultClusterCallback callback, Integer value) { + writeBarrierCloseEventsAttribute(chipClusterPtr, callback, value, null); } - public void moveToColorTemperature(DefaultClusterCallback callback - , Integer colorTemperatureMireds, Integer transitionTime, Integer optionsMask, Integer optionsOverride) { - moveToColorTemperature(chipClusterPtr, callback, colorTemperatureMireds, transitionTime, optionsMask, optionsOverride, null); + public void writeBarrierCloseEventsAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierCloseEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - 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 subscribeBarrierCloseEventsAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeBarrierCloseEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - 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 readBarrierCommandOpenEventsAttribute(IntegerAttributeCallback callback) { + readBarrierCommandOpenEventsAttribute(chipClusterPtr, callback); } - 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 writeBarrierCommandOpenEventsAttribute( + DefaultClusterCallback callback, Integer value) { + writeBarrierCommandOpenEventsAttribute(chipClusterPtr, callback, value, null); } - public void enhancedMoveHue(DefaultClusterCallback callback - , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride) { - enhancedMoveHue(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null); + public void writeBarrierCommandOpenEventsAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierCommandOpenEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - 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 subscribeBarrierCommandOpenEventsAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeBarrierCommandOpenEventsAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - 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 readBarrierCommandCloseEventsAttribute(IntegerAttributeCallback callback) { + readBarrierCommandCloseEventsAttribute(chipClusterPtr, callback); } - 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 writeBarrierCommandCloseEventsAttribute( + DefaultClusterCallback callback, Integer value) { + writeBarrierCommandCloseEventsAttribute(chipClusterPtr, callback, value, null); } - 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 writeBarrierCommandCloseEventsAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierCommandCloseEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - 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 subscribeBarrierCommandCloseEventsAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeBarrierCommandCloseEventsAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - 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 readBarrierOpenPeriodAttribute(IntegerAttributeCallback callback) { + readBarrierOpenPeriodAttribute(chipClusterPtr, callback); } - 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 writeBarrierOpenPeriodAttribute(DefaultClusterCallback callback, Integer value) { + writeBarrierOpenPeriodAttribute(chipClusterPtr, callback, value, null); } - public void stopMoveStep(DefaultClusterCallback callback - , Integer optionsMask, Integer optionsOverride) { - stopMoveStep(chipClusterPtr, callback, optionsMask, optionsOverride, null); + public void writeBarrierOpenPeriodAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierOpenPeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void stopMoveStep(DefaultClusterCallback callback - , Integer optionsMask, Integer optionsOverride - , int timedInvokeTimeoutMs) { - stopMoveStep(chipClusterPtr, callback, optionsMask, optionsOverride, timedInvokeTimeoutMs); + public void subscribeBarrierOpenPeriodAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeBarrierOpenPeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - 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 readBarrierClosePeriodAttribute(IntegerAttributeCallback callback) { + readBarrierClosePeriodAttribute(chipClusterPtr, callback); + } - public void readCurrentHueAttribute( - IntegerAttributeCallback callback - ) { - readCurrentHueAttribute(chipClusterPtr, callback); + public void writeBarrierClosePeriodAttribute(DefaultClusterCallback callback, Integer value) { + writeBarrierClosePeriodAttribute(chipClusterPtr, callback, value, null); } - public void subscribeCurrentHueAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeCurrentHueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeBarrierClosePeriodAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierClosePeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readCurrentSaturationAttribute( - IntegerAttributeCallback callback - ) { - readCurrentSaturationAttribute(chipClusterPtr, callback); + public void subscribeBarrierClosePeriodAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeBarrierClosePeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentSaturationAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeCurrentSaturationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readBarrierPositionAttribute(IntegerAttributeCallback callback) { + readBarrierPositionAttribute(chipClusterPtr, callback); } - public void readRemainingTimeAttribute( - IntegerAttributeCallback callback - ) { - readRemainingTimeAttribute(chipClusterPtr, callback); + public void subscribeBarrierPositionAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeBarrierPositionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeRemainingTimeAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRemainingTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void readCurrentXAttribute( - IntegerAttributeCallback callback - ) { - readCurrentXAttribute(chipClusterPtr, callback); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentXAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeCurrentXAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void readCurrentYAttribute( - IntegerAttributeCallback callback - ) { - readCurrentYAttribute(chipClusterPtr, callback); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentYAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeCurrentYAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readEventListAttribute(EventListAttributeCallback callback) { + readEventListAttribute(chipClusterPtr, callback); } - public void readDriftCompensationAttribute( - IntegerAttributeCallback callback - ) { - readDriftCompensationAttribute(chipClusterPtr, callback); + public void subscribeEventListAttribute( + EventListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeDriftCompensationAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeDriftCompensationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + readAttributeListAttribute(chipClusterPtr, callback); } - public void readCompensationTextAttribute( - CharStringAttributeCallback callback - ) { - readCompensationTextAttribute(chipClusterPtr, callback); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCompensationTextAttribute( - CharStringAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeCompensationTextAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readFeatureMapAttribute(LongAttributeCallback callback) { + readFeatureMapAttribute(chipClusterPtr, callback); } - public void readColorTemperatureMiredsAttribute( - IntegerAttributeCallback callback - ) { - readColorTemperatureMiredsAttribute(chipClusterPtr, callback); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback, int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorTemperatureMiredsAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeColorTemperatureMiredsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - public void readColorModeAttribute( - IntegerAttributeCallback callback - ) { - readColorModeAttribute(chipClusterPtr, callback); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorModeAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeColorModeAttribute(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 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 PumpConfigurationAndControlCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 512L; + + public PumpConfigurationAndControlCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void readOptionsAttribute( - IntegerAttributeCallback callback - ) { - readOptionsAttribute(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 writeOptionsAttribute(DefaultClusterCallback callback, Integer value) { - writeOptionsAttribute(chipClusterPtr, callback, value, null); + + public interface MaxSpeedAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void writeOptionsAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOptionsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public interface MaxFlowAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeOptionsAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeOptionsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface MinConstPressureAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readNumberOfPrimariesAttribute( - NumberOfPrimariesAttributeCallback callback - ) { - readNumberOfPrimariesAttribute(chipClusterPtr, callback); + public interface MaxConstPressureAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeNumberOfPrimariesAttribute( - NumberOfPrimariesAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeNumberOfPrimariesAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface MinCompPressureAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readPrimary1XAttribute( - IntegerAttributeCallback callback - ) { - readPrimary1XAttribute(chipClusterPtr, callback); + public interface MaxCompPressureAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribePrimary1XAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePrimary1XAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface MinConstSpeedAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readPrimary1YAttribute( - IntegerAttributeCallback callback - ) { - readPrimary1YAttribute(chipClusterPtr, callback); + public interface MaxConstSpeedAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribePrimary1YAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePrimary1YAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface MinConstFlowAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readPrimary1IntensityAttribute( - Primary1IntensityAttributeCallback callback - ) { - readPrimary1IntensityAttribute(chipClusterPtr, callback); + public interface MaxConstFlowAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribePrimary1IntensityAttribute( - Primary1IntensityAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribePrimary1IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface MinConstTempAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readPrimary2XAttribute( - IntegerAttributeCallback callback - ) { - readPrimary2XAttribute(chipClusterPtr, callback); + public interface MaxConstTempAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribePrimary2XAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePrimary2XAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface CapacityAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readPrimary2YAttribute( - IntegerAttributeCallback callback - ) { - readPrimary2YAttribute(chipClusterPtr, callback); + public interface SpeedAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribePrimary2YAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePrimary2YAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface LifetimeRunningHoursAttributeCallback { + void onSuccess(@Nullable Long value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readPrimary2IntensityAttribute( - Primary2IntensityAttributeCallback callback - ) { - readPrimary2IntensityAttribute(chipClusterPtr, callback); + public interface PowerAttributeCallback { + void onSuccess(@Nullable Long value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribePrimary2IntensityAttribute( - Primary2IntensityAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribePrimary2IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface LifetimeEnergyConsumedAttributeCallback { + void onSuccess(@Nullable Long value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readPrimary3XAttribute( - IntegerAttributeCallback callback - ) { - readPrimary3XAttribute(chipClusterPtr, callback); + public interface GeneratedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribePrimary3XAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePrimary3XAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface AcceptedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readPrimary3YAttribute( - IntegerAttributeCallback callback - ) { - readPrimary3YAttribute(chipClusterPtr, callback); + public interface EventListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribePrimary3YAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePrimary3YAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface AttributeListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readPrimary3IntensityAttribute( - Primary3IntensityAttributeCallback callback - ) { - readPrimary3IntensityAttribute(chipClusterPtr, callback); + public void readMaxPressureAttribute(MaxPressureAttributeCallback callback) { + readMaxPressureAttribute(chipClusterPtr, callback); } - public void subscribePrimary3IntensityAttribute( - Primary3IntensityAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribePrimary3IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeMaxPressureAttribute( + MaxPressureAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMaxPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary4XAttribute( - IntegerAttributeCallback callback - ) { - readPrimary4XAttribute(chipClusterPtr, callback); + public void readMaxSpeedAttribute(MaxSpeedAttributeCallback callback) { + readMaxSpeedAttribute(chipClusterPtr, callback); } - public void subscribePrimary4XAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePrimary4XAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeMaxSpeedAttribute( + MaxSpeedAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMaxSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary4YAttribute( - IntegerAttributeCallback callback - ) { - readPrimary4YAttribute(chipClusterPtr, callback); + public void readMaxFlowAttribute(MaxFlowAttributeCallback callback) { + readMaxFlowAttribute(chipClusterPtr, callback); } - public void subscribePrimary4YAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePrimary4YAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeMaxFlowAttribute( + MaxFlowAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMaxFlowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary4IntensityAttribute( - Primary4IntensityAttributeCallback callback - ) { - readPrimary4IntensityAttribute(chipClusterPtr, callback); + public void readMinConstPressureAttribute(MinConstPressureAttributeCallback callback) { + readMinConstPressureAttribute(chipClusterPtr, callback); } - public void subscribePrimary4IntensityAttribute( - Primary4IntensityAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribePrimary4IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeMinConstPressureAttribute( + MinConstPressureAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMinConstPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary5XAttribute( - IntegerAttributeCallback callback - ) { - readPrimary5XAttribute(chipClusterPtr, callback); + public void readMaxConstPressureAttribute(MaxConstPressureAttributeCallback callback) { + readMaxConstPressureAttribute(chipClusterPtr, callback); } - public void subscribePrimary5XAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePrimary5XAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeMaxConstPressureAttribute( + MaxConstPressureAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMaxConstPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary5YAttribute( - IntegerAttributeCallback callback - ) { - readPrimary5YAttribute(chipClusterPtr, callback); + public void readMinCompPressureAttribute(MinCompPressureAttributeCallback callback) { + readMinCompPressureAttribute(chipClusterPtr, callback); } - public void subscribePrimary5YAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePrimary5YAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeMinCompPressureAttribute( + MinCompPressureAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMinCompPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary5IntensityAttribute( - Primary5IntensityAttributeCallback callback - ) { - readPrimary5IntensityAttribute(chipClusterPtr, callback); + public void readMaxCompPressureAttribute(MaxCompPressureAttributeCallback callback) { + readMaxCompPressureAttribute(chipClusterPtr, callback); } - public void subscribePrimary5IntensityAttribute( - Primary5IntensityAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribePrimary5IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeMaxCompPressureAttribute( + MaxCompPressureAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMaxCompPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary6XAttribute( - IntegerAttributeCallback callback - ) { - readPrimary6XAttribute(chipClusterPtr, callback); - } - public void subscribePrimary6XAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePrimary6XAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMinConstSpeedAttribute(MinConstSpeedAttributeCallback callback) { + readMinConstSpeedAttribute(chipClusterPtr, callback); } - public void readPrimary6YAttribute( - IntegerAttributeCallback callback - ) { - readPrimary6YAttribute(chipClusterPtr, callback); - } - public void subscribePrimary6YAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePrimary6YAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMinConstSpeedAttribute( + MinConstSpeedAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMinConstSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary6IntensityAttribute( - Primary6IntensityAttributeCallback callback - ) { - readPrimary6IntensityAttribute(chipClusterPtr, callback); - } - public void subscribePrimary6IntensityAttribute( - Primary6IntensityAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribePrimary6IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMaxConstSpeedAttribute(MaxConstSpeedAttributeCallback callback) { + readMaxConstSpeedAttribute(chipClusterPtr, callback); } - public void readWhitePointXAttribute( - IntegerAttributeCallback callback - ) { - readWhitePointXAttribute(chipClusterPtr, callback); - } - public void writeWhitePointXAttribute(DefaultClusterCallback callback, Integer value) { - writeWhitePointXAttribute(chipClusterPtr, callback, value, null); + public void subscribeMaxConstSpeedAttribute( + MaxConstSpeedAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMaxConstSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeWhitePointXAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeWhitePointXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - public void subscribeWhitePointXAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeWhitePointXAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMinConstFlowAttribute(MinConstFlowAttributeCallback callback) { + readMinConstFlowAttribute(chipClusterPtr, callback); } - public void readWhitePointYAttribute( - IntegerAttributeCallback callback - ) { - readWhitePointYAttribute(chipClusterPtr, callback); - } - public void writeWhitePointYAttribute(DefaultClusterCallback callback, Integer value) { - writeWhitePointYAttribute(chipClusterPtr, callback, value, null); + public void subscribeMinConstFlowAttribute( + MinConstFlowAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMinConstFlowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeWhitePointYAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeWhitePointYAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - public void subscribeWhitePointYAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeWhitePointYAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMaxConstFlowAttribute(MaxConstFlowAttributeCallback callback) { + readMaxConstFlowAttribute(chipClusterPtr, callback); } - public void readColorPointRXAttribute( - IntegerAttributeCallback callback - ) { - readColorPointRXAttribute(chipClusterPtr, callback); - } - public void writeColorPointRXAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointRXAttribute(chipClusterPtr, callback, value, null); + public void subscribeMaxConstFlowAttribute( + MaxConstFlowAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMaxConstFlowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeColorPointRXAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeColorPointRXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - public void subscribeColorPointRXAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeColorPointRXAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMinConstTempAttribute(MinConstTempAttributeCallback callback) { + readMinConstTempAttribute(chipClusterPtr, callback); } - public void readColorPointRYAttribute( - IntegerAttributeCallback callback - ) { - readColorPointRYAttribute(chipClusterPtr, callback); - } - public void writeColorPointRYAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointRYAttribute(chipClusterPtr, callback, value, null); + public void subscribeMinConstTempAttribute( + MinConstTempAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMinConstTempAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - 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 readMaxConstTempAttribute(MaxConstTempAttributeCallback callback) { + readMaxConstTempAttribute(chipClusterPtr, callback); } - public void readColorPointRIntensityAttribute( - ColorPointRIntensityAttributeCallback callback - ) { - readColorPointRIntensityAttribute(chipClusterPtr, callback); - } - public void writeColorPointRIntensityAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointRIntensityAttribute(chipClusterPtr, callback, value, null); + public void subscribeMaxConstTempAttribute( + MaxConstTempAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMaxConstTempAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - 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 readPumpStatusAttribute(IntegerAttributeCallback callback) { + readPumpStatusAttribute(chipClusterPtr, callback); } - public void readColorPointGXAttribute( - IntegerAttributeCallback callback - ) { - readColorPointGXAttribute(chipClusterPtr, callback); - } - public void writeColorPointGXAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointGXAttribute(chipClusterPtr, callback, value, null); + public void subscribePumpStatusAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePumpStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - 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 readEffectiveOperationModeAttribute(IntegerAttributeCallback callback) { + readEffectiveOperationModeAttribute(chipClusterPtr, callback); } - public void readColorPointGYAttribute( - IntegerAttributeCallback callback - ) { - readColorPointGYAttribute(chipClusterPtr, callback); - } - public void writeColorPointGYAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointGYAttribute(chipClusterPtr, callback, value, null); + public void subscribeEffectiveOperationModeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeEffectiveOperationModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - 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 readEffectiveControlModeAttribute(IntegerAttributeCallback callback) { + readEffectiveControlModeAttribute(chipClusterPtr, callback); } - public void readColorPointGIntensityAttribute( - ColorPointGIntensityAttributeCallback callback - ) { - readColorPointGIntensityAttribute(chipClusterPtr, callback); - } - public void writeColorPointGIntensityAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointGIntensityAttribute(chipClusterPtr, callback, value, null); + public void subscribeEffectiveControlModeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeEffectiveControlModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - 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 readCapacityAttribute(CapacityAttributeCallback callback) { + readCapacityAttribute(chipClusterPtr, callback); } - public void readColorPointBXAttribute( - IntegerAttributeCallback callback - ) { - readColorPointBXAttribute(chipClusterPtr, callback); - } - public void writeColorPointBXAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointBXAttribute(chipClusterPtr, callback, value, null); + public void subscribeCapacityAttribute( + CapacityAttributeCallback callback, int minInterval, int maxInterval) { + subscribeCapacityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - 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 readSpeedAttribute(SpeedAttributeCallback callback) { + readSpeedAttribute(chipClusterPtr, callback); } - public void readColorPointBYAttribute( - IntegerAttributeCallback callback - ) { - readColorPointBYAttribute(chipClusterPtr, callback); - } - public void writeColorPointBYAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointBYAttribute(chipClusterPtr, callback, value, null); + public void subscribeSpeedAttribute( + SpeedAttributeCallback callback, int minInterval, int maxInterval) { + subscribeSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - 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 readLifetimeRunningHoursAttribute(LifetimeRunningHoursAttributeCallback callback) { + readLifetimeRunningHoursAttribute(chipClusterPtr, callback); } - public void readColorPointBIntensityAttribute( - ColorPointBIntensityAttributeCallback callback - ) { - readColorPointBIntensityAttribute(chipClusterPtr, callback); - } - public void writeColorPointBIntensityAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointBIntensityAttribute(chipClusterPtr, callback, value, null); + public void writeLifetimeRunningHoursAttribute(DefaultClusterCallback callback, Long value) { + writeLifetimeRunningHoursAttribute(chipClusterPtr, callback, value, null); } - 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 writeLifetimeRunningHoursAttribute( + DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeLifetimeRunningHoursAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readEnhancedCurrentHueAttribute( - IntegerAttributeCallback callback - ) { - readEnhancedCurrentHueAttribute(chipClusterPtr, callback); - } - public void subscribeEnhancedCurrentHueAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeEnhancedCurrentHueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLifetimeRunningHoursAttribute( + LifetimeRunningHoursAttributeCallback callback, int minInterval, int maxInterval) { + subscribeLifetimeRunningHoursAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEnhancedColorModeAttribute( - IntegerAttributeCallback callback - ) { - readEnhancedColorModeAttribute(chipClusterPtr, callback); - } - public void subscribeEnhancedColorModeAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeEnhancedColorModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPowerAttribute(PowerAttributeCallback callback) { + readPowerAttribute(chipClusterPtr, callback); } - public void readColorLoopActiveAttribute( - IntegerAttributeCallback callback - ) { - readColorLoopActiveAttribute(chipClusterPtr, callback); - } - public void subscribeColorLoopActiveAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeColorLoopActiveAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePowerAttribute( + PowerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readColorLoopDirectionAttribute( - IntegerAttributeCallback callback - ) { - readColorLoopDirectionAttribute(chipClusterPtr, callback); - } - public void subscribeColorLoopDirectionAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeColorLoopDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readLifetimeEnergyConsumedAttribute( + LifetimeEnergyConsumedAttributeCallback callback) { + readLifetimeEnergyConsumedAttribute(chipClusterPtr, callback); } - public void readColorLoopTimeAttribute( - IntegerAttributeCallback callback - ) { - readColorLoopTimeAttribute(chipClusterPtr, callback); - } - public void subscribeColorLoopTimeAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeColorLoopTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeLifetimeEnergyConsumedAttribute(DefaultClusterCallback callback, Long value) { + writeLifetimeEnergyConsumedAttribute(chipClusterPtr, callback, value, null); } - public void readColorLoopStartEnhancedHueAttribute( - IntegerAttributeCallback callback - ) { - readColorLoopStartEnhancedHueAttribute(chipClusterPtr, callback); - } - public void subscribeColorLoopStartEnhancedHueAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeColorLoopStartEnhancedHueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeLifetimeEnergyConsumedAttribute( + DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeLifetimeEnergyConsumedAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readColorLoopStoredEnhancedHueAttribute( - IntegerAttributeCallback callback - ) { - readColorLoopStoredEnhancedHueAttribute(chipClusterPtr, callback); - } - public void subscribeColorLoopStoredEnhancedHueAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeColorLoopStoredEnhancedHueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLifetimeEnergyConsumedAttribute( + LifetimeEnergyConsumedAttributeCallback callback, int minInterval, int maxInterval) { + subscribeLifetimeEnergyConsumedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readColorCapabilitiesAttribute( - IntegerAttributeCallback callback - ) { - readColorCapabilitiesAttribute(chipClusterPtr, callback); - } - public void subscribeColorCapabilitiesAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeColorCapabilitiesAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readOperationModeAttribute(IntegerAttributeCallback callback) { + readOperationModeAttribute(chipClusterPtr, callback); } - public void readColorTempPhysicalMinMiredsAttribute( - IntegerAttributeCallback callback - ) { - readColorTempPhysicalMinMiredsAttribute(chipClusterPtr, callback); - } - public void subscribeColorTempPhysicalMinMiredsAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeColorTempPhysicalMinMiredsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeOperationModeAttribute(DefaultClusterCallback callback, Integer value) { + writeOperationModeAttribute(chipClusterPtr, callback, value, null); } - public void readColorTempPhysicalMaxMiredsAttribute( - IntegerAttributeCallback callback - ) { - readColorTempPhysicalMaxMiredsAttribute(chipClusterPtr, callback); - } - public void subscribeColorTempPhysicalMaxMiredsAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeColorTempPhysicalMaxMiredsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeOperationModeAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOperationModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readCoupleColorTempToLevelMinMiredsAttribute( - IntegerAttributeCallback callback - ) { - readCoupleColorTempToLevelMinMiredsAttribute(chipClusterPtr, callback); - } - public void subscribeCoupleColorTempToLevelMinMiredsAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeCoupleColorTempToLevelMinMiredsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeOperationModeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeOperationModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readStartUpColorTemperatureMiredsAttribute( - StartUpColorTemperatureMiredsAttributeCallback callback - ) { - readStartUpColorTemperatureMiredsAttribute(chipClusterPtr, callback); + public void readControlModeAttribute(IntegerAttributeCallback callback) { + readControlModeAttribute(chipClusterPtr, callback); } - public void writeStartUpColorTemperatureMiredsAttribute(DefaultClusterCallback callback, Integer value) { - writeStartUpColorTemperatureMiredsAttribute(chipClusterPtr, callback, value, null); + + public void writeControlModeAttribute(DefaultClusterCallback callback, Integer value) { + writeControlModeAttribute(chipClusterPtr, callback, value, null); } - public void writeStartUpColorTemperatureMiredsAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeStartUpColorTemperatureMiredsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeControlModeAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeControlModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeStartUpColorTemperatureMiredsAttribute( - StartUpColorTemperatureMiredsAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeStartUpColorTemperatureMiredsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + 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 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 readMaxPressureAttribute( + long chipClusterPtr, MaxPressureAttributeCallback callback); - public static class BallastConfigurationCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 769L; + private native void subscribeMaxPressureAttribute( + long chipClusterPtr, + MaxPressureAttributeCallback callback, + int minInterval, + int maxInterval); - public BallastConfigurationCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } + private native void readMaxSpeedAttribute( + long chipClusterPtr, MaxSpeedAttributeCallback callback); - @Override - public native long initWithDevice(long devicePtr, int endpointId); + private native void subscribeMaxSpeedAttribute( + long chipClusterPtr, MaxSpeedAttributeCallback 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 readMaxFlowAttribute( + long chipClusterPtr, MaxFlowAttributeCallback 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 subscribeMaxFlowAttribute( + long chipClusterPtr, MaxFlowAttributeCallback 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 readMinConstPressureAttribute( + long chipClusterPtr, MinConstPressureAttributeCallback 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 subscribeMinConstPressureAttribute( + long chipClusterPtr, + MinConstPressureAttributeCallback 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 readMaxConstPressureAttribute( + long chipClusterPtr, MaxConstPressureAttributeCallback 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 subscribeMaxConstPressureAttribute( + long chipClusterPtr, + MaxConstPressureAttributeCallback 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 readMinCompPressureAttribute( + long chipClusterPtr, MinCompPressureAttributeCallback 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 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 ThermostatCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 513L; + + public ThermostatCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void readIntrinsicBallastFactorAttribute( - IntrinsicBallastFactorAttributeCallback callback - ) { - readIntrinsicBallastFactorAttribute(chipClusterPtr, callback); + @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 void writeIntrinsicBallastFactorAttribute(DefaultClusterCallback callback, Integer value) { - writeIntrinsicBallastFactorAttribute(chipClusterPtr, callback, value, null); + + public void setpointRaiseLower( + DefaultClusterCallback callback, Integer mode, Integer amount, int timedInvokeTimeoutMs) { + setpointRaiseLower(chipClusterPtr, callback, mode, amount, timedInvokeTimeoutMs); } - public void writeIntrinsicBallastFactorAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeIntrinsicBallastFactorAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + 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 subscribeIntrinsicBallastFactorAttribute( - IntrinsicBallastFactorAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeIntrinsicBallastFactorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void getWeeklySchedule( + GetWeeklyScheduleResponseCallback callback, + Integer daysToReturn, + Integer modeToReturn, + int timedInvokeTimeoutMs) { + getWeeklySchedule(chipClusterPtr, callback, daysToReturn, modeToReturn, timedInvokeTimeoutMs); } - public void readBallastFactorAdjustmentAttribute( - BallastFactorAdjustmentAttributeCallback callback - ) { - readBallastFactorAdjustmentAttribute(chipClusterPtr, callback); + public void clearWeeklySchedule(DefaultClusterCallback callback) { + clearWeeklySchedule(chipClusterPtr, callback, null); } - public void writeBallastFactorAdjustmentAttribute(DefaultClusterCallback callback, Integer value) { - writeBallastFactorAdjustmentAttribute(chipClusterPtr, callback, value, null); + + public void clearWeeklySchedule(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { + + clearWeeklySchedule(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public void writeBallastFactorAdjustmentAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeBallastFactorAdjustmentAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + 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 subscribeBallastFactorAdjustmentAttribute( - BallastFactorAdjustmentAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeBallastFactorAdjustmentAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface LocalTemperatureAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readLampQuantityAttribute( - IntegerAttributeCallback callback - ) { - readLampQuantityAttribute(chipClusterPtr, callback); + public interface OutdoorTemperatureAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeLampQuantityAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeLampQuantityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface TemperatureSetpointHoldDurationAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readLampTypeAttribute( - CharStringAttributeCallback callback - ) { - readLampTypeAttribute(chipClusterPtr, callback); + public interface SetpointChangeAmountAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void writeLampTypeAttribute(DefaultClusterCallback callback, String value) { - writeLampTypeAttribute(chipClusterPtr, callback, value, null); + + public interface OccupiedSetbackAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void writeLampTypeAttribute(DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { - writeLampTypeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public interface OccupiedSetbackMinAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeLampTypeAttribute( - CharStringAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeLampTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface OccupiedSetbackMaxAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readLampManufacturerAttribute( - CharStringAttributeCallback callback - ) { - readLampManufacturerAttribute(chipClusterPtr, callback); + public interface UnoccupiedSetbackAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void writeLampManufacturerAttribute(DefaultClusterCallback callback, String value) { - writeLampManufacturerAttribute(chipClusterPtr, callback, value, null); + + public interface UnoccupiedSetbackMinAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void writeLampManufacturerAttribute(DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { - writeLampManufacturerAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public interface UnoccupiedSetbackMaxAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeLampManufacturerAttribute( - CharStringAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeLampManufacturerAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface ACCoilTemperatureAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readLampRatedHoursAttribute( - LampRatedHoursAttributeCallback callback - ) { - readLampRatedHoursAttribute(chipClusterPtr, callback); + public interface GeneratedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void writeLampRatedHoursAttribute(DefaultClusterCallback callback, Long value) { - writeLampRatedHoursAttribute(chipClusterPtr, callback, value, null); + + public interface AcceptedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void writeLampRatedHoursAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeLampRatedHoursAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public interface EventListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeLampRatedHoursAttribute( - LampRatedHoursAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeLampRatedHoursAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface AttributeListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readLampBurnHoursAttribute( - LampBurnHoursAttributeCallback callback - ) { - readLampBurnHoursAttribute(chipClusterPtr, callback); + public void readLocalTemperatureAttribute(LocalTemperatureAttributeCallback callback) { + readLocalTemperatureAttribute(chipClusterPtr, callback); } - public void writeLampBurnHoursAttribute(DefaultClusterCallback callback, Long value) { - writeLampBurnHoursAttribute(chipClusterPtr, callback, value, null); + + public void subscribeLocalTemperatureAttribute( + LocalTemperatureAttributeCallback callback, int minInterval, int maxInterval) { + subscribeLocalTemperatureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLampBurnHoursAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeLampBurnHoursAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readOutdoorTemperatureAttribute(OutdoorTemperatureAttributeCallback callback) { + readOutdoorTemperatureAttribute(chipClusterPtr, callback); } - public void subscribeLampBurnHoursAttribute( - LampBurnHoursAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeLampBurnHoursAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeOutdoorTemperatureAttribute( + OutdoorTemperatureAttributeCallback callback, int minInterval, int maxInterval) { + subscribeOutdoorTemperatureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLampAlarmModeAttribute( - IntegerAttributeCallback callback - ) { - readLampAlarmModeAttribute(chipClusterPtr, callback); + public void readOccupancyAttribute(IntegerAttributeCallback callback) { + readOccupancyAttribute(chipClusterPtr, callback); } - public void writeLampAlarmModeAttribute(DefaultClusterCallback callback, Integer value) { - writeLampAlarmModeAttribute(chipClusterPtr, callback, value, null); + + public void subscribeOccupancyAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeOccupancyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLampAlarmModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeLampAlarmModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readAbsMinHeatSetpointLimitAttribute(IntegerAttributeCallback callback) { + readAbsMinHeatSetpointLimitAttribute(chipClusterPtr, callback); } - public void subscribeLampAlarmModeAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeLampAlarmModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeAbsMinHeatSetpointLimitAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeAbsMinHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLampBurnHoursTripPointAttribute( - LampBurnHoursTripPointAttributeCallback callback - ) { - readLampBurnHoursTripPointAttribute(chipClusterPtr, callback); + public void readAbsMaxHeatSetpointLimitAttribute(IntegerAttributeCallback callback) { + readAbsMaxHeatSetpointLimitAttribute(chipClusterPtr, callback); } - public void writeLampBurnHoursTripPointAttribute(DefaultClusterCallback callback, Long value) { - writeLampBurnHoursTripPointAttribute(chipClusterPtr, callback, value, null); + + public void subscribeAbsMaxHeatSetpointLimitAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeAbsMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLampBurnHoursTripPointAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeLampBurnHoursTripPointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readAbsMinCoolSetpointLimitAttribute(IntegerAttributeCallback callback) { + readAbsMinCoolSetpointLimitAttribute(chipClusterPtr, callback); } - public void subscribeLampBurnHoursTripPointAttribute( - LampBurnHoursTripPointAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeLampBurnHoursTripPointAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeAbsMinCoolSetpointLimitAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeAbsMinCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - ) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void readAbsMaxCoolSetpointLimitAttribute(IntegerAttributeCallback callback) { + readAbsMaxCoolSetpointLimitAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeAbsMaxCoolSetpointLimitAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeAbsMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - ) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void readPICoolingDemandAttribute(IntegerAttributeCallback callback) { + readPICoolingDemandAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribePICoolingDemandAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePICoolingDemandAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute( - EventListAttributeCallback callback - ) { - readEventListAttribute(chipClusterPtr, callback); + public void readPIHeatingDemandAttribute(IntegerAttributeCallback callback) { + readPIHeatingDemandAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribePIHeatingDemandAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePIHeatingDemandAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute( - AttributeListAttributeCallback callback - ) { - readAttributeListAttribute(chipClusterPtr, callback); + public void readHVACSystemTypeConfigurationAttribute(IntegerAttributeCallback callback) { + readHVACSystemTypeConfigurationAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + 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 subscribeFeatureMapAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeHVACSystemTypeConfigurationAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeHVACSystemTypeConfigurationAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute( - IntegerAttributeCallback callback - ) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void readLocalTemperatureCalibrationAttribute(IntegerAttributeCallback callback) { + readLocalTemperatureCalibrationAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeLocalTemperatureCalibrationAttribute( + DefaultClusterCallback callback, Integer value) { + writeLocalTemperatureCalibrationAttribute(chipClusterPtr, callback, value, null); } - 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); - } + public void writeLocalTemperatureCalibrationAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeLocalTemperatureCalibrationAttribute( + chipClusterPtr, callback, value, timedWriteTimeoutMs); + } - public static class IlluminanceMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1024L; + public void subscribeLocalTemperatureCalibrationAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeLocalTemperatureCalibrationAttribute( + chipClusterPtr, callback, minInterval, maxInterval); + } - public IlluminanceMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void readOccupiedCoolingSetpointAttribute(IntegerAttributeCallback callback) { + readOccupiedCoolingSetpointAttribute(chipClusterPtr, callback); } - @Override - public native long initWithDevice(long devicePtr, int endpointId); + public void writeOccupiedCoolingSetpointAttribute( + DefaultClusterCallback callback, Integer value) { + writeOccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, null); + } - 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) {} - } + public void writeOccupiedCoolingSetpointAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } - public void readMeasuredValueAttribute( - MeasuredValueAttributeCallback callback - ) { - readMeasuredValueAttribute(chipClusterPtr, callback); - } - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeOccupiedCoolingSetpointAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeOccupiedCoolingSetpointAttribute(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 readOccupiedHeatingSetpointAttribute(IntegerAttributeCallback callback) { + readOccupiedHeatingSetpointAttribute(chipClusterPtr, callback); } - public void readMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback - ) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); + public void writeOccupiedHeatingSetpointAttribute( + DefaultClusterCallback callback, Integer value) { + writeOccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, null); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeOccupiedHeatingSetpointAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readToleranceAttribute( - IntegerAttributeCallback callback - ) { - readToleranceAttribute(chipClusterPtr, callback); + public void subscribeOccupiedHeatingSetpointAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeOccupiedHeatingSetpointAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeToleranceAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readUnoccupiedCoolingSetpointAttribute(IntegerAttributeCallback callback) { + readUnoccupiedCoolingSetpointAttribute(chipClusterPtr, callback); } - public void readLightSensorTypeAttribute( - LightSensorTypeAttributeCallback callback - ) { - readLightSensorTypeAttribute(chipClusterPtr, callback); + public void writeUnoccupiedCoolingSetpointAttribute( + DefaultClusterCallback callback, Integer value) { + writeUnoccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, null); } - public void subscribeLightSensorTypeAttribute( - LightSensorTypeAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeLightSensorTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeUnoccupiedCoolingSetpointAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeUnoccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - ) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void subscribeUnoccupiedCoolingSetpointAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeUnoccupiedCoolingSetpointAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readUnoccupiedHeatingSetpointAttribute(IntegerAttributeCallback callback) { + readUnoccupiedHeatingSetpointAttribute(chipClusterPtr, callback); } - public void readAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - ) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void writeUnoccupiedHeatingSetpointAttribute( + DefaultClusterCallback callback, Integer value) { + writeUnoccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, null); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeUnoccupiedHeatingSetpointAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeUnoccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readEventListAttribute( - EventListAttributeCallback callback - ) { - readEventListAttribute(chipClusterPtr, callback); + public void subscribeUnoccupiedHeatingSetpointAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeUnoccupiedHeatingSetpointAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readMinHeatSetpointLimitAttribute(IntegerAttributeCallback callback) { + readMinHeatSetpointLimitAttribute(chipClusterPtr, callback); } - public void readAttributeListAttribute( - AttributeListAttributeCallback callback - ) { - readAttributeListAttribute(chipClusterPtr, callback); + public void writeMinHeatSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { + writeMinHeatSetpointLimitAttribute(chipClusterPtr, callback, value, null); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeMinHeatSetpointLimitAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeMinHeatSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readFeatureMapAttribute( - LongAttributeCallback callback - ) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void subscribeMinHeatSetpointLimitAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMinHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readMaxHeatSetpointLimitAttribute(IntegerAttributeCallback callback) { + readMaxHeatSetpointLimitAttribute(chipClusterPtr, callback); } - public void readClusterRevisionAttribute( - IntegerAttributeCallback callback - ) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void writeMaxHeatSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { + writeMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, value, null); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeMaxHeatSetpointLimitAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeMaxHeatSetpointLimitAttribute(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 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 subscribeMaxHeatSetpointLimitAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public static class TemperatureMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1026L; + public void readMinCoolSetpointLimitAttribute(IntegerAttributeCallback callback) { + readMinCoolSetpointLimitAttribute(chipClusterPtr, callback); + } - public TemperatureMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void writeMinCoolSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { + writeMinCoolSetpointLimitAttribute(chipClusterPtr, callback, value, null); } - @Override - public native long initWithDevice(long devicePtr, int endpointId); + public void writeMinCoolSetpointLimitAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeMinCoolSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } - 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 subscribeMinCoolSetpointLimitAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMinCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public void readMeasuredValueAttribute( - MeasuredValueAttributeCallback callback - ) { - readMeasuredValueAttribute(chipClusterPtr, callback); + public void readMaxCoolSetpointLimitAttribute(IntegerAttributeCallback callback) { + readMaxCoolSetpointLimitAttribute(chipClusterPtr, callback); } - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeMaxCoolSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { + writeMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, value, null); } - public void readMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback - ) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); + public void writeMaxCoolSetpointLimitAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeMaxCoolSetpointLimitAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback - ) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); + public void readMinSetpointDeadBandAttribute(IntegerAttributeCallback callback) { + readMinSetpointDeadBandAttribute(chipClusterPtr, callback); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeMinSetpointDeadBandAttribute(DefaultClusterCallback callback, Integer value) { + writeMinSetpointDeadBandAttribute(chipClusterPtr, callback, value, null); } - public void readToleranceAttribute( - IntegerAttributeCallback callback - ) { - readToleranceAttribute(chipClusterPtr, callback); + public void writeMinSetpointDeadBandAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeMinSetpointDeadBandAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeToleranceAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeMinSetpointDeadBandAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMinSetpointDeadBandAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - ) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void readRemoteSensingAttribute(IntegerAttributeCallback callback) { + readRemoteSensingAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeRemoteSensingAttribute(DefaultClusterCallback callback, Integer value) { + writeRemoteSensingAttribute(chipClusterPtr, callback, value, null); } - public void readAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - ) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void writeRemoteSensingAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeRemoteSensingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeRemoteSensingAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeRemoteSensingAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute( - EventListAttributeCallback callback - ) { - readEventListAttribute(chipClusterPtr, callback); + public void readControlSequenceOfOperationAttribute(IntegerAttributeCallback callback) { + readControlSequenceOfOperationAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeControlSequenceOfOperationAttribute( + DefaultClusterCallback callback, Integer value) { + writeControlSequenceOfOperationAttribute(chipClusterPtr, callback, value, null); } - public void readAttributeListAttribute( - AttributeListAttributeCallback callback - ) { - readAttributeListAttribute(chipClusterPtr, callback); + public void writeControlSequenceOfOperationAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeControlSequenceOfOperationAttribute( + chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeControlSequenceOfOperationAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeControlSequenceOfOperationAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute( - LongAttributeCallback callback - ) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void readSystemModeAttribute(IntegerAttributeCallback callback) { + readSystemModeAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeSystemModeAttribute(DefaultClusterCallback callback, Integer value) { + writeSystemModeAttribute(chipClusterPtr, callback, value, null); } - public void readClusterRevisionAttribute( - IntegerAttributeCallback callback - ) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void writeSystemModeAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeSystemModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeSystemModeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeSystemModeAttribute(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); - } + public void readThermostatRunningModeAttribute(IntegerAttributeCallback callback) { + readThermostatRunningModeAttribute(chipClusterPtr, callback); + } - public static class PressureMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1027L; + public void subscribeThermostatRunningModeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeThermostatRunningModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public PressureMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void readStartOfWeekAttribute(IntegerAttributeCallback callback) { + readStartOfWeekAttribute(chipClusterPtr, callback); } - @Override - public native long initWithDevice(long devicePtr, int endpointId); + public void subscribeStartOfWeekAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeStartOfWeekAttribute(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 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 readNumberOfWeeklyTransitionsAttribute(IntegerAttributeCallback callback) { + readNumberOfWeeklyTransitionsAttribute(chipClusterPtr, callback); + } - public void readMeasuredValueAttribute( - MeasuredValueAttributeCallback callback - ) { - readMeasuredValueAttribute(chipClusterPtr, callback); + public void subscribeNumberOfWeeklyTransitionsAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeNumberOfWeeklyTransitionsAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readNumberOfDailyTransitionsAttribute(IntegerAttributeCallback callback) { + readNumberOfDailyTransitionsAttribute(chipClusterPtr, callback); } - public void readMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback - ) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); + public void subscribeNumberOfDailyTransitionsAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeNumberOfDailyTransitionsAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readTemperatureSetpointHoldAttribute(IntegerAttributeCallback callback) { + readTemperatureSetpointHoldAttribute(chipClusterPtr, callback); } - public void readMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback - ) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); + public void writeTemperatureSetpointHoldAttribute( + DefaultClusterCallback callback, Integer value) { + writeTemperatureSetpointHoldAttribute(chipClusterPtr, callback, value, null); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeTemperatureSetpointHoldAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeTemperatureSetpointHoldAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readToleranceAttribute( - IntegerAttributeCallback callback - ) { - readToleranceAttribute(chipClusterPtr, callback); + public void subscribeTemperatureSetpointHoldAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeTemperatureSetpointHoldAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeToleranceAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readTemperatureSetpointHoldDurationAttribute( + TemperatureSetpointHoldDurationAttributeCallback callback) { + readTemperatureSetpointHoldDurationAttribute(chipClusterPtr, callback); } - public void readScaledValueAttribute( - ScaledValueAttributeCallback callback - ) { - readScaledValueAttribute(chipClusterPtr, callback); + public void writeTemperatureSetpointHoldDurationAttribute( + DefaultClusterCallback callback, Integer value) { + writeTemperatureSetpointHoldDurationAttribute(chipClusterPtr, callback, value, null); } - public void subscribeScaledValueAttribute( - ScaledValueAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeScaledValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeTemperatureSetpointHoldDurationAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeTemperatureSetpointHoldDurationAttribute( + chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readMinScaledValueAttribute( - MinScaledValueAttributeCallback callback - ) { - readMinScaledValueAttribute(chipClusterPtr, callback); + public void subscribeTemperatureSetpointHoldDurationAttribute( + TemperatureSetpointHoldDurationAttributeCallback callback, + int minInterval, + int maxInterval) { + subscribeTemperatureSetpointHoldDurationAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMinScaledValueAttribute( - MinScaledValueAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMinScaledValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readThermostatProgrammingOperationModeAttribute(IntegerAttributeCallback callback) { + readThermostatProgrammingOperationModeAttribute(chipClusterPtr, callback); } - public void readMaxScaledValueAttribute( - MaxScaledValueAttributeCallback callback - ) { - readMaxScaledValueAttribute(chipClusterPtr, callback); + public void writeThermostatProgrammingOperationModeAttribute( + DefaultClusterCallback callback, Integer value) { + writeThermostatProgrammingOperationModeAttribute(chipClusterPtr, callback, value, null); } - public void subscribeMaxScaledValueAttribute( - MaxScaledValueAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMaxScaledValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeThermostatProgrammingOperationModeAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeThermostatProgrammingOperationModeAttribute( + chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readScaledToleranceAttribute( - IntegerAttributeCallback callback - ) { - readScaledToleranceAttribute(chipClusterPtr, callback); + public void subscribeThermostatProgrammingOperationModeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeThermostatProgrammingOperationModeAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeScaledToleranceAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeScaledToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readThermostatRunningStateAttribute(IntegerAttributeCallback callback) { + readThermostatRunningStateAttribute(chipClusterPtr, callback); } - public void readScaleAttribute( - IntegerAttributeCallback callback - ) { - readScaleAttribute(chipClusterPtr, callback); + public void subscribeThermostatRunningStateAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeThermostatRunningStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeScaleAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeScaleAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readSetpointChangeSourceAttribute(IntegerAttributeCallback callback) { + readSetpointChangeSourceAttribute(chipClusterPtr, callback); } - public void readGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - ) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void subscribeSetpointChangeSourceAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeSetpointChangeSourceAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readSetpointChangeAmountAttribute(SetpointChangeAmountAttributeCallback callback) { + readSetpointChangeAmountAttribute(chipClusterPtr, callback); } - public void readAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - ) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void subscribeSetpointChangeAmountAttribute( + SetpointChangeAmountAttributeCallback callback, int minInterval, int maxInterval) { + subscribeSetpointChangeAmountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readSetpointChangeSourceTimestampAttribute(LongAttributeCallback callback) { + readSetpointChangeSourceTimestampAttribute(chipClusterPtr, callback); } - public void readEventListAttribute( - EventListAttributeCallback callback - ) { - readEventListAttribute(chipClusterPtr, callback); + public void subscribeSetpointChangeSourceTimestampAttribute( + LongAttributeCallback callback, int minInterval, int maxInterval) { + subscribeSetpointChangeSourceTimestampAttribute( + chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readOccupiedSetbackAttribute(OccupiedSetbackAttributeCallback callback) { + readOccupiedSetbackAttribute(chipClusterPtr, callback); } - public void readAttributeListAttribute( - AttributeListAttributeCallback callback - ) { - readAttributeListAttribute(chipClusterPtr, callback); + public void writeOccupiedSetbackAttribute(DefaultClusterCallback callback, Integer value) { + writeOccupiedSetbackAttribute(chipClusterPtr, callback, value, null); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeOccupiedSetbackAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOccupiedSetbackAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readFeatureMapAttribute( - LongAttributeCallback callback - ) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void subscribeOccupiedSetbackAttribute( + OccupiedSetbackAttributeCallback callback, int minInterval, int maxInterval) { + subscribeOccupiedSetbackAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readOccupiedSetbackMinAttribute(OccupiedSetbackMinAttributeCallback callback) { + readOccupiedSetbackMinAttribute(chipClusterPtr, callback); } - public void readClusterRevisionAttribute( - IntegerAttributeCallback callback - ) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void subscribeOccupiedSetbackMinAttribute( + OccupiedSetbackMinAttributeCallback callback, int minInterval, int maxInterval) { + subscribeOccupiedSetbackMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readOccupiedSetbackMaxAttribute(OccupiedSetbackMaxAttributeCallback callback) { + readOccupiedSetbackMaxAttribute(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 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 void subscribeOccupiedSetbackMaxAttribute( + OccupiedSetbackMaxAttributeCallback callback, int minInterval, int maxInterval) { + subscribeOccupiedSetbackMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public static class FlowMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1028L; + public void readUnoccupiedSetbackAttribute(UnoccupiedSetbackAttributeCallback callback) { + readUnoccupiedSetbackAttribute(chipClusterPtr, callback); + } - public FlowMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void writeUnoccupiedSetbackAttribute(DefaultClusterCallback callback, Integer value) { + writeUnoccupiedSetbackAttribute(chipClusterPtr, callback, value, null); } - @Override - public native long initWithDevice(long devicePtr, int endpointId); + public void writeUnoccupiedSetbackAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeUnoccupiedSetbackAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } - 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 subscribeUnoccupiedSetbackAttribute( + UnoccupiedSetbackAttributeCallback callback, int minInterval, int maxInterval) { + subscribeUnoccupiedSetbackAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public void readMeasuredValueAttribute( - MeasuredValueAttributeCallback callback - ) { - readMeasuredValueAttribute(chipClusterPtr, callback); + public void readUnoccupiedSetbackMinAttribute(UnoccupiedSetbackMinAttributeCallback callback) { + readUnoccupiedSetbackMinAttribute(chipClusterPtr, callback); } - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeUnoccupiedSetbackMinAttribute( + UnoccupiedSetbackMinAttributeCallback callback, int minInterval, int maxInterval) { + subscribeUnoccupiedSetbackMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback - ) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); + public void readUnoccupiedSetbackMaxAttribute(UnoccupiedSetbackMaxAttributeCallback callback) { + readUnoccupiedSetbackMaxAttribute(chipClusterPtr, callback); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeUnoccupiedSetbackMaxAttribute( + UnoccupiedSetbackMaxAttributeCallback callback, int minInterval, int maxInterval) { + subscribeUnoccupiedSetbackMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback - ) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); + public void readEmergencyHeatDeltaAttribute(IntegerAttributeCallback callback) { + readEmergencyHeatDeltaAttribute(chipClusterPtr, callback); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeEmergencyHeatDeltaAttribute(DefaultClusterCallback callback, Integer value) { + writeEmergencyHeatDeltaAttribute(chipClusterPtr, callback, value, null); } - public void readToleranceAttribute( - IntegerAttributeCallback callback - ) { - readToleranceAttribute(chipClusterPtr, callback); + public void writeEmergencyHeatDeltaAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeEmergencyHeatDeltaAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeToleranceAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeEmergencyHeatDeltaAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeEmergencyHeatDeltaAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - ) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void readACTypeAttribute(IntegerAttributeCallback callback) { + readACTypeAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeACTypeAttribute(DefaultClusterCallback callback, Integer value) { + writeACTypeAttribute(chipClusterPtr, callback, value, null); } - public void readAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - ) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void writeACTypeAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeACTypeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeACTypeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeACTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute( - EventListAttributeCallback callback - ) { - readEventListAttribute(chipClusterPtr, callback); + public void readACCapacityAttribute(IntegerAttributeCallback callback) { + readACCapacityAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeACCapacityAttribute(DefaultClusterCallback callback, Integer value) { + writeACCapacityAttribute(chipClusterPtr, callback, value, null); } - public void readAttributeListAttribute( - AttributeListAttributeCallback callback - ) { - readAttributeListAttribute(chipClusterPtr, callback); + public void writeACCapacityAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeACCapacityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeACCapacityAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeACCapacityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute( - LongAttributeCallback callback - ) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void readACRefrigerantTypeAttribute(IntegerAttributeCallback callback) { + readACRefrigerantTypeAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeACRefrigerantTypeAttribute(DefaultClusterCallback callback, Integer value) { + writeACRefrigerantTypeAttribute(chipClusterPtr, callback, value, null); } - public void readClusterRevisionAttribute( - IntegerAttributeCallback callback - ) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void writeACRefrigerantTypeAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeACRefrigerantTypeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeACRefrigerantTypeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeACRefrigerantTypeAttribute(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); - } + public void readACCompressorTypeAttribute(IntegerAttributeCallback callback) { + readACCompressorTypeAttribute(chipClusterPtr, callback); + } - public static class RelativeHumidityMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1029L; + public void writeACCompressorTypeAttribute(DefaultClusterCallback callback, Integer value) { + writeACCompressorTypeAttribute(chipClusterPtr, callback, value, null); + } - public RelativeHumidityMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void writeACCompressorTypeAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeACCompressorTypeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - @Override - public native long initWithDevice(long devicePtr, int endpointId); + public void subscribeACCompressorTypeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeACCompressorTypeAttribute(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 readACErrorCodeAttribute(LongAttributeCallback callback) { + readACErrorCodeAttribute(chipClusterPtr, callback); + } - public void readMeasuredValueAttribute( - MeasuredValueAttributeCallback callback - ) { - readMeasuredValueAttribute(chipClusterPtr, callback); + public void writeACErrorCodeAttribute(DefaultClusterCallback callback, Long value) { + writeACErrorCodeAttribute(chipClusterPtr, callback, value, null); } - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeACErrorCodeAttribute( + DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeACErrorCodeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback - ) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); + public void subscribeACErrorCodeAttribute( + LongAttributeCallback callback, int minInterval, int maxInterval) { + subscribeACErrorCodeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readACLouverPositionAttribute(IntegerAttributeCallback callback) { + readACLouverPositionAttribute(chipClusterPtr, callback); } - public void readMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback - ) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); + public void writeACLouverPositionAttribute(DefaultClusterCallback callback, Integer value) { + writeACLouverPositionAttribute(chipClusterPtr, callback, value, null); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeACLouverPositionAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeACLouverPositionAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readToleranceAttribute( - IntegerAttributeCallback callback - ) { - readToleranceAttribute(chipClusterPtr, callback); + public void subscribeACLouverPositionAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeACLouverPositionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeToleranceAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeToleranceAttribute(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 readACCapacityformatAttribute(IntegerAttributeCallback callback) { + readACCapacityformatAttribute(chipClusterPtr, callback); + } + + public void writeACCapacityformatAttribute(DefaultClusterCallback callback, Integer value) { + writeACCapacityformatAttribute(chipClusterPtr, callback, value, null); + } + + 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 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 readLocalTemperatureAttribute( + long chipClusterPtr, LocalTemperatureAttributeCallback callback); - public static class OccupancySensingCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1030L; + private native void subscribeLocalTemperatureAttribute( + long chipClusterPtr, + LocalTemperatureAttributeCallback callback, + int minInterval, + int maxInterval); - public OccupancySensingCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } + private native void readOutdoorTemperatureAttribute( + long chipClusterPtr, OutdoorTemperatureAttributeCallback callback); - @Override - public native long initWithDevice(long devicePtr, int endpointId); + private native void subscribeOutdoorTemperatureAttribute( + long chipClusterPtr, + OutdoorTemperatureAttributeCallback 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 readOccupancyAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readOccupancyAttribute( - IntegerAttributeCallback callback - ) { - readOccupancyAttribute(chipClusterPtr, callback); - } - public void subscribeOccupancyAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeOccupancyAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeOccupancyAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void readOccupancySensorTypeAttribute( - IntegerAttributeCallback callback - ) { - readOccupancySensorTypeAttribute(chipClusterPtr, callback); - } - public void subscribeOccupancySensorTypeAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeOccupancySensorTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readAbsMinHeatSetpointLimitAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readOccupancySensorTypeBitmapAttribute( - IntegerAttributeCallback callback - ) { - readOccupancySensorTypeBitmapAttribute(chipClusterPtr, callback); - } - public void subscribeOccupancySensorTypeBitmapAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeOccupancySensorTypeBitmapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeAbsMinHeatSetpointLimitAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void readPIROccupiedToUnoccupiedDelayAttribute( - IntegerAttributeCallback callback - ) { - readPIROccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback); - } - public void writePIROccupiedToUnoccupiedDelayAttribute(DefaultClusterCallback callback, Integer value) { - writePIROccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, null); - } + private native void readAbsMaxHeatSetpointLimitAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - 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); - } + private native void subscribeAbsMaxHeatSetpointLimitAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void readPIRUnoccupiedToOccupiedDelayAttribute( - IntegerAttributeCallback callback - ) { - readPIRUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback); - } - public void writePIRUnoccupiedToOccupiedDelayAttribute(DefaultClusterCallback callback, Integer value) { - writePIRUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, null); - } + private native void readAbsMinCoolSetpointLimitAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - 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); - } + private native void subscribeAbsMinCoolSetpointLimitAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void readPIRUnoccupiedToOccupiedThresholdAttribute( - IntegerAttributeCallback callback - ) { - readPIRUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback); - } - public void writePIRUnoccupiedToOccupiedThresholdAttribute(DefaultClusterCallback callback, Integer value) { - writePIRUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, null); - } + private native void readAbsMaxCoolSetpointLimitAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - 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); - } + private native void subscribeAbsMaxCoolSetpointLimitAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void readUltrasonicOccupiedToUnoccupiedDelayAttribute( - IntegerAttributeCallback callback - ) { - readUltrasonicOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback); - } - public void writeUltrasonicOccupiedToUnoccupiedDelayAttribute(DefaultClusterCallback callback, Integer value) { - writeUltrasonicOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, null); - } + private native void readPICoolingDemandAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - 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); - } + private native void subscribePICoolingDemandAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void readUltrasonicUnoccupiedToOccupiedDelayAttribute( - IntegerAttributeCallback callback - ) { - readUltrasonicUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback); + 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 FanControlCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 514L; + + public FanControlCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void writeUltrasonicUnoccupiedToOccupiedDelayAttribute(DefaultClusterCallback callback, Integer value) { - writeUltrasonicUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, null); + + @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 void writeUltrasonicUnoccupiedToOccupiedDelayAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeUltrasonicUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public interface SpeedSettingAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeUltrasonicUnoccupiedToOccupiedDelayAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeUltrasonicUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface GeneratedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readUltrasonicUnoccupiedToOccupiedThresholdAttribute( - IntegerAttributeCallback callback - ) { - readUltrasonicUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback); + public interface AcceptedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void writeUltrasonicUnoccupiedToOccupiedThresholdAttribute(DefaultClusterCallback callback, Integer value) { - writeUltrasonicUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, null); + + public interface EventListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void writeUltrasonicUnoccupiedToOccupiedThresholdAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeUltrasonicUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public interface AttributeListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeUltrasonicUnoccupiedToOccupiedThresholdAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeUltrasonicUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readFanModeAttribute(IntegerAttributeCallback callback) { + readFanModeAttribute(chipClusterPtr, callback); } - public void readPhysicalContactOccupiedToUnoccupiedDelayAttribute( - IntegerAttributeCallback callback - ) { - readPhysicalContactOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback); + public void writeFanModeAttribute(DefaultClusterCallback callback, Integer value) { + writeFanModeAttribute(chipClusterPtr, callback, value, null); } - public void writePhysicalContactOccupiedToUnoccupiedDelayAttribute(DefaultClusterCallback callback, Integer value) { - writePhysicalContactOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, null); + + public void writeFanModeAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeFanModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void writePhysicalContactOccupiedToUnoccupiedDelayAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writePhysicalContactOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeFanModeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeFanModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePhysicalContactOccupiedToUnoccupiedDelayAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePhysicalContactOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readFanModeSequenceAttribute(IntegerAttributeCallback callback) { + readFanModeSequenceAttribute(chipClusterPtr, callback); } - public void readPhysicalContactUnoccupiedToOccupiedDelayAttribute( - IntegerAttributeCallback callback - ) { - readPhysicalContactUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback); + public void writeFanModeSequenceAttribute(DefaultClusterCallback callback, Integer value) { + writeFanModeSequenceAttribute(chipClusterPtr, callback, value, null); } - public void writePhysicalContactUnoccupiedToOccupiedDelayAttribute(DefaultClusterCallback callback, Integer value) { - writePhysicalContactUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, null); + + public void writeFanModeSequenceAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeFanModeSequenceAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void writePhysicalContactUnoccupiedToOccupiedDelayAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writePhysicalContactUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeFanModeSequenceAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeFanModeSequenceAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePhysicalContactUnoccupiedToOccupiedDelayAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePhysicalContactUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readPercentSettingAttribute(PercentSettingAttributeCallback callback) { + readPercentSettingAttribute(chipClusterPtr, callback); } - public void readPhysicalContactUnoccupiedToOccupiedThresholdAttribute( - IntegerAttributeCallback callback - ) { - readPhysicalContactUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback); + public void writePercentSettingAttribute(DefaultClusterCallback callback, Integer value) { + writePercentSettingAttribute(chipClusterPtr, callback, value, null); } - public void writePhysicalContactUnoccupiedToOccupiedThresholdAttribute(DefaultClusterCallback callback, Integer value) { - writePhysicalContactUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, null); + + public void writePercentSettingAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writePercentSettingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void writePhysicalContactUnoccupiedToOccupiedThresholdAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writePhysicalContactUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribePercentSettingAttribute( + PercentSettingAttributeCallback callback, int minInterval, int maxInterval) { + subscribePercentSettingAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePhysicalContactUnoccupiedToOccupiedThresholdAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePhysicalContactUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readPercentCurrentAttribute(IntegerAttributeCallback callback) { + readPercentCurrentAttribute(chipClusterPtr, callback); } - public void readGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - ) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void subscribePercentCurrentAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePercentCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readSpeedMaxAttribute(IntegerAttributeCallback callback) { + readSpeedMaxAttribute(chipClusterPtr, callback); } - public void readAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - ) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void subscribeSpeedMaxAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeSpeedMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readSpeedSettingAttribute(SpeedSettingAttributeCallback callback) { + readSpeedSettingAttribute(chipClusterPtr, callback); } - public void readEventListAttribute( - EventListAttributeCallback callback - ) { - readEventListAttribute(chipClusterPtr, callback); + public void writeSpeedSettingAttribute(DefaultClusterCallback callback, Integer value) { + writeSpeedSettingAttribute(chipClusterPtr, callback, value, null); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeSpeedSettingAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeSpeedSettingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readAttributeListAttribute( - AttributeListAttributeCallback callback - ) { - readAttributeListAttribute(chipClusterPtr, callback); + public void subscribeSpeedSettingAttribute( + SpeedSettingAttributeCallback callback, int minInterval, int maxInterval) { + subscribeSpeedSettingAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readSpeedCurrentAttribute(IntegerAttributeCallback callback) { + readSpeedCurrentAttribute(chipClusterPtr, callback); } - public void readFeatureMapAttribute( - LongAttributeCallback callback - ) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void subscribeSpeedCurrentAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeSpeedCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readRockSupportAttribute(IntegerAttributeCallback callback) { + readRockSupportAttribute(chipClusterPtr, callback); } - public void readClusterRevisionAttribute( - IntegerAttributeCallback callback - ) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void subscribeRockSupportAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeRockSupportAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readRockSettingAttribute(IntegerAttributeCallback callback) { + readRockSettingAttribute(chipClusterPtr, callback); } - 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); - } + public void writeRockSettingAttribute(DefaultClusterCallback callback, Integer value) { + writeRockSettingAttribute(chipClusterPtr, callback, value, null); + } - public static class WakeOnLanCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1283L; + public void writeRockSettingAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeRockSettingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } - public WakeOnLanCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void subscribeRockSettingAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeRockSettingAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - @Override - public native long initWithDevice(long devicePtr, int endpointId); + public void readWindSupportAttribute(IntegerAttributeCallback callback) { + readWindSupportAttribute(chipClusterPtr, 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) {} - } + public void subscribeWindSupportAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeWindSupportAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public void readMACAddressAttribute( - CharStringAttributeCallback callback - ) { - readMACAddressAttribute(chipClusterPtr, callback); + public void readWindSettingAttribute(IntegerAttributeCallback callback) { + readWindSettingAttribute(chipClusterPtr, callback); } - public void subscribeMACAddressAttribute( - CharStringAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMACAddressAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeWindSettingAttribute(DefaultClusterCallback callback, Integer value) { + writeWindSettingAttribute(chipClusterPtr, callback, value, null); + } + + 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); } - 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 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); - } + private native void readFanModeAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public static class ChannelCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1284L; + private native void writeFanModeAttribute( + long chipClusterPtr, + DefaultClusterCallback callback, + Integer value, + @Nullable Integer timedWriteTimeoutMs); - public ChannelCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } + private native void subscribeFanModeAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - @Override - public native long initWithDevice(long devicePtr, int endpointId); + private native void readFanModeSequenceAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void changeChannel(ChangeChannelResponseCallback callback - , String match) { - changeChannel(chipClusterPtr, callback, match, null); - } + private native void writeFanModeSequenceAttribute( + long chipClusterPtr, + DefaultClusterCallback callback, + Integer value, + @Nullable Integer timedWriteTimeoutMs); - public void changeChannel(ChangeChannelResponseCallback callback - , String match - , int timedInvokeTimeoutMs) { - changeChannel(chipClusterPtr, callback, match, timedInvokeTimeoutMs); - } + private native void subscribeFanModeSequenceAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void changeChannelByNumber(DefaultClusterCallback callback - , Integer majorNumber, Integer minorNumber) { - changeChannelByNumber(chipClusterPtr, callback, majorNumber, minorNumber, null); - } + private native void readPercentSettingAttribute( + long chipClusterPtr, PercentSettingAttributeCallback callback); - public void changeChannelByNumber(DefaultClusterCallback callback - , Integer majorNumber, Integer minorNumber - , int timedInvokeTimeoutMs) { - changeChannelByNumber(chipClusterPtr, callback, majorNumber, minorNumber, timedInvokeTimeoutMs); - } + private native void writePercentSettingAttribute( + long chipClusterPtr, + DefaultClusterCallback callback, + Integer value, + @Nullable Integer timedWriteTimeoutMs); - public void skipChannel(DefaultClusterCallback callback - , Integer count) { - skipChannel(chipClusterPtr, callback, count, null); - } + private native void subscribePercentSettingAttribute( + long chipClusterPtr, + PercentSettingAttributeCallback callback, + int minInterval, + int maxInterval); - 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); - } + private native void readPercentCurrentAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); + private native void subscribePercentCurrentAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - 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) {} - } + private native void readSpeedMaxAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readChannelListAttribute( - ChannelListAttributeCallback callback - ) { - readChannelListAttribute(chipClusterPtr, callback); - } - public void subscribeChannelListAttribute( - ChannelListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeChannelListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeSpeedMaxAttribute( + 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 readSpeedSettingAttribute( + long chipClusterPtr, SpeedSettingAttributeCallback 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 writeSpeedSettingAttribute( + long chipClusterPtr, + DefaultClusterCallback callback, + Integer 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 subscribeSpeedSettingAttribute( + long chipClusterPtr, + SpeedSettingAttributeCallback 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 readSpeedCurrentAttribute( + 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 subscribeSpeedCurrentAttribute( + 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 readRockSupportAttribute( + long chipClusterPtr, IntegerAttributeCallback 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); - } + private native void subscribeRockSupportAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public static class TargetNavigatorCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1285L; + private native void readRockSettingAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public TargetNavigatorCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } + private native void writeRockSettingAttribute( + long chipClusterPtr, + DefaultClusterCallback callback, + Integer value, + @Nullable Integer timedWriteTimeoutMs); - @Override - public native long initWithDevice(long devicePtr, int endpointId); + private native void subscribeRockSettingAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void navigateTarget(NavigateTargetResponseCallback callback - , Integer target, Optional data) { - navigateTarget(chipClusterPtr, callback, target, data, null); - } + private native void readWindSupportAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - 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); - } + private native void subscribeWindSupportAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readWindSettingAttribute( + long chipClusterPtr, IntegerAttributeCallback 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) {} - } + private native void writeWindSettingAttribute( + long chipClusterPtr, + DefaultClusterCallback callback, + Integer value, + @Nullable Integer timedWriteTimeoutMs); - public void readTargetListAttribute( - TargetListAttributeCallback callback - ) { - readTargetListAttribute(chipClusterPtr, callback); - } - public void subscribeTargetListAttribute( - TargetListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeTargetListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeWindSettingAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void readCurrentTargetAttribute( - IntegerAttributeCallback callback - ) { - readCurrentTargetAttribute(chipClusterPtr, callback); - } - public void subscribeCurrentTargetAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeCurrentTargetAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readGeneratedCommandListAttribute( + long chipClusterPtr, GeneratedCommandListAttributeCallback 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 subscribeGeneratedCommandListAttribute( + long chipClusterPtr, + GeneratedCommandListAttributeCallback 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 readAcceptedCommandListAttribute( + long chipClusterPtr, AcceptedCommandListAttributeCallback 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 subscribeAcceptedCommandListAttribute( + long chipClusterPtr, + AcceptedCommandListAttributeCallback 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 readEventListAttribute( + long chipClusterPtr, EventListAttributeCallback 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 subscribeEventListAttribute( + long chipClusterPtr, EventListAttributeCallback 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 readAttributeListAttribute( + long chipClusterPtr, AttributeListAttributeCallback callback); - 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); - } + private native void subscribeAttributeListAttribute( + long chipClusterPtr, + AttributeListAttributeCallback callback, + int minInterval, + int maxInterval); - public static class MediaPlaybackCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1286L; + private native void readFeatureMapAttribute( + long chipClusterPtr, LongAttributeCallback callback); - public MediaPlaybackCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } + private native void subscribeFeatureMapAttribute( + long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - @Override - public native long initWithDevice(long devicePtr, int endpointId); + private native void readClusterRevisionAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void play(PlaybackResponseCallback callback - ) { - play(chipClusterPtr, callback, null); - } + private native void subscribeClusterRevisionAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + } - public void play(PlaybackResponseCallback callback - - , int timedInvokeTimeoutMs) { - play(chipClusterPtr, callback, timedInvokeTimeoutMs); - } + public static class ThermostatUserInterfaceConfigurationCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 516L; - public void pause(PlaybackResponseCallback callback - ) { - pause(chipClusterPtr, callback, null); + public ThermostatUserInterfaceConfigurationCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void pause(PlaybackResponseCallback callback - - , int timedInvokeTimeoutMs) { - pause(chipClusterPtr, callback, timedInvokeTimeoutMs); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void stop(PlaybackResponseCallback callback - ) { - stop(chipClusterPtr, callback, null); - } + public interface GeneratedCommandListAttributeCallback { + void onSuccess(List valueList); - 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 AcceptedCommandListAttributeCallback { + void onSuccess(List valueList); - 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 EventListAttributeCallback { + void onSuccess(List valueList); - 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 AttributeListAttributeCallback { + void onSuccess(List valueList); - public void fastForward(PlaybackResponseCallback callback - ) { - fastForward(chipClusterPtr, callback, null); - } + void onError(Exception ex); - public void fastForward(PlaybackResponseCallback callback - - , int timedInvokeTimeoutMs) { - fastForward(chipClusterPtr, callback, timedInvokeTimeoutMs); + default void onSubscriptionEstablished(long subscriptionId) {} } - public void skipForward(PlaybackResponseCallback callback - , Long deltaPositionMilliseconds) { - skipForward(chipClusterPtr, callback, deltaPositionMilliseconds, null); + public void readTemperatureDisplayModeAttribute(IntegerAttributeCallback callback) { + readTemperatureDisplayModeAttribute(chipClusterPtr, callback); } - public void skipForward(PlaybackResponseCallback callback - , Long deltaPositionMilliseconds - , int timedInvokeTimeoutMs) { - skipForward(chipClusterPtr, callback, deltaPositionMilliseconds, timedInvokeTimeoutMs); + public void writeTemperatureDisplayModeAttribute( + DefaultClusterCallback callback, Integer value) { + writeTemperatureDisplayModeAttribute(chipClusterPtr, callback, value, null); } - public void skipBackward(PlaybackResponseCallback callback - , Long deltaPositionMilliseconds) { - skipBackward(chipClusterPtr, callback, deltaPositionMilliseconds, null); + public void writeTemperatureDisplayModeAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeTemperatureDisplayModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void skipBackward(PlaybackResponseCallback callback - , Long deltaPositionMilliseconds - , int timedInvokeTimeoutMs) { - skipBackward(chipClusterPtr, callback, deltaPositionMilliseconds, timedInvokeTimeoutMs); + public void subscribeTemperatureDisplayModeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeTemperatureDisplayModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void seek(PlaybackResponseCallback callback - , Long position) { - seek(chipClusterPtr, callback, position, null); + public void readKeypadLockoutAttribute(IntegerAttributeCallback callback) { + readKeypadLockoutAttribute(chipClusterPtr, callback); } - 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 void writeKeypadLockoutAttribute(DefaultClusterCallback callback, Integer value) { + writeKeypadLockoutAttribute(chipClusterPtr, callback, value, null); } - - 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 writeKeypadLockoutAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeKeypadLockoutAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readStartTimeAttribute( - StartTimeAttributeCallback callback - ) { - readStartTimeAttribute(chipClusterPtr, callback); - } - public void subscribeStartTimeAttribute( - StartTimeAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeStartTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeKeypadLockoutAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeKeypadLockoutAttribute(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 readScheduleProgrammingVisibilityAttribute(IntegerAttributeCallback callback) { + readScheduleProgrammingVisibilityAttribute(chipClusterPtr, callback); } - public void readPlaybackSpeedAttribute( - FloatAttributeCallback callback - ) { - readPlaybackSpeedAttribute(chipClusterPtr, callback); - } - public void subscribePlaybackSpeedAttribute( - FloatAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePlaybackSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeScheduleProgrammingVisibilityAttribute( + DefaultClusterCallback callback, Integer value) { + writeScheduleProgrammingVisibilityAttribute(chipClusterPtr, callback, value, null); } - public void readSeekRangeEndAttribute( - SeekRangeEndAttributeCallback callback - ) { - readSeekRangeEndAttribute(chipClusterPtr, callback); - } - public void subscribeSeekRangeEndAttribute( - SeekRangeEndAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeSeekRangeEndAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeScheduleProgrammingVisibilityAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeScheduleProgrammingVisibilityAttribute( + chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readSeekRangeStartAttribute( - SeekRangeStartAttributeCallback callback - ) { - readSeekRangeStartAttribute(chipClusterPtr, callback); - } - public void subscribeSeekRangeStartAttribute( - SeekRangeStartAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeSeekRangeStartAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeScheduleProgrammingVisibilityAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeScheduleProgrammingVisibilityAttribute( + 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 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); + 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 static class MediaInputCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1287L; + public static class ColorControlCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 768L; - public MediaInputCluster(long devicePtr, int endpointId) { + public ColorControlCluster(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 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 void selectInput(DefaultClusterCallback callback - , Integer index - , int timedInvokeTimeoutMs) { - selectInput(chipClusterPtr, callback, index, timedInvokeTimeoutMs); + 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 showInputStatus(DefaultClusterCallback callback - ) { - showInputStatus(chipClusterPtr, callback, null); + 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 showInputStatus(DefaultClusterCallback callback - - , int timedInvokeTimeoutMs) { - showInputStatus(chipClusterPtr, callback, timedInvokeTimeoutMs); + 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 hideInputStatus(DefaultClusterCallback callback - ) { - hideInputStatus(chipClusterPtr, callback, null); + 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 hideInputStatus(DefaultClusterCallback callback - - , int timedInvokeTimeoutMs) { - hideInputStatus(chipClusterPtr, callback, timedInvokeTimeoutMs); + public void stopMoveStep( + DefaultClusterCallback callback, + Integer optionsMask, + Integer optionsOverride, + int timedInvokeTimeoutMs) { + stopMoveStep(chipClusterPtr, callback, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public void renameInput(DefaultClusterCallback callback - , Integer index, String name) { - renameInput(chipClusterPtr, callback, index, name, null); - } + 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); - 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) {} - } + private native void moveColorTemperature( + long chipClusterPtr, + DefaultClusterCallback Callback, + Integer moveMode, + Integer rate, + Integer colorTemperatureMinimumMireds, + Integer colorTemperatureMaximumMireds, + Integer optionsMask, + Integer optionsOverride, + @Nullable Integer timedInvokeTimeoutMs); - public void readInputListAttribute( - InputListAttributeCallback callback - ) { - readInputListAttribute(chipClusterPtr, callback); - } - public void subscribeInputListAttribute( - InputListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeInputListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + 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 void readCurrentInputAttribute( - IntegerAttributeCallback callback - ) { - readCurrentInputAttribute(chipClusterPtr, callback); - } - public void subscribeCurrentInputAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeCurrentInputAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public interface NumberOfPrimariesAttributeCallback { + void onSuccess(@Nullable Integer value); - 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 Primary1IntensityAttributeCallback { + void onSuccess(@Nullable Integer value); - 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 Primary2IntensityAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - 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 interface Primary3IntensityAttributeCallback { + void onSuccess(@Nullable Integer value); - public static class LowPowerCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1288L; + void onError(Exception ex); - public LowPowerCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + default void onSubscriptionEstablished(long subscriptionId) {} } - @Override - public native long initWithDevice(long devicePtr, int endpointId); + public interface Primary4IntensityAttributeCallback { + void onSuccess(@Nullable Integer value); - public void sleep(DefaultClusterCallback callback - ) { - sleep(chipClusterPtr, callback, null); - } + void onError(Exception ex); - public void sleep(DefaultClusterCallback callback - - , int timedInvokeTimeoutMs) { - sleep(chipClusterPtr, callback, timedInvokeTimeoutMs); + default void onSubscriptionEstablished(long subscriptionId) {} } - 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 interface Primary5IntensityAttributeCallback { + void onSuccess(@Nullable Integer value); - 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 Primary6IntensityAttributeCallback { + void onSuccess(@Nullable Integer value); - 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 ColorPointRIntensityAttributeCallback { + void onSuccess(@Nullable Integer value); + + 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 interface ColorPointGIntensityAttributeCallback { + void onSuccess(@Nullable Integer value); - public static class KeypadInputCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1289L; + void onError(Exception ex); - public KeypadInputCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + default void onSubscriptionEstablished(long subscriptionId) {} } - @Override - public native long initWithDevice(long devicePtr, int endpointId); + public interface ColorPointBIntensityAttributeCallback { + void onSuccess(@Nullable Integer value); - public void sendKey(SendKeyResponseCallback callback - , Integer keyCode) { - sendKey(chipClusterPtr, callback, keyCode, null); - } + void onError(Exception ex); - 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); + default void onSubscriptionEstablished(long subscriptionId) {} } + public interface StartUpColorTemperatureMiredsAttributeCallback { + void onSuccess(@Nullable Integer value); - 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 readGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - ) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - ) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public interface GeneratedCommandListAttributeCallback { + void onSuccess(List valueList); - public void readEventListAttribute( - EventListAttributeCallback callback - ) { - readEventListAttribute(chipClusterPtr, callback); - } - public void subscribeEventListAttribute( - EventListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + void onError(Exception ex); - public void readAttributeListAttribute( - AttributeListAttributeCallback callback - ) { - readAttributeListAttribute(chipClusterPtr, callback); - } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readFeatureMapAttribute( - LongAttributeCallback callback - ) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public interface AcceptedCommandListAttributeCallback { + void onSuccess(List valueList); - public void readClusterRevisionAttribute( - IntegerAttributeCallback callback - ) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + 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 interface EventListAttributeCallback { + void onSuccess(List valueList); - public static class ContentLauncherCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1290L; + void onError(Exception ex); - public ContentLauncherCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + default void onSubscriptionEstablished(long subscriptionId) {} } - @Override - public native long initWithDevice(long devicePtr, int endpointId); + public interface AttributeListAttributeCallback { + void onSuccess(List valueList); - public void launchContent(LauncherResponseCallback callback - , ChipStructs.ContentLauncherClusterContentSearchStruct search, Boolean autoPlay, Optional data) { - launchContent(chipClusterPtr, callback, search, autoPlay, data, null); + 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 void readCurrentHueAttribute(IntegerAttributeCallback callback) { + readCurrentHueAttribute(chipClusterPtr, callback); } - public void launchURL(LauncherResponseCallback callback - , String contentURL, Optional displayString, Optional brandingInformation) { - launchURL(chipClusterPtr, callback, contentURL, displayString, brandingInformation, null); + public void subscribeCurrentHueAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeCurrentHueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void launchURL(LauncherResponseCallback callback - , String contentURL, Optional displayString, Optional brandingInformation - , int timedInvokeTimeoutMs) { - launchURL(chipClusterPtr, callback, contentURL, displayString, brandingInformation, timedInvokeTimeoutMs); + public void readCurrentSaturationAttribute(IntegerAttributeCallback callback) { + readCurrentSaturationAttribute(chipClusterPtr, callback); } - 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 void subscribeCurrentSaturationAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeCurrentSaturationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } + public void readRemainingTimeAttribute(IntegerAttributeCallback callback) { + readRemainingTimeAttribute(chipClusterPtr, callback); + } - 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 subscribeRemainingTimeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeRemainingTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public void readAcceptHeaderAttribute( - AcceptHeaderAttributeCallback callback - ) { - readAcceptHeaderAttribute(chipClusterPtr, callback); + public void readCurrentXAttribute(IntegerAttributeCallback callback) { + readCurrentXAttribute(chipClusterPtr, callback); } - public void subscribeAcceptHeaderAttribute( - AcceptHeaderAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAcceptHeaderAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeCurrentXAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeCurrentXAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSupportedStreamingProtocolsAttribute( - LongAttributeCallback callback - ) { - readSupportedStreamingProtocolsAttribute(chipClusterPtr, callback); + public void readCurrentYAttribute(IntegerAttributeCallback callback) { + readCurrentYAttribute(chipClusterPtr, callback); } - public void writeSupportedStreamingProtocolsAttribute(DefaultClusterCallback callback, Long value) { - writeSupportedStreamingProtocolsAttribute(chipClusterPtr, callback, value, null); + + public void subscribeCurrentYAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeCurrentYAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeSupportedStreamingProtocolsAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeSupportedStreamingProtocolsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readDriftCompensationAttribute(IntegerAttributeCallback callback) { + readDriftCompensationAttribute(chipClusterPtr, callback); } - public void subscribeSupportedStreamingProtocolsAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeSupportedStreamingProtocolsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeDriftCompensationAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeDriftCompensationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - ) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void readCompensationTextAttribute(CharStringAttributeCallback callback) { + readCompensationTextAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeCompensationTextAttribute( + CharStringAttributeCallback callback, int minInterval, int maxInterval) { + subscribeCompensationTextAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - ) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void readColorTemperatureMiredsAttribute(IntegerAttributeCallback callback) { + readColorTemperatureMiredsAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeColorTemperatureMiredsAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeColorTemperatureMiredsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute( - EventListAttributeCallback callback - ) { - readEventListAttribute(chipClusterPtr, callback); + public void readColorModeAttribute(IntegerAttributeCallback callback) { + readColorModeAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeColorModeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeColorModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute( - AttributeListAttributeCallback callback - ) { - readAttributeListAttribute(chipClusterPtr, callback); + public void readOptionsAttribute(IntegerAttributeCallback callback) { + readOptionsAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeOptionsAttribute(DefaultClusterCallback callback, Integer value) { + writeOptionsAttribute(chipClusterPtr, callback, value, null); } - public void readFeatureMapAttribute( - LongAttributeCallback callback - ) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void writeOptionsAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOptionsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeOptionsAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeOptionsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute( - IntegerAttributeCallback callback - ) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void readNumberOfPrimariesAttribute(NumberOfPrimariesAttributeCallback callback) { + readNumberOfPrimariesAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeNumberOfPrimariesAttribute( + NumberOfPrimariesAttributeCallback callback, int minInterval, int maxInterval) { + subscribeNumberOfPrimariesAttribute(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 void readPrimary1XAttribute(IntegerAttributeCallback callback) { + readPrimary1XAttribute(chipClusterPtr, callback); + } - public static class AudioOutputCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1291L; + public void subscribePrimary1XAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePrimary1XAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public AudioOutputCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void readPrimary1YAttribute(IntegerAttributeCallback callback) { + readPrimary1YAttribute(chipClusterPtr, callback); } - @Override - public native long initWithDevice(long devicePtr, int endpointId); + public void subscribePrimary1YAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePrimary1YAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public void selectOutput(DefaultClusterCallback callback - , Integer index) { - selectOutput(chipClusterPtr, callback, index, null); + public void readPrimary1IntensityAttribute(Primary1IntensityAttributeCallback callback) { + readPrimary1IntensityAttribute(chipClusterPtr, callback); } - public void selectOutput(DefaultClusterCallback callback - , Integer index - , int timedInvokeTimeoutMs) { - selectOutput(chipClusterPtr, callback, index, timedInvokeTimeoutMs); + public void subscribePrimary1IntensityAttribute( + Primary1IntensityAttributeCallback callback, int minInterval, int maxInterval) { + subscribePrimary1IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void renameOutput(DefaultClusterCallback callback - , Integer index, String name) { - renameOutput(chipClusterPtr, callback, index, name, null); + public void readPrimary2XAttribute(IntegerAttributeCallback callback) { + readPrimary2XAttribute(chipClusterPtr, callback); } - public void renameOutput(DefaultClusterCallback callback - , Integer index, String name - , int timedInvokeTimeoutMs) { - renameOutput(chipClusterPtr, callback, index, name, timedInvokeTimeoutMs); + public void subscribePrimary2XAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePrimary2XAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - 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 readPrimary2YAttribute(IntegerAttributeCallback callback) { + readPrimary2YAttribute(chipClusterPtr, callback); } - public void readCurrentOutputAttribute( - IntegerAttributeCallback callback - ) { - readCurrentOutputAttribute(chipClusterPtr, callback); - } - public void subscribeCurrentOutputAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeCurrentOutputAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePrimary2YAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePrimary2YAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - ) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void readPrimary2IntensityAttribute(Primary2IntensityAttributeCallback callback) { + readPrimary2IntensityAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribePrimary2IntensityAttribute( + Primary2IntensityAttributeCallback callback, int minInterval, int maxInterval) { + subscribePrimary2IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - ) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void readPrimary3XAttribute(IntegerAttributeCallback callback) { + readPrimary3XAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribePrimary3XAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePrimary3XAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute( - EventListAttributeCallback callback - ) { - readEventListAttribute(chipClusterPtr, callback); + public void readPrimary3YAttribute(IntegerAttributeCallback callback) { + readPrimary3YAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribePrimary3YAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePrimary3YAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute( - AttributeListAttributeCallback callback - ) { - readAttributeListAttribute(chipClusterPtr, callback); + public void readPrimary3IntensityAttribute(Primary3IntensityAttributeCallback callback) { + readPrimary3IntensityAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribePrimary3IntensityAttribute( + Primary3IntensityAttributeCallback callback, int minInterval, int maxInterval) { + subscribePrimary3IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute( - LongAttributeCallback callback - ) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void readPrimary4XAttribute(IntegerAttributeCallback callback) { + readPrimary4XAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribePrimary4XAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePrimary4XAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute( - IntegerAttributeCallback callback - ) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void readPrimary4YAttribute(IntegerAttributeCallback callback) { + readPrimary4YAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribePrimary4YAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePrimary4YAttribute(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 void readPrimary4IntensityAttribute(Primary4IntensityAttributeCallback callback) { + readPrimary4IntensityAttribute(chipClusterPtr, callback); + } - public static class ApplicationLauncherCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1292L; + public void subscribePrimary4IntensityAttribute( + Primary4IntensityAttributeCallback callback, int minInterval, int maxInterval) { + subscribePrimary4IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public ApplicationLauncherCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void readPrimary5XAttribute(IntegerAttributeCallback callback) { + readPrimary5XAttribute(chipClusterPtr, callback); } - @Override - public native long initWithDevice(long devicePtr, int endpointId); + public void subscribePrimary5XAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePrimary5XAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public void launchApp(LauncherResponseCallback callback - , Optional application, Optional data) { - launchApp(chipClusterPtr, callback, application, data, null); + public void readPrimary5YAttribute(IntegerAttributeCallback callback) { + readPrimary5YAttribute(chipClusterPtr, callback); } - public void launchApp(LauncherResponseCallback callback - , Optional application, Optional data - , int timedInvokeTimeoutMs) { - launchApp(chipClusterPtr, callback, application, data, timedInvokeTimeoutMs); + public void subscribePrimary5YAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePrimary5YAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void stopApp(LauncherResponseCallback callback - , Optional application) { - stopApp(chipClusterPtr, callback, application, null); + public void readPrimary5IntensityAttribute(Primary5IntensityAttributeCallback callback) { + readPrimary5IntensityAttribute(chipClusterPtr, callback); } - public void stopApp(LauncherResponseCallback callback - , Optional application - , int timedInvokeTimeoutMs) { - stopApp(chipClusterPtr, callback, application, timedInvokeTimeoutMs); + public void subscribePrimary5IntensityAttribute( + Primary5IntensityAttributeCallback callback, int minInterval, int maxInterval) { + subscribePrimary5IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void hideApp(LauncherResponseCallback callback - , Optional application) { - hideApp(chipClusterPtr, callback, application, null); + public void readPrimary6XAttribute(IntegerAttributeCallback callback) { + readPrimary6XAttribute(chipClusterPtr, callback); } - public void hideApp(LauncherResponseCallback callback - , Optional application - , int timedInvokeTimeoutMs) { - hideApp(chipClusterPtr, callback, application, timedInvokeTimeoutMs); + public void subscribePrimary6XAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePrimary6XAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - 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 readPrimary6YAttribute(IntegerAttributeCallback callback) { + readPrimary6YAttribute(chipClusterPtr, callback); } + public void subscribePrimary6YAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePrimary6YAttribute(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 readPrimary6IntensityAttribute(Primary6IntensityAttributeCallback callback) { + readPrimary6IntensityAttribute(chipClusterPtr, callback); + } - public void readCatalogListAttribute( - CatalogListAttributeCallback callback - ) { - readCatalogListAttribute(chipClusterPtr, callback); + public void subscribePrimary6IntensityAttribute( + Primary6IntensityAttributeCallback callback, int minInterval, int maxInterval) { + subscribePrimary6IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCatalogListAttribute( - CatalogListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeCatalogListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readWhitePointXAttribute(IntegerAttributeCallback callback) { + readWhitePointXAttribute(chipClusterPtr, callback); } - public void readGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - ) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void writeWhitePointXAttribute(DefaultClusterCallback callback, Integer value) { + writeWhitePointXAttribute(chipClusterPtr, callback, value, null); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeWhitePointXAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeWhitePointXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - ) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void subscribeWhitePointXAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeWhitePointXAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readWhitePointYAttribute(IntegerAttributeCallback callback) { + readWhitePointYAttribute(chipClusterPtr, callback); } - public void readEventListAttribute( - EventListAttributeCallback callback - ) { - readEventListAttribute(chipClusterPtr, callback); + public void writeWhitePointYAttribute(DefaultClusterCallback callback, Integer value) { + writeWhitePointYAttribute(chipClusterPtr, callback, value, null); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeWhitePointYAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeWhitePointYAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readAttributeListAttribute( - AttributeListAttributeCallback callback - ) { - readAttributeListAttribute(chipClusterPtr, callback); + public void subscribeWhitePointYAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeWhitePointYAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readColorPointRXAttribute(IntegerAttributeCallback callback) { + readColorPointRXAttribute(chipClusterPtr, callback); } - public void readFeatureMapAttribute( - LongAttributeCallback callback - ) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void writeColorPointRXAttribute(DefaultClusterCallback callback, Integer value) { + writeColorPointRXAttribute(chipClusterPtr, callback, value, null); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeColorPointRXAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeColorPointRXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readClusterRevisionAttribute( - IntegerAttributeCallback callback - ) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void subscribeColorPointRXAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeColorPointRXAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readColorPointRYAttribute(IntegerAttributeCallback callback) { + readColorPointRYAttribute(chipClusterPtr, callback); } - 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 void writeColorPointRYAttribute(DefaultClusterCallback callback, Integer value) { + writeColorPointRYAttribute(chipClusterPtr, callback, value, null); + } - public static class ApplicationBasicCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1293L; + public void writeColorPointRYAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeColorPointRYAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } - public ApplicationBasicCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void subscribeColorPointRYAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeColorPointRYAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - @Override - public native long initWithDevice(long devicePtr, int endpointId); + public void readColorPointRIntensityAttribute(ColorPointRIntensityAttributeCallback callback) { + readColorPointRIntensityAttribute(chipClusterPtr, callback); + } - 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 writeColorPointRIntensityAttribute(DefaultClusterCallback callback, Integer value) { + writeColorPointRIntensityAttribute(chipClusterPtr, callback, value, null); + } - public void readVendorNameAttribute( - CharStringAttributeCallback callback - ) { - readVendorNameAttribute(chipClusterPtr, callback); + public void writeColorPointRIntensityAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeColorPointRIntensityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeVendorNameAttribute( - CharStringAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeVendorNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeColorPointRIntensityAttribute( + ColorPointRIntensityAttributeCallback callback, int minInterval, int maxInterval) { + subscribeColorPointRIntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readVendorIDAttribute( - IntegerAttributeCallback callback - ) { - readVendorIDAttribute(chipClusterPtr, callback); + public void readColorPointGXAttribute(IntegerAttributeCallback callback) { + readColorPointGXAttribute(chipClusterPtr, callback); } - public void subscribeVendorIDAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeVendorIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeColorPointGXAttribute(DefaultClusterCallback callback, Integer value) { + writeColorPointGXAttribute(chipClusterPtr, callback, value, null); } - public void readApplicationNameAttribute( - CharStringAttributeCallback callback - ) { - readApplicationNameAttribute(chipClusterPtr, callback); + public void writeColorPointGXAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeColorPointGXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeApplicationNameAttribute( - CharStringAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeApplicationNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeColorPointGXAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeColorPointGXAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readProductIDAttribute( - IntegerAttributeCallback callback - ) { - readProductIDAttribute(chipClusterPtr, callback); + public void readColorPointGYAttribute(IntegerAttributeCallback callback) { + readColorPointGYAttribute(chipClusterPtr, callback); } - public void subscribeProductIDAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeProductIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeColorPointGYAttribute(DefaultClusterCallback callback, Integer value) { + writeColorPointGYAttribute(chipClusterPtr, callback, value, null); } - public void readStatusAttribute( - IntegerAttributeCallback callback - ) { - readStatusAttribute(chipClusterPtr, callback); + public void writeColorPointGYAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeColorPointGYAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeStatusAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeColorPointGYAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeColorPointGYAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readApplicationVersionAttribute( - CharStringAttributeCallback callback - ) { - readApplicationVersionAttribute(chipClusterPtr, callback); + public void readColorPointGIntensityAttribute(ColorPointGIntensityAttributeCallback callback) { + readColorPointGIntensityAttribute(chipClusterPtr, callback); } - public void subscribeApplicationVersionAttribute( - CharStringAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeApplicationVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeColorPointGIntensityAttribute(DefaultClusterCallback callback, Integer value) { + writeColorPointGIntensityAttribute(chipClusterPtr, callback, value, null); } - public void readAllowedVendorListAttribute( - AllowedVendorListAttributeCallback callback - ) { - readAllowedVendorListAttribute(chipClusterPtr, callback); + public void writeColorPointGIntensityAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeColorPointGIntensityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeAllowedVendorListAttribute( - AllowedVendorListAttributeCallback callback - , - int minInterval, int maxInterval) { - subscribeAllowedVendorListAttribute(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 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 readEnhancedCurrentHueAttribute(IntegerAttributeCallback callback) { + readEnhancedCurrentHueAttribute(chipClusterPtr, callback); + } - public static class AccountLoginCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1294L; + public void subscribeEnhancedCurrentHueAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeEnhancedCurrentHueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public AccountLoginCluster(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 void readColorLoopActiveAttribute(IntegerAttributeCallback callback) { + readColorLoopActiveAttribute(chipClusterPtr, callback); + } - public void getSetupPIN(GetSetupPINResponseCallback callback - , String tempAccountIdentifier - , int timedInvokeTimeoutMs) { - getSetupPIN(chipClusterPtr, callback, tempAccountIdentifier, timedInvokeTimeoutMs); + public void subscribeColorLoopActiveAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeColorLoopActiveAttribute(chipClusterPtr, callback, minInterval, maxInterval); } + public void readColorLoopDirectionAttribute(IntegerAttributeCallback callback) { + readColorLoopDirectionAttribute(chipClusterPtr, callback); + } - public void login(DefaultClusterCallback callback - , String tempAccountIdentifier, String setupPIN - , int timedInvokeTimeoutMs) { - login(chipClusterPtr, callback, tempAccountIdentifier, setupPIN, timedInvokeTimeoutMs); + public void subscribeColorLoopDirectionAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeColorLoopDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } + public void readColorLoopTimeAttribute(IntegerAttributeCallback callback) { + readColorLoopTimeAttribute(chipClusterPtr, callback); + } - public void logout(DefaultClusterCallback callback - - , int timedInvokeTimeoutMs) { - logout(chipClusterPtr, callback, timedInvokeTimeoutMs); + public void subscribeColorLoopTimeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeColorLoopTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - 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 void readColorLoopStartEnhancedHueAttribute(IntegerAttributeCallback callback) { + readColorLoopStartEnhancedHueAttribute(chipClusterPtr, callback); } + public void subscribeColorLoopStartEnhancedHueAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeColorLoopStartEnhancedHueAttribute( + 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 readColorLoopStoredEnhancedHueAttribute(IntegerAttributeCallback callback) { + readColorLoopStoredEnhancedHueAttribute(chipClusterPtr, callback); + } + + public void subscribeColorLoopStoredEnhancedHueAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeColorLoopStoredEnhancedHueAttribute( + chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readColorCapabilitiesAttribute(IntegerAttributeCallback callback) { + readColorCapabilitiesAttribute(chipClusterPtr, callback); + } + + public void subscribeColorCapabilitiesAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeColorCapabilitiesAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readColorTempPhysicalMinMiredsAttribute(IntegerAttributeCallback callback) { + readColorTempPhysicalMinMiredsAttribute(chipClusterPtr, callback); + } + + public void subscribeColorTempPhysicalMinMiredsAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeColorTempPhysicalMinMiredsAttribute( + chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readColorTempPhysicalMaxMiredsAttribute(IntegerAttributeCallback callback) { + readColorTempPhysicalMaxMiredsAttribute(chipClusterPtr, callback); + } + + public void subscribeColorTempPhysicalMaxMiredsAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeColorTempPhysicalMaxMiredsAttribute( + chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readCoupleColorTempToLevelMinMiredsAttribute(IntegerAttributeCallback callback) { + readCoupleColorTempToLevelMinMiredsAttribute(chipClusterPtr, callback); + } + + public void subscribeCoupleColorTempToLevelMinMiredsAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeCoupleColorTempToLevelMinMiredsAttribute( + chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readStartUpColorTemperatureMiredsAttribute( + StartUpColorTemperatureMiredsAttributeCallback callback) { + readStartUpColorTemperatureMiredsAttribute(chipClusterPtr, callback); + } + + public void writeStartUpColorTemperatureMiredsAttribute( + DefaultClusterCallback callback, Integer value) { + writeStartUpColorTemperatureMiredsAttribute(chipClusterPtr, callback, value, null); + } + + 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); + } - 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 readCurrentHueAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public static class ElectricalMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 2820L; + private native void subscribeCurrentHueAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public ElectricalMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } + private native void readCurrentSaturationAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - @Override - public native long initWithDevice(long devicePtr, int endpointId); + private native void subscribeCurrentSaturationAttribute( + long chipClusterPtr, IntegerAttributeCallback 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 readRemainingTimeAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readMeasurementTypeAttribute( - LongAttributeCallback callback - ) { - readMeasurementTypeAttribute(chipClusterPtr, callback); - } - public void subscribeMeasurementTypeAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMeasurementTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeRemainingTimeAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void readDcVoltageAttribute( - IntegerAttributeCallback callback - ) { - readDcVoltageAttribute(chipClusterPtr, callback); - } - public void subscribeDcVoltageAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeDcVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readCurrentXAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readDcVoltageMinAttribute( - IntegerAttributeCallback callback - ) { - readDcVoltageMinAttribute(chipClusterPtr, callback); - } - public void subscribeDcVoltageMinAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeDcVoltageMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeCurrentXAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void readDcVoltageMaxAttribute( - IntegerAttributeCallback callback - ) { - readDcVoltageMaxAttribute(chipClusterPtr, callback); - } - public void subscribeDcVoltageMaxAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeDcVoltageMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readCurrentYAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readDcCurrentAttribute( - IntegerAttributeCallback callback - ) { - readDcCurrentAttribute(chipClusterPtr, callback); - } - public void subscribeDcCurrentAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeDcCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeCurrentYAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void readDcCurrentMinAttribute( - IntegerAttributeCallback callback - ) { - readDcCurrentMinAttribute(chipClusterPtr, callback); - } - public void subscribeDcCurrentMinAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeDcCurrentMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readDriftCompensationAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readDcCurrentMaxAttribute( - IntegerAttributeCallback callback - ) { - readDcCurrentMaxAttribute(chipClusterPtr, callback); - } - public void subscribeDcCurrentMaxAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeDcCurrentMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeDriftCompensationAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void readDcPowerAttribute( - IntegerAttributeCallback callback - ) { - readDcPowerAttribute(chipClusterPtr, callback); - } - public void subscribeDcPowerAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeDcPowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readCompensationTextAttribute( + long chipClusterPtr, CharStringAttributeCallback callback); - public void readDcPowerMinAttribute( - IntegerAttributeCallback callback - ) { - readDcPowerMinAttribute(chipClusterPtr, callback); - } - public void subscribeDcPowerMinAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeDcPowerMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeCompensationTextAttribute( + long chipClusterPtr, + CharStringAttributeCallback callback, + int minInterval, + int maxInterval); - public void readDcPowerMaxAttribute( - IntegerAttributeCallback callback - ) { - readDcPowerMaxAttribute(chipClusterPtr, callback); - } - public void subscribeDcPowerMaxAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeDcPowerMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readColorTemperatureMiredsAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readDcVoltageMultiplierAttribute( - IntegerAttributeCallback callback - ) { - readDcVoltageMultiplierAttribute(chipClusterPtr, callback); - } - public void subscribeDcVoltageMultiplierAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeDcVoltageMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeColorTemperatureMiredsAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void readDcVoltageDivisorAttribute( - IntegerAttributeCallback callback - ) { - readDcVoltageDivisorAttribute(chipClusterPtr, callback); - } - public void subscribeDcVoltageDivisorAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeDcVoltageDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readColorModeAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readDcCurrentMultiplierAttribute( - IntegerAttributeCallback callback - ) { - readDcCurrentMultiplierAttribute(chipClusterPtr, callback); - } - public void subscribeDcCurrentMultiplierAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeDcCurrentMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeColorModeAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void readDcCurrentDivisorAttribute( - IntegerAttributeCallback callback - ) { - readDcCurrentDivisorAttribute(chipClusterPtr, callback); - } - public void subscribeDcCurrentDivisorAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeDcCurrentDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readOptionsAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readDcPowerMultiplierAttribute( - IntegerAttributeCallback callback - ) { - readDcPowerMultiplierAttribute(chipClusterPtr, callback); - } - public void subscribeDcPowerMultiplierAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeDcPowerMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void writeOptionsAttribute( + long chipClusterPtr, + DefaultClusterCallback callback, + Integer value, + @Nullable Integer timedWriteTimeoutMs); - public void readDcPowerDivisorAttribute( - IntegerAttributeCallback callback - ) { - readDcPowerDivisorAttribute(chipClusterPtr, callback); - } - public void subscribeDcPowerDivisorAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeDcPowerDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeOptionsAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void readAcFrequencyAttribute( - IntegerAttributeCallback callback - ) { - readAcFrequencyAttribute(chipClusterPtr, callback); - } - public void subscribeAcFrequencyAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAcFrequencyAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readNumberOfPrimariesAttribute( + long chipClusterPtr, NumberOfPrimariesAttributeCallback callback); - public void readAcFrequencyMinAttribute( - IntegerAttributeCallback callback - ) { - readAcFrequencyMinAttribute(chipClusterPtr, callback); - } - public void subscribeAcFrequencyMinAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAcFrequencyMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeNumberOfPrimariesAttribute( + long chipClusterPtr, + NumberOfPrimariesAttributeCallback callback, + int minInterval, + int maxInterval); - public void readAcFrequencyMaxAttribute( - IntegerAttributeCallback callback - ) { - readAcFrequencyMaxAttribute(chipClusterPtr, callback); - } - public void subscribeAcFrequencyMaxAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAcFrequencyMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readPrimary1XAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readNeutralCurrentAttribute( - IntegerAttributeCallback callback - ) { - readNeutralCurrentAttribute(chipClusterPtr, callback); - } - public void subscribeNeutralCurrentAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeNeutralCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribePrimary1XAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void readTotalActivePowerAttribute( - LongAttributeCallback callback - ) { - readTotalActivePowerAttribute(chipClusterPtr, callback); - } - public void subscribeTotalActivePowerAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeTotalActivePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readPrimary1YAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readTotalReactivePowerAttribute( - LongAttributeCallback callback - ) { - readTotalReactivePowerAttribute(chipClusterPtr, callback); - } - public void subscribeTotalReactivePowerAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeTotalReactivePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribePrimary1YAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void readTotalApparentPowerAttribute( - LongAttributeCallback callback - ) { - readTotalApparentPowerAttribute(chipClusterPtr, callback); - } - public void subscribeTotalApparentPowerAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeTotalApparentPowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readPrimary1IntensityAttribute( + long chipClusterPtr, Primary1IntensityAttributeCallback callback); - public void readMeasured1stHarmonicCurrentAttribute( - IntegerAttributeCallback callback - ) { - readMeasured1stHarmonicCurrentAttribute(chipClusterPtr, callback); - } - public void subscribeMeasured1stHarmonicCurrentAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMeasured1stHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribePrimary1IntensityAttribute( + long chipClusterPtr, + Primary1IntensityAttributeCallback callback, + int minInterval, + int maxInterval); - public void readMeasured3rdHarmonicCurrentAttribute( - IntegerAttributeCallback callback - ) { - readMeasured3rdHarmonicCurrentAttribute(chipClusterPtr, callback); - } - public void subscribeMeasured3rdHarmonicCurrentAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMeasured3rdHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readPrimary2XAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readMeasured5thHarmonicCurrentAttribute( - IntegerAttributeCallback callback - ) { - readMeasured5thHarmonicCurrentAttribute(chipClusterPtr, callback); - } - public void subscribeMeasured5thHarmonicCurrentAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMeasured5thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribePrimary2XAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void readMeasured7thHarmonicCurrentAttribute( - IntegerAttributeCallback callback - ) { - readMeasured7thHarmonicCurrentAttribute(chipClusterPtr, callback); - } - public void subscribeMeasured7thHarmonicCurrentAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMeasured7thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readPrimary2YAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readMeasured9thHarmonicCurrentAttribute( - IntegerAttributeCallback callback - ) { - readMeasured9thHarmonicCurrentAttribute(chipClusterPtr, callback); - } - public void subscribeMeasured9thHarmonicCurrentAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMeasured9thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribePrimary2YAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void readMeasured11thHarmonicCurrentAttribute( - IntegerAttributeCallback callback - ) { - readMeasured11thHarmonicCurrentAttribute(chipClusterPtr, callback); - } - public void subscribeMeasured11thHarmonicCurrentAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMeasured11thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readPrimary2IntensityAttribute( + long chipClusterPtr, Primary2IntensityAttributeCallback callback); - public void readMeasuredPhase1stHarmonicCurrentAttribute( - IntegerAttributeCallback callback - ) { - readMeasuredPhase1stHarmonicCurrentAttribute(chipClusterPtr, callback); - } - public void subscribeMeasuredPhase1stHarmonicCurrentAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMeasuredPhase1stHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribePrimary2IntensityAttribute( + long chipClusterPtr, + Primary2IntensityAttributeCallback callback, + int minInterval, + int maxInterval); - public void readMeasuredPhase3rdHarmonicCurrentAttribute( - IntegerAttributeCallback callback - ) { - readMeasuredPhase3rdHarmonicCurrentAttribute(chipClusterPtr, callback); - } - public void subscribeMeasuredPhase3rdHarmonicCurrentAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMeasuredPhase3rdHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, 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); + } + + public static class BallastConfigurationCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 769L; + + public BallastConfigurationCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void readMeasuredPhase5thHarmonicCurrentAttribute( - IntegerAttributeCallback callback - ) { - readMeasuredPhase5thHarmonicCurrentAttribute(chipClusterPtr, callback); + @Override + public native long initWithDevice(long devicePtr, int endpointId); + + public interface IntrinsicBallastFactorAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeMeasuredPhase5thHarmonicCurrentAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMeasuredPhase5thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface BallastFactorAdjustmentAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readMeasuredPhase7thHarmonicCurrentAttribute( - IntegerAttributeCallback callback - ) { - readMeasuredPhase7thHarmonicCurrentAttribute(chipClusterPtr, callback); + public interface LampRatedHoursAttributeCallback { + void onSuccess(@Nullable Long value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeMeasuredPhase7thHarmonicCurrentAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMeasuredPhase7thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface LampBurnHoursAttributeCallback { + void onSuccess(@Nullable Long value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readMeasuredPhase9thHarmonicCurrentAttribute( - IntegerAttributeCallback callback - ) { - readMeasuredPhase9thHarmonicCurrentAttribute(chipClusterPtr, callback); + public interface LampBurnHoursTripPointAttributeCallback { + void onSuccess(@Nullable Long value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeMeasuredPhase9thHarmonicCurrentAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMeasuredPhase9thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface GeneratedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readMeasuredPhase11thHarmonicCurrentAttribute( - IntegerAttributeCallback callback - ) { - readMeasuredPhase11thHarmonicCurrentAttribute(chipClusterPtr, callback); + public interface AcceptedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeMeasuredPhase11thHarmonicCurrentAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeMeasuredPhase11thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface EventListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readAcFrequencyMultiplierAttribute( - IntegerAttributeCallback callback - ) { - readAcFrequencyMultiplierAttribute(chipClusterPtr, callback); + public interface AttributeListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeAcFrequencyMultiplierAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAcFrequencyMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readPhysicalMinLevelAttribute(IntegerAttributeCallback callback) { + readPhysicalMinLevelAttribute(chipClusterPtr, callback); } - public void readAcFrequencyDivisorAttribute( - IntegerAttributeCallback callback - ) { - readAcFrequencyDivisorAttribute(chipClusterPtr, callback); + public void subscribePhysicalMinLevelAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePhysicalMinLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAcFrequencyDivisorAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAcFrequencyDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readPhysicalMaxLevelAttribute(IntegerAttributeCallback callback) { + readPhysicalMaxLevelAttribute(chipClusterPtr, callback); } - public void readPowerMultiplierAttribute( - LongAttributeCallback callback - ) { - readPowerMultiplierAttribute(chipClusterPtr, callback); + public void subscribePhysicalMaxLevelAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePhysicalMaxLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePowerMultiplierAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePowerMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readBallastStatusAttribute(IntegerAttributeCallback callback) { + readBallastStatusAttribute(chipClusterPtr, callback); } - public void readPowerDivisorAttribute( - LongAttributeCallback callback - ) { - readPowerDivisorAttribute(chipClusterPtr, callback); + public void subscribeBallastStatusAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeBallastStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePowerDivisorAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePowerDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readMinLevelAttribute(IntegerAttributeCallback callback) { + readMinLevelAttribute(chipClusterPtr, callback); } - public void readHarmonicCurrentMultiplierAttribute( - IntegerAttributeCallback callback - ) { - readHarmonicCurrentMultiplierAttribute(chipClusterPtr, callback); + public void writeMinLevelAttribute(DefaultClusterCallback callback, Integer value) { + writeMinLevelAttribute(chipClusterPtr, callback, value, null); } - public void subscribeHarmonicCurrentMultiplierAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeHarmonicCurrentMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeMinLevelAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeMinLevelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readPhaseHarmonicCurrentMultiplierAttribute( - IntegerAttributeCallback callback - ) { - readPhaseHarmonicCurrentMultiplierAttribute(chipClusterPtr, callback); + public void subscribeMinLevelAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMinLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePhaseHarmonicCurrentMultiplierAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePhaseHarmonicCurrentMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readMaxLevelAttribute(IntegerAttributeCallback callback) { + readMaxLevelAttribute(chipClusterPtr, callback); } - public void readInstantaneousVoltageAttribute( - IntegerAttributeCallback callback - ) { - readInstantaneousVoltageAttribute(chipClusterPtr, callback); + public void writeMaxLevelAttribute(DefaultClusterCallback callback, Integer value) { + writeMaxLevelAttribute(chipClusterPtr, callback, value, null); } - public void subscribeInstantaneousVoltageAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeInstantaneousVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeMaxLevelAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeMaxLevelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readInstantaneousLineCurrentAttribute( - IntegerAttributeCallback callback - ) { - readInstantaneousLineCurrentAttribute(chipClusterPtr, callback); + public void subscribeMaxLevelAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMaxLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeInstantaneousLineCurrentAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeInstantaneousLineCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readIntrinsicBallastFactorAttribute( + IntrinsicBallastFactorAttributeCallback callback) { + readIntrinsicBallastFactorAttribute(chipClusterPtr, callback); } - public void readInstantaneousActiveCurrentAttribute( - IntegerAttributeCallback callback - ) { - readInstantaneousActiveCurrentAttribute(chipClusterPtr, callback); + public void writeIntrinsicBallastFactorAttribute( + DefaultClusterCallback callback, Integer value) { + writeIntrinsicBallastFactorAttribute(chipClusterPtr, callback, value, null); } - public void subscribeInstantaneousActiveCurrentAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeInstantaneousActiveCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeIntrinsicBallastFactorAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeIntrinsicBallastFactorAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readInstantaneousReactiveCurrentAttribute( - IntegerAttributeCallback callback - ) { - readInstantaneousReactiveCurrentAttribute(chipClusterPtr, callback); + public void subscribeIntrinsicBallastFactorAttribute( + IntrinsicBallastFactorAttributeCallback callback, int minInterval, int maxInterval) { + subscribeIntrinsicBallastFactorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeInstantaneousReactiveCurrentAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeInstantaneousReactiveCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readBallastFactorAdjustmentAttribute( + BallastFactorAdjustmentAttributeCallback callback) { + readBallastFactorAdjustmentAttribute(chipClusterPtr, callback); } - public void readInstantaneousPowerAttribute( - IntegerAttributeCallback callback - ) { - readInstantaneousPowerAttribute(chipClusterPtr, callback); + public void writeBallastFactorAdjustmentAttribute( + DefaultClusterCallback callback, Integer value) { + writeBallastFactorAdjustmentAttribute(chipClusterPtr, callback, value, null); } - public void subscribeInstantaneousPowerAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeInstantaneousPowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeBallastFactorAdjustmentAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBallastFactorAdjustmentAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readRmsVoltageAttribute( - IntegerAttributeCallback callback - ) { - readRmsVoltageAttribute(chipClusterPtr, callback); + public void subscribeBallastFactorAdjustmentAttribute( + BallastFactorAdjustmentAttributeCallback callback, int minInterval, int maxInterval) { + subscribeBallastFactorAdjustmentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeRmsVoltageAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readLampQuantityAttribute(IntegerAttributeCallback callback) { + readLampQuantityAttribute(chipClusterPtr, callback); } - public void readRmsVoltageMinAttribute( - IntegerAttributeCallback callback - ) { - readRmsVoltageMinAttribute(chipClusterPtr, callback); + public void subscribeLampQuantityAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeLampQuantityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeRmsVoltageMinAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsVoltageMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readLampTypeAttribute(CharStringAttributeCallback callback) { + readLampTypeAttribute(chipClusterPtr, callback); } - public void readRmsVoltageMaxAttribute( - IntegerAttributeCallback callback - ) { - readRmsVoltageMaxAttribute(chipClusterPtr, callback); + public void writeLampTypeAttribute(DefaultClusterCallback callback, String value) { + writeLampTypeAttribute(chipClusterPtr, callback, value, null); } - public void subscribeRmsVoltageMaxAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsVoltageMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeLampTypeAttribute( + DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { + writeLampTypeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readRmsCurrentAttribute( - IntegerAttributeCallback callback - ) { - readRmsCurrentAttribute(chipClusterPtr, callback); + public void subscribeLampTypeAttribute( + CharStringAttributeCallback callback, int minInterval, int maxInterval) { + subscribeLampTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeRmsCurrentAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readLampManufacturerAttribute(CharStringAttributeCallback callback) { + readLampManufacturerAttribute(chipClusterPtr, callback); } - public void readRmsCurrentMinAttribute( - IntegerAttributeCallback callback - ) { - readRmsCurrentMinAttribute(chipClusterPtr, callback); + public void writeLampManufacturerAttribute(DefaultClusterCallback callback, String value) { + writeLampManufacturerAttribute(chipClusterPtr, callback, value, null); } - public void subscribeRmsCurrentMinAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsCurrentMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeLampManufacturerAttribute( + DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { + writeLampManufacturerAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readRmsCurrentMaxAttribute( - IntegerAttributeCallback callback - ) { - readRmsCurrentMaxAttribute(chipClusterPtr, callback); + public void subscribeLampManufacturerAttribute( + CharStringAttributeCallback callback, int minInterval, int maxInterval) { + subscribeLampManufacturerAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeRmsCurrentMaxAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsCurrentMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readLampRatedHoursAttribute(LampRatedHoursAttributeCallback callback) { + readLampRatedHoursAttribute(chipClusterPtr, callback); } - public void readActivePowerAttribute( - IntegerAttributeCallback callback - ) { - readActivePowerAttribute(chipClusterPtr, callback); + public void writeLampRatedHoursAttribute(DefaultClusterCallback callback, Long value) { + writeLampRatedHoursAttribute(chipClusterPtr, callback, value, null); } - public void subscribeActivePowerAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeActivePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void writeLampRatedHoursAttribute( + DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeLampRatedHoursAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readActivePowerMinAttribute( - IntegerAttributeCallback callback - ) { - readActivePowerMinAttribute(chipClusterPtr, callback); - } - public void subscribeActivePowerMinAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeActivePowerMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLampRatedHoursAttribute( + LampRatedHoursAttributeCallback callback, int minInterval, int maxInterval) { + subscribeLampRatedHoursAttribute(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 readLampBurnHoursAttribute(LampBurnHoursAttributeCallback callback) { + readLampBurnHoursAttribute(chipClusterPtr, callback); } - public void readReactivePowerAttribute( - IntegerAttributeCallback callback - ) { - readReactivePowerAttribute(chipClusterPtr, callback); - } - public void subscribeReactivePowerAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeReactivePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeLampBurnHoursAttribute(DefaultClusterCallback callback, Long value) { + writeLampBurnHoursAttribute(chipClusterPtr, callback, value, null); } - public void readApparentPowerAttribute( - IntegerAttributeCallback callback - ) { - readApparentPowerAttribute(chipClusterPtr, callback); - } - public void subscribeApparentPowerAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeApparentPowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeLampBurnHoursAttribute( + DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeLampBurnHoursAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void readPowerFactorAttribute( - IntegerAttributeCallback callback - ) { - readPowerFactorAttribute(chipClusterPtr, callback); - } - public void subscribePowerFactorAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePowerFactorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLampBurnHoursAttribute( + LampBurnHoursAttributeCallback callback, int minInterval, int maxInterval) { + subscribeLampBurnHoursAttribute(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 readLampAlarmModeAttribute(IntegerAttributeCallback callback) { + readLampAlarmModeAttribute(chipClusterPtr, callback); } - 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 writeLampAlarmModeAttribute(DefaultClusterCallback callback, Integer value) { + writeLampAlarmModeAttribute(chipClusterPtr, callback, value, null); } - public void readAverageRmsUnderVoltageCounterAttribute( - IntegerAttributeCallback callback - ) { - readAverageRmsUnderVoltageCounterAttribute(chipClusterPtr, callback); - } - public void writeAverageRmsUnderVoltageCounterAttribute(DefaultClusterCallback callback, Integer value) { - writeAverageRmsUnderVoltageCounterAttribute(chipClusterPtr, callback, value, null); + public void writeLampAlarmModeAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeLampAlarmModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - 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 subscribeLampAlarmModeAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeLampAlarmModeAttribute(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 readLampBurnHoursTripPointAttribute( + LampBurnHoursTripPointAttributeCallback callback) { + readLampBurnHoursTripPointAttribute(chipClusterPtr, callback); } - 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 writeLampBurnHoursTripPointAttribute(DefaultClusterCallback callback, Long value) { + writeLampBurnHoursTripPointAttribute(chipClusterPtr, callback, value, null); } - public void readRmsExtremeUnderVoltagePeriodAttribute( - IntegerAttributeCallback callback - ) { - readRmsExtremeUnderVoltagePeriodAttribute(chipClusterPtr, callback); - } - public void writeRmsExtremeUnderVoltagePeriodAttribute(DefaultClusterCallback callback, Integer value) { - writeRmsExtremeUnderVoltagePeriodAttribute(chipClusterPtr, callback, value, null); + public void writeLampBurnHoursTripPointAttribute( + DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeLampBurnHoursTripPointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - 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 subscribeLampBurnHoursTripPointAttribute( + LampBurnHoursTripPointAttributeCallback callback, int minInterval, int maxInterval) { + subscribeLampBurnHoursTripPointAttribute(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 readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - 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 subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(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 readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - 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 subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(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 readEventListAttribute(EventListAttributeCallback callback) { + readEventListAttribute(chipClusterPtr, callback); } - public void readAcVoltageDivisorAttribute( - IntegerAttributeCallback callback - ) { - readAcVoltageDivisorAttribute(chipClusterPtr, callback); - } - public void subscribeAcVoltageDivisorAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAcVoltageDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeEventListAttribute( + EventListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeEventListAttribute(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 readAttributeListAttribute(AttributeListAttributeCallback callback) { + readAttributeListAttribute(chipClusterPtr, callback); } - public void readAcCurrentDivisorAttribute( - IntegerAttributeCallback callback - ) { - readAcCurrentDivisorAttribute(chipClusterPtr, callback); - } - public void subscribeAcCurrentDivisorAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAcCurrentDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeAttributeListAttribute(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 readFeatureMapAttribute(LongAttributeCallback callback) { + readFeatureMapAttribute(chipClusterPtr, callback); } - public void readAcPowerDivisorAttribute( - IntegerAttributeCallback callback - ) { - readAcPowerDivisorAttribute(chipClusterPtr, callback); - } - public void subscribeAcPowerDivisorAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAcPowerDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback, int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(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 readClusterRevisionAttribute(IntegerAttributeCallback callback) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - 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 subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(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); - } + private native void readPhysicalMinLevelAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readCurrentOverloadAttribute( - IntegerAttributeCallback callback - ) { - readCurrentOverloadAttribute(chipClusterPtr, 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); + } + + public static class IlluminanceMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1024L; + + public IlluminanceMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void subscribeCurrentOverloadAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeCurrentOverloadAttribute(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 void readAcOverloadAlarmsMaskAttribute( - IntegerAttributeCallback callback - ) { - readAcOverloadAlarmsMaskAttribute(chipClusterPtr, callback); + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void writeAcOverloadAlarmsMaskAttribute(DefaultClusterCallback callback, Integer value) { - writeAcOverloadAlarmsMaskAttribute(chipClusterPtr, callback, value, null); + + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void writeAcOverloadAlarmsMaskAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeAcOverloadAlarmsMaskAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public interface LightSensorTypeAttributeCallback { + void onSuccess(@Nullable Integer value); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeAcOverloadAlarmsMaskAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAcOverloadAlarmsMaskAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface GeneratedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readAcVoltageOverloadAttribute( - IntegerAttributeCallback callback - ) { - readAcVoltageOverloadAttribute(chipClusterPtr, callback); + public interface AcceptedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeAcVoltageOverloadAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAcVoltageOverloadAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface EventListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readAcCurrentOverloadAttribute( - IntegerAttributeCallback callback - ) { - readAcCurrentOverloadAttribute(chipClusterPtr, callback); + public interface AttributeListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeAcCurrentOverloadAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAcCurrentOverloadAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - public void readAcActivePowerOverloadAttribute( - IntegerAttributeCallback callback - ) { - readAcActivePowerOverloadAttribute(chipClusterPtr, callback); + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAcActivePowerOverloadAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAcActivePowerOverloadAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - public void readAcReactivePowerOverloadAttribute( - IntegerAttributeCallback callback - ) { - readAcReactivePowerOverloadAttribute(chipClusterPtr, callback); + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAcReactivePowerOverloadAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAcReactivePowerOverloadAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - public void readAverageRmsOverVoltageAttribute( - IntegerAttributeCallback callback - ) { - readAverageRmsOverVoltageAttribute(chipClusterPtr, callback); + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAverageRmsOverVoltageAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAverageRmsOverVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readToleranceAttribute(IntegerAttributeCallback callback) { + readToleranceAttribute(chipClusterPtr, callback); } - public void readAverageRmsUnderVoltageAttribute( - IntegerAttributeCallback callback - ) { - readAverageRmsUnderVoltageAttribute(chipClusterPtr, callback); + public void subscribeToleranceAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAverageRmsUnderVoltageAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAverageRmsUnderVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readLightSensorTypeAttribute(LightSensorTypeAttributeCallback callback) { + readLightSensorTypeAttribute(chipClusterPtr, callback); } - public void readRmsExtremeOverVoltageAttribute( - IntegerAttributeCallback callback - ) { - readRmsExtremeOverVoltageAttribute(chipClusterPtr, callback); + public void subscribeLightSensorTypeAttribute( + LightSensorTypeAttributeCallback callback, int minInterval, int maxInterval) { + subscribeLightSensorTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeRmsExtremeOverVoltageAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsExtremeOverVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void readRmsExtremeUnderVoltageAttribute( - IntegerAttributeCallback callback - ) { - readRmsExtremeUnderVoltageAttribute(chipClusterPtr, callback); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeRmsExtremeUnderVoltageAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsExtremeUnderVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void readRmsVoltageSagAttribute( - IntegerAttributeCallback callback - ) { - readRmsVoltageSagAttribute(chipClusterPtr, callback); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeRmsVoltageSagAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsVoltageSagAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readEventListAttribute(EventListAttributeCallback callback) { + readEventListAttribute(chipClusterPtr, callback); } - public void readRmsVoltageSwellAttribute( - IntegerAttributeCallback callback - ) { - readRmsVoltageSwellAttribute(chipClusterPtr, callback); + public void subscribeEventListAttribute( + EventListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeRmsVoltageSwellAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsVoltageSwellAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + readAttributeListAttribute(chipClusterPtr, callback); } - public void readLineCurrentPhaseBAttribute( - IntegerAttributeCallback callback - ) { - readLineCurrentPhaseBAttribute(chipClusterPtr, callback); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeLineCurrentPhaseBAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeLineCurrentPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readFeatureMapAttribute(LongAttributeCallback callback) { + readFeatureMapAttribute(chipClusterPtr, callback); } - public void readActiveCurrentPhaseBAttribute( - IntegerAttributeCallback callback - ) { - readActiveCurrentPhaseBAttribute(chipClusterPtr, callback); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback, int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeActiveCurrentPhaseBAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeActiveCurrentPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - public void readReactiveCurrentPhaseBAttribute( - IntegerAttributeCallback callback - ) { - readReactiveCurrentPhaseBAttribute(chipClusterPtr, callback); - } - public void subscribeReactiveCurrentPhaseBAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeReactiveCurrentPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(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); - } + private native void readMeasuredValueAttribute( + long chipClusterPtr, MeasuredValueAttributeCallback callback); - public void readRmsVoltageMinPhaseBAttribute( - IntegerAttributeCallback callback - ) { - readRmsVoltageMinPhaseBAttribute(chipClusterPtr, callback); - } - public void subscribeRmsVoltageMinPhaseBAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsVoltageMinPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeMeasuredValueAttribute( + long chipClusterPtr, + MeasuredValueAttributeCallback callback, + int minInterval, + int maxInterval); - public void readRmsVoltageMaxPhaseBAttribute( - IntegerAttributeCallback callback - ) { - readRmsVoltageMaxPhaseBAttribute(chipClusterPtr, callback); - } - public void subscribeRmsVoltageMaxPhaseBAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsVoltageMaxPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readMinMeasuredValueAttribute( + long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - public void readRmsCurrentPhaseBAttribute( - IntegerAttributeCallback callback - ) { - readRmsCurrentPhaseBAttribute(chipClusterPtr, callback); - } - public void subscribeRmsCurrentPhaseBAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsCurrentPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeMinMeasuredValueAttribute( + long chipClusterPtr, + MinMeasuredValueAttributeCallback callback, + int minInterval, + int maxInterval); - public void readRmsCurrentMinPhaseBAttribute( - IntegerAttributeCallback callback - ) { - readRmsCurrentMinPhaseBAttribute(chipClusterPtr, callback); - } - public void subscribeRmsCurrentMinPhaseBAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsCurrentMinPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readMaxMeasuredValueAttribute( + long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - public void readRmsCurrentMaxPhaseBAttribute( - IntegerAttributeCallback callback - ) { - readRmsCurrentMaxPhaseBAttribute(chipClusterPtr, callback); - } - public void subscribeRmsCurrentMaxPhaseBAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsCurrentMaxPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeMaxMeasuredValueAttribute( + long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback, + int minInterval, + int maxInterval); - public void readActivePowerPhaseBAttribute( - IntegerAttributeCallback callback - ) { - readActivePowerPhaseBAttribute(chipClusterPtr, callback); - } - public void subscribeActivePowerPhaseBAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeActivePowerPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readToleranceAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readActivePowerMinPhaseBAttribute( - IntegerAttributeCallback callback - ) { - readActivePowerMinPhaseBAttribute(chipClusterPtr, callback); - } - public void subscribeActivePowerMinPhaseBAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeActivePowerMinPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeToleranceAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - public void readActivePowerMaxPhaseBAttribute( - IntegerAttributeCallback callback - ) { - readActivePowerMaxPhaseBAttribute(chipClusterPtr, callback); - } - public void subscribeActivePowerMaxPhaseBAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeActivePowerMaxPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readLightSensorTypeAttribute( + long chipClusterPtr, LightSensorTypeAttributeCallback callback); - public void readReactivePowerPhaseBAttribute( - IntegerAttributeCallback callback - ) { - readReactivePowerPhaseBAttribute(chipClusterPtr, callback); - } - public void subscribeReactivePowerPhaseBAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeReactivePowerPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeLightSensorTypeAttribute( + long chipClusterPtr, + LightSensorTypeAttributeCallback callback, + int minInterval, + int maxInterval); - public void readApparentPowerPhaseBAttribute( - IntegerAttributeCallback callback - ) { - readApparentPowerPhaseBAttribute(chipClusterPtr, callback); - } - public void subscribeApparentPowerPhaseBAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeApparentPowerPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readGeneratedCommandListAttribute( + long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - public void readPowerFactorPhaseBAttribute( - IntegerAttributeCallback callback - ) { - readPowerFactorPhaseBAttribute(chipClusterPtr, callback); - } - public void subscribePowerFactorPhaseBAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePowerFactorPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeGeneratedCommandListAttribute( + long chipClusterPtr, + GeneratedCommandListAttributeCallback callback, + int minInterval, + int maxInterval); - public void readAverageRmsVoltageMeasurementPeriodPhaseBAttribute( - IntegerAttributeCallback callback - ) { - readAverageRmsVoltageMeasurementPeriodPhaseBAttribute(chipClusterPtr, callback); - } - public void subscribeAverageRmsVoltageMeasurementPeriodPhaseBAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAverageRmsVoltageMeasurementPeriodPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readAcceptedCommandListAttribute( + long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - 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 subscribeAcceptedCommandListAttribute( + long chipClusterPtr, + AcceptedCommandListAttributeCallback callback, + int minInterval, + int maxInterval); - public void readAverageRmsUnderVoltageCounterPhaseBAttribute( - IntegerAttributeCallback callback - ) { - readAverageRmsUnderVoltageCounterPhaseBAttribute(chipClusterPtr, callback); - } - public void subscribeAverageRmsUnderVoltageCounterPhaseBAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAverageRmsUnderVoltageCounterPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readEventListAttribute( + long chipClusterPtr, EventListAttributeCallback callback); - public void readRmsExtremeOverVoltagePeriodPhaseBAttribute( - IntegerAttributeCallback callback - ) { - readRmsExtremeOverVoltagePeriodPhaseBAttribute(chipClusterPtr, callback); - } - public void subscribeRmsExtremeOverVoltagePeriodPhaseBAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsExtremeOverVoltagePeriodPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeEventListAttribute( + long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - public void readRmsExtremeUnderVoltagePeriodPhaseBAttribute( - IntegerAttributeCallback callback - ) { - readRmsExtremeUnderVoltagePeriodPhaseBAttribute(chipClusterPtr, callback); - } - public void subscribeRmsExtremeUnderVoltagePeriodPhaseBAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsExtremeUnderVoltagePeriodPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readAttributeListAttribute( + long chipClusterPtr, AttributeListAttributeCallback callback); - public void readRmsVoltageSagPeriodPhaseBAttribute( - IntegerAttributeCallback callback - ) { - readRmsVoltageSagPeriodPhaseBAttribute(chipClusterPtr, callback); - } - public void subscribeRmsVoltageSagPeriodPhaseBAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsVoltageSagPeriodPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeAttributeListAttribute( + long chipClusterPtr, + AttributeListAttributeCallback callback, + int minInterval, + int maxInterval); - public void readRmsVoltageSwellPeriodPhaseBAttribute( - IntegerAttributeCallback callback - ) { - readRmsVoltageSwellPeriodPhaseBAttribute(chipClusterPtr, callback); - } - public void subscribeRmsVoltageSwellPeriodPhaseBAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsVoltageSwellPeriodPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readFeatureMapAttribute( + long chipClusterPtr, LongAttributeCallback callback); - public void readLineCurrentPhaseCAttribute( - IntegerAttributeCallback callback - ) { - readLineCurrentPhaseCAttribute(chipClusterPtr, callback); - } - public void subscribeLineCurrentPhaseCAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeLineCurrentPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeFeatureMapAttribute( + long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - public void readActiveCurrentPhaseCAttribute( - IntegerAttributeCallback callback - ) { - readActiveCurrentPhaseCAttribute(chipClusterPtr, callback); - } - public void subscribeActiveCurrentPhaseCAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeActiveCurrentPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readClusterRevisionAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); - public void readReactiveCurrentPhaseCAttribute( - IntegerAttributeCallback callback - ) { - readReactiveCurrentPhaseCAttribute(chipClusterPtr, callback); - } - public void subscribeReactiveCurrentPhaseCAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeReactiveCurrentPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void subscribeClusterRevisionAttribute( + long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + } - public void readRmsVoltagePhaseCAttribute( - IntegerAttributeCallback callback - ) { - readRmsVoltagePhaseCAttribute(chipClusterPtr, callback); - } - public void subscribeRmsVoltagePhaseCAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsVoltagePhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public static class TemperatureMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1026L; - public void readRmsVoltageMinPhaseCAttribute( - IntegerAttributeCallback callback - ) { - readRmsVoltageMinPhaseCAttribute(chipClusterPtr, callback); - } - public void subscribeRmsVoltageMinPhaseCAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsVoltageMinPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public TemperatureMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void readRmsVoltageMaxPhaseCAttribute( - IntegerAttributeCallback callback - ) { - readRmsVoltageMaxPhaseCAttribute(chipClusterPtr, callback); - } - public void subscribeRmsVoltageMaxPhaseCAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsVoltageMaxPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void readRmsCurrentPhaseCAttribute( - IntegerAttributeCallback callback - ) { - readRmsCurrentPhaseCAttribute(chipClusterPtr, callback); - } - public void subscribeRmsCurrentPhaseCAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsCurrentPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Integer value); - public void readRmsCurrentMinPhaseCAttribute( - IntegerAttributeCallback callback - ) { - readRmsCurrentMinPhaseCAttribute(chipClusterPtr, callback); - } - public void subscribeRmsCurrentMinPhaseCAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsCurrentMinPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + void onError(Exception ex); - public void readRmsCurrentMaxPhaseCAttribute( - IntegerAttributeCallback callback - ) { - readRmsCurrentMaxPhaseCAttribute(chipClusterPtr, callback); - } - public void subscribeRmsCurrentMaxPhaseCAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsCurrentMaxPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readActivePowerPhaseCAttribute( - IntegerAttributeCallback callback - ) { - readActivePowerPhaseCAttribute(chipClusterPtr, callback); - } - public void subscribeActivePowerPhaseCAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeActivePowerPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Integer value); - public void readActivePowerMinPhaseCAttribute( - IntegerAttributeCallback callback - ) { - readActivePowerMinPhaseCAttribute(chipClusterPtr, callback); - } - public void subscribeActivePowerMinPhaseCAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeActivePowerMinPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + void onError(Exception ex); - public void readActivePowerMaxPhaseCAttribute( - IntegerAttributeCallback callback - ) { - readActivePowerMaxPhaseCAttribute(chipClusterPtr, callback); - } - public void subscribeActivePowerMaxPhaseCAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeActivePowerMaxPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readReactivePowerPhaseCAttribute( - IntegerAttributeCallback callback - ) { - readReactivePowerPhaseCAttribute(chipClusterPtr, callback); - } - public void subscribeReactivePowerPhaseCAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeReactivePowerPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Integer value); - public void readApparentPowerPhaseCAttribute( - IntegerAttributeCallback callback - ) { - readApparentPowerPhaseCAttribute(chipClusterPtr, callback); - } - public void subscribeApparentPowerPhaseCAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeApparentPowerPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + void onError(Exception ex); - public void readPowerFactorPhaseCAttribute( - IntegerAttributeCallback callback - ) { - readPowerFactorPhaseCAttribute(chipClusterPtr, callback); - } - public void subscribePowerFactorPhaseCAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribePowerFactorPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readAverageRmsVoltageMeasurementPeriodPhaseCAttribute( - IntegerAttributeCallback callback - ) { - readAverageRmsVoltageMeasurementPeriodPhaseCAttribute(chipClusterPtr, callback); - } - public void subscribeAverageRmsVoltageMeasurementPeriodPhaseCAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAverageRmsVoltageMeasurementPeriodPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public interface GeneratedCommandListAttributeCallback { + void onSuccess(List valueList); - public void readAverageRmsOverVoltageCounterPhaseCAttribute( - IntegerAttributeCallback callback - ) { - readAverageRmsOverVoltageCounterPhaseCAttribute(chipClusterPtr, callback); + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void subscribeAverageRmsOverVoltageCounterPhaseCAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeAverageRmsOverVoltageCounterPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface AcceptedCommandListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readAverageRmsUnderVoltageCounterPhaseCAttribute( - IntegerAttributeCallback callback - ) { - readAverageRmsUnderVoltageCounterPhaseCAttribute(chipClusterPtr, callback); + public interface EventListAttributeCallback { + void onSuccess(List valueList); + + 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 AttributeListAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + + default void onSubscriptionEstablished(long subscriptionId) {} } - public void readRmsExtremeOverVoltagePeriodPhaseCAttribute( - IntegerAttributeCallback callback - ) { - readRmsExtremeOverVoltagePeriodPhaseCAttribute(chipClusterPtr, callback); + public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeRmsExtremeOverVoltagePeriodPhaseCAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsExtremeOverVoltagePeriodPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRmsExtremeUnderVoltagePeriodPhaseCAttribute( - IntegerAttributeCallback callback - ) { - readRmsExtremeUnderVoltagePeriodPhaseCAttribute(chipClusterPtr, callback); + public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeRmsExtremeUnderVoltagePeriodPhaseCAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsExtremeUnderVoltagePeriodPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRmsVoltageSagPeriodPhaseCAttribute( - IntegerAttributeCallback callback - ) { - readRmsVoltageSagPeriodPhaseCAttribute(chipClusterPtr, callback); + public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeRmsVoltageSagPeriodPhaseCAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsVoltageSagPeriodPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRmsVoltageSwellPeriodPhaseCAttribute( - IntegerAttributeCallback callback - ) { - readRmsVoltageSwellPeriodPhaseCAttribute(chipClusterPtr, callback); + public void readToleranceAttribute(IntegerAttributeCallback callback) { + readToleranceAttribute(chipClusterPtr, callback); } - public void subscribeRmsVoltageSwellPeriodPhaseCAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { - subscribeRmsVoltageSwellPeriodPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void subscribeToleranceAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeToleranceAttribute(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 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); + 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); + } + + @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 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 readToleranceAttribute(IntegerAttributeCallback callback) { + readToleranceAttribute(chipClusterPtr, callback); + } + + public void subscribeToleranceAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readScaledValueAttribute(ScaledValueAttributeCallback callback) { + readScaledValueAttribute(chipClusterPtr, callback); + } + + public void subscribeScaledValueAttribute( + ScaledValueAttributeCallback callback, int minInterval, int maxInterval) { + subscribeScaledValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readMinScaledValueAttribute(MinScaledValueAttributeCallback callback) { + readMinScaledValueAttribute(chipClusterPtr, callback); + } + + public void subscribeMinScaledValueAttribute( + MinScaledValueAttributeCallback callback, int minInterval, int maxInterval) { + subscribeMinScaledValueAttribute(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 readScaledToleranceAttribute(IntegerAttributeCallback callback) { + readScaledToleranceAttribute(chipClusterPtr, callback); + } + + public void subscribeScaledToleranceAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeScaledToleranceAttribute(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) { + 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 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); + } + + @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 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 readToleranceAttribute(IntegerAttributeCallback callback) { + readToleranceAttribute(chipClusterPtr, callback); + } + + public void subscribeToleranceAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeToleranceAttribute(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 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 RelativeHumidityMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1029L; + + public RelativeHumidityMeasurementCluster(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 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 readToleranceAttribute(IntegerAttributeCallback callback) { + readToleranceAttribute(chipClusterPtr, callback); + } + + public void subscribeToleranceAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeToleranceAttribute(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 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 OccupancySensingCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1030L; + + public OccupancySensingCluster(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 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 writeUltrasonicUnoccupiedToOccupiedDelayAttribute( + DefaultClusterCallback callback, Integer value) { + writeUltrasonicUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, null); + } + + public void writeUltrasonicUnoccupiedToOccupiedDelayAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeUltrasonicUnoccupiedToOccupiedDelayAttribute( + chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + + public void subscribeUltrasonicUnoccupiedToOccupiedDelayAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeUltrasonicUnoccupiedToOccupiedDelayAttribute( + chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readUltrasonicUnoccupiedToOccupiedThresholdAttribute( + IntegerAttributeCallback callback) { + readUltrasonicUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback); + } + + public void writeUltrasonicUnoccupiedToOccupiedThresholdAttribute( + DefaultClusterCallback callback, Integer value) { + writeUltrasonicUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, null); + } + + public void writeUltrasonicUnoccupiedToOccupiedThresholdAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeUltrasonicUnoccupiedToOccupiedThresholdAttribute( + chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + + public void subscribeUltrasonicUnoccupiedToOccupiedThresholdAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribeUltrasonicUnoccupiedToOccupiedThresholdAttribute( + chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readPhysicalContactOccupiedToUnoccupiedDelayAttribute( + IntegerAttributeCallback callback) { + readPhysicalContactOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback); + } + + public void writePhysicalContactOccupiedToUnoccupiedDelayAttribute( + DefaultClusterCallback callback, Integer value) { + writePhysicalContactOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, null); + } + + public void writePhysicalContactOccupiedToUnoccupiedDelayAttribute( + DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writePhysicalContactOccupiedToUnoccupiedDelayAttribute( + chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + + public void subscribePhysicalContactOccupiedToUnoccupiedDelayAttribute( + IntegerAttributeCallback callback, int minInterval, int maxInterval) { + subscribePhysicalContactOccupiedToUnoccupiedDelayAttribute( + chipClusterPtr, callback, minInterval, maxInterval); + } + + public void readPhysicalContactUnoccupiedToOccupiedDelayAttribute( + IntegerAttributeCallback callback) { + readPhysicalContactUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback); + } + + public void writePhysicalContactUnoccupiedToOccupiedDelayAttribute( + DefaultClusterCallback callback, Integer value) { + writePhysicalContactUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, null); + } + + 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 readPhysicalContactUnoccupiedToOccupiedThresholdAttribute( + IntegerAttributeCallback callback) { + readPhysicalContactUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback); + } + + public void writePhysicalContactUnoccupiedToOccupiedThresholdAttribute( + DefaultClusterCallback callback, Integer value) { + writePhysicalContactUnoccupiedToOccupiedThresholdAttribute( + chipClusterPtr, callback, value, null); + } + + 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) { + 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 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); + } + + 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); + + 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 ClientMonitoringCluster extends BaseChipCluster { @@ -26758,249 +27570,242 @@ public ClientMonitoringCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public void registerClientMonitoring(DefaultClusterCallback callback - , Long clientNodeId, Long ICid) { + public void registerClientMonitoring( + DefaultClusterCallback callback, Long clientNodeId, Long ICid) { registerClientMonitoring(chipClusterPtr, callback, clientNodeId, ICid, null); } - public void registerClientMonitoring(DefaultClusterCallback callback - , Long clientNodeId, Long ICid - , int timedInvokeTimeoutMs) { + public void registerClientMonitoring( + DefaultClusterCallback callback, Long clientNodeId, Long ICid, int timedInvokeTimeoutMs) { registerClientMonitoring(chipClusterPtr, callback, clientNodeId, ICid, timedInvokeTimeoutMs); } - public void unregisterClientMonitoring(DefaultClusterCallback callback - , Long clientNodeId, Long ICid) { + public void unregisterClientMonitoring( + DefaultClusterCallback callback, Long clientNodeId, Long ICid) { unregisterClientMonitoring(chipClusterPtr, callback, clientNodeId, ICid, null); } - public void unregisterClientMonitoring(DefaultClusterCallback callback - , Long clientNodeId, Long ICid - , int timedInvokeTimeoutMs) { - unregisterClientMonitoring(chipClusterPtr, callback, clientNodeId, ICid, timedInvokeTimeoutMs); + public void unregisterClientMonitoring( + DefaultClusterCallback callback, Long clientNodeId, Long ICid, int timedInvokeTimeoutMs) { + unregisterClientMonitoring( + chipClusterPtr, callback, clientNodeId, ICid, timedInvokeTimeoutMs); } - private native void registerClientMonitoring(long chipClusterPtr, DefaultClusterCallback Callback - , Long clientNodeId, Long ICid - , @Nullable Integer timedInvokeTimeoutMs); - private native void unregisterClientMonitoring(long chipClusterPtr, DefaultClusterCallback Callback - , Long clientNodeId, Long ICid - , @Nullable Integer timedInvokeTimeoutMs); - public interface ExpectedClientsAttributeCallback { - 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 registerClientMonitoring( + long chipClusterPtr, + DefaultClusterCallback Callback, + Long clientNodeId, + Long ICid, + @Nullable Integer timedInvokeTimeoutMs); + + private native void unregisterClientMonitoring( + long chipClusterPtr, + DefaultClusterCallback Callback, + Long clientNodeId, + Long ICid, + @Nullable Integer timedInvokeTimeoutMs); + + public interface ExpectedClientsAttributeCallback { + 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); - public void readIdleModeIntervalAttribute( - LongAttributeCallback callback - ) { + 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 readIdleModeIntervalAttribute(LongAttributeCallback callback) { readIdleModeIntervalAttribute(chipClusterPtr, callback); } + public void subscribeIdleModeIntervalAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { + LongAttributeCallback callback, int minInterval, int maxInterval) { subscribeIdleModeIntervalAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readActiveModeIntervalAttribute( - LongAttributeCallback callback - ) { + public void readActiveModeIntervalAttribute(LongAttributeCallback callback) { readActiveModeIntervalAttribute(chipClusterPtr, callback); } + public void subscribeActiveModeIntervalAttribute( - LongAttributeCallback callback -, - int minInterval, int maxInterval) { + LongAttributeCallback callback, int minInterval, int maxInterval) { subscribeActiveModeIntervalAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readActiveModeThresholdAttribute( - IntegerAttributeCallback callback - ) { + public void readActiveModeThresholdAttribute(IntegerAttributeCallback callback) { readActiveModeThresholdAttribute(chipClusterPtr, callback); } + public void subscribeActiveModeThresholdAttribute( - IntegerAttributeCallback callback -, - int minInterval, int maxInterval) { + IntegerAttributeCallback callback, int minInterval, int maxInterval) { subscribeActiveModeThresholdAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readExpectedClientsAttribute( - ExpectedClientsAttributeCallback callback - ) { + public void readExpectedClientsAttribute(ExpectedClientsAttributeCallback callback) { readExpectedClientsAttribute(chipClusterPtr, callback); } + public void subscribeExpectedClientsAttribute( - ExpectedClientsAttributeCallback callback - , - int minInterval, int maxInterval) { + ExpectedClientsAttributeCallback callback, int minInterval, int maxInterval) { subscribeExpectedClientsAttribute(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 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 readExpectedClientsAttribute(long chipClusterPtr, - ExpectedClientsAttributeCallback callback - ); - private native void subscribeExpectedClientsAttribute(long chipClusterPtr, - ExpectedClientsAttributeCallback 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 readExpectedClientsAttribute( + long chipClusterPtr, ExpectedClientsAttributeCallback callback); + + private native void subscribeExpectedClientsAttribute( + long chipClusterPtr, + ExpectedClientsAttributeCallback 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 { @@ -27013,2862 +27818,3328 @@ 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); - 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) {} - } + 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); - public void readBooleanAttribute( - BooleanAttributeCallback callback - ) { + 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) { 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); } } diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ChipEventStructs.java b/src/controller/java/zap-generated/chip/devicecontroller/ChipEventStructs.java index 6df7fa94597826..9f079111c14841 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ChipEventStructs.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ChipEventStructs.java @@ -18,1474 +18,1356 @@ // 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; - } + 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 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 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() {} - @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(); + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterSystemPressureLowEvent {\n"); + output.append("}\n"); + return output.toString(); + } } -} -public static class WiFiNetworkDiagnosticsClusterDisconnectionEvent { -public Integer reasonCode; + public static class PumpConfigurationAndControlClusterSystemPressureHighEvent { + + public PumpConfigurationAndControlClusterSystemPressureHighEvent() {} - public WiFiNetworkDiagnosticsClusterDisconnectionEvent( - Integer reasonCode - ) { - this.reasonCode = reasonCode; + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterSystemPressureHighEvent {\n"); + output.append("}\n"); + return output.toString(); + } } - @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 PumpConfigurationAndControlClusterDryRunningEvent { -public static class WiFiNetworkDiagnosticsClusterAssociationFailureEvent { -public Integer associationFailure; -public Integer status; + public PumpConfigurationAndControlClusterDryRunningEvent() {} - public WiFiNetworkDiagnosticsClusterAssociationFailureEvent( - Integer associationFailure - , Integer status - ) { - this.associationFailure = associationFailure; - this.status = status; + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterDryRunningEvent {\n"); + output.append("}\n"); + return output.toString(); + } } - @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 PumpConfigurationAndControlClusterMotorTemperatureHighEvent { -public static class WiFiNetworkDiagnosticsClusterConnectionStatusEvent { -public Integer connectionStatus; + public PumpConfigurationAndControlClusterMotorTemperatureHighEvent() {} - public WiFiNetworkDiagnosticsClusterConnectionStatusEvent( - Integer connectionStatus - ) { - this.connectionStatus = connectionStatus; + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterMotorTemperatureHighEvent {\n"); + output.append("}\n"); + return output.toString(); + } } - @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 PumpConfigurationAndControlClusterPumpMotorFatalFailureEvent { -public static class BridgedDeviceBasicInformationClusterStartUpEvent { -public Long softwareVersion; + public PumpConfigurationAndControlClusterPumpMotorFatalFailureEvent() {} - public BridgedDeviceBasicInformationClusterStartUpEvent( - Long softwareVersion - ) { - this.softwareVersion = softwareVersion; + @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("BridgedDeviceBasicInformationClusterStartUpEvent {\n"); - output.append("\tsoftwareVersion: "); - output.append(softwareVersion); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } -} + public static class PumpConfigurationAndControlClusterElectronicTemperatureHighEvent { -public static class BridgedDeviceBasicInformationClusterShutDownEvent { + public PumpConfigurationAndControlClusterElectronicTemperatureHighEvent() {} - public BridgedDeviceBasicInformationClusterShutDownEvent( -) { + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterElectronicTemperatureHighEvent {\n"); + output.append("}\n"); + return output.toString(); + } } - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("BridgedDeviceBasicInformationClusterShutDownEvent {\n"); - output.append("}\n"); - return output.toString(); - } -} + public static class PumpConfigurationAndControlClusterPumpBlockedEvent { -public static class BridgedDeviceBasicInformationClusterLeaveEvent { + public PumpConfigurationAndControlClusterPumpBlockedEvent() {} - public BridgedDeviceBasicInformationClusterLeaveEvent( -) { + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterPumpBlockedEvent {\n"); + output.append("}\n"); + return output.toString(); + } } - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("BridgedDeviceBasicInformationClusterLeaveEvent {\n"); - output.append("}\n"); - return output.toString(); - } -} + public static class PumpConfigurationAndControlClusterSensorFailureEvent { -public static class BridgedDeviceBasicInformationClusterReachableChangedEvent { -public Boolean reachableNewValue; + public PumpConfigurationAndControlClusterSensorFailureEvent() {} - public BridgedDeviceBasicInformationClusterReachableChangedEvent( - Boolean reachableNewValue - ) { - this.reachableNewValue = reachableNewValue; + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterSensorFailureEvent {\n"); + output.append("}\n"); + return output.toString(); + } } - @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 PumpConfigurationAndControlClusterElectronicNonFatalFailureEvent { -public static class SwitchClusterSwitchLatchedEvent { -public Integer newPosition; + public PumpConfigurationAndControlClusterElectronicNonFatalFailureEvent() {} - public SwitchClusterSwitchLatchedEvent( - Integer newPosition - ) { - this.newPosition = newPosition; + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterElectronicNonFatalFailureEvent {\n"); + output.append("}\n"); + return output.toString(); + } } - @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 PumpConfigurationAndControlClusterElectronicFatalFailureEvent { -public static class SwitchClusterInitialPressEvent { -public Integer newPosition; + public PumpConfigurationAndControlClusterElectronicFatalFailureEvent() {} - public SwitchClusterInitialPressEvent( - Integer newPosition - ) { - this.newPosition = newPosition; - } + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterElectronicFatalFailureEvent {\n"); + output.append("}\n"); + return output.toString(); + } + } + + public static class PumpConfigurationAndControlClusterGeneralFaultEvent { - @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 PumpConfigurationAndControlClusterGeneralFaultEvent() {} -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(); + @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(); + } } } - -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 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( -) { - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterSystemPressureLowEvent {\n"); - output.append("}\n"); - return output.toString(); - } -} - -public static class PumpConfigurationAndControlClusterSystemPressureHighEvent { - - public PumpConfigurationAndControlClusterSystemPressureHighEvent( -) { - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterSystemPressureHighEvent {\n"); - output.append("}\n"); - return output.toString(); - } -} - -public static class PumpConfigurationAndControlClusterDryRunningEvent { - - public PumpConfigurationAndControlClusterDryRunningEvent( -) { - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterDryRunningEvent {\n"); - output.append("}\n"); - return output.toString(); - } -} - -public static class PumpConfigurationAndControlClusterMotorTemperatureHighEvent { - - public PumpConfigurationAndControlClusterMotorTemperatureHighEvent( -) { - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterMotorTemperatureHighEvent {\n"); - output.append("}\n"); - return output.toString(); - } -} - -public static class PumpConfigurationAndControlClusterPumpMotorFatalFailureEvent { - - public PumpConfigurationAndControlClusterPumpMotorFatalFailureEvent( -) { - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterPumpMotorFatalFailureEvent {\n"); - output.append("}\n"); - return output.toString(); - } -} - -public static class PumpConfigurationAndControlClusterElectronicTemperatureHighEvent { - - public PumpConfigurationAndControlClusterElectronicTemperatureHighEvent( -) { - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterElectronicTemperatureHighEvent {\n"); - output.append("}\n"); - return output.toString(); - } -} - -public static class PumpConfigurationAndControlClusterPumpBlockedEvent { - - public PumpConfigurationAndControlClusterPumpBlockedEvent( -) { - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterPumpBlockedEvent {\n"); - output.append("}\n"); - return output.toString(); - } -} - -public static class PumpConfigurationAndControlClusterSensorFailureEvent { - - public PumpConfigurationAndControlClusterSensorFailureEvent( -) { - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterSensorFailureEvent {\n"); - output.append("}\n"); - return output.toString(); - } -} - -public static class PumpConfigurationAndControlClusterElectronicNonFatalFailureEvent { - - public PumpConfigurationAndControlClusterElectronicNonFatalFailureEvent( -) { - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterElectronicNonFatalFailureEvent {\n"); - output.append("}\n"); - return output.toString(); - } -} - -public static class PumpConfigurationAndControlClusterElectronicFatalFailureEvent { - - public PumpConfigurationAndControlClusterElectronicFatalFailureEvent( -) { - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterElectronicFatalFailureEvent {\n"); - output.append("}\n"); - return output.toString(); - } -} - -public static class PumpConfigurationAndControlClusterGeneralFaultEvent { - - public PumpConfigurationAndControlClusterGeneralFaultEvent( -) { - } - - @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(); - } -} - -} \ 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 020df3ad680b84..3ec024468a2f3d 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ChipIdLookup.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ChipIdLookup.java @@ -21,8 +21,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) { @@ -227,8 +227,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) { @@ -3919,8 +3919,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) { diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ChipStructs.java b/src/controller/java/zap-generated/chip/devicecontroller/ChipStructs.java index 383b9fea2ea749..56810ab1fb2871 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ChipStructs.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ChipStructs.java @@ -18,2302 +18,2178 @@ // 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 ArrayList attributeValue; - - public ScenesClusterAttributeValuePair( - Optional attributeID - , ArrayList 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 AccessControlClusterTarget { -public @Nullable Long cluster; -public @Nullable Integer endpoint; -public @Nullable Long deviceType; - - public AccessControlClusterTarget( - @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("AccessControlClusterTarget {\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 ScenesClusterAttributeValuePair { + public Optional attributeID; + public ArrayList attributeValue; + + public ScenesClusterAttributeValuePair( + Optional attributeID, ArrayList 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 AccessControlClusterTarget { + public @Nullable Long cluster; + public @Nullable Integer endpoint; + public @Nullable Long deviceType; + + public AccessControlClusterTarget( + @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("AccessControlClusterTarget {\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 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 ThreadNetworkDiagnosticsClusterNeighborTable { + 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 ThreadNetworkDiagnosticsClusterNeighborTable( + 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("ThreadNetworkDiagnosticsClusterNeighborTable {\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 ThreadNetworkDiagnosticsClusterRouteTable { + 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 ThreadNetworkDiagnosticsClusterRouteTable( + 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("ThreadNetworkDiagnosticsClusterRouteTable {\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 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 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 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 ClientMonitoringClusterMonitoringRegistration { + public Long clientNodeId; + public Long ICid; + public Integer fabricIndex; + + public ClientMonitoringClusterMonitoringRegistration( + Long clientNodeId, Long ICid, Integer fabricIndex) { + this.clientNodeId = clientNodeId; + this.ICid = ICid; + this.fabricIndex = fabricIndex; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ClientMonitoringClusterMonitoringRegistration {\n"); + output.append("\tclientNodeId: "); + output.append(clientNodeId); + output.append("\n"); + output.append("\tICid: "); + output.append(ICid); + output.append("\n"); + output.append("\tfabricIndex: "); + output.append(fabricIndex); + 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 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 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 ThreadNetworkDiagnosticsClusterNeighborTable { -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 ThreadNetworkDiagnosticsClusterNeighborTable( - 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("ThreadNetworkDiagnosticsClusterNeighborTable {\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 ThreadNetworkDiagnosticsClusterRouteTable { -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 ThreadNetworkDiagnosticsClusterRouteTable( - 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("ThreadNetworkDiagnosticsClusterRouteTable {\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 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 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 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 ClientMonitoringClusterMonitoringRegistration { -public Long clientNodeId; -public Long ICid; -public Integer fabricIndex; - - public ClientMonitoringClusterMonitoringRegistration( - Long clientNodeId - , Long ICid - , Integer fabricIndex - ) { - this.clientNodeId = clientNodeId; - this.ICid = ICid; - this.fabricIndex = fabricIndex; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ClientMonitoringClusterMonitoringRegistration {\n"); - output.append("\tclientNodeId: "); - output.append(clientNodeId); - output.append("\n"); - output.append("\tICid: "); - output.append(ICid); - output.append("\n"); - output.append("\tfabricIndex: "); - output.append(fabricIndex); - 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 116bfed299c48e..e532a920d45eaa 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java @@ -19,7 +19,13 @@ package chip.devicecontroller; -import javax.annotation.Nullable; +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 java.util.ArrayList; import java.util.HashMap; import java.util.LinkedHashMap; @@ -27,19 +33,11 @@ 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; @@ -62,7 +60,8 @@ 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; @@ -85,7 +84,8 @@ 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 @@ -107,7 +107,8 @@ 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,7 +130,8 @@ 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 @@ -151,7 +153,8 @@ 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 @@ -173,7 +176,8 @@ 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 @@ -195,7 +199,8 @@ public void onError(Exception error) { } } - public static class DelegatedDefaultClusterCallback implements DefaultClusterCallback, DelegatedClusterCallback { + public static class DelegatedDefaultClusterCallback + implements DefaultClusterCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @Override @@ -203,7 +208,8 @@ 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<>(); @@ -215,14608 +221,17970 @@ 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 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 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 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 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 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 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 DelegatedClientMonitoringClusterExpectedClientsAttributeCallback implements ChipClusters.ClientMonitoringCluster.ExpectedClientsAttributeCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - -@Override - public void onSuccess( List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - public static class DelegatedClientMonitoringClusterGeneratedCommandListAttributeCallback implements ChipClusters.ClientMonitoringCluster.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 DelegatedClientMonitoringClusterAcceptedCommandListAttributeCallback implements ChipClusters.ClientMonitoringCluster.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 DelegatedClientMonitoringClusterEventListAttributeCallback implements ChipClusters.ClientMonitoringCluster.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 DelegatedClientMonitoringClusterAttributeListAttributeCallback implements ChipClusters.ClientMonitoringCluster.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 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 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 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 booleanStateClusterInfo = new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.BooleanStateCluster(ptr, endpointId), new HashMap<>()); - clusterMap.put("booleanState", booleanStateClusterInfo); - ClusterInfo modeSelectClusterInfo = new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.ModeSelectCluster(ptr, endpointId), new HashMap<>()); - clusterMap.put("modeSelect", modeSelectClusterInfo); - 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 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 clientMonitoringClusterInfo = new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.ClientMonitoringCluster(ptr, endpointId), new HashMap<>()); - clusterMap.put("clientMonitoring", clientMonitoringClusterInfo); - ClusterInfo unitTestingClusterInfo = new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.UnitTestingCluster(ptr, endpointId), new HashMap<>()); - clusterMap.put("unitTesting", unitTestingClusterInfo); - 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("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("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("booleanState").combineCommands(source.get("booleanState")); - destination.get("modeSelect").combineCommands(source.get("modeSelect")); - 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("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("clientMonitoring").combineCommands(source.get("clientMonitoring")); - destination.get("unitTesting").combineCommands(source.get("unitTesting")); - } - - @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, Object.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 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, Object.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 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, Object.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 booleanStateClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("booleanState", booleanStateClusterInteractionInfoMap); - 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 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 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 clientMonitoringClusterInteractionInfoMap = new LinkedHashMap<>(); - Map clientMonitoringregisterClientMonitoringCommandParams = new LinkedHashMap(); - CommandParameterInfo clientMonitoringregisterClientMonitoringclientNodeIdCommandParameterInfo = new CommandParameterInfo("clientNodeId", Long.class, Long.class); - clientMonitoringregisterClientMonitoringCommandParams.put("clientNodeId",clientMonitoringregisterClientMonitoringclientNodeIdCommandParameterInfo); - - CommandParameterInfo clientMonitoringregisterClientMonitoringICidCommandParameterInfo = new CommandParameterInfo("ICid", Long.class, Long.class); - clientMonitoringregisterClientMonitoringCommandParams.put("ICid",clientMonitoringregisterClientMonitoringICidCommandParameterInfo); - - InteractionInfo clientMonitoringregisterClientMonitoringInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster) - .registerClientMonitoring((DefaultClusterCallback) callback - , (Long) - commandArguments.get("clientNodeId") - , (Long) - commandArguments.get("ICid") - - ); - }, - () -> new DelegatedDefaultClusterCallback(), - clientMonitoringregisterClientMonitoringCommandParams - ); - clientMonitoringClusterInteractionInfoMap.put("registerClientMonitoring", clientMonitoringregisterClientMonitoringInteractionInfo); - Map clientMonitoringunregisterClientMonitoringCommandParams = new LinkedHashMap(); - CommandParameterInfo clientMonitoringunregisterClientMonitoringclientNodeIdCommandParameterInfo = new CommandParameterInfo("clientNodeId", Long.class, Long.class); - clientMonitoringunregisterClientMonitoringCommandParams.put("clientNodeId",clientMonitoringunregisterClientMonitoringclientNodeIdCommandParameterInfo); - - CommandParameterInfo clientMonitoringunregisterClientMonitoringICidCommandParameterInfo = new CommandParameterInfo("ICid", Long.class, Long.class); - clientMonitoringunregisterClientMonitoringCommandParams.put("ICid",clientMonitoringunregisterClientMonitoringICidCommandParameterInfo); - - InteractionInfo clientMonitoringunregisterClientMonitoringInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster) - .unregisterClientMonitoring((DefaultClusterCallback) callback - , (Long) - commandArguments.get("clientNodeId") - , (Long) - commandArguments.get("ICid") - - ); - }, - () -> new DelegatedDefaultClusterCallback(), - clientMonitoringunregisterClientMonitoringCommandParams - ); - clientMonitoringClusterInteractionInfoMap.put("unregisterClientMonitoring", clientMonitoringunregisterClientMonitoringInteractionInfo); - commandMap.put("clientMonitoring", clientMonitoringClusterInteractionInfoMap); - 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, Object.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, Object.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); - return commandMap; + 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 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 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 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 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 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 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 DelegatedClientMonitoringClusterExpectedClientsAttributeCallback + implements ChipClusters.ClientMonitoringCluster.ExpectedClientsAttributeCallback, + DelegatedClusterCallback { + private ClusterCommandCallback callback; + + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess( + List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = + new CommandResponseInfo( + "valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedClientMonitoringClusterGeneratedCommandListAttributeCallback + implements ChipClusters.ClientMonitoringCluster.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 DelegatedClientMonitoringClusterAcceptedCommandListAttributeCallback + implements ChipClusters.ClientMonitoringCluster.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 DelegatedClientMonitoringClusterEventListAttributeCallback + implements ChipClusters.ClientMonitoringCluster.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 DelegatedClientMonitoringClusterAttributeListAttributeCallback + implements ChipClusters.ClientMonitoringCluster.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 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 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 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 booleanStateClusterInfo = + new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.BooleanStateCluster(ptr, endpointId), + new HashMap<>()); + clusterMap.put("booleanState", booleanStateClusterInfo); + ClusterInfo modeSelectClusterInfo = + new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ModeSelectCluster(ptr, endpointId), + new HashMap<>()); + clusterMap.put("modeSelect", modeSelectClusterInfo); + 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 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 clientMonitoringClusterInfo = + new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ClientMonitoringCluster(ptr, endpointId), + new HashMap<>()); + clusterMap.put("clientMonitoring", clientMonitoringClusterInfo); + ClusterInfo unitTestingClusterInfo = + new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.UnitTestingCluster(ptr, endpointId), + new HashMap<>()); + clusterMap.put("unitTesting", unitTestingClusterInfo); + 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("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("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("booleanState").combineCommands(source.get("booleanState")); + destination.get("modeSelect").combineCommands(source.get("modeSelect")); + 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("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("clientMonitoring").combineCommands(source.get("clientMonitoring")); + destination.get("unitTesting").combineCommands(source.get("unitTesting")); + } + + @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, Object.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 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, Object.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 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, Object.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 booleanStateClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("booleanState", booleanStateClusterInteractionInfoMap); + 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 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 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 clientMonitoringClusterInteractionInfoMap = new LinkedHashMap<>(); + Map clientMonitoringregisterClientMonitoringCommandParams = + new LinkedHashMap(); + CommandParameterInfo clientMonitoringregisterClientMonitoringclientNodeIdCommandParameterInfo = + new CommandParameterInfo("clientNodeId", Long.class, Long.class); + clientMonitoringregisterClientMonitoringCommandParams.put( + "clientNodeId", clientMonitoringregisterClientMonitoringclientNodeIdCommandParameterInfo); + + CommandParameterInfo clientMonitoringregisterClientMonitoringICidCommandParameterInfo = + new CommandParameterInfo("ICid", Long.class, Long.class); + clientMonitoringregisterClientMonitoringCommandParams.put( + "ICid", clientMonitoringregisterClientMonitoringICidCommandParameterInfo); + + InteractionInfo clientMonitoringregisterClientMonitoringInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster) + .registerClientMonitoring( + (DefaultClusterCallback) callback, + (Long) commandArguments.get("clientNodeId"), + (Long) commandArguments.get("ICid")); + }, + () -> new DelegatedDefaultClusterCallback(), + clientMonitoringregisterClientMonitoringCommandParams); + clientMonitoringClusterInteractionInfoMap.put( + "registerClientMonitoring", clientMonitoringregisterClientMonitoringInteractionInfo); + Map clientMonitoringunregisterClientMonitoringCommandParams = + new LinkedHashMap(); + CommandParameterInfo + clientMonitoringunregisterClientMonitoringclientNodeIdCommandParameterInfo = + new CommandParameterInfo("clientNodeId", Long.class, Long.class); + clientMonitoringunregisterClientMonitoringCommandParams.put( + "clientNodeId", clientMonitoringunregisterClientMonitoringclientNodeIdCommandParameterInfo); + + CommandParameterInfo clientMonitoringunregisterClientMonitoringICidCommandParameterInfo = + new CommandParameterInfo("ICid", Long.class, Long.class); + clientMonitoringunregisterClientMonitoringCommandParams.put( + "ICid", clientMonitoringunregisterClientMonitoringICidCommandParameterInfo); + + InteractionInfo clientMonitoringunregisterClientMonitoringInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster) + .unregisterClientMonitoring( + (DefaultClusterCallback) callback, + (Long) commandArguments.get("clientNodeId"), + (Long) commandArguments.get("ICid")); + }, + () -> new DelegatedDefaultClusterCallback(), + clientMonitoringunregisterClientMonitoringCommandParams); + clientMonitoringClusterInteractionInfoMap.put( + "unregisterClientMonitoring", clientMonitoringunregisterClientMonitoringInteractionInfo); + commandMap.put("clientMonitoring", clientMonitoringClusterInteractionInfoMap); + 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, Object.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, Object.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); + return commandMap; + } +} diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java b/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java index 102c67c7b59711..59f9942c5c7c51 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java @@ -29,14623 +29,16622 @@ public class ClusterReadMapping { public Map> getReadAttributeMap() { Map> readAttributeMap = new HashMap<>(); - Map readIdentifyInteractionInfo = new LinkedHashMap<>(); - Map readIdentifyIdentifyTimeCommandParams = new LinkedHashMap(); - InteractionInfo readIdentifyIdentifyTimeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster).readIdentifyTimeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readIdentifyIdentifyTimeCommandParams - ); - readIdentifyInteractionInfo.put("readIdentifyTimeAttribute", readIdentifyIdentifyTimeAttributeInteractionInfo); - Map readIdentifyIdentifyTypeCommandParams = new LinkedHashMap(); - InteractionInfo readIdentifyIdentifyTypeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster).readIdentifyTypeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readIdentifyIdentifyTypeCommandParams - ); - readIdentifyInteractionInfo.put("readIdentifyTypeAttribute", readIdentifyIdentifyTypeAttributeInteractionInfo); - Map readIdentifyGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readIdentifyGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.IdentifyCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIdentifyClusterGeneratedCommandListAttributeCallback(), - readIdentifyGeneratedCommandListCommandParams - ); - readIdentifyInteractionInfo.put("readGeneratedCommandListAttribute", readIdentifyGeneratedCommandListAttributeInteractionInfo); - Map readIdentifyAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readIdentifyAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.IdentifyCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIdentifyClusterAcceptedCommandListAttributeCallback(), - readIdentifyAcceptedCommandListCommandParams - ); - readIdentifyInteractionInfo.put("readAcceptedCommandListAttribute", readIdentifyAcceptedCommandListAttributeInteractionInfo); - Map readIdentifyEventListCommandParams = new LinkedHashMap(); - InteractionInfo readIdentifyEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster).readEventListAttribute( - ( ChipClusters.IdentifyCluster.EventListAttributeCallback - ) callback - ); - }, + Map readIdentifyInteractionInfo = new LinkedHashMap<>(); + Map readIdentifyIdentifyTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readIdentifyIdentifyTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster) + .readIdentifyTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readIdentifyIdentifyTimeCommandParams); + readIdentifyInteractionInfo.put( + "readIdentifyTimeAttribute", readIdentifyIdentifyTimeAttributeInteractionInfo); + Map readIdentifyIdentifyTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readIdentifyIdentifyTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster) + .readIdentifyTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readIdentifyIdentifyTypeCommandParams); + readIdentifyInteractionInfo.put( + "readIdentifyTypeAttribute", readIdentifyIdentifyTypeAttributeInteractionInfo); + Map readIdentifyGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readIdentifyGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.IdentifyCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedIdentifyClusterGeneratedCommandListAttributeCallback(), + readIdentifyGeneratedCommandListCommandParams); + readIdentifyInteractionInfo.put( + "readGeneratedCommandListAttribute", + readIdentifyGeneratedCommandListAttributeInteractionInfo); + Map readIdentifyAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readIdentifyAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.IdentifyCluster.AcceptedCommandListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedIdentifyClusterAcceptedCommandListAttributeCallback(), + readIdentifyAcceptedCommandListCommandParams); + readIdentifyInteractionInfo.put( + "readAcceptedCommandListAttribute", + readIdentifyAcceptedCommandListAttributeInteractionInfo); + Map readIdentifyEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readIdentifyEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster) + .readEventListAttribute( + (ChipClusters.IdentifyCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedIdentifyClusterEventListAttributeCallback(), - readIdentifyEventListCommandParams - ); - readIdentifyInteractionInfo.put("readEventListAttribute", readIdentifyEventListAttributeInteractionInfo); - Map readIdentifyAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readIdentifyAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster).readAttributeListAttribute( - ( ChipClusters.IdentifyCluster.AttributeListAttributeCallback - ) callback - ); - }, + readIdentifyEventListCommandParams); + readIdentifyInteractionInfo.put( + "readEventListAttribute", readIdentifyEventListAttributeInteractionInfo); + Map readIdentifyAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readIdentifyAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.IdentifyCluster.AttributeListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedIdentifyClusterAttributeListAttributeCallback(), - readIdentifyAttributeListCommandParams - ); - readIdentifyInteractionInfo.put("readAttributeListAttribute", readIdentifyAttributeListAttributeInteractionInfo); - Map readIdentifyFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readIdentifyFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readIdentifyFeatureMapCommandParams - ); - readIdentifyInteractionInfo.put("readFeatureMapAttribute", readIdentifyFeatureMapAttributeInteractionInfo); - Map readIdentifyClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readIdentifyClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readIdentifyClusterRevisionCommandParams - ); - readIdentifyInteractionInfo.put("readClusterRevisionAttribute", readIdentifyClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("identify", readIdentifyInteractionInfo); - Map readGroupsInteractionInfo = new LinkedHashMap<>(); - Map readGroupsNameSupportCommandParams = new LinkedHashMap(); - InteractionInfo readGroupsNameSupportAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupsCluster) cluster).readNameSupportAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readGroupsNameSupportCommandParams - ); - readGroupsInteractionInfo.put("readNameSupportAttribute", readGroupsNameSupportAttributeInteractionInfo); - Map readGroupsGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readGroupsGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupsCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.GroupsCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedGroupsClusterGeneratedCommandListAttributeCallback(), - readGroupsGeneratedCommandListCommandParams - ); - readGroupsInteractionInfo.put("readGeneratedCommandListAttribute", readGroupsGeneratedCommandListAttributeInteractionInfo); - Map readGroupsAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readGroupsAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupsCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.GroupsCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedGroupsClusterAcceptedCommandListAttributeCallback(), - readGroupsAcceptedCommandListCommandParams - ); - readGroupsInteractionInfo.put("readAcceptedCommandListAttribute", readGroupsAcceptedCommandListAttributeInteractionInfo); - Map readGroupsEventListCommandParams = new LinkedHashMap(); - InteractionInfo readGroupsEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupsCluster) cluster).readEventListAttribute( - ( ChipClusters.GroupsCluster.EventListAttributeCallback - ) callback - ); - }, + readIdentifyAttributeListCommandParams); + readIdentifyInteractionInfo.put( + "readAttributeListAttribute", readIdentifyAttributeListAttributeInteractionInfo); + Map readIdentifyFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readIdentifyFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readIdentifyFeatureMapCommandParams); + readIdentifyInteractionInfo.put( + "readFeatureMapAttribute", readIdentifyFeatureMapAttributeInteractionInfo); + Map readIdentifyClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readIdentifyClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readIdentifyClusterRevisionCommandParams); + readIdentifyInteractionInfo.put( + "readClusterRevisionAttribute", readIdentifyClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("identify", readIdentifyInteractionInfo); + Map readGroupsInteractionInfo = new LinkedHashMap<>(); + Map readGroupsNameSupportCommandParams = + new LinkedHashMap(); + InteractionInfo readGroupsNameSupportAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupsCluster) cluster) + .readNameSupportAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readGroupsNameSupportCommandParams); + readGroupsInteractionInfo.put( + "readNameSupportAttribute", readGroupsNameSupportAttributeInteractionInfo); + Map readGroupsGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readGroupsGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupsCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.GroupsCluster.GeneratedCommandListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedGroupsClusterGeneratedCommandListAttributeCallback(), + readGroupsGeneratedCommandListCommandParams); + readGroupsInteractionInfo.put( + "readGeneratedCommandListAttribute", + readGroupsGeneratedCommandListAttributeInteractionInfo); + Map readGroupsAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readGroupsAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupsCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.GroupsCluster.AcceptedCommandListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedGroupsClusterAcceptedCommandListAttributeCallback(), + readGroupsAcceptedCommandListCommandParams); + readGroupsInteractionInfo.put( + "readAcceptedCommandListAttribute", readGroupsAcceptedCommandListAttributeInteractionInfo); + Map readGroupsEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readGroupsEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupsCluster) cluster) + .readEventListAttribute( + (ChipClusters.GroupsCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedGroupsClusterEventListAttributeCallback(), - readGroupsEventListCommandParams - ); - readGroupsInteractionInfo.put("readEventListAttribute", readGroupsEventListAttributeInteractionInfo); - Map readGroupsAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readGroupsAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupsCluster) cluster).readAttributeListAttribute( - ( ChipClusters.GroupsCluster.AttributeListAttributeCallback - ) callback - ); - }, + readGroupsEventListCommandParams); + readGroupsInteractionInfo.put( + "readEventListAttribute", readGroupsEventListAttributeInteractionInfo); + Map readGroupsAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readGroupsAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupsCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.GroupsCluster.AttributeListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedGroupsClusterAttributeListAttributeCallback(), - readGroupsAttributeListCommandParams - ); - readGroupsInteractionInfo.put("readAttributeListAttribute", readGroupsAttributeListAttributeInteractionInfo); - Map readGroupsFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readGroupsFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupsCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readGroupsFeatureMapCommandParams - ); - readGroupsInteractionInfo.put("readFeatureMapAttribute", readGroupsFeatureMapAttributeInteractionInfo); - Map readGroupsClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readGroupsClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupsCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readGroupsClusterRevisionCommandParams - ); - readGroupsInteractionInfo.put("readClusterRevisionAttribute", readGroupsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("groups", readGroupsInteractionInfo); - Map readScenesInteractionInfo = new LinkedHashMap<>(); - Map readScenesSceneCountCommandParams = new LinkedHashMap(); - InteractionInfo readScenesSceneCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster).readSceneCountAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readScenesSceneCountCommandParams - ); - readScenesInteractionInfo.put("readSceneCountAttribute", readScenesSceneCountAttributeInteractionInfo); - Map readScenesCurrentSceneCommandParams = new LinkedHashMap(); - InteractionInfo readScenesCurrentSceneAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster).readCurrentSceneAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readScenesCurrentSceneCommandParams - ); - readScenesInteractionInfo.put("readCurrentSceneAttribute", readScenesCurrentSceneAttributeInteractionInfo); - Map readScenesCurrentGroupCommandParams = new LinkedHashMap(); - InteractionInfo readScenesCurrentGroupAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster).readCurrentGroupAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readScenesCurrentGroupCommandParams - ); - readScenesInteractionInfo.put("readCurrentGroupAttribute", readScenesCurrentGroupAttributeInteractionInfo); - Map readScenesSceneValidCommandParams = new LinkedHashMap(); - InteractionInfo readScenesSceneValidAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster).readSceneValidAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readGroupsAttributeListCommandParams); + readGroupsInteractionInfo.put( + "readAttributeListAttribute", readGroupsAttributeListAttributeInteractionInfo); + Map readGroupsFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readGroupsFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupsCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readGroupsFeatureMapCommandParams); + readGroupsInteractionInfo.put( + "readFeatureMapAttribute", readGroupsFeatureMapAttributeInteractionInfo); + Map readGroupsClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readGroupsClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupsCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readGroupsClusterRevisionCommandParams); + readGroupsInteractionInfo.put( + "readClusterRevisionAttribute", readGroupsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("groups", readGroupsInteractionInfo); + Map readScenesInteractionInfo = new LinkedHashMap<>(); + Map readScenesSceneCountCommandParams = + new LinkedHashMap(); + InteractionInfo readScenesSceneCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .readSceneCountAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readScenesSceneCountCommandParams); + readScenesInteractionInfo.put( + "readSceneCountAttribute", readScenesSceneCountAttributeInteractionInfo); + Map readScenesCurrentSceneCommandParams = + new LinkedHashMap(); + InteractionInfo readScenesCurrentSceneAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .readCurrentSceneAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readScenesCurrentSceneCommandParams); + readScenesInteractionInfo.put( + "readCurrentSceneAttribute", readScenesCurrentSceneAttributeInteractionInfo); + Map readScenesCurrentGroupCommandParams = + new LinkedHashMap(); + InteractionInfo readScenesCurrentGroupAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .readCurrentGroupAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readScenesCurrentGroupCommandParams); + readScenesInteractionInfo.put( + "readCurrentGroupAttribute", readScenesCurrentGroupAttributeInteractionInfo); + Map readScenesSceneValidCommandParams = + new LinkedHashMap(); + InteractionInfo readScenesSceneValidAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .readSceneValidAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readScenesSceneValidCommandParams - ); - readScenesInteractionInfo.put("readSceneValidAttribute", readScenesSceneValidAttributeInteractionInfo); - Map readScenesNameSupportCommandParams = new LinkedHashMap(); - InteractionInfo readScenesNameSupportAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster).readNameSupportAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readScenesNameSupportCommandParams - ); - readScenesInteractionInfo.put("readNameSupportAttribute", readScenesNameSupportAttributeInteractionInfo); - Map readScenesLastConfiguredByCommandParams = new LinkedHashMap(); - InteractionInfo readScenesLastConfiguredByAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster).readLastConfiguredByAttribute( - ( ChipClusters.ScenesCluster.LastConfiguredByAttributeCallback - ) callback - ); - }, + readScenesSceneValidCommandParams); + readScenesInteractionInfo.put( + "readSceneValidAttribute", readScenesSceneValidAttributeInteractionInfo); + Map readScenesNameSupportCommandParams = + new LinkedHashMap(); + InteractionInfo readScenesNameSupportAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .readNameSupportAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readScenesNameSupportCommandParams); + readScenesInteractionInfo.put( + "readNameSupportAttribute", readScenesNameSupportAttributeInteractionInfo); + Map readScenesLastConfiguredByCommandParams = + new LinkedHashMap(); + InteractionInfo readScenesLastConfiguredByAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .readLastConfiguredByAttribute( + (ChipClusters.ScenesCluster.LastConfiguredByAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedScenesClusterLastConfiguredByAttributeCallback(), - readScenesLastConfiguredByCommandParams - ); - readScenesInteractionInfo.put("readLastConfiguredByAttribute", readScenesLastConfiguredByAttributeInteractionInfo); - Map readScenesGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readScenesGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.ScenesCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedScenesClusterGeneratedCommandListAttributeCallback(), - readScenesGeneratedCommandListCommandParams - ); - readScenesInteractionInfo.put("readGeneratedCommandListAttribute", readScenesGeneratedCommandListAttributeInteractionInfo); - Map readScenesAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readScenesAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.ScenesCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedScenesClusterAcceptedCommandListAttributeCallback(), - readScenesAcceptedCommandListCommandParams - ); - readScenesInteractionInfo.put("readAcceptedCommandListAttribute", readScenesAcceptedCommandListAttributeInteractionInfo); - Map readScenesEventListCommandParams = new LinkedHashMap(); - InteractionInfo readScenesEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster).readEventListAttribute( - ( ChipClusters.ScenesCluster.EventListAttributeCallback - ) callback - ); - }, + readScenesLastConfiguredByCommandParams); + readScenesInteractionInfo.put( + "readLastConfiguredByAttribute", readScenesLastConfiguredByAttributeInteractionInfo); + Map readScenesGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readScenesGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.ScenesCluster.GeneratedCommandListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedScenesClusterGeneratedCommandListAttributeCallback(), + readScenesGeneratedCommandListCommandParams); + readScenesInteractionInfo.put( + "readGeneratedCommandListAttribute", + readScenesGeneratedCommandListAttributeInteractionInfo); + Map readScenesAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readScenesAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.ScenesCluster.AcceptedCommandListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedScenesClusterAcceptedCommandListAttributeCallback(), + readScenesAcceptedCommandListCommandParams); + readScenesInteractionInfo.put( + "readAcceptedCommandListAttribute", readScenesAcceptedCommandListAttributeInteractionInfo); + Map readScenesEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readScenesEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .readEventListAttribute( + (ChipClusters.ScenesCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedScenesClusterEventListAttributeCallback(), - readScenesEventListCommandParams - ); - readScenesInteractionInfo.put("readEventListAttribute", readScenesEventListAttributeInteractionInfo); - Map readScenesAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readScenesAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster).readAttributeListAttribute( - ( ChipClusters.ScenesCluster.AttributeListAttributeCallback - ) callback - ); - }, + readScenesEventListCommandParams); + readScenesInteractionInfo.put( + "readEventListAttribute", readScenesEventListAttributeInteractionInfo); + Map readScenesAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readScenesAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.ScenesCluster.AttributeListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedScenesClusterAttributeListAttributeCallback(), - readScenesAttributeListCommandParams - ); - readScenesInteractionInfo.put("readAttributeListAttribute", readScenesAttributeListAttributeInteractionInfo); - Map readScenesFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readScenesFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readScenesFeatureMapCommandParams - ); - readScenesInteractionInfo.put("readFeatureMapAttribute", readScenesFeatureMapAttributeInteractionInfo); - Map readScenesClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readScenesClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readScenesClusterRevisionCommandParams - ); - readScenesInteractionInfo.put("readClusterRevisionAttribute", readScenesClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("scenes", readScenesInteractionInfo); - Map readOnOffInteractionInfo = new LinkedHashMap<>(); - Map readOnOffOnOffCommandParams = new LinkedHashMap(); - InteractionInfo readOnOffOnOffAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster).readOnOffAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readScenesAttributeListCommandParams); + readScenesInteractionInfo.put( + "readAttributeListAttribute", readScenesAttributeListAttributeInteractionInfo); + Map readScenesFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readScenesFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readScenesFeatureMapCommandParams); + readScenesInteractionInfo.put( + "readFeatureMapAttribute", readScenesFeatureMapAttributeInteractionInfo); + Map readScenesClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readScenesClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readScenesClusterRevisionCommandParams); + readScenesInteractionInfo.put( + "readClusterRevisionAttribute", readScenesClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("scenes", readScenesInteractionInfo); + Map readOnOffInteractionInfo = new LinkedHashMap<>(); + Map readOnOffOnOffCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffOnOffAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .readOnOffAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readOnOffOnOffCommandParams - ); - readOnOffInteractionInfo.put("readOnOffAttribute", readOnOffOnOffAttributeInteractionInfo); - Map readOnOffGlobalSceneControlCommandParams = new LinkedHashMap(); - InteractionInfo readOnOffGlobalSceneControlAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster).readGlobalSceneControlAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readOnOffOnOffCommandParams); + readOnOffInteractionInfo.put("readOnOffAttribute", readOnOffOnOffAttributeInteractionInfo); + Map readOnOffGlobalSceneControlCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffGlobalSceneControlAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .readGlobalSceneControlAttribute( + (ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readOnOffGlobalSceneControlCommandParams - ); - readOnOffInteractionInfo.put("readGlobalSceneControlAttribute", readOnOffGlobalSceneControlAttributeInteractionInfo); - Map readOnOffOnTimeCommandParams = new LinkedHashMap(); - InteractionInfo readOnOffOnTimeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster).readOnTimeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOnOffOnTimeCommandParams - ); - readOnOffInteractionInfo.put("readOnTimeAttribute", readOnOffOnTimeAttributeInteractionInfo); - Map readOnOffOffWaitTimeCommandParams = new LinkedHashMap(); - InteractionInfo readOnOffOffWaitTimeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster).readOffWaitTimeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOnOffOffWaitTimeCommandParams - ); - readOnOffInteractionInfo.put("readOffWaitTimeAttribute", readOnOffOffWaitTimeAttributeInteractionInfo); - Map readOnOffStartUpOnOffCommandParams = new LinkedHashMap(); - InteractionInfo readOnOffStartUpOnOffAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster).readStartUpOnOffAttribute( - ( ChipClusters.OnOffCluster.StartUpOnOffAttributeCallback - ) callback - ); - }, + readOnOffGlobalSceneControlCommandParams); + readOnOffInteractionInfo.put( + "readGlobalSceneControlAttribute", readOnOffGlobalSceneControlAttributeInteractionInfo); + Map readOnOffOnTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffOnTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .readOnTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOnOffOnTimeCommandParams); + readOnOffInteractionInfo.put("readOnTimeAttribute", readOnOffOnTimeAttributeInteractionInfo); + Map readOnOffOffWaitTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffOffWaitTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .readOffWaitTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOnOffOffWaitTimeCommandParams); + readOnOffInteractionInfo.put( + "readOffWaitTimeAttribute", readOnOffOffWaitTimeAttributeInteractionInfo); + Map readOnOffStartUpOnOffCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffStartUpOnOffAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .readStartUpOnOffAttribute( + (ChipClusters.OnOffCluster.StartUpOnOffAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedOnOffClusterStartUpOnOffAttributeCallback(), - readOnOffStartUpOnOffCommandParams - ); - readOnOffInteractionInfo.put("readStartUpOnOffAttribute", readOnOffStartUpOnOffAttributeInteractionInfo); - Map readOnOffGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readOnOffGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.OnOffCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOnOffClusterGeneratedCommandListAttributeCallback(), - readOnOffGeneratedCommandListCommandParams - ); - readOnOffInteractionInfo.put("readGeneratedCommandListAttribute", readOnOffGeneratedCommandListAttributeInteractionInfo); - Map readOnOffAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readOnOffAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.OnOffCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOnOffClusterAcceptedCommandListAttributeCallback(), - readOnOffAcceptedCommandListCommandParams - ); - readOnOffInteractionInfo.put("readAcceptedCommandListAttribute", readOnOffAcceptedCommandListAttributeInteractionInfo); - Map readOnOffEventListCommandParams = new LinkedHashMap(); - InteractionInfo readOnOffEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster).readEventListAttribute( - ( ChipClusters.OnOffCluster.EventListAttributeCallback - ) callback - ); - }, + readOnOffStartUpOnOffCommandParams); + readOnOffInteractionInfo.put( + "readStartUpOnOffAttribute", readOnOffStartUpOnOffAttributeInteractionInfo); + Map readOnOffGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.OnOffCluster.GeneratedCommandListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedOnOffClusterGeneratedCommandListAttributeCallback(), + readOnOffGeneratedCommandListCommandParams); + readOnOffInteractionInfo.put( + "readGeneratedCommandListAttribute", readOnOffGeneratedCommandListAttributeInteractionInfo); + Map readOnOffAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.OnOffCluster.AcceptedCommandListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedOnOffClusterAcceptedCommandListAttributeCallback(), + readOnOffAcceptedCommandListCommandParams); + readOnOffInteractionInfo.put( + "readAcceptedCommandListAttribute", readOnOffAcceptedCommandListAttributeInteractionInfo); + Map readOnOffEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .readEventListAttribute( + (ChipClusters.OnOffCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedOnOffClusterEventListAttributeCallback(), - readOnOffEventListCommandParams - ); - readOnOffInteractionInfo.put("readEventListAttribute", readOnOffEventListAttributeInteractionInfo); - Map readOnOffAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readOnOffAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster).readAttributeListAttribute( - ( ChipClusters.OnOffCluster.AttributeListAttributeCallback - ) callback - ); - }, + readOnOffEventListCommandParams); + readOnOffInteractionInfo.put( + "readEventListAttribute", readOnOffEventListAttributeInteractionInfo); + Map readOnOffAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.OnOffCluster.AttributeListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedOnOffClusterAttributeListAttributeCallback(), - readOnOffAttributeListCommandParams - ); - readOnOffInteractionInfo.put("readAttributeListAttribute", readOnOffAttributeListAttributeInteractionInfo); - Map readOnOffFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readOnOffFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readOnOffFeatureMapCommandParams - ); - readOnOffInteractionInfo.put("readFeatureMapAttribute", readOnOffFeatureMapAttributeInteractionInfo); - Map readOnOffClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readOnOffClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOnOffClusterRevisionCommandParams - ); - readOnOffInteractionInfo.put("readClusterRevisionAttribute", readOnOffClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("onOff", readOnOffInteractionInfo); - Map readOnOffSwitchConfigurationInteractionInfo = new LinkedHashMap<>(); - Map readOnOffSwitchConfigurationSwitchTypeCommandParams = new LinkedHashMap(); - InteractionInfo readOnOffSwitchConfigurationSwitchTypeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffSwitchConfigurationCluster) cluster).readSwitchTypeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOnOffSwitchConfigurationSwitchTypeCommandParams - ); - readOnOffSwitchConfigurationInteractionInfo.put("readSwitchTypeAttribute", readOnOffSwitchConfigurationSwitchTypeAttributeInteractionInfo); - Map readOnOffSwitchConfigurationSwitchActionsCommandParams = new LinkedHashMap(); - InteractionInfo readOnOffSwitchConfigurationSwitchActionsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffSwitchConfigurationCluster) cluster).readSwitchActionsAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOnOffSwitchConfigurationSwitchActionsCommandParams - ); - readOnOffSwitchConfigurationInteractionInfo.put("readSwitchActionsAttribute", readOnOffSwitchConfigurationSwitchActionsAttributeInteractionInfo); - Map readOnOffSwitchConfigurationGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readOnOffSwitchConfigurationGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffSwitchConfigurationCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.OnOffSwitchConfigurationCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOnOffSwitchConfigurationClusterGeneratedCommandListAttributeCallback(), - readOnOffSwitchConfigurationGeneratedCommandListCommandParams - ); - readOnOffSwitchConfigurationInteractionInfo.put("readGeneratedCommandListAttribute", readOnOffSwitchConfigurationGeneratedCommandListAttributeInteractionInfo); - Map readOnOffSwitchConfigurationAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readOnOffSwitchConfigurationAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffSwitchConfigurationCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.OnOffSwitchConfigurationCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOnOffSwitchConfigurationClusterAcceptedCommandListAttributeCallback(), - readOnOffSwitchConfigurationAcceptedCommandListCommandParams - ); - readOnOffSwitchConfigurationInteractionInfo.put("readAcceptedCommandListAttribute", readOnOffSwitchConfigurationAcceptedCommandListAttributeInteractionInfo); - Map readOnOffSwitchConfigurationEventListCommandParams = new LinkedHashMap(); - InteractionInfo readOnOffSwitchConfigurationEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffSwitchConfigurationCluster) cluster).readEventListAttribute( - ( ChipClusters.OnOffSwitchConfigurationCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOnOffSwitchConfigurationClusterEventListAttributeCallback(), - readOnOffSwitchConfigurationEventListCommandParams - ); - readOnOffSwitchConfigurationInteractionInfo.put("readEventListAttribute", readOnOffSwitchConfigurationEventListAttributeInteractionInfo); - Map readOnOffSwitchConfigurationAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readOnOffSwitchConfigurationAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffSwitchConfigurationCluster) cluster).readAttributeListAttribute( - ( ChipClusters.OnOffSwitchConfigurationCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOnOffSwitchConfigurationClusterAttributeListAttributeCallback(), - readOnOffSwitchConfigurationAttributeListCommandParams - ); - readOnOffSwitchConfigurationInteractionInfo.put("readAttributeListAttribute", readOnOffSwitchConfigurationAttributeListAttributeInteractionInfo); - Map readOnOffSwitchConfigurationFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readOnOffSwitchConfigurationFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffSwitchConfigurationCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readOnOffSwitchConfigurationFeatureMapCommandParams - ); - readOnOffSwitchConfigurationInteractionInfo.put("readFeatureMapAttribute", readOnOffSwitchConfigurationFeatureMapAttributeInteractionInfo); - Map readOnOffSwitchConfigurationClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readOnOffSwitchConfigurationClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffSwitchConfigurationCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOnOffSwitchConfigurationClusterRevisionCommandParams - ); - readOnOffSwitchConfigurationInteractionInfo.put("readClusterRevisionAttribute", readOnOffSwitchConfigurationClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("onOffSwitchConfiguration", readOnOffSwitchConfigurationInteractionInfo); - Map readLevelControlInteractionInfo = new LinkedHashMap<>(); - Map readLevelControlCurrentLevelCommandParams = new LinkedHashMap(); - InteractionInfo readLevelControlCurrentLevelAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).readCurrentLevelAttribute( - ( ChipClusters.LevelControlCluster.CurrentLevelAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLevelControlClusterCurrentLevelAttributeCallback(), - readLevelControlCurrentLevelCommandParams - ); - readLevelControlInteractionInfo.put("readCurrentLevelAttribute", readLevelControlCurrentLevelAttributeInteractionInfo); - Map readLevelControlRemainingTimeCommandParams = new LinkedHashMap(); - InteractionInfo readLevelControlRemainingTimeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).readRemainingTimeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readLevelControlRemainingTimeCommandParams - ); - readLevelControlInteractionInfo.put("readRemainingTimeAttribute", readLevelControlRemainingTimeAttributeInteractionInfo); - Map readLevelControlMinLevelCommandParams = new LinkedHashMap(); - InteractionInfo readLevelControlMinLevelAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).readMinLevelAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readLevelControlMinLevelCommandParams - ); - readLevelControlInteractionInfo.put("readMinLevelAttribute", readLevelControlMinLevelAttributeInteractionInfo); - Map readLevelControlMaxLevelCommandParams = new LinkedHashMap(); - InteractionInfo readLevelControlMaxLevelAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).readMaxLevelAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readLevelControlMaxLevelCommandParams - ); - readLevelControlInteractionInfo.put("readMaxLevelAttribute", readLevelControlMaxLevelAttributeInteractionInfo); - Map readLevelControlCurrentFrequencyCommandParams = new LinkedHashMap(); - InteractionInfo readLevelControlCurrentFrequencyAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).readCurrentFrequencyAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readLevelControlCurrentFrequencyCommandParams - ); - readLevelControlInteractionInfo.put("readCurrentFrequencyAttribute", readLevelControlCurrentFrequencyAttributeInteractionInfo); - Map readLevelControlMinFrequencyCommandParams = new LinkedHashMap(); - InteractionInfo readLevelControlMinFrequencyAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).readMinFrequencyAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readLevelControlMinFrequencyCommandParams - ); - readLevelControlInteractionInfo.put("readMinFrequencyAttribute", readLevelControlMinFrequencyAttributeInteractionInfo); - Map readLevelControlMaxFrequencyCommandParams = new LinkedHashMap(); - InteractionInfo readLevelControlMaxFrequencyAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).readMaxFrequencyAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readLevelControlMaxFrequencyCommandParams - ); - readLevelControlInteractionInfo.put("readMaxFrequencyAttribute", readLevelControlMaxFrequencyAttributeInteractionInfo); - Map readLevelControlOptionsCommandParams = new LinkedHashMap(); - InteractionInfo readLevelControlOptionsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).readOptionsAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readLevelControlOptionsCommandParams - ); - readLevelControlInteractionInfo.put("readOptionsAttribute", readLevelControlOptionsAttributeInteractionInfo); - Map readLevelControlOnOffTransitionTimeCommandParams = new LinkedHashMap(); - InteractionInfo readLevelControlOnOffTransitionTimeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).readOnOffTransitionTimeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readLevelControlOnOffTransitionTimeCommandParams - ); - readLevelControlInteractionInfo.put("readOnOffTransitionTimeAttribute", readLevelControlOnOffTransitionTimeAttributeInteractionInfo); - Map readLevelControlOnLevelCommandParams = new LinkedHashMap(); - InteractionInfo readLevelControlOnLevelAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).readOnLevelAttribute( - ( ChipClusters.LevelControlCluster.OnLevelAttributeCallback - ) callback - ); - }, + readOnOffAttributeListCommandParams); + readOnOffInteractionInfo.put( + "readAttributeListAttribute", readOnOffAttributeListAttributeInteractionInfo); + Map readOnOffFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readOnOffFeatureMapCommandParams); + readOnOffInteractionInfo.put( + "readFeatureMapAttribute", readOnOffFeatureMapAttributeInteractionInfo); + Map readOnOffClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOnOffClusterRevisionCommandParams); + readOnOffInteractionInfo.put( + "readClusterRevisionAttribute", readOnOffClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("onOff", readOnOffInteractionInfo); + Map readOnOffSwitchConfigurationInteractionInfo = + new LinkedHashMap<>(); + Map readOnOffSwitchConfigurationSwitchTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffSwitchConfigurationSwitchTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) + .readSwitchTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOnOffSwitchConfigurationSwitchTypeCommandParams); + readOnOffSwitchConfigurationInteractionInfo.put( + "readSwitchTypeAttribute", readOnOffSwitchConfigurationSwitchTypeAttributeInteractionInfo); + Map readOnOffSwitchConfigurationSwitchActionsCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffSwitchConfigurationSwitchActionsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) + .readSwitchActionsAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOnOffSwitchConfigurationSwitchActionsCommandParams); + readOnOffSwitchConfigurationInteractionInfo.put( + "readSwitchActionsAttribute", + readOnOffSwitchConfigurationSwitchActionsAttributeInteractionInfo); + Map + readOnOffSwitchConfigurationGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffSwitchConfigurationGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.OnOffSwitchConfigurationCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOnOffSwitchConfigurationClusterGeneratedCommandListAttributeCallback(), + readOnOffSwitchConfigurationGeneratedCommandListCommandParams); + readOnOffSwitchConfigurationInteractionInfo.put( + "readGeneratedCommandListAttribute", + readOnOffSwitchConfigurationGeneratedCommandListAttributeInteractionInfo); + Map readOnOffSwitchConfigurationAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffSwitchConfigurationAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.OnOffSwitchConfigurationCluster + .AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOnOffSwitchConfigurationClusterAcceptedCommandListAttributeCallback(), + readOnOffSwitchConfigurationAcceptedCommandListCommandParams); + readOnOffSwitchConfigurationInteractionInfo.put( + "readAcceptedCommandListAttribute", + readOnOffSwitchConfigurationAcceptedCommandListAttributeInteractionInfo); + Map readOnOffSwitchConfigurationEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffSwitchConfigurationEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) + .readEventListAttribute( + (ChipClusters.OnOffSwitchConfigurationCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOnOffSwitchConfigurationClusterEventListAttributeCallback(), + readOnOffSwitchConfigurationEventListCommandParams); + readOnOffSwitchConfigurationInteractionInfo.put( + "readEventListAttribute", readOnOffSwitchConfigurationEventListAttributeInteractionInfo); + Map readOnOffSwitchConfigurationAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffSwitchConfigurationAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.OnOffSwitchConfigurationCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOnOffSwitchConfigurationClusterAttributeListAttributeCallback(), + readOnOffSwitchConfigurationAttributeListCommandParams); + readOnOffSwitchConfigurationInteractionInfo.put( + "readAttributeListAttribute", + readOnOffSwitchConfigurationAttributeListAttributeInteractionInfo); + Map readOnOffSwitchConfigurationFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffSwitchConfigurationFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readOnOffSwitchConfigurationFeatureMapCommandParams); + readOnOffSwitchConfigurationInteractionInfo.put( + "readFeatureMapAttribute", readOnOffSwitchConfigurationFeatureMapAttributeInteractionInfo); + Map readOnOffSwitchConfigurationClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readOnOffSwitchConfigurationClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOnOffSwitchConfigurationClusterRevisionCommandParams); + readOnOffSwitchConfigurationInteractionInfo.put( + "readClusterRevisionAttribute", + readOnOffSwitchConfigurationClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("onOffSwitchConfiguration", readOnOffSwitchConfigurationInteractionInfo); + Map readLevelControlInteractionInfo = new LinkedHashMap<>(); + Map readLevelControlCurrentLevelCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlCurrentLevelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readCurrentLevelAttribute( + (ChipClusters.LevelControlCluster.CurrentLevelAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedLevelControlClusterCurrentLevelAttributeCallback(), + readLevelControlCurrentLevelCommandParams); + readLevelControlInteractionInfo.put( + "readCurrentLevelAttribute", readLevelControlCurrentLevelAttributeInteractionInfo); + Map readLevelControlRemainingTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlRemainingTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readRemainingTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readLevelControlRemainingTimeCommandParams); + readLevelControlInteractionInfo.put( + "readRemainingTimeAttribute", readLevelControlRemainingTimeAttributeInteractionInfo); + Map readLevelControlMinLevelCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlMinLevelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readMinLevelAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readLevelControlMinLevelCommandParams); + readLevelControlInteractionInfo.put( + "readMinLevelAttribute", readLevelControlMinLevelAttributeInteractionInfo); + Map readLevelControlMaxLevelCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlMaxLevelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readMaxLevelAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readLevelControlMaxLevelCommandParams); + readLevelControlInteractionInfo.put( + "readMaxLevelAttribute", readLevelControlMaxLevelAttributeInteractionInfo); + Map readLevelControlCurrentFrequencyCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlCurrentFrequencyAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readCurrentFrequencyAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readLevelControlCurrentFrequencyCommandParams); + readLevelControlInteractionInfo.put( + "readCurrentFrequencyAttribute", readLevelControlCurrentFrequencyAttributeInteractionInfo); + Map readLevelControlMinFrequencyCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlMinFrequencyAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readMinFrequencyAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readLevelControlMinFrequencyCommandParams); + readLevelControlInteractionInfo.put( + "readMinFrequencyAttribute", readLevelControlMinFrequencyAttributeInteractionInfo); + Map readLevelControlMaxFrequencyCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlMaxFrequencyAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readMaxFrequencyAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readLevelControlMaxFrequencyCommandParams); + readLevelControlInteractionInfo.put( + "readMaxFrequencyAttribute", readLevelControlMaxFrequencyAttributeInteractionInfo); + Map readLevelControlOptionsCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlOptionsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readOptionsAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readLevelControlOptionsCommandParams); + readLevelControlInteractionInfo.put( + "readOptionsAttribute", readLevelControlOptionsAttributeInteractionInfo); + Map readLevelControlOnOffTransitionTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlOnOffTransitionTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readOnOffTransitionTimeAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readLevelControlOnOffTransitionTimeCommandParams); + readLevelControlInteractionInfo.put( + "readOnOffTransitionTimeAttribute", + readLevelControlOnOffTransitionTimeAttributeInteractionInfo); + Map readLevelControlOnLevelCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlOnLevelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readOnLevelAttribute( + (ChipClusters.LevelControlCluster.OnLevelAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedLevelControlClusterOnLevelAttributeCallback(), - readLevelControlOnLevelCommandParams - ); - readLevelControlInteractionInfo.put("readOnLevelAttribute", readLevelControlOnLevelAttributeInteractionInfo); - Map readLevelControlOnTransitionTimeCommandParams = new LinkedHashMap(); - InteractionInfo readLevelControlOnTransitionTimeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).readOnTransitionTimeAttribute( - ( ChipClusters.LevelControlCluster.OnTransitionTimeAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLevelControlClusterOnTransitionTimeAttributeCallback(), - readLevelControlOnTransitionTimeCommandParams - ); - readLevelControlInteractionInfo.put("readOnTransitionTimeAttribute", readLevelControlOnTransitionTimeAttributeInteractionInfo); - Map readLevelControlOffTransitionTimeCommandParams = new LinkedHashMap(); - InteractionInfo readLevelControlOffTransitionTimeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).readOffTransitionTimeAttribute( - ( ChipClusters.LevelControlCluster.OffTransitionTimeAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLevelControlClusterOffTransitionTimeAttributeCallback(), - readLevelControlOffTransitionTimeCommandParams - ); - readLevelControlInteractionInfo.put("readOffTransitionTimeAttribute", readLevelControlOffTransitionTimeAttributeInteractionInfo); - Map readLevelControlDefaultMoveRateCommandParams = new LinkedHashMap(); - InteractionInfo readLevelControlDefaultMoveRateAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).readDefaultMoveRateAttribute( - ( ChipClusters.LevelControlCluster.DefaultMoveRateAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLevelControlClusterDefaultMoveRateAttributeCallback(), - readLevelControlDefaultMoveRateCommandParams - ); - readLevelControlInteractionInfo.put("readDefaultMoveRateAttribute", readLevelControlDefaultMoveRateAttributeInteractionInfo); - Map readLevelControlStartUpCurrentLevelCommandParams = new LinkedHashMap(); - InteractionInfo readLevelControlStartUpCurrentLevelAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).readStartUpCurrentLevelAttribute( - ( ChipClusters.LevelControlCluster.StartUpCurrentLevelAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLevelControlClusterStartUpCurrentLevelAttributeCallback(), - readLevelControlStartUpCurrentLevelCommandParams - ); - readLevelControlInteractionInfo.put("readStartUpCurrentLevelAttribute", readLevelControlStartUpCurrentLevelAttributeInteractionInfo); - Map readLevelControlGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readLevelControlGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.LevelControlCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLevelControlClusterGeneratedCommandListAttributeCallback(), - readLevelControlGeneratedCommandListCommandParams - ); - readLevelControlInteractionInfo.put("readGeneratedCommandListAttribute", readLevelControlGeneratedCommandListAttributeInteractionInfo); - Map readLevelControlAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readLevelControlAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.LevelControlCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLevelControlClusterAcceptedCommandListAttributeCallback(), - readLevelControlAcceptedCommandListCommandParams - ); - readLevelControlInteractionInfo.put("readAcceptedCommandListAttribute", readLevelControlAcceptedCommandListAttributeInteractionInfo); - Map readLevelControlEventListCommandParams = new LinkedHashMap(); - InteractionInfo readLevelControlEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).readEventListAttribute( - ( ChipClusters.LevelControlCluster.EventListAttributeCallback - ) callback - ); - }, + readLevelControlOnLevelCommandParams); + readLevelControlInteractionInfo.put( + "readOnLevelAttribute", readLevelControlOnLevelAttributeInteractionInfo); + Map readLevelControlOnTransitionTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlOnTransitionTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readOnTransitionTimeAttribute( + (ChipClusters.LevelControlCluster.OnTransitionTimeAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedLevelControlClusterOnTransitionTimeAttributeCallback(), + readLevelControlOnTransitionTimeCommandParams); + readLevelControlInteractionInfo.put( + "readOnTransitionTimeAttribute", readLevelControlOnTransitionTimeAttributeInteractionInfo); + Map readLevelControlOffTransitionTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlOffTransitionTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readOffTransitionTimeAttribute( + (ChipClusters.LevelControlCluster.OffTransitionTimeAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedLevelControlClusterOffTransitionTimeAttributeCallback(), + readLevelControlOffTransitionTimeCommandParams); + readLevelControlInteractionInfo.put( + "readOffTransitionTimeAttribute", + readLevelControlOffTransitionTimeAttributeInteractionInfo); + Map readLevelControlDefaultMoveRateCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlDefaultMoveRateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readDefaultMoveRateAttribute( + (ChipClusters.LevelControlCluster.DefaultMoveRateAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedLevelControlClusterDefaultMoveRateAttributeCallback(), + readLevelControlDefaultMoveRateCommandParams); + readLevelControlInteractionInfo.put( + "readDefaultMoveRateAttribute", readLevelControlDefaultMoveRateAttributeInteractionInfo); + Map readLevelControlStartUpCurrentLevelCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlStartUpCurrentLevelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readStartUpCurrentLevelAttribute( + (ChipClusters.LevelControlCluster.StartUpCurrentLevelAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedLevelControlClusterStartUpCurrentLevelAttributeCallback(), + readLevelControlStartUpCurrentLevelCommandParams); + readLevelControlInteractionInfo.put( + "readStartUpCurrentLevelAttribute", + readLevelControlStartUpCurrentLevelAttributeInteractionInfo); + Map readLevelControlGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.LevelControlCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedLevelControlClusterGeneratedCommandListAttributeCallback(), + readLevelControlGeneratedCommandListCommandParams); + readLevelControlInteractionInfo.put( + "readGeneratedCommandListAttribute", + readLevelControlGeneratedCommandListAttributeInteractionInfo); + Map readLevelControlAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.LevelControlCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedLevelControlClusterAcceptedCommandListAttributeCallback(), + readLevelControlAcceptedCommandListCommandParams); + readLevelControlInteractionInfo.put( + "readAcceptedCommandListAttribute", + readLevelControlAcceptedCommandListAttributeInteractionInfo); + Map readLevelControlEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readEventListAttribute( + (ChipClusters.LevelControlCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedLevelControlClusterEventListAttributeCallback(), - readLevelControlEventListCommandParams - ); - readLevelControlInteractionInfo.put("readEventListAttribute", readLevelControlEventListAttributeInteractionInfo); - Map readLevelControlAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readLevelControlAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).readAttributeListAttribute( - ( ChipClusters.LevelControlCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLevelControlClusterAttributeListAttributeCallback(), - readLevelControlAttributeListCommandParams - ); - readLevelControlInteractionInfo.put("readAttributeListAttribute", readLevelControlAttributeListAttributeInteractionInfo); - Map readLevelControlFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readLevelControlFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readLevelControlFeatureMapCommandParams - ); - readLevelControlInteractionInfo.put("readFeatureMapAttribute", readLevelControlFeatureMapAttributeInteractionInfo); - Map readLevelControlClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readLevelControlClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readLevelControlClusterRevisionCommandParams - ); - readLevelControlInteractionInfo.put("readClusterRevisionAttribute", readLevelControlClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("levelControl", readLevelControlInteractionInfo); - Map readBinaryInputBasicInteractionInfo = new LinkedHashMap<>(); - Map readBinaryInputBasicActiveTextCommandParams = new LinkedHashMap(); - InteractionInfo readBinaryInputBasicActiveTextAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster).readActiveTextAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readLevelControlEventListCommandParams); + readLevelControlInteractionInfo.put( + "readEventListAttribute", readLevelControlEventListAttributeInteractionInfo); + Map readLevelControlAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.LevelControlCluster.AttributeListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedLevelControlClusterAttributeListAttributeCallback(), + readLevelControlAttributeListCommandParams); + readLevelControlInteractionInfo.put( + "readAttributeListAttribute", readLevelControlAttributeListAttributeInteractionInfo); + Map readLevelControlFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readLevelControlFeatureMapCommandParams); + readLevelControlInteractionInfo.put( + "readFeatureMapAttribute", readLevelControlFeatureMapAttributeInteractionInfo); + Map readLevelControlClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readLevelControlClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readLevelControlClusterRevisionCommandParams); + readLevelControlInteractionInfo.put( + "readClusterRevisionAttribute", readLevelControlClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("levelControl", readLevelControlInteractionInfo); + Map readBinaryInputBasicInteractionInfo = new LinkedHashMap<>(); + Map readBinaryInputBasicActiveTextCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicActiveTextAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readActiveTextAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBinaryInputBasicActiveTextCommandParams - ); - readBinaryInputBasicInteractionInfo.put("readActiveTextAttribute", readBinaryInputBasicActiveTextAttributeInteractionInfo); - Map readBinaryInputBasicDescriptionCommandParams = new LinkedHashMap(); - InteractionInfo readBinaryInputBasicDescriptionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster).readDescriptionAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBinaryInputBasicActiveTextCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readActiveTextAttribute", readBinaryInputBasicActiveTextAttributeInteractionInfo); + Map readBinaryInputBasicDescriptionCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicDescriptionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readDescriptionAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBinaryInputBasicDescriptionCommandParams - ); - readBinaryInputBasicInteractionInfo.put("readDescriptionAttribute", readBinaryInputBasicDescriptionAttributeInteractionInfo); - Map readBinaryInputBasicInactiveTextCommandParams = new LinkedHashMap(); - InteractionInfo readBinaryInputBasicInactiveTextAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster).readInactiveTextAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBinaryInputBasicDescriptionCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readDescriptionAttribute", readBinaryInputBasicDescriptionAttributeInteractionInfo); + Map readBinaryInputBasicInactiveTextCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicInactiveTextAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readInactiveTextAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBinaryInputBasicInactiveTextCommandParams - ); - readBinaryInputBasicInteractionInfo.put("readInactiveTextAttribute", readBinaryInputBasicInactiveTextAttributeInteractionInfo); - Map readBinaryInputBasicOutOfServiceCommandParams = new LinkedHashMap(); - InteractionInfo readBinaryInputBasicOutOfServiceAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster).readOutOfServiceAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readBinaryInputBasicInactiveTextCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readInactiveTextAttribute", readBinaryInputBasicInactiveTextAttributeInteractionInfo); + Map readBinaryInputBasicOutOfServiceCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicOutOfServiceAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readOutOfServiceAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readBinaryInputBasicOutOfServiceCommandParams - ); - readBinaryInputBasicInteractionInfo.put("readOutOfServiceAttribute", readBinaryInputBasicOutOfServiceAttributeInteractionInfo); - Map readBinaryInputBasicPolarityCommandParams = new LinkedHashMap(); - InteractionInfo readBinaryInputBasicPolarityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster).readPolarityAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBinaryInputBasicPolarityCommandParams - ); - readBinaryInputBasicInteractionInfo.put("readPolarityAttribute", readBinaryInputBasicPolarityAttributeInteractionInfo); - Map readBinaryInputBasicPresentValueCommandParams = new LinkedHashMap(); - InteractionInfo readBinaryInputBasicPresentValueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster).readPresentValueAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readBinaryInputBasicOutOfServiceCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readOutOfServiceAttribute", readBinaryInputBasicOutOfServiceAttributeInteractionInfo); + Map readBinaryInputBasicPolarityCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicPolarityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readPolarityAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBinaryInputBasicPolarityCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readPolarityAttribute", readBinaryInputBasicPolarityAttributeInteractionInfo); + Map readBinaryInputBasicPresentValueCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicPresentValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readPresentValueAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readBinaryInputBasicPresentValueCommandParams - ); - readBinaryInputBasicInteractionInfo.put("readPresentValueAttribute", readBinaryInputBasicPresentValueAttributeInteractionInfo); - Map readBinaryInputBasicReliabilityCommandParams = new LinkedHashMap(); - InteractionInfo readBinaryInputBasicReliabilityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster).readReliabilityAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBinaryInputBasicReliabilityCommandParams - ); - readBinaryInputBasicInteractionInfo.put("readReliabilityAttribute", readBinaryInputBasicReliabilityAttributeInteractionInfo); - Map readBinaryInputBasicStatusFlagsCommandParams = new LinkedHashMap(); - InteractionInfo readBinaryInputBasicStatusFlagsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster).readStatusFlagsAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBinaryInputBasicStatusFlagsCommandParams - ); - readBinaryInputBasicInteractionInfo.put("readStatusFlagsAttribute", readBinaryInputBasicStatusFlagsAttributeInteractionInfo); - Map readBinaryInputBasicApplicationTypeCommandParams = new LinkedHashMap(); - InteractionInfo readBinaryInputBasicApplicationTypeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster).readApplicationTypeAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readBinaryInputBasicApplicationTypeCommandParams - ); - readBinaryInputBasicInteractionInfo.put("readApplicationTypeAttribute", readBinaryInputBasicApplicationTypeAttributeInteractionInfo); - Map readBinaryInputBasicGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readBinaryInputBasicGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.BinaryInputBasicCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBinaryInputBasicClusterGeneratedCommandListAttributeCallback(), - readBinaryInputBasicGeneratedCommandListCommandParams - ); - readBinaryInputBasicInteractionInfo.put("readGeneratedCommandListAttribute", readBinaryInputBasicGeneratedCommandListAttributeInteractionInfo); - Map readBinaryInputBasicAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readBinaryInputBasicAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.BinaryInputBasicCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBinaryInputBasicClusterAcceptedCommandListAttributeCallback(), - readBinaryInputBasicAcceptedCommandListCommandParams - ); - readBinaryInputBasicInteractionInfo.put("readAcceptedCommandListAttribute", readBinaryInputBasicAcceptedCommandListAttributeInteractionInfo); - Map readBinaryInputBasicEventListCommandParams = new LinkedHashMap(); - InteractionInfo readBinaryInputBasicEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster).readEventListAttribute( - ( ChipClusters.BinaryInputBasicCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBinaryInputBasicClusterEventListAttributeCallback(), - readBinaryInputBasicEventListCommandParams - ); - readBinaryInputBasicInteractionInfo.put("readEventListAttribute", readBinaryInputBasicEventListAttributeInteractionInfo); - Map readBinaryInputBasicAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readBinaryInputBasicAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster).readAttributeListAttribute( - ( ChipClusters.BinaryInputBasicCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBinaryInputBasicClusterAttributeListAttributeCallback(), - readBinaryInputBasicAttributeListCommandParams - ); - readBinaryInputBasicInteractionInfo.put("readAttributeListAttribute", readBinaryInputBasicAttributeListAttributeInteractionInfo); - Map readBinaryInputBasicFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readBinaryInputBasicFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readBinaryInputBasicFeatureMapCommandParams - ); - readBinaryInputBasicInteractionInfo.put("readFeatureMapAttribute", readBinaryInputBasicFeatureMapAttributeInteractionInfo); - Map readBinaryInputBasicClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readBinaryInputBasicClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBinaryInputBasicClusterRevisionCommandParams - ); - readBinaryInputBasicInteractionInfo.put("readClusterRevisionAttribute", readBinaryInputBasicClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("binaryInputBasic", readBinaryInputBasicInteractionInfo); - Map readDescriptorInteractionInfo = new LinkedHashMap<>(); - Map readDescriptorDeviceTypeListCommandParams = new LinkedHashMap(); - InteractionInfo readDescriptorDeviceTypeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster).readDeviceTypeListAttribute( - ( ChipClusters.DescriptorCluster.DeviceTypeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedDescriptorClusterDeviceTypeListAttributeCallback(), - readDescriptorDeviceTypeListCommandParams - ); - readDescriptorInteractionInfo.put("readDeviceTypeListAttribute", readDescriptorDeviceTypeListAttributeInteractionInfo); - Map readDescriptorServerListCommandParams = new LinkedHashMap(); - InteractionInfo readDescriptorServerListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster).readServerListAttribute( - ( ChipClusters.DescriptorCluster.ServerListAttributeCallback - ) callback - ); - }, + readBinaryInputBasicPresentValueCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readPresentValueAttribute", readBinaryInputBasicPresentValueAttributeInteractionInfo); + Map readBinaryInputBasicReliabilityCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicReliabilityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readReliabilityAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBinaryInputBasicReliabilityCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readReliabilityAttribute", readBinaryInputBasicReliabilityAttributeInteractionInfo); + Map readBinaryInputBasicStatusFlagsCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicStatusFlagsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readStatusFlagsAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBinaryInputBasicStatusFlagsCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readStatusFlagsAttribute", readBinaryInputBasicStatusFlagsAttributeInteractionInfo); + Map readBinaryInputBasicApplicationTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicApplicationTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readApplicationTypeAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readBinaryInputBasicApplicationTypeCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readApplicationTypeAttribute", + readBinaryInputBasicApplicationTypeAttributeInteractionInfo); + Map readBinaryInputBasicGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.BinaryInputBasicCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBinaryInputBasicClusterGeneratedCommandListAttributeCallback(), + readBinaryInputBasicGeneratedCommandListCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readGeneratedCommandListAttribute", + readBinaryInputBasicGeneratedCommandListAttributeInteractionInfo); + Map readBinaryInputBasicAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.BinaryInputBasicCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBinaryInputBasicClusterAcceptedCommandListAttributeCallback(), + readBinaryInputBasicAcceptedCommandListCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readAcceptedCommandListAttribute", + readBinaryInputBasicAcceptedCommandListAttributeInteractionInfo); + Map readBinaryInputBasicEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readEventListAttribute( + (ChipClusters.BinaryInputBasicCluster.EventListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedBinaryInputBasicClusterEventListAttributeCallback(), + readBinaryInputBasicEventListCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readEventListAttribute", readBinaryInputBasicEventListAttributeInteractionInfo); + Map readBinaryInputBasicAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.BinaryInputBasicCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBinaryInputBasicClusterAttributeListAttributeCallback(), + readBinaryInputBasicAttributeListCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readAttributeListAttribute", readBinaryInputBasicAttributeListAttributeInteractionInfo); + Map readBinaryInputBasicFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readBinaryInputBasicFeatureMapCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readFeatureMapAttribute", readBinaryInputBasicFeatureMapAttributeInteractionInfo); + Map readBinaryInputBasicClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readBinaryInputBasicClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBinaryInputBasicClusterRevisionCommandParams); + readBinaryInputBasicInteractionInfo.put( + "readClusterRevisionAttribute", + readBinaryInputBasicClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("binaryInputBasic", readBinaryInputBasicInteractionInfo); + Map readDescriptorInteractionInfo = new LinkedHashMap<>(); + Map readDescriptorDeviceTypeListCommandParams = + new LinkedHashMap(); + InteractionInfo readDescriptorDeviceTypeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster) + .readDeviceTypeListAttribute( + (ChipClusters.DescriptorCluster.DeviceTypeListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedDescriptorClusterDeviceTypeListAttributeCallback(), + readDescriptorDeviceTypeListCommandParams); + readDescriptorInteractionInfo.put( + "readDeviceTypeListAttribute", readDescriptorDeviceTypeListAttributeInteractionInfo); + Map readDescriptorServerListCommandParams = + new LinkedHashMap(); + InteractionInfo readDescriptorServerListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster) + .readServerListAttribute( + (ChipClusters.DescriptorCluster.ServerListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedDescriptorClusterServerListAttributeCallback(), - readDescriptorServerListCommandParams - ); - readDescriptorInteractionInfo.put("readServerListAttribute", readDescriptorServerListAttributeInteractionInfo); - Map readDescriptorClientListCommandParams = new LinkedHashMap(); - InteractionInfo readDescriptorClientListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster).readClientListAttribute( - ( ChipClusters.DescriptorCluster.ClientListAttributeCallback - ) callback - ); - }, + readDescriptorServerListCommandParams); + readDescriptorInteractionInfo.put( + "readServerListAttribute", readDescriptorServerListAttributeInteractionInfo); + Map readDescriptorClientListCommandParams = + new LinkedHashMap(); + InteractionInfo readDescriptorClientListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster) + .readClientListAttribute( + (ChipClusters.DescriptorCluster.ClientListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedDescriptorClusterClientListAttributeCallback(), - readDescriptorClientListCommandParams - ); - readDescriptorInteractionInfo.put("readClientListAttribute", readDescriptorClientListAttributeInteractionInfo); - Map readDescriptorPartsListCommandParams = new LinkedHashMap(); - InteractionInfo readDescriptorPartsListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster).readPartsListAttribute( - ( ChipClusters.DescriptorCluster.PartsListAttributeCallback - ) callback - ); - }, + readDescriptorClientListCommandParams); + readDescriptorInteractionInfo.put( + "readClientListAttribute", readDescriptorClientListAttributeInteractionInfo); + Map readDescriptorPartsListCommandParams = + new LinkedHashMap(); + InteractionInfo readDescriptorPartsListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster) + .readPartsListAttribute( + (ChipClusters.DescriptorCluster.PartsListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedDescriptorClusterPartsListAttributeCallback(), - readDescriptorPartsListCommandParams - ); - readDescriptorInteractionInfo.put("readPartsListAttribute", readDescriptorPartsListAttributeInteractionInfo); - Map readDescriptorGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readDescriptorGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.DescriptorCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedDescriptorClusterGeneratedCommandListAttributeCallback(), - readDescriptorGeneratedCommandListCommandParams - ); - readDescriptorInteractionInfo.put("readGeneratedCommandListAttribute", readDescriptorGeneratedCommandListAttributeInteractionInfo); - Map readDescriptorAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readDescriptorAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.DescriptorCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedDescriptorClusterAcceptedCommandListAttributeCallback(), - readDescriptorAcceptedCommandListCommandParams - ); - readDescriptorInteractionInfo.put("readAcceptedCommandListAttribute", readDescriptorAcceptedCommandListAttributeInteractionInfo); - Map readDescriptorEventListCommandParams = new LinkedHashMap(); - InteractionInfo readDescriptorEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster).readEventListAttribute( - ( ChipClusters.DescriptorCluster.EventListAttributeCallback - ) callback - ); - }, + readDescriptorPartsListCommandParams); + readDescriptorInteractionInfo.put( + "readPartsListAttribute", readDescriptorPartsListAttributeInteractionInfo); + Map readDescriptorGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readDescriptorGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.DescriptorCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedDescriptorClusterGeneratedCommandListAttributeCallback(), + readDescriptorGeneratedCommandListCommandParams); + readDescriptorInteractionInfo.put( + "readGeneratedCommandListAttribute", + readDescriptorGeneratedCommandListAttributeInteractionInfo); + Map readDescriptorAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readDescriptorAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.DescriptorCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedDescriptorClusterAcceptedCommandListAttributeCallback(), + readDescriptorAcceptedCommandListCommandParams); + readDescriptorInteractionInfo.put( + "readAcceptedCommandListAttribute", + readDescriptorAcceptedCommandListAttributeInteractionInfo); + Map readDescriptorEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readDescriptorEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster) + .readEventListAttribute( + (ChipClusters.DescriptorCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedDescriptorClusterEventListAttributeCallback(), - readDescriptorEventListCommandParams - ); - readDescriptorInteractionInfo.put("readEventListAttribute", readDescriptorEventListAttributeInteractionInfo); - Map readDescriptorAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readDescriptorAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster).readAttributeListAttribute( - ( ChipClusters.DescriptorCluster.AttributeListAttributeCallback - ) callback - ); - }, + readDescriptorEventListCommandParams); + readDescriptorInteractionInfo.put( + "readEventListAttribute", readDescriptorEventListAttributeInteractionInfo); + Map readDescriptorAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readDescriptorAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.DescriptorCluster.AttributeListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedDescriptorClusterAttributeListAttributeCallback(), - readDescriptorAttributeListCommandParams - ); - readDescriptorInteractionInfo.put("readAttributeListAttribute", readDescriptorAttributeListAttributeInteractionInfo); - Map readDescriptorFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readDescriptorFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readDescriptorFeatureMapCommandParams - ); - readDescriptorInteractionInfo.put("readFeatureMapAttribute", readDescriptorFeatureMapAttributeInteractionInfo); - Map readDescriptorClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readDescriptorClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DescriptorCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDescriptorClusterRevisionCommandParams - ); - readDescriptorInteractionInfo.put("readClusterRevisionAttribute", readDescriptorClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("descriptor", readDescriptorInteractionInfo); - Map readBindingInteractionInfo = new LinkedHashMap<>(); - Map readBindingBindingCommandParams = new LinkedHashMap(); - InteractionInfo readBindingBindingAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BindingCluster) cluster).readBindingAttribute( - ( ChipClusters.BindingCluster.BindingAttributeCallback - ) callback - ); - }, + readDescriptorAttributeListCommandParams); + readDescriptorInteractionInfo.put( + "readAttributeListAttribute", readDescriptorAttributeListAttributeInteractionInfo); + Map readDescriptorFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readDescriptorFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readDescriptorFeatureMapCommandParams); + readDescriptorInteractionInfo.put( + "readFeatureMapAttribute", readDescriptorFeatureMapAttributeInteractionInfo); + Map readDescriptorClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readDescriptorClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DescriptorCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDescriptorClusterRevisionCommandParams); + readDescriptorInteractionInfo.put( + "readClusterRevisionAttribute", readDescriptorClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("descriptor", readDescriptorInteractionInfo); + Map readBindingInteractionInfo = new LinkedHashMap<>(); + Map readBindingBindingCommandParams = + new LinkedHashMap(); + InteractionInfo readBindingBindingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BindingCluster) cluster) + .readBindingAttribute( + (ChipClusters.BindingCluster.BindingAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBindingClusterBindingAttributeCallback(), - readBindingBindingCommandParams - ); - readBindingInteractionInfo.put("readBindingAttribute", readBindingBindingAttributeInteractionInfo); - Map readBindingGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readBindingGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BindingCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.BindingCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBindingClusterGeneratedCommandListAttributeCallback(), - readBindingGeneratedCommandListCommandParams - ); - readBindingInteractionInfo.put("readGeneratedCommandListAttribute", readBindingGeneratedCommandListAttributeInteractionInfo); - Map readBindingAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readBindingAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BindingCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.BindingCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBindingClusterAcceptedCommandListAttributeCallback(), - readBindingAcceptedCommandListCommandParams - ); - readBindingInteractionInfo.put("readAcceptedCommandListAttribute", readBindingAcceptedCommandListAttributeInteractionInfo); - Map readBindingEventListCommandParams = new LinkedHashMap(); - InteractionInfo readBindingEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BindingCluster) cluster).readEventListAttribute( - ( ChipClusters.BindingCluster.EventListAttributeCallback - ) callback - ); - }, + readBindingBindingCommandParams); + readBindingInteractionInfo.put( + "readBindingAttribute", readBindingBindingAttributeInteractionInfo); + Map readBindingGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readBindingGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BindingCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.BindingCluster.GeneratedCommandListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBindingClusterGeneratedCommandListAttributeCallback(), + readBindingGeneratedCommandListCommandParams); + readBindingInteractionInfo.put( + "readGeneratedCommandListAttribute", + readBindingGeneratedCommandListAttributeInteractionInfo); + Map readBindingAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readBindingAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BindingCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.BindingCluster.AcceptedCommandListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBindingClusterAcceptedCommandListAttributeCallback(), + readBindingAcceptedCommandListCommandParams); + readBindingInteractionInfo.put( + "readAcceptedCommandListAttribute", readBindingAcceptedCommandListAttributeInteractionInfo); + Map readBindingEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readBindingEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BindingCluster) cluster) + .readEventListAttribute( + (ChipClusters.BindingCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBindingClusterEventListAttributeCallback(), - readBindingEventListCommandParams - ); - readBindingInteractionInfo.put("readEventListAttribute", readBindingEventListAttributeInteractionInfo); - Map readBindingAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readBindingAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BindingCluster) cluster).readAttributeListAttribute( - ( ChipClusters.BindingCluster.AttributeListAttributeCallback - ) callback - ); - }, + readBindingEventListCommandParams); + readBindingInteractionInfo.put( + "readEventListAttribute", readBindingEventListAttributeInteractionInfo); + Map readBindingAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readBindingAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BindingCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.BindingCluster.AttributeListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBindingClusterAttributeListAttributeCallback(), - readBindingAttributeListCommandParams - ); - readBindingInteractionInfo.put("readAttributeListAttribute", readBindingAttributeListAttributeInteractionInfo); - Map readBindingFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readBindingFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BindingCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readBindingFeatureMapCommandParams - ); - readBindingInteractionInfo.put("readFeatureMapAttribute", readBindingFeatureMapAttributeInteractionInfo); - Map readBindingClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readBindingClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BindingCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBindingClusterRevisionCommandParams - ); - readBindingInteractionInfo.put("readClusterRevisionAttribute", readBindingClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("binding", readBindingInteractionInfo); - Map readAccessControlInteractionInfo = new LinkedHashMap<>(); - Map readAccessControlAclCommandParams = new LinkedHashMap(); - InteractionInfo readAccessControlAclAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccessControlCluster) cluster).readAclAttribute( - ( ChipClusters.AccessControlCluster.AclAttributeCallback - ) callback - ); - }, + readBindingAttributeListCommandParams); + readBindingInteractionInfo.put( + "readAttributeListAttribute", readBindingAttributeListAttributeInteractionInfo); + Map readBindingFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readBindingFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BindingCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readBindingFeatureMapCommandParams); + readBindingInteractionInfo.put( + "readFeatureMapAttribute", readBindingFeatureMapAttributeInteractionInfo); + Map readBindingClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readBindingClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BindingCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBindingClusterRevisionCommandParams); + readBindingInteractionInfo.put( + "readClusterRevisionAttribute", readBindingClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("binding", readBindingInteractionInfo); + Map readAccessControlInteractionInfo = new LinkedHashMap<>(); + Map readAccessControlAclCommandParams = + new LinkedHashMap(); + InteractionInfo readAccessControlAclAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccessControlCluster) cluster) + .readAclAttribute( + (ChipClusters.AccessControlCluster.AclAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedAccessControlClusterAclAttributeCallback(), - readAccessControlAclCommandParams - ); - readAccessControlInteractionInfo.put("readAclAttribute", readAccessControlAclAttributeInteractionInfo); - Map readAccessControlExtensionCommandParams = new LinkedHashMap(); - InteractionInfo readAccessControlExtensionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccessControlCluster) cluster).readExtensionAttribute( - ( ChipClusters.AccessControlCluster.ExtensionAttributeCallback - ) callback - ); - }, + readAccessControlAclCommandParams); + readAccessControlInteractionInfo.put( + "readAclAttribute", readAccessControlAclAttributeInteractionInfo); + Map readAccessControlExtensionCommandParams = + new LinkedHashMap(); + InteractionInfo readAccessControlExtensionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccessControlCluster) cluster) + .readExtensionAttribute( + (ChipClusters.AccessControlCluster.ExtensionAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedAccessControlClusterExtensionAttributeCallback(), - readAccessControlExtensionCommandParams - ); - readAccessControlInteractionInfo.put("readExtensionAttribute", readAccessControlExtensionAttributeInteractionInfo); - Map readAccessControlSubjectsPerAccessControlEntryCommandParams = new LinkedHashMap(); - InteractionInfo readAccessControlSubjectsPerAccessControlEntryAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccessControlCluster) cluster).readSubjectsPerAccessControlEntryAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readAccessControlSubjectsPerAccessControlEntryCommandParams - ); - readAccessControlInteractionInfo.put("readSubjectsPerAccessControlEntryAttribute", readAccessControlSubjectsPerAccessControlEntryAttributeInteractionInfo); - Map readAccessControlTargetsPerAccessControlEntryCommandParams = new LinkedHashMap(); - InteractionInfo readAccessControlTargetsPerAccessControlEntryAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccessControlCluster) cluster).readTargetsPerAccessControlEntryAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readAccessControlTargetsPerAccessControlEntryCommandParams - ); - readAccessControlInteractionInfo.put("readTargetsPerAccessControlEntryAttribute", readAccessControlTargetsPerAccessControlEntryAttributeInteractionInfo); - Map readAccessControlAccessControlEntriesPerFabricCommandParams = new LinkedHashMap(); - InteractionInfo readAccessControlAccessControlEntriesPerFabricAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccessControlCluster) cluster).readAccessControlEntriesPerFabricAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readAccessControlAccessControlEntriesPerFabricCommandParams - ); - readAccessControlInteractionInfo.put("readAccessControlEntriesPerFabricAttribute", readAccessControlAccessControlEntriesPerFabricAttributeInteractionInfo); - Map readAccessControlGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readAccessControlGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccessControlCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.AccessControlCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedAccessControlClusterGeneratedCommandListAttributeCallback(), - readAccessControlGeneratedCommandListCommandParams - ); - readAccessControlInteractionInfo.put("readGeneratedCommandListAttribute", readAccessControlGeneratedCommandListAttributeInteractionInfo); - Map readAccessControlAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readAccessControlAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccessControlCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.AccessControlCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedAccessControlClusterAcceptedCommandListAttributeCallback(), - readAccessControlAcceptedCommandListCommandParams - ); - readAccessControlInteractionInfo.put("readAcceptedCommandListAttribute", readAccessControlAcceptedCommandListAttributeInteractionInfo); - Map readAccessControlEventListCommandParams = new LinkedHashMap(); - InteractionInfo readAccessControlEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccessControlCluster) cluster).readEventListAttribute( - ( ChipClusters.AccessControlCluster.EventListAttributeCallback - ) callback - ); - }, + readAccessControlExtensionCommandParams); + readAccessControlInteractionInfo.put( + "readExtensionAttribute", readAccessControlExtensionAttributeInteractionInfo); + Map readAccessControlSubjectsPerAccessControlEntryCommandParams = + new LinkedHashMap(); + InteractionInfo readAccessControlSubjectsPerAccessControlEntryAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccessControlCluster) cluster) + .readSubjectsPerAccessControlEntryAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readAccessControlSubjectsPerAccessControlEntryCommandParams); + readAccessControlInteractionInfo.put( + "readSubjectsPerAccessControlEntryAttribute", + readAccessControlSubjectsPerAccessControlEntryAttributeInteractionInfo); + Map readAccessControlTargetsPerAccessControlEntryCommandParams = + new LinkedHashMap(); + InteractionInfo readAccessControlTargetsPerAccessControlEntryAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccessControlCluster) cluster) + .readTargetsPerAccessControlEntryAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readAccessControlTargetsPerAccessControlEntryCommandParams); + readAccessControlInteractionInfo.put( + "readTargetsPerAccessControlEntryAttribute", + readAccessControlTargetsPerAccessControlEntryAttributeInteractionInfo); + Map readAccessControlAccessControlEntriesPerFabricCommandParams = + new LinkedHashMap(); + InteractionInfo readAccessControlAccessControlEntriesPerFabricAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccessControlCluster) cluster) + .readAccessControlEntriesPerFabricAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readAccessControlAccessControlEntriesPerFabricCommandParams); + readAccessControlInteractionInfo.put( + "readAccessControlEntriesPerFabricAttribute", + readAccessControlAccessControlEntriesPerFabricAttributeInteractionInfo); + Map readAccessControlGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readAccessControlGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccessControlCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.AccessControlCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedAccessControlClusterGeneratedCommandListAttributeCallback(), + readAccessControlGeneratedCommandListCommandParams); + readAccessControlInteractionInfo.put( + "readGeneratedCommandListAttribute", + readAccessControlGeneratedCommandListAttributeInteractionInfo); + Map readAccessControlAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readAccessControlAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccessControlCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.AccessControlCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedAccessControlClusterAcceptedCommandListAttributeCallback(), + readAccessControlAcceptedCommandListCommandParams); + readAccessControlInteractionInfo.put( + "readAcceptedCommandListAttribute", + readAccessControlAcceptedCommandListAttributeInteractionInfo); + Map readAccessControlEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readAccessControlEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccessControlCluster) cluster) + .readEventListAttribute( + (ChipClusters.AccessControlCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedAccessControlClusterEventListAttributeCallback(), - readAccessControlEventListCommandParams - ); - readAccessControlInteractionInfo.put("readEventListAttribute", readAccessControlEventListAttributeInteractionInfo); - Map readAccessControlAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readAccessControlAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccessControlCluster) cluster).readAttributeListAttribute( - ( ChipClusters.AccessControlCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedAccessControlClusterAttributeListAttributeCallback(), - readAccessControlAttributeListCommandParams - ); - readAccessControlInteractionInfo.put("readAttributeListAttribute", readAccessControlAttributeListAttributeInteractionInfo); - Map readAccessControlFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readAccessControlFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccessControlCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readAccessControlFeatureMapCommandParams - ); - readAccessControlInteractionInfo.put("readFeatureMapAttribute", readAccessControlFeatureMapAttributeInteractionInfo); - Map readAccessControlClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readAccessControlClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccessControlCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readAccessControlClusterRevisionCommandParams - ); - readAccessControlInteractionInfo.put("readClusterRevisionAttribute", readAccessControlClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("accessControl", readAccessControlInteractionInfo); - Map readActionsInteractionInfo = new LinkedHashMap<>(); - Map readActionsActionListCommandParams = new LinkedHashMap(); - InteractionInfo readActionsActionListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster).readActionListAttribute( - ( ChipClusters.ActionsCluster.ActionListAttributeCallback - ) callback - ); - }, + readAccessControlEventListCommandParams); + readAccessControlInteractionInfo.put( + "readEventListAttribute", readAccessControlEventListAttributeInteractionInfo); + Map readAccessControlAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readAccessControlAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccessControlCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.AccessControlCluster.AttributeListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedAccessControlClusterAttributeListAttributeCallback(), + readAccessControlAttributeListCommandParams); + readAccessControlInteractionInfo.put( + "readAttributeListAttribute", readAccessControlAttributeListAttributeInteractionInfo); + Map readAccessControlFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readAccessControlFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccessControlCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readAccessControlFeatureMapCommandParams); + readAccessControlInteractionInfo.put( + "readFeatureMapAttribute", readAccessControlFeatureMapAttributeInteractionInfo); + Map readAccessControlClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readAccessControlClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccessControlCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readAccessControlClusterRevisionCommandParams); + readAccessControlInteractionInfo.put( + "readClusterRevisionAttribute", readAccessControlClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("accessControl", readAccessControlInteractionInfo); + Map readActionsInteractionInfo = new LinkedHashMap<>(); + Map readActionsActionListCommandParams = + new LinkedHashMap(); + InteractionInfo readActionsActionListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster) + .readActionListAttribute( + (ChipClusters.ActionsCluster.ActionListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedActionsClusterActionListAttributeCallback(), - readActionsActionListCommandParams - ); - readActionsInteractionInfo.put("readActionListAttribute", readActionsActionListAttributeInteractionInfo); - Map readActionsEndpointListsCommandParams = new LinkedHashMap(); - InteractionInfo readActionsEndpointListsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster).readEndpointListsAttribute( - ( ChipClusters.ActionsCluster.EndpointListsAttributeCallback - ) callback - ); - }, + readActionsActionListCommandParams); + readActionsInteractionInfo.put( + "readActionListAttribute", readActionsActionListAttributeInteractionInfo); + Map readActionsEndpointListsCommandParams = + new LinkedHashMap(); + InteractionInfo readActionsEndpointListsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster) + .readEndpointListsAttribute( + (ChipClusters.ActionsCluster.EndpointListsAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedActionsClusterEndpointListsAttributeCallback(), - readActionsEndpointListsCommandParams - ); - readActionsInteractionInfo.put("readEndpointListsAttribute", readActionsEndpointListsAttributeInteractionInfo); - Map readActionsSetupURLCommandParams = new LinkedHashMap(); - InteractionInfo readActionsSetupURLAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster).readSetupURLAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readActionsEndpointListsCommandParams); + readActionsInteractionInfo.put( + "readEndpointListsAttribute", readActionsEndpointListsAttributeInteractionInfo); + Map readActionsSetupURLCommandParams = + new LinkedHashMap(); + InteractionInfo readActionsSetupURLAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster) + .readSetupURLAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readActionsSetupURLCommandParams - ); - readActionsInteractionInfo.put("readSetupURLAttribute", readActionsSetupURLAttributeInteractionInfo); - Map readActionsGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readActionsGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.ActionsCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedActionsClusterGeneratedCommandListAttributeCallback(), - readActionsGeneratedCommandListCommandParams - ); - readActionsInteractionInfo.put("readGeneratedCommandListAttribute", readActionsGeneratedCommandListAttributeInteractionInfo); - Map readActionsAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readActionsAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.ActionsCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedActionsClusterAcceptedCommandListAttributeCallback(), - readActionsAcceptedCommandListCommandParams - ); - readActionsInteractionInfo.put("readAcceptedCommandListAttribute", readActionsAcceptedCommandListAttributeInteractionInfo); - Map readActionsEventListCommandParams = new LinkedHashMap(); - InteractionInfo readActionsEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster).readEventListAttribute( - ( ChipClusters.ActionsCluster.EventListAttributeCallback - ) callback - ); - }, + readActionsSetupURLCommandParams); + readActionsInteractionInfo.put( + "readSetupURLAttribute", readActionsSetupURLAttributeInteractionInfo); + Map readActionsGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readActionsGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.ActionsCluster.GeneratedCommandListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedActionsClusterGeneratedCommandListAttributeCallback(), + readActionsGeneratedCommandListCommandParams); + readActionsInteractionInfo.put( + "readGeneratedCommandListAttribute", + readActionsGeneratedCommandListAttributeInteractionInfo); + Map readActionsAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readActionsAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.ActionsCluster.AcceptedCommandListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedActionsClusterAcceptedCommandListAttributeCallback(), + readActionsAcceptedCommandListCommandParams); + readActionsInteractionInfo.put( + "readAcceptedCommandListAttribute", readActionsAcceptedCommandListAttributeInteractionInfo); + Map readActionsEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readActionsEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster) + .readEventListAttribute( + (ChipClusters.ActionsCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedActionsClusterEventListAttributeCallback(), - readActionsEventListCommandParams - ); - readActionsInteractionInfo.put("readEventListAttribute", readActionsEventListAttributeInteractionInfo); - Map readActionsAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readActionsAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster).readAttributeListAttribute( - ( ChipClusters.ActionsCluster.AttributeListAttributeCallback - ) callback - ); - }, + readActionsEventListCommandParams); + readActionsInteractionInfo.put( + "readEventListAttribute", readActionsEventListAttributeInteractionInfo); + Map readActionsAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readActionsAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.ActionsCluster.AttributeListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedActionsClusterAttributeListAttributeCallback(), - readActionsAttributeListCommandParams - ); - readActionsInteractionInfo.put("readAttributeListAttribute", readActionsAttributeListAttributeInteractionInfo); - Map readActionsFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readActionsFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readActionsFeatureMapCommandParams - ); - readActionsInteractionInfo.put("readFeatureMapAttribute", readActionsFeatureMapAttributeInteractionInfo); - Map readActionsClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readActionsClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readActionsClusterRevisionCommandParams - ); - readActionsInteractionInfo.put("readClusterRevisionAttribute", readActionsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("actions", readActionsInteractionInfo); - Map readBasicInformationInteractionInfo = new LinkedHashMap<>(); - Map readBasicInformationDataModelRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationDataModelRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readDataModelRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBasicInformationDataModelRevisionCommandParams - ); - readBasicInformationInteractionInfo.put("readDataModelRevisionAttribute", readBasicInformationDataModelRevisionAttributeInteractionInfo); - Map readBasicInformationVendorNameCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationVendorNameAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readVendorNameAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readActionsAttributeListCommandParams); + readActionsInteractionInfo.put( + "readAttributeListAttribute", readActionsAttributeListAttributeInteractionInfo); + Map readActionsFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readActionsFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readActionsFeatureMapCommandParams); + readActionsInteractionInfo.put( + "readFeatureMapAttribute", readActionsFeatureMapAttributeInteractionInfo); + Map readActionsClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readActionsClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readActionsClusterRevisionCommandParams); + readActionsInteractionInfo.put( + "readClusterRevisionAttribute", readActionsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("actions", readActionsInteractionInfo); + Map readBasicInformationInteractionInfo = new LinkedHashMap<>(); + Map readBasicInformationDataModelRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationDataModelRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readDataModelRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBasicInformationDataModelRevisionCommandParams); + readBasicInformationInteractionInfo.put( + "readDataModelRevisionAttribute", + readBasicInformationDataModelRevisionAttributeInteractionInfo); + Map readBasicInformationVendorNameCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationVendorNameAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readVendorNameAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationVendorNameCommandParams - ); - readBasicInformationInteractionInfo.put("readVendorNameAttribute", readBasicInformationVendorNameAttributeInteractionInfo); - Map readBasicInformationVendorIDCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationVendorIDAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readVendorIDAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBasicInformationVendorIDCommandParams - ); - readBasicInformationInteractionInfo.put("readVendorIDAttribute", readBasicInformationVendorIDAttributeInteractionInfo); - Map readBasicInformationProductNameCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationProductNameAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readProductNameAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBasicInformationVendorNameCommandParams); + readBasicInformationInteractionInfo.put( + "readVendorNameAttribute", readBasicInformationVendorNameAttributeInteractionInfo); + Map readBasicInformationVendorIDCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationVendorIDAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readVendorIDAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBasicInformationVendorIDCommandParams); + readBasicInformationInteractionInfo.put( + "readVendorIDAttribute", readBasicInformationVendorIDAttributeInteractionInfo); + Map readBasicInformationProductNameCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationProductNameAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readProductNameAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationProductNameCommandParams - ); - readBasicInformationInteractionInfo.put("readProductNameAttribute", readBasicInformationProductNameAttributeInteractionInfo); - Map readBasicInformationProductIDCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationProductIDAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readProductIDAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBasicInformationProductIDCommandParams - ); - readBasicInformationInteractionInfo.put("readProductIDAttribute", readBasicInformationProductIDAttributeInteractionInfo); - Map readBasicInformationNodeLabelCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationNodeLabelAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readNodeLabelAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBasicInformationProductNameCommandParams); + readBasicInformationInteractionInfo.put( + "readProductNameAttribute", readBasicInformationProductNameAttributeInteractionInfo); + Map readBasicInformationProductIDCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationProductIDAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readProductIDAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBasicInformationProductIDCommandParams); + readBasicInformationInteractionInfo.put( + "readProductIDAttribute", readBasicInformationProductIDAttributeInteractionInfo); + Map readBasicInformationNodeLabelCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationNodeLabelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readNodeLabelAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationNodeLabelCommandParams - ); - readBasicInformationInteractionInfo.put("readNodeLabelAttribute", readBasicInformationNodeLabelAttributeInteractionInfo); - Map readBasicInformationLocationCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationLocationAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readLocationAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBasicInformationNodeLabelCommandParams); + readBasicInformationInteractionInfo.put( + "readNodeLabelAttribute", readBasicInformationNodeLabelAttributeInteractionInfo); + Map readBasicInformationLocationCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationLocationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readLocationAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationLocationCommandParams - ); - readBasicInformationInteractionInfo.put("readLocationAttribute", readBasicInformationLocationAttributeInteractionInfo); - Map readBasicInformationHardwareVersionCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationHardwareVersionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readHardwareVersionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBasicInformationHardwareVersionCommandParams - ); - readBasicInformationInteractionInfo.put("readHardwareVersionAttribute", readBasicInformationHardwareVersionAttributeInteractionInfo); - Map readBasicInformationHardwareVersionStringCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationHardwareVersionStringAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readHardwareVersionStringAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBasicInformationLocationCommandParams); + readBasicInformationInteractionInfo.put( + "readLocationAttribute", readBasicInformationLocationAttributeInteractionInfo); + Map readBasicInformationHardwareVersionCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationHardwareVersionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readHardwareVersionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBasicInformationHardwareVersionCommandParams); + readBasicInformationInteractionInfo.put( + "readHardwareVersionAttribute", + readBasicInformationHardwareVersionAttributeInteractionInfo); + Map readBasicInformationHardwareVersionStringCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationHardwareVersionStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readHardwareVersionStringAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationHardwareVersionStringCommandParams - ); - readBasicInformationInteractionInfo.put("readHardwareVersionStringAttribute", readBasicInformationHardwareVersionStringAttributeInteractionInfo); - Map readBasicInformationSoftwareVersionCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationSoftwareVersionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readSoftwareVersionAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readBasicInformationSoftwareVersionCommandParams - ); - readBasicInformationInteractionInfo.put("readSoftwareVersionAttribute", readBasicInformationSoftwareVersionAttributeInteractionInfo); - Map readBasicInformationSoftwareVersionStringCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationSoftwareVersionStringAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readSoftwareVersionStringAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBasicInformationHardwareVersionStringCommandParams); + readBasicInformationInteractionInfo.put( + "readHardwareVersionStringAttribute", + readBasicInformationHardwareVersionStringAttributeInteractionInfo); + Map readBasicInformationSoftwareVersionCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationSoftwareVersionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readSoftwareVersionAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readBasicInformationSoftwareVersionCommandParams); + readBasicInformationInteractionInfo.put( + "readSoftwareVersionAttribute", + readBasicInformationSoftwareVersionAttributeInteractionInfo); + Map readBasicInformationSoftwareVersionStringCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationSoftwareVersionStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readSoftwareVersionStringAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationSoftwareVersionStringCommandParams - ); - readBasicInformationInteractionInfo.put("readSoftwareVersionStringAttribute", readBasicInformationSoftwareVersionStringAttributeInteractionInfo); - Map readBasicInformationManufacturingDateCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationManufacturingDateAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readManufacturingDateAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBasicInformationSoftwareVersionStringCommandParams); + readBasicInformationInteractionInfo.put( + "readSoftwareVersionStringAttribute", + readBasicInformationSoftwareVersionStringAttributeInteractionInfo); + Map readBasicInformationManufacturingDateCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationManufacturingDateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readManufacturingDateAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationManufacturingDateCommandParams - ); - readBasicInformationInteractionInfo.put("readManufacturingDateAttribute", readBasicInformationManufacturingDateAttributeInteractionInfo); - Map readBasicInformationPartNumberCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationPartNumberAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readPartNumberAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBasicInformationManufacturingDateCommandParams); + readBasicInformationInteractionInfo.put( + "readManufacturingDateAttribute", + readBasicInformationManufacturingDateAttributeInteractionInfo); + Map readBasicInformationPartNumberCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationPartNumberAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readPartNumberAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationPartNumberCommandParams - ); - readBasicInformationInteractionInfo.put("readPartNumberAttribute", readBasicInformationPartNumberAttributeInteractionInfo); - Map readBasicInformationProductURLCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationProductURLAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readProductURLAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBasicInformationPartNumberCommandParams); + readBasicInformationInteractionInfo.put( + "readPartNumberAttribute", readBasicInformationPartNumberAttributeInteractionInfo); + Map readBasicInformationProductURLCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationProductURLAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readProductURLAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationProductURLCommandParams - ); - readBasicInformationInteractionInfo.put("readProductURLAttribute", readBasicInformationProductURLAttributeInteractionInfo); - Map readBasicInformationProductLabelCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationProductLabelAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readProductLabelAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBasicInformationProductURLCommandParams); + readBasicInformationInteractionInfo.put( + "readProductURLAttribute", readBasicInformationProductURLAttributeInteractionInfo); + Map readBasicInformationProductLabelCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationProductLabelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readProductLabelAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationProductLabelCommandParams - ); - readBasicInformationInteractionInfo.put("readProductLabelAttribute", readBasicInformationProductLabelAttributeInteractionInfo); - Map readBasicInformationSerialNumberCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationSerialNumberAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readSerialNumberAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBasicInformationProductLabelCommandParams); + readBasicInformationInteractionInfo.put( + "readProductLabelAttribute", readBasicInformationProductLabelAttributeInteractionInfo); + Map readBasicInformationSerialNumberCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationSerialNumberAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readSerialNumberAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationSerialNumberCommandParams - ); - readBasicInformationInteractionInfo.put("readSerialNumberAttribute", readBasicInformationSerialNumberAttributeInteractionInfo); - Map readBasicInformationLocalConfigDisabledCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationLocalConfigDisabledAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readLocalConfigDisabledAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readBasicInformationSerialNumberCommandParams); + readBasicInformationInteractionInfo.put( + "readSerialNumberAttribute", readBasicInformationSerialNumberAttributeInteractionInfo); + Map readBasicInformationLocalConfigDisabledCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationLocalConfigDisabledAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readLocalConfigDisabledAttribute( + (ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readBasicInformationLocalConfigDisabledCommandParams - ); - readBasicInformationInteractionInfo.put("readLocalConfigDisabledAttribute", readBasicInformationLocalConfigDisabledAttributeInteractionInfo); - Map readBasicInformationReachableCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationReachableAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readReachableAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readBasicInformationLocalConfigDisabledCommandParams); + readBasicInformationInteractionInfo.put( + "readLocalConfigDisabledAttribute", + readBasicInformationLocalConfigDisabledAttributeInteractionInfo); + Map readBasicInformationReachableCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationReachableAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readReachableAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readBasicInformationReachableCommandParams - ); - readBasicInformationInteractionInfo.put("readReachableAttribute", readBasicInformationReachableAttributeInteractionInfo); - Map readBasicInformationUniqueIDCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationUniqueIDAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readUniqueIDAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBasicInformationReachableCommandParams); + readBasicInformationInteractionInfo.put( + "readReachableAttribute", readBasicInformationReachableAttributeInteractionInfo); + Map readBasicInformationUniqueIDCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationUniqueIDAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readUniqueIDAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBasicInformationUniqueIDCommandParams - ); - readBasicInformationInteractionInfo.put("readUniqueIDAttribute", readBasicInformationUniqueIDAttributeInteractionInfo); - Map readBasicInformationGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.BasicInformationCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBasicInformationClusterGeneratedCommandListAttributeCallback(), - readBasicInformationGeneratedCommandListCommandParams - ); - readBasicInformationInteractionInfo.put("readGeneratedCommandListAttribute", readBasicInformationGeneratedCommandListAttributeInteractionInfo); - Map readBasicInformationAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.BasicInformationCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBasicInformationClusterAcceptedCommandListAttributeCallback(), - readBasicInformationAcceptedCommandListCommandParams - ); - readBasicInformationInteractionInfo.put("readAcceptedCommandListAttribute", readBasicInformationAcceptedCommandListAttributeInteractionInfo); - Map readBasicInformationEventListCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readEventListAttribute( - ( ChipClusters.BasicInformationCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBasicInformationClusterEventListAttributeCallback(), - readBasicInformationEventListCommandParams - ); - readBasicInformationInteractionInfo.put("readEventListAttribute", readBasicInformationEventListAttributeInteractionInfo); - Map readBasicInformationAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readAttributeListAttribute( - ( ChipClusters.BasicInformationCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBasicInformationClusterAttributeListAttributeCallback(), - readBasicInformationAttributeListCommandParams - ); - readBasicInformationInteractionInfo.put("readAttributeListAttribute", readBasicInformationAttributeListAttributeInteractionInfo); - Map readBasicInformationFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readBasicInformationFeatureMapCommandParams - ); - readBasicInformationInteractionInfo.put("readFeatureMapAttribute", readBasicInformationFeatureMapAttributeInteractionInfo); - Map readBasicInformationClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readBasicInformationClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBasicInformationClusterRevisionCommandParams - ); - readBasicInformationInteractionInfo.put("readClusterRevisionAttribute", readBasicInformationClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("basicInformation", readBasicInformationInteractionInfo); - Map readOtaSoftwareUpdateProviderInteractionInfo = new LinkedHashMap<>(); - Map readOtaSoftwareUpdateProviderGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateProviderGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.OtaSoftwareUpdateProviderCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOtaSoftwareUpdateProviderClusterGeneratedCommandListAttributeCallback(), - readOtaSoftwareUpdateProviderGeneratedCommandListCommandParams - ); - readOtaSoftwareUpdateProviderInteractionInfo.put("readGeneratedCommandListAttribute", readOtaSoftwareUpdateProviderGeneratedCommandListAttributeInteractionInfo); - Map readOtaSoftwareUpdateProviderAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateProviderAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.OtaSoftwareUpdateProviderCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOtaSoftwareUpdateProviderClusterAcceptedCommandListAttributeCallback(), - readOtaSoftwareUpdateProviderAcceptedCommandListCommandParams - ); - readOtaSoftwareUpdateProviderInteractionInfo.put("readAcceptedCommandListAttribute", readOtaSoftwareUpdateProviderAcceptedCommandListAttributeInteractionInfo); - Map readOtaSoftwareUpdateProviderEventListCommandParams = new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateProviderEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster).readEventListAttribute( - ( ChipClusters.OtaSoftwareUpdateProviderCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOtaSoftwareUpdateProviderClusterEventListAttributeCallback(), - readOtaSoftwareUpdateProviderEventListCommandParams - ); - readOtaSoftwareUpdateProviderInteractionInfo.put("readEventListAttribute", readOtaSoftwareUpdateProviderEventListAttributeInteractionInfo); - Map readOtaSoftwareUpdateProviderAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateProviderAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster).readAttributeListAttribute( - ( ChipClusters.OtaSoftwareUpdateProviderCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOtaSoftwareUpdateProviderClusterAttributeListAttributeCallback(), - readOtaSoftwareUpdateProviderAttributeListCommandParams - ); - readOtaSoftwareUpdateProviderInteractionInfo.put("readAttributeListAttribute", readOtaSoftwareUpdateProviderAttributeListAttributeInteractionInfo); - Map readOtaSoftwareUpdateProviderFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateProviderFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readOtaSoftwareUpdateProviderFeatureMapCommandParams - ); - readOtaSoftwareUpdateProviderInteractionInfo.put("readFeatureMapAttribute", readOtaSoftwareUpdateProviderFeatureMapAttributeInteractionInfo); - Map readOtaSoftwareUpdateProviderClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateProviderClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOtaSoftwareUpdateProviderClusterRevisionCommandParams - ); - readOtaSoftwareUpdateProviderInteractionInfo.put("readClusterRevisionAttribute", readOtaSoftwareUpdateProviderClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("otaSoftwareUpdateProvider", readOtaSoftwareUpdateProviderInteractionInfo); - Map readOtaSoftwareUpdateRequestorInteractionInfo = new LinkedHashMap<>(); - Map readOtaSoftwareUpdateRequestorDefaultOTAProvidersCommandParams = new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorDefaultOTAProvidersAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster).readDefaultOTAProvidersAttribute( - ( ChipClusters.OtaSoftwareUpdateRequestorCluster.DefaultOTAProvidersAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOtaSoftwareUpdateRequestorClusterDefaultOTAProvidersAttributeCallback(), - readOtaSoftwareUpdateRequestorDefaultOTAProvidersCommandParams - ); - readOtaSoftwareUpdateRequestorInteractionInfo.put("readDefaultOTAProvidersAttribute", readOtaSoftwareUpdateRequestorDefaultOTAProvidersAttributeInteractionInfo); - Map readOtaSoftwareUpdateRequestorUpdatePossibleCommandParams = new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorUpdatePossibleAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster).readUpdatePossibleAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readBasicInformationUniqueIDCommandParams); + readBasicInformationInteractionInfo.put( + "readUniqueIDAttribute", readBasicInformationUniqueIDAttributeInteractionInfo); + Map readBasicInformationGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.BasicInformationCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBasicInformationClusterGeneratedCommandListAttributeCallback(), + readBasicInformationGeneratedCommandListCommandParams); + readBasicInformationInteractionInfo.put( + "readGeneratedCommandListAttribute", + readBasicInformationGeneratedCommandListAttributeInteractionInfo); + Map readBasicInformationAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.BasicInformationCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBasicInformationClusterAcceptedCommandListAttributeCallback(), + readBasicInformationAcceptedCommandListCommandParams); + readBasicInformationInteractionInfo.put( + "readAcceptedCommandListAttribute", + readBasicInformationAcceptedCommandListAttributeInteractionInfo); + Map readBasicInformationEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readEventListAttribute( + (ChipClusters.BasicInformationCluster.EventListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedBasicInformationClusterEventListAttributeCallback(), + readBasicInformationEventListCommandParams); + readBasicInformationInteractionInfo.put( + "readEventListAttribute", readBasicInformationEventListAttributeInteractionInfo); + Map readBasicInformationAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.BasicInformationCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBasicInformationClusterAttributeListAttributeCallback(), + readBasicInformationAttributeListCommandParams); + readBasicInformationInteractionInfo.put( + "readAttributeListAttribute", readBasicInformationAttributeListAttributeInteractionInfo); + Map readBasicInformationFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readBasicInformationFeatureMapCommandParams); + readBasicInformationInteractionInfo.put( + "readFeatureMapAttribute", readBasicInformationFeatureMapAttributeInteractionInfo); + Map readBasicInformationClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readBasicInformationClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBasicInformationClusterRevisionCommandParams); + readBasicInformationInteractionInfo.put( + "readClusterRevisionAttribute", + readBasicInformationClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("basicInformation", readBasicInformationInteractionInfo); + Map readOtaSoftwareUpdateProviderInteractionInfo = + new LinkedHashMap<>(); + Map + readOtaSoftwareUpdateProviderGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateProviderGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.OtaSoftwareUpdateProviderCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOtaSoftwareUpdateProviderClusterGeneratedCommandListAttributeCallback(), + readOtaSoftwareUpdateProviderGeneratedCommandListCommandParams); + readOtaSoftwareUpdateProviderInteractionInfo.put( + "readGeneratedCommandListAttribute", + readOtaSoftwareUpdateProviderGeneratedCommandListAttributeInteractionInfo); + Map + readOtaSoftwareUpdateProviderAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateProviderAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.OtaSoftwareUpdateProviderCluster + .AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOtaSoftwareUpdateProviderClusterAcceptedCommandListAttributeCallback(), + readOtaSoftwareUpdateProviderAcceptedCommandListCommandParams); + readOtaSoftwareUpdateProviderInteractionInfo.put( + "readAcceptedCommandListAttribute", + readOtaSoftwareUpdateProviderAcceptedCommandListAttributeInteractionInfo); + Map readOtaSoftwareUpdateProviderEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateProviderEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster) + .readEventListAttribute( + (ChipClusters.OtaSoftwareUpdateProviderCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOtaSoftwareUpdateProviderClusterEventListAttributeCallback(), + readOtaSoftwareUpdateProviderEventListCommandParams); + readOtaSoftwareUpdateProviderInteractionInfo.put( + "readEventListAttribute", readOtaSoftwareUpdateProviderEventListAttributeInteractionInfo); + Map readOtaSoftwareUpdateProviderAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateProviderAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.OtaSoftwareUpdateProviderCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOtaSoftwareUpdateProviderClusterAttributeListAttributeCallback(), + readOtaSoftwareUpdateProviderAttributeListCommandParams); + readOtaSoftwareUpdateProviderInteractionInfo.put( + "readAttributeListAttribute", + readOtaSoftwareUpdateProviderAttributeListAttributeInteractionInfo); + Map readOtaSoftwareUpdateProviderFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateProviderFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readOtaSoftwareUpdateProviderFeatureMapCommandParams); + readOtaSoftwareUpdateProviderInteractionInfo.put( + "readFeatureMapAttribute", readOtaSoftwareUpdateProviderFeatureMapAttributeInteractionInfo); + Map readOtaSoftwareUpdateProviderClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateProviderClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOtaSoftwareUpdateProviderClusterRevisionCommandParams); + readOtaSoftwareUpdateProviderInteractionInfo.put( + "readClusterRevisionAttribute", + readOtaSoftwareUpdateProviderClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("otaSoftwareUpdateProvider", readOtaSoftwareUpdateProviderInteractionInfo); + Map readOtaSoftwareUpdateRequestorInteractionInfo = + new LinkedHashMap<>(); + Map + readOtaSoftwareUpdateRequestorDefaultOTAProvidersCommandParams = + new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorDefaultOTAProvidersAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) + .readDefaultOTAProvidersAttribute( + (ChipClusters.OtaSoftwareUpdateRequestorCluster + .DefaultOTAProvidersAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOtaSoftwareUpdateRequestorClusterDefaultOTAProvidersAttributeCallback(), + readOtaSoftwareUpdateRequestorDefaultOTAProvidersCommandParams); + readOtaSoftwareUpdateRequestorInteractionInfo.put( + "readDefaultOTAProvidersAttribute", + readOtaSoftwareUpdateRequestorDefaultOTAProvidersAttributeInteractionInfo); + Map readOtaSoftwareUpdateRequestorUpdatePossibleCommandParams = + new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorUpdatePossibleAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) + .readUpdatePossibleAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readOtaSoftwareUpdateRequestorUpdatePossibleCommandParams - ); - readOtaSoftwareUpdateRequestorInteractionInfo.put("readUpdatePossibleAttribute", readOtaSoftwareUpdateRequestorUpdatePossibleAttributeInteractionInfo); - Map readOtaSoftwareUpdateRequestorUpdateStateCommandParams = new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorUpdateStateAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster).readUpdateStateAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOtaSoftwareUpdateRequestorUpdateStateCommandParams - ); - readOtaSoftwareUpdateRequestorInteractionInfo.put("readUpdateStateAttribute", readOtaSoftwareUpdateRequestorUpdateStateAttributeInteractionInfo); - Map readOtaSoftwareUpdateRequestorUpdateStateProgressCommandParams = new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorUpdateStateProgressAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster).readUpdateStateProgressAttribute( - ( ChipClusters.OtaSoftwareUpdateRequestorCluster.UpdateStateProgressAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOtaSoftwareUpdateRequestorClusterUpdateStateProgressAttributeCallback(), - readOtaSoftwareUpdateRequestorUpdateStateProgressCommandParams - ); - readOtaSoftwareUpdateRequestorInteractionInfo.put("readUpdateStateProgressAttribute", readOtaSoftwareUpdateRequestorUpdateStateProgressAttributeInteractionInfo); - Map readOtaSoftwareUpdateRequestorGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.OtaSoftwareUpdateRequestorCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOtaSoftwareUpdateRequestorClusterGeneratedCommandListAttributeCallback(), - readOtaSoftwareUpdateRequestorGeneratedCommandListCommandParams - ); - readOtaSoftwareUpdateRequestorInteractionInfo.put("readGeneratedCommandListAttribute", readOtaSoftwareUpdateRequestorGeneratedCommandListAttributeInteractionInfo); - Map readOtaSoftwareUpdateRequestorAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.OtaSoftwareUpdateRequestorCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOtaSoftwareUpdateRequestorClusterAcceptedCommandListAttributeCallback(), - readOtaSoftwareUpdateRequestorAcceptedCommandListCommandParams - ); - readOtaSoftwareUpdateRequestorInteractionInfo.put("readAcceptedCommandListAttribute", readOtaSoftwareUpdateRequestorAcceptedCommandListAttributeInteractionInfo); - Map readOtaSoftwareUpdateRequestorEventListCommandParams = new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster).readEventListAttribute( - ( ChipClusters.OtaSoftwareUpdateRequestorCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOtaSoftwareUpdateRequestorClusterEventListAttributeCallback(), - readOtaSoftwareUpdateRequestorEventListCommandParams - ); - readOtaSoftwareUpdateRequestorInteractionInfo.put("readEventListAttribute", readOtaSoftwareUpdateRequestorEventListAttributeInteractionInfo); - Map readOtaSoftwareUpdateRequestorAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster).readAttributeListAttribute( - ( ChipClusters.OtaSoftwareUpdateRequestorCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOtaSoftwareUpdateRequestorClusterAttributeListAttributeCallback(), - readOtaSoftwareUpdateRequestorAttributeListCommandParams - ); - readOtaSoftwareUpdateRequestorInteractionInfo.put("readAttributeListAttribute", readOtaSoftwareUpdateRequestorAttributeListAttributeInteractionInfo); - Map readOtaSoftwareUpdateRequestorFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readOtaSoftwareUpdateRequestorFeatureMapCommandParams - ); - readOtaSoftwareUpdateRequestorInteractionInfo.put("readFeatureMapAttribute", readOtaSoftwareUpdateRequestorFeatureMapAttributeInteractionInfo); - Map readOtaSoftwareUpdateRequestorClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readOtaSoftwareUpdateRequestorClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOtaSoftwareUpdateRequestorClusterRevisionCommandParams - ); - readOtaSoftwareUpdateRequestorInteractionInfo.put("readClusterRevisionAttribute", readOtaSoftwareUpdateRequestorClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("otaSoftwareUpdateRequestor", readOtaSoftwareUpdateRequestorInteractionInfo); - Map readLocalizationConfigurationInteractionInfo = new LinkedHashMap<>(); - Map readLocalizationConfigurationActiveLocaleCommandParams = new LinkedHashMap(); - InteractionInfo readLocalizationConfigurationActiveLocaleAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LocalizationConfigurationCluster) cluster).readActiveLocaleAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readOtaSoftwareUpdateRequestorUpdatePossibleCommandParams); + readOtaSoftwareUpdateRequestorInteractionInfo.put( + "readUpdatePossibleAttribute", + readOtaSoftwareUpdateRequestorUpdatePossibleAttributeInteractionInfo); + Map readOtaSoftwareUpdateRequestorUpdateStateCommandParams = + new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorUpdateStateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) + .readUpdateStateAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOtaSoftwareUpdateRequestorUpdateStateCommandParams); + readOtaSoftwareUpdateRequestorInteractionInfo.put( + "readUpdateStateAttribute", + readOtaSoftwareUpdateRequestorUpdateStateAttributeInteractionInfo); + Map + readOtaSoftwareUpdateRequestorUpdateStateProgressCommandParams = + new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorUpdateStateProgressAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) + .readUpdateStateProgressAttribute( + (ChipClusters.OtaSoftwareUpdateRequestorCluster + .UpdateStateProgressAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOtaSoftwareUpdateRequestorClusterUpdateStateProgressAttributeCallback(), + readOtaSoftwareUpdateRequestorUpdateStateProgressCommandParams); + readOtaSoftwareUpdateRequestorInteractionInfo.put( + "readUpdateStateProgressAttribute", + readOtaSoftwareUpdateRequestorUpdateStateProgressAttributeInteractionInfo); + Map + readOtaSoftwareUpdateRequestorGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.OtaSoftwareUpdateRequestorCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOtaSoftwareUpdateRequestorClusterGeneratedCommandListAttributeCallback(), + readOtaSoftwareUpdateRequestorGeneratedCommandListCommandParams); + readOtaSoftwareUpdateRequestorInteractionInfo.put( + "readGeneratedCommandListAttribute", + readOtaSoftwareUpdateRequestorGeneratedCommandListAttributeInteractionInfo); + Map + readOtaSoftwareUpdateRequestorAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.OtaSoftwareUpdateRequestorCluster + .AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOtaSoftwareUpdateRequestorClusterAcceptedCommandListAttributeCallback(), + readOtaSoftwareUpdateRequestorAcceptedCommandListCommandParams); + readOtaSoftwareUpdateRequestorInteractionInfo.put( + "readAcceptedCommandListAttribute", + readOtaSoftwareUpdateRequestorAcceptedCommandListAttributeInteractionInfo); + Map readOtaSoftwareUpdateRequestorEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) + .readEventListAttribute( + (ChipClusters.OtaSoftwareUpdateRequestorCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOtaSoftwareUpdateRequestorClusterEventListAttributeCallback(), + readOtaSoftwareUpdateRequestorEventListCommandParams); + readOtaSoftwareUpdateRequestorInteractionInfo.put( + "readEventListAttribute", readOtaSoftwareUpdateRequestorEventListAttributeInteractionInfo); + Map readOtaSoftwareUpdateRequestorAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.OtaSoftwareUpdateRequestorCluster + .AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOtaSoftwareUpdateRequestorClusterAttributeListAttributeCallback(), + readOtaSoftwareUpdateRequestorAttributeListCommandParams); + readOtaSoftwareUpdateRequestorInteractionInfo.put( + "readAttributeListAttribute", + readOtaSoftwareUpdateRequestorAttributeListAttributeInteractionInfo); + Map readOtaSoftwareUpdateRequestorFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readOtaSoftwareUpdateRequestorFeatureMapCommandParams); + readOtaSoftwareUpdateRequestorInteractionInfo.put( + "readFeatureMapAttribute", + readOtaSoftwareUpdateRequestorFeatureMapAttributeInteractionInfo); + Map readOtaSoftwareUpdateRequestorClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readOtaSoftwareUpdateRequestorClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOtaSoftwareUpdateRequestorClusterRevisionCommandParams); + readOtaSoftwareUpdateRequestorInteractionInfo.put( + "readClusterRevisionAttribute", + readOtaSoftwareUpdateRequestorClusterRevisionAttributeInteractionInfo); + readAttributeMap.put( + "otaSoftwareUpdateRequestor", readOtaSoftwareUpdateRequestorInteractionInfo); + Map readLocalizationConfigurationInteractionInfo = + new LinkedHashMap<>(); + Map readLocalizationConfigurationActiveLocaleCommandParams = + new LinkedHashMap(); + InteractionInfo readLocalizationConfigurationActiveLocaleAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LocalizationConfigurationCluster) cluster) + .readActiveLocaleAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readLocalizationConfigurationActiveLocaleCommandParams - ); - readLocalizationConfigurationInteractionInfo.put("readActiveLocaleAttribute", readLocalizationConfigurationActiveLocaleAttributeInteractionInfo); - Map readLocalizationConfigurationSupportedLocalesCommandParams = new LinkedHashMap(); - InteractionInfo readLocalizationConfigurationSupportedLocalesAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LocalizationConfigurationCluster) cluster).readSupportedLocalesAttribute( - ( ChipClusters.LocalizationConfigurationCluster.SupportedLocalesAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLocalizationConfigurationClusterSupportedLocalesAttributeCallback(), - readLocalizationConfigurationSupportedLocalesCommandParams - ); - readLocalizationConfigurationInteractionInfo.put("readSupportedLocalesAttribute", readLocalizationConfigurationSupportedLocalesAttributeInteractionInfo); - Map readLocalizationConfigurationGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readLocalizationConfigurationGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LocalizationConfigurationCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.LocalizationConfigurationCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLocalizationConfigurationClusterGeneratedCommandListAttributeCallback(), - readLocalizationConfigurationGeneratedCommandListCommandParams - ); - readLocalizationConfigurationInteractionInfo.put("readGeneratedCommandListAttribute", readLocalizationConfigurationGeneratedCommandListAttributeInteractionInfo); - Map readLocalizationConfigurationAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readLocalizationConfigurationAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LocalizationConfigurationCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.LocalizationConfigurationCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLocalizationConfigurationClusterAcceptedCommandListAttributeCallback(), - readLocalizationConfigurationAcceptedCommandListCommandParams - ); - readLocalizationConfigurationInteractionInfo.put("readAcceptedCommandListAttribute", readLocalizationConfigurationAcceptedCommandListAttributeInteractionInfo); - Map readLocalizationConfigurationEventListCommandParams = new LinkedHashMap(); - InteractionInfo readLocalizationConfigurationEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LocalizationConfigurationCluster) cluster).readEventListAttribute( - ( ChipClusters.LocalizationConfigurationCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLocalizationConfigurationClusterEventListAttributeCallback(), - readLocalizationConfigurationEventListCommandParams - ); - readLocalizationConfigurationInteractionInfo.put("readEventListAttribute", readLocalizationConfigurationEventListAttributeInteractionInfo); - Map readLocalizationConfigurationAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readLocalizationConfigurationAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LocalizationConfigurationCluster) cluster).readAttributeListAttribute( - ( ChipClusters.LocalizationConfigurationCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLocalizationConfigurationClusterAttributeListAttributeCallback(), - readLocalizationConfigurationAttributeListCommandParams - ); - readLocalizationConfigurationInteractionInfo.put("readAttributeListAttribute", readLocalizationConfigurationAttributeListAttributeInteractionInfo); - Map readLocalizationConfigurationFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readLocalizationConfigurationFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LocalizationConfigurationCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readLocalizationConfigurationFeatureMapCommandParams - ); - readLocalizationConfigurationInteractionInfo.put("readFeatureMapAttribute", readLocalizationConfigurationFeatureMapAttributeInteractionInfo); - Map readLocalizationConfigurationClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readLocalizationConfigurationClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LocalizationConfigurationCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readLocalizationConfigurationClusterRevisionCommandParams - ); - readLocalizationConfigurationInteractionInfo.put("readClusterRevisionAttribute", readLocalizationConfigurationClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("localizationConfiguration", readLocalizationConfigurationInteractionInfo); - Map readTimeFormatLocalizationInteractionInfo = new LinkedHashMap<>(); - Map readTimeFormatLocalizationHourFormatCommandParams = new LinkedHashMap(); - InteractionInfo readTimeFormatLocalizationHourFormatAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeFormatLocalizationCluster) cluster).readHourFormatAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readTimeFormatLocalizationHourFormatCommandParams - ); - readTimeFormatLocalizationInteractionInfo.put("readHourFormatAttribute", readTimeFormatLocalizationHourFormatAttributeInteractionInfo); - Map readTimeFormatLocalizationActiveCalendarTypeCommandParams = new LinkedHashMap(); - InteractionInfo readTimeFormatLocalizationActiveCalendarTypeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeFormatLocalizationCluster) cluster).readActiveCalendarTypeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readTimeFormatLocalizationActiveCalendarTypeCommandParams - ); - readTimeFormatLocalizationInteractionInfo.put("readActiveCalendarTypeAttribute", readTimeFormatLocalizationActiveCalendarTypeAttributeInteractionInfo); - Map readTimeFormatLocalizationSupportedCalendarTypesCommandParams = new LinkedHashMap(); - InteractionInfo readTimeFormatLocalizationSupportedCalendarTypesAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeFormatLocalizationCluster) cluster).readSupportedCalendarTypesAttribute( - ( ChipClusters.TimeFormatLocalizationCluster.SupportedCalendarTypesAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedTimeFormatLocalizationClusterSupportedCalendarTypesAttributeCallback(), - readTimeFormatLocalizationSupportedCalendarTypesCommandParams - ); - readTimeFormatLocalizationInteractionInfo.put("readSupportedCalendarTypesAttribute", readTimeFormatLocalizationSupportedCalendarTypesAttributeInteractionInfo); - Map readTimeFormatLocalizationGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readTimeFormatLocalizationGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeFormatLocalizationCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.TimeFormatLocalizationCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedTimeFormatLocalizationClusterGeneratedCommandListAttributeCallback(), - readTimeFormatLocalizationGeneratedCommandListCommandParams - ); - readTimeFormatLocalizationInteractionInfo.put("readGeneratedCommandListAttribute", readTimeFormatLocalizationGeneratedCommandListAttributeInteractionInfo); - Map readTimeFormatLocalizationAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readTimeFormatLocalizationAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeFormatLocalizationCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.TimeFormatLocalizationCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedTimeFormatLocalizationClusterAcceptedCommandListAttributeCallback(), - readTimeFormatLocalizationAcceptedCommandListCommandParams - ); - readTimeFormatLocalizationInteractionInfo.put("readAcceptedCommandListAttribute", readTimeFormatLocalizationAcceptedCommandListAttributeInteractionInfo); - Map readTimeFormatLocalizationEventListCommandParams = new LinkedHashMap(); - InteractionInfo readTimeFormatLocalizationEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeFormatLocalizationCluster) cluster).readEventListAttribute( - ( ChipClusters.TimeFormatLocalizationCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedTimeFormatLocalizationClusterEventListAttributeCallback(), - readTimeFormatLocalizationEventListCommandParams - ); - readTimeFormatLocalizationInteractionInfo.put("readEventListAttribute", readTimeFormatLocalizationEventListAttributeInteractionInfo); - Map readTimeFormatLocalizationAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readTimeFormatLocalizationAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeFormatLocalizationCluster) cluster).readAttributeListAttribute( - ( ChipClusters.TimeFormatLocalizationCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedTimeFormatLocalizationClusterAttributeListAttributeCallback(), - readTimeFormatLocalizationAttributeListCommandParams - ); - readTimeFormatLocalizationInteractionInfo.put("readAttributeListAttribute", readTimeFormatLocalizationAttributeListAttributeInteractionInfo); - Map readTimeFormatLocalizationFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readTimeFormatLocalizationFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeFormatLocalizationCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readTimeFormatLocalizationFeatureMapCommandParams - ); - readTimeFormatLocalizationInteractionInfo.put("readFeatureMapAttribute", readTimeFormatLocalizationFeatureMapAttributeInteractionInfo); - Map readTimeFormatLocalizationClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readTimeFormatLocalizationClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeFormatLocalizationCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readTimeFormatLocalizationClusterRevisionCommandParams - ); - readTimeFormatLocalizationInteractionInfo.put("readClusterRevisionAttribute", readTimeFormatLocalizationClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("timeFormatLocalization", readTimeFormatLocalizationInteractionInfo); - Map readUnitLocalizationInteractionInfo = new LinkedHashMap<>(); - Map readUnitLocalizationTemperatureUnitCommandParams = new LinkedHashMap(); - InteractionInfo readUnitLocalizationTemperatureUnitAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitLocalizationCluster) cluster).readTemperatureUnitAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitLocalizationTemperatureUnitCommandParams - ); - readUnitLocalizationInteractionInfo.put("readTemperatureUnitAttribute", readUnitLocalizationTemperatureUnitAttributeInteractionInfo); - Map readUnitLocalizationGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readUnitLocalizationGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitLocalizationCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.UnitLocalizationCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitLocalizationClusterGeneratedCommandListAttributeCallback(), - readUnitLocalizationGeneratedCommandListCommandParams - ); - readUnitLocalizationInteractionInfo.put("readGeneratedCommandListAttribute", readUnitLocalizationGeneratedCommandListAttributeInteractionInfo); - Map readUnitLocalizationAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readUnitLocalizationAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitLocalizationCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.UnitLocalizationCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitLocalizationClusterAcceptedCommandListAttributeCallback(), - readUnitLocalizationAcceptedCommandListCommandParams - ); - readUnitLocalizationInteractionInfo.put("readAcceptedCommandListAttribute", readUnitLocalizationAcceptedCommandListAttributeInteractionInfo); - Map readUnitLocalizationEventListCommandParams = new LinkedHashMap(); - InteractionInfo readUnitLocalizationEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitLocalizationCluster) cluster).readEventListAttribute( - ( ChipClusters.UnitLocalizationCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitLocalizationClusterEventListAttributeCallback(), - readUnitLocalizationEventListCommandParams - ); - readUnitLocalizationInteractionInfo.put("readEventListAttribute", readUnitLocalizationEventListAttributeInteractionInfo); - Map readUnitLocalizationAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readUnitLocalizationAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitLocalizationCluster) cluster).readAttributeListAttribute( - ( ChipClusters.UnitLocalizationCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitLocalizationClusterAttributeListAttributeCallback(), - readUnitLocalizationAttributeListCommandParams - ); - readUnitLocalizationInteractionInfo.put("readAttributeListAttribute", readUnitLocalizationAttributeListAttributeInteractionInfo); - Map readUnitLocalizationFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readUnitLocalizationFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitLocalizationCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitLocalizationFeatureMapCommandParams - ); - readUnitLocalizationInteractionInfo.put("readFeatureMapAttribute", readUnitLocalizationFeatureMapAttributeInteractionInfo); - Map readUnitLocalizationClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readUnitLocalizationClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitLocalizationCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitLocalizationClusterRevisionCommandParams - ); - readUnitLocalizationInteractionInfo.put("readClusterRevisionAttribute", readUnitLocalizationClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("unitLocalization", readUnitLocalizationInteractionInfo); - Map readPowerSourceConfigurationInteractionInfo = new LinkedHashMap<>(); - Map readPowerSourceConfigurationSourcesCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceConfigurationSourcesAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceConfigurationCluster) cluster).readSourcesAttribute( - ( ChipClusters.PowerSourceConfigurationCluster.SourcesAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPowerSourceConfigurationClusterSourcesAttributeCallback(), - readPowerSourceConfigurationSourcesCommandParams - ); - readPowerSourceConfigurationInteractionInfo.put("readSourcesAttribute", readPowerSourceConfigurationSourcesAttributeInteractionInfo); - Map readPowerSourceConfigurationGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceConfigurationGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceConfigurationCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.PowerSourceConfigurationCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPowerSourceConfigurationClusterGeneratedCommandListAttributeCallback(), - readPowerSourceConfigurationGeneratedCommandListCommandParams - ); - readPowerSourceConfigurationInteractionInfo.put("readGeneratedCommandListAttribute", readPowerSourceConfigurationGeneratedCommandListAttributeInteractionInfo); - Map readPowerSourceConfigurationAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceConfigurationAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceConfigurationCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.PowerSourceConfigurationCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPowerSourceConfigurationClusterAcceptedCommandListAttributeCallback(), - readPowerSourceConfigurationAcceptedCommandListCommandParams - ); - readPowerSourceConfigurationInteractionInfo.put("readAcceptedCommandListAttribute", readPowerSourceConfigurationAcceptedCommandListAttributeInteractionInfo); - Map readPowerSourceConfigurationEventListCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceConfigurationEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceConfigurationCluster) cluster).readEventListAttribute( - ( ChipClusters.PowerSourceConfigurationCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPowerSourceConfigurationClusterEventListAttributeCallback(), - readPowerSourceConfigurationEventListCommandParams - ); - readPowerSourceConfigurationInteractionInfo.put("readEventListAttribute", readPowerSourceConfigurationEventListAttributeInteractionInfo); - Map readPowerSourceConfigurationAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceConfigurationAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceConfigurationCluster) cluster).readAttributeListAttribute( - ( ChipClusters.PowerSourceConfigurationCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPowerSourceConfigurationClusterAttributeListAttributeCallback(), - readPowerSourceConfigurationAttributeListCommandParams - ); - readPowerSourceConfigurationInteractionInfo.put("readAttributeListAttribute", readPowerSourceConfigurationAttributeListAttributeInteractionInfo); - Map readPowerSourceConfigurationFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceConfigurationFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceConfigurationCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readPowerSourceConfigurationFeatureMapCommandParams - ); - readPowerSourceConfigurationInteractionInfo.put("readFeatureMapAttribute", readPowerSourceConfigurationFeatureMapAttributeInteractionInfo); - Map readPowerSourceConfigurationClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceConfigurationClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceConfigurationCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPowerSourceConfigurationClusterRevisionCommandParams - ); - readPowerSourceConfigurationInteractionInfo.put("readClusterRevisionAttribute", readPowerSourceConfigurationClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("powerSourceConfiguration", readPowerSourceConfigurationInteractionInfo); - Map readPowerSourceInteractionInfo = new LinkedHashMap<>(); - Map readPowerSourceStatusCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceStatusAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readStatusAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPowerSourceStatusCommandParams - ); - readPowerSourceInteractionInfo.put("readStatusAttribute", readPowerSourceStatusAttributeInteractionInfo); - Map readPowerSourceOrderCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceOrderAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readOrderAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPowerSourceOrderCommandParams - ); - readPowerSourceInteractionInfo.put("readOrderAttribute", readPowerSourceOrderAttributeInteractionInfo); - Map readPowerSourceDescriptionCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceDescriptionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readDescriptionAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readLocalizationConfigurationActiveLocaleCommandParams); + readLocalizationConfigurationInteractionInfo.put( + "readActiveLocaleAttribute", + readLocalizationConfigurationActiveLocaleAttributeInteractionInfo); + Map readLocalizationConfigurationSupportedLocalesCommandParams = + new LinkedHashMap(); + InteractionInfo readLocalizationConfigurationSupportedLocalesAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LocalizationConfigurationCluster) cluster) + .readSupportedLocalesAttribute( + (ChipClusters.LocalizationConfigurationCluster + .SupportedLocalesAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedLocalizationConfigurationClusterSupportedLocalesAttributeCallback(), + readLocalizationConfigurationSupportedLocalesCommandParams); + readLocalizationConfigurationInteractionInfo.put( + "readSupportedLocalesAttribute", + readLocalizationConfigurationSupportedLocalesAttributeInteractionInfo); + Map + readLocalizationConfigurationGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readLocalizationConfigurationGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LocalizationConfigurationCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.LocalizationConfigurationCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedLocalizationConfigurationClusterGeneratedCommandListAttributeCallback(), + readLocalizationConfigurationGeneratedCommandListCommandParams); + readLocalizationConfigurationInteractionInfo.put( + "readGeneratedCommandListAttribute", + readLocalizationConfigurationGeneratedCommandListAttributeInteractionInfo); + Map + readLocalizationConfigurationAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readLocalizationConfigurationAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LocalizationConfigurationCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.LocalizationConfigurationCluster + .AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedLocalizationConfigurationClusterAcceptedCommandListAttributeCallback(), + readLocalizationConfigurationAcceptedCommandListCommandParams); + readLocalizationConfigurationInteractionInfo.put( + "readAcceptedCommandListAttribute", + readLocalizationConfigurationAcceptedCommandListAttributeInteractionInfo); + Map readLocalizationConfigurationEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readLocalizationConfigurationEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LocalizationConfigurationCluster) cluster) + .readEventListAttribute( + (ChipClusters.LocalizationConfigurationCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedLocalizationConfigurationClusterEventListAttributeCallback(), + readLocalizationConfigurationEventListCommandParams); + readLocalizationConfigurationInteractionInfo.put( + "readEventListAttribute", readLocalizationConfigurationEventListAttributeInteractionInfo); + Map readLocalizationConfigurationAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readLocalizationConfigurationAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LocalizationConfigurationCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.LocalizationConfigurationCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedLocalizationConfigurationClusterAttributeListAttributeCallback(), + readLocalizationConfigurationAttributeListCommandParams); + readLocalizationConfigurationInteractionInfo.put( + "readAttributeListAttribute", + readLocalizationConfigurationAttributeListAttributeInteractionInfo); + Map readLocalizationConfigurationFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readLocalizationConfigurationFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LocalizationConfigurationCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readLocalizationConfigurationFeatureMapCommandParams); + readLocalizationConfigurationInteractionInfo.put( + "readFeatureMapAttribute", readLocalizationConfigurationFeatureMapAttributeInteractionInfo); + Map readLocalizationConfigurationClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readLocalizationConfigurationClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LocalizationConfigurationCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readLocalizationConfigurationClusterRevisionCommandParams); + readLocalizationConfigurationInteractionInfo.put( + "readClusterRevisionAttribute", + readLocalizationConfigurationClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("localizationConfiguration", readLocalizationConfigurationInteractionInfo); + Map readTimeFormatLocalizationInteractionInfo = new LinkedHashMap<>(); + Map readTimeFormatLocalizationHourFormatCommandParams = + new LinkedHashMap(); + InteractionInfo readTimeFormatLocalizationHourFormatAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeFormatLocalizationCluster) cluster) + .readHourFormatAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readTimeFormatLocalizationHourFormatCommandParams); + readTimeFormatLocalizationInteractionInfo.put( + "readHourFormatAttribute", readTimeFormatLocalizationHourFormatAttributeInteractionInfo); + Map readTimeFormatLocalizationActiveCalendarTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readTimeFormatLocalizationActiveCalendarTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeFormatLocalizationCluster) cluster) + .readActiveCalendarTypeAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readTimeFormatLocalizationActiveCalendarTypeCommandParams); + readTimeFormatLocalizationInteractionInfo.put( + "readActiveCalendarTypeAttribute", + readTimeFormatLocalizationActiveCalendarTypeAttributeInteractionInfo); + Map + readTimeFormatLocalizationSupportedCalendarTypesCommandParams = + new LinkedHashMap(); + InteractionInfo readTimeFormatLocalizationSupportedCalendarTypesAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeFormatLocalizationCluster) cluster) + .readSupportedCalendarTypesAttribute( + (ChipClusters.TimeFormatLocalizationCluster + .SupportedCalendarTypesAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedTimeFormatLocalizationClusterSupportedCalendarTypesAttributeCallback(), + readTimeFormatLocalizationSupportedCalendarTypesCommandParams); + readTimeFormatLocalizationInteractionInfo.put( + "readSupportedCalendarTypesAttribute", + readTimeFormatLocalizationSupportedCalendarTypesAttributeInteractionInfo); + Map readTimeFormatLocalizationGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readTimeFormatLocalizationGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeFormatLocalizationCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.TimeFormatLocalizationCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedTimeFormatLocalizationClusterGeneratedCommandListAttributeCallback(), + readTimeFormatLocalizationGeneratedCommandListCommandParams); + readTimeFormatLocalizationInteractionInfo.put( + "readGeneratedCommandListAttribute", + readTimeFormatLocalizationGeneratedCommandListAttributeInteractionInfo); + Map readTimeFormatLocalizationAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readTimeFormatLocalizationAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeFormatLocalizationCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.TimeFormatLocalizationCluster + .AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedTimeFormatLocalizationClusterAcceptedCommandListAttributeCallback(), + readTimeFormatLocalizationAcceptedCommandListCommandParams); + readTimeFormatLocalizationInteractionInfo.put( + "readAcceptedCommandListAttribute", + readTimeFormatLocalizationAcceptedCommandListAttributeInteractionInfo); + Map readTimeFormatLocalizationEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readTimeFormatLocalizationEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeFormatLocalizationCluster) cluster) + .readEventListAttribute( + (ChipClusters.TimeFormatLocalizationCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedTimeFormatLocalizationClusterEventListAttributeCallback(), + readTimeFormatLocalizationEventListCommandParams); + readTimeFormatLocalizationInteractionInfo.put( + "readEventListAttribute", readTimeFormatLocalizationEventListAttributeInteractionInfo); + Map readTimeFormatLocalizationAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readTimeFormatLocalizationAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeFormatLocalizationCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.TimeFormatLocalizationCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedTimeFormatLocalizationClusterAttributeListAttributeCallback(), + readTimeFormatLocalizationAttributeListCommandParams); + readTimeFormatLocalizationInteractionInfo.put( + "readAttributeListAttribute", + readTimeFormatLocalizationAttributeListAttributeInteractionInfo); + Map readTimeFormatLocalizationFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readTimeFormatLocalizationFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeFormatLocalizationCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readTimeFormatLocalizationFeatureMapCommandParams); + readTimeFormatLocalizationInteractionInfo.put( + "readFeatureMapAttribute", readTimeFormatLocalizationFeatureMapAttributeInteractionInfo); + Map readTimeFormatLocalizationClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readTimeFormatLocalizationClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeFormatLocalizationCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readTimeFormatLocalizationClusterRevisionCommandParams); + readTimeFormatLocalizationInteractionInfo.put( + "readClusterRevisionAttribute", + readTimeFormatLocalizationClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("timeFormatLocalization", readTimeFormatLocalizationInteractionInfo); + Map readUnitLocalizationInteractionInfo = new LinkedHashMap<>(); + Map readUnitLocalizationTemperatureUnitCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitLocalizationTemperatureUnitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitLocalizationCluster) cluster) + .readTemperatureUnitAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitLocalizationTemperatureUnitCommandParams); + readUnitLocalizationInteractionInfo.put( + "readTemperatureUnitAttribute", + readUnitLocalizationTemperatureUnitAttributeInteractionInfo); + Map readUnitLocalizationGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitLocalizationGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitLocalizationCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.UnitLocalizationCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitLocalizationClusterGeneratedCommandListAttributeCallback(), + readUnitLocalizationGeneratedCommandListCommandParams); + readUnitLocalizationInteractionInfo.put( + "readGeneratedCommandListAttribute", + readUnitLocalizationGeneratedCommandListAttributeInteractionInfo); + Map readUnitLocalizationAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitLocalizationAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitLocalizationCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.UnitLocalizationCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitLocalizationClusterAcceptedCommandListAttributeCallback(), + readUnitLocalizationAcceptedCommandListCommandParams); + readUnitLocalizationInteractionInfo.put( + "readAcceptedCommandListAttribute", + readUnitLocalizationAcceptedCommandListAttributeInteractionInfo); + Map readUnitLocalizationEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitLocalizationEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitLocalizationCluster) cluster) + .readEventListAttribute( + (ChipClusters.UnitLocalizationCluster.EventListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedUnitLocalizationClusterEventListAttributeCallback(), + readUnitLocalizationEventListCommandParams); + readUnitLocalizationInteractionInfo.put( + "readEventListAttribute", readUnitLocalizationEventListAttributeInteractionInfo); + Map readUnitLocalizationAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitLocalizationAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitLocalizationCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.UnitLocalizationCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitLocalizationClusterAttributeListAttributeCallback(), + readUnitLocalizationAttributeListCommandParams); + readUnitLocalizationInteractionInfo.put( + "readAttributeListAttribute", readUnitLocalizationAttributeListAttributeInteractionInfo); + Map readUnitLocalizationFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitLocalizationFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitLocalizationCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitLocalizationFeatureMapCommandParams); + readUnitLocalizationInteractionInfo.put( + "readFeatureMapAttribute", readUnitLocalizationFeatureMapAttributeInteractionInfo); + Map readUnitLocalizationClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitLocalizationClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitLocalizationCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitLocalizationClusterRevisionCommandParams); + readUnitLocalizationInteractionInfo.put( + "readClusterRevisionAttribute", + readUnitLocalizationClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("unitLocalization", readUnitLocalizationInteractionInfo); + Map readPowerSourceConfigurationInteractionInfo = + new LinkedHashMap<>(); + Map readPowerSourceConfigurationSourcesCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceConfigurationSourcesAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceConfigurationCluster) cluster) + .readSourcesAttribute( + (ChipClusters.PowerSourceConfigurationCluster.SourcesAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPowerSourceConfigurationClusterSourcesAttributeCallback(), + readPowerSourceConfigurationSourcesCommandParams); + readPowerSourceConfigurationInteractionInfo.put( + "readSourcesAttribute", readPowerSourceConfigurationSourcesAttributeInteractionInfo); + Map + readPowerSourceConfigurationGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceConfigurationGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceConfigurationCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.PowerSourceConfigurationCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPowerSourceConfigurationClusterGeneratedCommandListAttributeCallback(), + readPowerSourceConfigurationGeneratedCommandListCommandParams); + readPowerSourceConfigurationInteractionInfo.put( + "readGeneratedCommandListAttribute", + readPowerSourceConfigurationGeneratedCommandListAttributeInteractionInfo); + Map readPowerSourceConfigurationAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceConfigurationAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceConfigurationCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.PowerSourceConfigurationCluster + .AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPowerSourceConfigurationClusterAcceptedCommandListAttributeCallback(), + readPowerSourceConfigurationAcceptedCommandListCommandParams); + readPowerSourceConfigurationInteractionInfo.put( + "readAcceptedCommandListAttribute", + readPowerSourceConfigurationAcceptedCommandListAttributeInteractionInfo); + Map readPowerSourceConfigurationEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceConfigurationEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceConfigurationCluster) cluster) + .readEventListAttribute( + (ChipClusters.PowerSourceConfigurationCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPowerSourceConfigurationClusterEventListAttributeCallback(), + readPowerSourceConfigurationEventListCommandParams); + readPowerSourceConfigurationInteractionInfo.put( + "readEventListAttribute", readPowerSourceConfigurationEventListAttributeInteractionInfo); + Map readPowerSourceConfigurationAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceConfigurationAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceConfigurationCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.PowerSourceConfigurationCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPowerSourceConfigurationClusterAttributeListAttributeCallback(), + readPowerSourceConfigurationAttributeListCommandParams); + readPowerSourceConfigurationInteractionInfo.put( + "readAttributeListAttribute", + readPowerSourceConfigurationAttributeListAttributeInteractionInfo); + Map readPowerSourceConfigurationFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceConfigurationFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceConfigurationCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readPowerSourceConfigurationFeatureMapCommandParams); + readPowerSourceConfigurationInteractionInfo.put( + "readFeatureMapAttribute", readPowerSourceConfigurationFeatureMapAttributeInteractionInfo); + Map readPowerSourceConfigurationClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceConfigurationClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceConfigurationCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPowerSourceConfigurationClusterRevisionCommandParams); + readPowerSourceConfigurationInteractionInfo.put( + "readClusterRevisionAttribute", + readPowerSourceConfigurationClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("powerSourceConfiguration", readPowerSourceConfigurationInteractionInfo); + Map readPowerSourceInteractionInfo = new LinkedHashMap<>(); + Map readPowerSourceStatusCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceStatusAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPowerSourceStatusCommandParams); + readPowerSourceInteractionInfo.put( + "readStatusAttribute", readPowerSourceStatusAttributeInteractionInfo); + Map readPowerSourceOrderCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceOrderAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readOrderAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPowerSourceOrderCommandParams); + readPowerSourceInteractionInfo.put( + "readOrderAttribute", readPowerSourceOrderAttributeInteractionInfo); + Map readPowerSourceDescriptionCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceDescriptionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readDescriptionAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readPowerSourceDescriptionCommandParams - ); - readPowerSourceInteractionInfo.put("readDescriptionAttribute", readPowerSourceDescriptionAttributeInteractionInfo); - Map readPowerSourceWiredAssessedInputVoltageCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceWiredAssessedInputVoltageAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readWiredAssessedInputVoltageAttribute( - ( ChipClusters.PowerSourceCluster.WiredAssessedInputVoltageAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPowerSourceClusterWiredAssessedInputVoltageAttributeCallback(), - readPowerSourceWiredAssessedInputVoltageCommandParams - ); - readPowerSourceInteractionInfo.put("readWiredAssessedInputVoltageAttribute", readPowerSourceWiredAssessedInputVoltageAttributeInteractionInfo); - Map readPowerSourceWiredAssessedInputFrequencyCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceWiredAssessedInputFrequencyAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readWiredAssessedInputFrequencyAttribute( - ( ChipClusters.PowerSourceCluster.WiredAssessedInputFrequencyAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPowerSourceClusterWiredAssessedInputFrequencyAttributeCallback(), - readPowerSourceWiredAssessedInputFrequencyCommandParams - ); - readPowerSourceInteractionInfo.put("readWiredAssessedInputFrequencyAttribute", readPowerSourceWiredAssessedInputFrequencyAttributeInteractionInfo); - Map readPowerSourceWiredCurrentTypeCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceWiredCurrentTypeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readWiredCurrentTypeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPowerSourceWiredCurrentTypeCommandParams - ); - readPowerSourceInteractionInfo.put("readWiredCurrentTypeAttribute", readPowerSourceWiredCurrentTypeAttributeInteractionInfo); - Map readPowerSourceWiredAssessedCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceWiredAssessedCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readWiredAssessedCurrentAttribute( - ( ChipClusters.PowerSourceCluster.WiredAssessedCurrentAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPowerSourceClusterWiredAssessedCurrentAttributeCallback(), - readPowerSourceWiredAssessedCurrentCommandParams - ); - readPowerSourceInteractionInfo.put("readWiredAssessedCurrentAttribute", readPowerSourceWiredAssessedCurrentAttributeInteractionInfo); - Map readPowerSourceWiredNominalVoltageCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceWiredNominalVoltageAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readWiredNominalVoltageAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readPowerSourceWiredNominalVoltageCommandParams - ); - readPowerSourceInteractionInfo.put("readWiredNominalVoltageAttribute", readPowerSourceWiredNominalVoltageAttributeInteractionInfo); - Map readPowerSourceWiredMaximumCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceWiredMaximumCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readWiredMaximumCurrentAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readPowerSourceWiredMaximumCurrentCommandParams - ); - readPowerSourceInteractionInfo.put("readWiredMaximumCurrentAttribute", readPowerSourceWiredMaximumCurrentAttributeInteractionInfo); - Map readPowerSourceWiredPresentCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceWiredPresentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readWiredPresentAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readPowerSourceDescriptionCommandParams); + readPowerSourceInteractionInfo.put( + "readDescriptionAttribute", readPowerSourceDescriptionAttributeInteractionInfo); + Map readPowerSourceWiredAssessedInputVoltageCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceWiredAssessedInputVoltageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readWiredAssessedInputVoltageAttribute( + (ChipClusters.PowerSourceCluster.WiredAssessedInputVoltageAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPowerSourceClusterWiredAssessedInputVoltageAttributeCallback(), + readPowerSourceWiredAssessedInputVoltageCommandParams); + readPowerSourceInteractionInfo.put( + "readWiredAssessedInputVoltageAttribute", + readPowerSourceWiredAssessedInputVoltageAttributeInteractionInfo); + Map readPowerSourceWiredAssessedInputFrequencyCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceWiredAssessedInputFrequencyAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readWiredAssessedInputFrequencyAttribute( + (ChipClusters.PowerSourceCluster.WiredAssessedInputFrequencyAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPowerSourceClusterWiredAssessedInputFrequencyAttributeCallback(), + readPowerSourceWiredAssessedInputFrequencyCommandParams); + readPowerSourceInteractionInfo.put( + "readWiredAssessedInputFrequencyAttribute", + readPowerSourceWiredAssessedInputFrequencyAttributeInteractionInfo); + Map readPowerSourceWiredCurrentTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceWiredCurrentTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readWiredCurrentTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPowerSourceWiredCurrentTypeCommandParams); + readPowerSourceInteractionInfo.put( + "readWiredCurrentTypeAttribute", readPowerSourceWiredCurrentTypeAttributeInteractionInfo); + Map readPowerSourceWiredAssessedCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceWiredAssessedCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readWiredAssessedCurrentAttribute( + (ChipClusters.PowerSourceCluster.WiredAssessedCurrentAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPowerSourceClusterWiredAssessedCurrentAttributeCallback(), + readPowerSourceWiredAssessedCurrentCommandParams); + readPowerSourceInteractionInfo.put( + "readWiredAssessedCurrentAttribute", + readPowerSourceWiredAssessedCurrentAttributeInteractionInfo); + Map readPowerSourceWiredNominalVoltageCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceWiredNominalVoltageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readWiredNominalVoltageAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readPowerSourceWiredNominalVoltageCommandParams); + readPowerSourceInteractionInfo.put( + "readWiredNominalVoltageAttribute", + readPowerSourceWiredNominalVoltageAttributeInteractionInfo); + Map readPowerSourceWiredMaximumCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceWiredMaximumCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readWiredMaximumCurrentAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readPowerSourceWiredMaximumCurrentCommandParams); + readPowerSourceInteractionInfo.put( + "readWiredMaximumCurrentAttribute", + readPowerSourceWiredMaximumCurrentAttributeInteractionInfo); + Map readPowerSourceWiredPresentCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceWiredPresentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readWiredPresentAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readPowerSourceWiredPresentCommandParams - ); - readPowerSourceInteractionInfo.put("readWiredPresentAttribute", readPowerSourceWiredPresentAttributeInteractionInfo); - Map readPowerSourceActiveWiredFaultsCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceActiveWiredFaultsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readActiveWiredFaultsAttribute( - ( ChipClusters.PowerSourceCluster.ActiveWiredFaultsAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPowerSourceClusterActiveWiredFaultsAttributeCallback(), - readPowerSourceActiveWiredFaultsCommandParams - ); - readPowerSourceInteractionInfo.put("readActiveWiredFaultsAttribute", readPowerSourceActiveWiredFaultsAttributeInteractionInfo); - Map readPowerSourceBatVoltageCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceBatVoltageAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readBatVoltageAttribute( - ( ChipClusters.PowerSourceCluster.BatVoltageAttributeCallback - ) callback - ); - }, + readPowerSourceWiredPresentCommandParams); + readPowerSourceInteractionInfo.put( + "readWiredPresentAttribute", readPowerSourceWiredPresentAttributeInteractionInfo); + Map readPowerSourceActiveWiredFaultsCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceActiveWiredFaultsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readActiveWiredFaultsAttribute( + (ChipClusters.PowerSourceCluster.ActiveWiredFaultsAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPowerSourceClusterActiveWiredFaultsAttributeCallback(), + readPowerSourceActiveWiredFaultsCommandParams); + readPowerSourceInteractionInfo.put( + "readActiveWiredFaultsAttribute", readPowerSourceActiveWiredFaultsAttributeInteractionInfo); + Map readPowerSourceBatVoltageCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatVoltageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatVoltageAttribute( + (ChipClusters.PowerSourceCluster.BatVoltageAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedPowerSourceClusterBatVoltageAttributeCallback(), - readPowerSourceBatVoltageCommandParams - ); - readPowerSourceInteractionInfo.put("readBatVoltageAttribute", readPowerSourceBatVoltageAttributeInteractionInfo); - Map readPowerSourceBatPercentRemainingCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceBatPercentRemainingAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readBatPercentRemainingAttribute( - ( ChipClusters.PowerSourceCluster.BatPercentRemainingAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPowerSourceClusterBatPercentRemainingAttributeCallback(), - readPowerSourceBatPercentRemainingCommandParams - ); - readPowerSourceInteractionInfo.put("readBatPercentRemainingAttribute", readPowerSourceBatPercentRemainingAttributeInteractionInfo); - Map readPowerSourceBatTimeRemainingCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceBatTimeRemainingAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readBatTimeRemainingAttribute( - ( ChipClusters.PowerSourceCluster.BatTimeRemainingAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPowerSourceClusterBatTimeRemainingAttributeCallback(), - readPowerSourceBatTimeRemainingCommandParams - ); - readPowerSourceInteractionInfo.put("readBatTimeRemainingAttribute", readPowerSourceBatTimeRemainingAttributeInteractionInfo); - Map readPowerSourceBatChargeLevelCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceBatChargeLevelAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readBatChargeLevelAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPowerSourceBatChargeLevelCommandParams - ); - readPowerSourceInteractionInfo.put("readBatChargeLevelAttribute", readPowerSourceBatChargeLevelAttributeInteractionInfo); - Map readPowerSourceBatReplacementNeededCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceBatReplacementNeededAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readBatReplacementNeededAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readPowerSourceBatVoltageCommandParams); + readPowerSourceInteractionInfo.put( + "readBatVoltageAttribute", readPowerSourceBatVoltageAttributeInteractionInfo); + Map readPowerSourceBatPercentRemainingCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatPercentRemainingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatPercentRemainingAttribute( + (ChipClusters.PowerSourceCluster.BatPercentRemainingAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPowerSourceClusterBatPercentRemainingAttributeCallback(), + readPowerSourceBatPercentRemainingCommandParams); + readPowerSourceInteractionInfo.put( + "readBatPercentRemainingAttribute", + readPowerSourceBatPercentRemainingAttributeInteractionInfo); + Map readPowerSourceBatTimeRemainingCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatTimeRemainingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatTimeRemainingAttribute( + (ChipClusters.PowerSourceCluster.BatTimeRemainingAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPowerSourceClusterBatTimeRemainingAttributeCallback(), + readPowerSourceBatTimeRemainingCommandParams); + readPowerSourceInteractionInfo.put( + "readBatTimeRemainingAttribute", readPowerSourceBatTimeRemainingAttributeInteractionInfo); + Map readPowerSourceBatChargeLevelCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatChargeLevelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatChargeLevelAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPowerSourceBatChargeLevelCommandParams); + readPowerSourceInteractionInfo.put( + "readBatChargeLevelAttribute", readPowerSourceBatChargeLevelAttributeInteractionInfo); + Map readPowerSourceBatReplacementNeededCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatReplacementNeededAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatReplacementNeededAttribute( + (ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readPowerSourceBatReplacementNeededCommandParams - ); - readPowerSourceInteractionInfo.put("readBatReplacementNeededAttribute", readPowerSourceBatReplacementNeededAttributeInteractionInfo); - Map readPowerSourceBatReplaceabilityCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceBatReplaceabilityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readBatReplaceabilityAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPowerSourceBatReplaceabilityCommandParams - ); - readPowerSourceInteractionInfo.put("readBatReplaceabilityAttribute", readPowerSourceBatReplaceabilityAttributeInteractionInfo); - Map readPowerSourceBatPresentCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceBatPresentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readBatPresentAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readPowerSourceBatReplacementNeededCommandParams); + readPowerSourceInteractionInfo.put( + "readBatReplacementNeededAttribute", + readPowerSourceBatReplacementNeededAttributeInteractionInfo); + Map readPowerSourceBatReplaceabilityCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatReplaceabilityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatReplaceabilityAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPowerSourceBatReplaceabilityCommandParams); + readPowerSourceInteractionInfo.put( + "readBatReplaceabilityAttribute", readPowerSourceBatReplaceabilityAttributeInteractionInfo); + Map readPowerSourceBatPresentCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatPresentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatPresentAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readPowerSourceBatPresentCommandParams - ); - readPowerSourceInteractionInfo.put("readBatPresentAttribute", readPowerSourceBatPresentAttributeInteractionInfo); - Map readPowerSourceActiveBatFaultsCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceActiveBatFaultsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readActiveBatFaultsAttribute( - ( ChipClusters.PowerSourceCluster.ActiveBatFaultsAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPowerSourceClusterActiveBatFaultsAttributeCallback(), - readPowerSourceActiveBatFaultsCommandParams - ); - readPowerSourceInteractionInfo.put("readActiveBatFaultsAttribute", readPowerSourceActiveBatFaultsAttributeInteractionInfo); - Map readPowerSourceBatReplacementDescriptionCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceBatReplacementDescriptionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readBatReplacementDescriptionAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readPowerSourceBatPresentCommandParams); + readPowerSourceInteractionInfo.put( + "readBatPresentAttribute", readPowerSourceBatPresentAttributeInteractionInfo); + Map readPowerSourceActiveBatFaultsCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceActiveBatFaultsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readActiveBatFaultsAttribute( + (ChipClusters.PowerSourceCluster.ActiveBatFaultsAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPowerSourceClusterActiveBatFaultsAttributeCallback(), + readPowerSourceActiveBatFaultsCommandParams); + readPowerSourceInteractionInfo.put( + "readActiveBatFaultsAttribute", readPowerSourceActiveBatFaultsAttributeInteractionInfo); + Map readPowerSourceBatReplacementDescriptionCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatReplacementDescriptionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatReplacementDescriptionAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readPowerSourceBatReplacementDescriptionCommandParams - ); - readPowerSourceInteractionInfo.put("readBatReplacementDescriptionAttribute", readPowerSourceBatReplacementDescriptionAttributeInteractionInfo); - Map readPowerSourceBatCommonDesignationCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceBatCommonDesignationAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readBatCommonDesignationAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPowerSourceBatCommonDesignationCommandParams - ); - readPowerSourceInteractionInfo.put("readBatCommonDesignationAttribute", readPowerSourceBatCommonDesignationAttributeInteractionInfo); - Map readPowerSourceBatANSIDesignationCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceBatANSIDesignationAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readBatANSIDesignationAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readPowerSourceBatReplacementDescriptionCommandParams); + readPowerSourceInteractionInfo.put( + "readBatReplacementDescriptionAttribute", + readPowerSourceBatReplacementDescriptionAttributeInteractionInfo); + Map readPowerSourceBatCommonDesignationCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatCommonDesignationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatCommonDesignationAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPowerSourceBatCommonDesignationCommandParams); + readPowerSourceInteractionInfo.put( + "readBatCommonDesignationAttribute", + readPowerSourceBatCommonDesignationAttributeInteractionInfo); + Map readPowerSourceBatANSIDesignationCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatANSIDesignationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatANSIDesignationAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readPowerSourceBatANSIDesignationCommandParams - ); - readPowerSourceInteractionInfo.put("readBatANSIDesignationAttribute", readPowerSourceBatANSIDesignationAttributeInteractionInfo); - Map readPowerSourceBatIECDesignationCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceBatIECDesignationAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readBatIECDesignationAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readPowerSourceBatANSIDesignationCommandParams); + readPowerSourceInteractionInfo.put( + "readBatANSIDesignationAttribute", + readPowerSourceBatANSIDesignationAttributeInteractionInfo); + Map readPowerSourceBatIECDesignationCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatIECDesignationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatIECDesignationAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readPowerSourceBatIECDesignationCommandParams - ); - readPowerSourceInteractionInfo.put("readBatIECDesignationAttribute", readPowerSourceBatIECDesignationAttributeInteractionInfo); - Map readPowerSourceBatApprovedChemistryCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceBatApprovedChemistryAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readBatApprovedChemistryAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPowerSourceBatApprovedChemistryCommandParams - ); - readPowerSourceInteractionInfo.put("readBatApprovedChemistryAttribute", readPowerSourceBatApprovedChemistryAttributeInteractionInfo); - Map readPowerSourceBatCapacityCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceBatCapacityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readBatCapacityAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readPowerSourceBatCapacityCommandParams - ); - readPowerSourceInteractionInfo.put("readBatCapacityAttribute", readPowerSourceBatCapacityAttributeInteractionInfo); - Map readPowerSourceBatQuantityCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceBatQuantityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readBatQuantityAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPowerSourceBatQuantityCommandParams - ); - readPowerSourceInteractionInfo.put("readBatQuantityAttribute", readPowerSourceBatQuantityAttributeInteractionInfo); - Map readPowerSourceBatChargeStateCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceBatChargeStateAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readBatChargeStateAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPowerSourceBatChargeStateCommandParams - ); - readPowerSourceInteractionInfo.put("readBatChargeStateAttribute", readPowerSourceBatChargeStateAttributeInteractionInfo); - Map readPowerSourceBatTimeToFullChargeCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceBatTimeToFullChargeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readBatTimeToFullChargeAttribute( - ( ChipClusters.PowerSourceCluster.BatTimeToFullChargeAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPowerSourceClusterBatTimeToFullChargeAttributeCallback(), - readPowerSourceBatTimeToFullChargeCommandParams - ); - readPowerSourceInteractionInfo.put("readBatTimeToFullChargeAttribute", readPowerSourceBatTimeToFullChargeAttributeInteractionInfo); - Map readPowerSourceBatFunctionalWhileChargingCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceBatFunctionalWhileChargingAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readBatFunctionalWhileChargingAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readPowerSourceBatIECDesignationCommandParams); + readPowerSourceInteractionInfo.put( + "readBatIECDesignationAttribute", readPowerSourceBatIECDesignationAttributeInteractionInfo); + Map readPowerSourceBatApprovedChemistryCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatApprovedChemistryAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatApprovedChemistryAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPowerSourceBatApprovedChemistryCommandParams); + readPowerSourceInteractionInfo.put( + "readBatApprovedChemistryAttribute", + readPowerSourceBatApprovedChemistryAttributeInteractionInfo); + Map readPowerSourceBatCapacityCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatCapacityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatCapacityAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readPowerSourceBatCapacityCommandParams); + readPowerSourceInteractionInfo.put( + "readBatCapacityAttribute", readPowerSourceBatCapacityAttributeInteractionInfo); + Map readPowerSourceBatQuantityCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatQuantityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatQuantityAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPowerSourceBatQuantityCommandParams); + readPowerSourceInteractionInfo.put( + "readBatQuantityAttribute", readPowerSourceBatQuantityAttributeInteractionInfo); + Map readPowerSourceBatChargeStateCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatChargeStateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatChargeStateAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPowerSourceBatChargeStateCommandParams); + readPowerSourceInteractionInfo.put( + "readBatChargeStateAttribute", readPowerSourceBatChargeStateAttributeInteractionInfo); + Map readPowerSourceBatTimeToFullChargeCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatTimeToFullChargeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatTimeToFullChargeAttribute( + (ChipClusters.PowerSourceCluster.BatTimeToFullChargeAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPowerSourceClusterBatTimeToFullChargeAttributeCallback(), + readPowerSourceBatTimeToFullChargeCommandParams); + readPowerSourceInteractionInfo.put( + "readBatTimeToFullChargeAttribute", + readPowerSourceBatTimeToFullChargeAttributeInteractionInfo); + Map readPowerSourceBatFunctionalWhileChargingCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatFunctionalWhileChargingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatFunctionalWhileChargingAttribute( + (ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readPowerSourceBatFunctionalWhileChargingCommandParams - ); - readPowerSourceInteractionInfo.put("readBatFunctionalWhileChargingAttribute", readPowerSourceBatFunctionalWhileChargingAttributeInteractionInfo); - Map readPowerSourceBatChargingCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceBatChargingCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readBatChargingCurrentAttribute( - ( ChipClusters.PowerSourceCluster.BatChargingCurrentAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPowerSourceClusterBatChargingCurrentAttributeCallback(), - readPowerSourceBatChargingCurrentCommandParams - ); - readPowerSourceInteractionInfo.put("readBatChargingCurrentAttribute", readPowerSourceBatChargingCurrentAttributeInteractionInfo); - Map readPowerSourceActiveBatChargeFaultsCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceActiveBatChargeFaultsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readActiveBatChargeFaultsAttribute( - ( ChipClusters.PowerSourceCluster.ActiveBatChargeFaultsAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPowerSourceClusterActiveBatChargeFaultsAttributeCallback(), - readPowerSourceActiveBatChargeFaultsCommandParams - ); - readPowerSourceInteractionInfo.put("readActiveBatChargeFaultsAttribute", readPowerSourceActiveBatChargeFaultsAttributeInteractionInfo); - Map readPowerSourceGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.PowerSourceCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPowerSourceClusterGeneratedCommandListAttributeCallback(), - readPowerSourceGeneratedCommandListCommandParams - ); - readPowerSourceInteractionInfo.put("readGeneratedCommandListAttribute", readPowerSourceGeneratedCommandListAttributeInteractionInfo); - Map readPowerSourceAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.PowerSourceCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPowerSourceClusterAcceptedCommandListAttributeCallback(), - readPowerSourceAcceptedCommandListCommandParams - ); - readPowerSourceInteractionInfo.put("readAcceptedCommandListAttribute", readPowerSourceAcceptedCommandListAttributeInteractionInfo); - Map readPowerSourceEventListCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readEventListAttribute( - ( ChipClusters.PowerSourceCluster.EventListAttributeCallback - ) callback - ); - }, + readPowerSourceBatFunctionalWhileChargingCommandParams); + readPowerSourceInteractionInfo.put( + "readBatFunctionalWhileChargingAttribute", + readPowerSourceBatFunctionalWhileChargingAttributeInteractionInfo); + Map readPowerSourceBatChargingCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceBatChargingCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readBatChargingCurrentAttribute( + (ChipClusters.PowerSourceCluster.BatChargingCurrentAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPowerSourceClusterBatChargingCurrentAttributeCallback(), + readPowerSourceBatChargingCurrentCommandParams); + readPowerSourceInteractionInfo.put( + "readBatChargingCurrentAttribute", + readPowerSourceBatChargingCurrentAttributeInteractionInfo); + Map readPowerSourceActiveBatChargeFaultsCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceActiveBatChargeFaultsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readActiveBatChargeFaultsAttribute( + (ChipClusters.PowerSourceCluster.ActiveBatChargeFaultsAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPowerSourceClusterActiveBatChargeFaultsAttributeCallback(), + readPowerSourceActiveBatChargeFaultsCommandParams); + readPowerSourceInteractionInfo.put( + "readActiveBatChargeFaultsAttribute", + readPowerSourceActiveBatChargeFaultsAttributeInteractionInfo); + Map readPowerSourceGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.PowerSourceCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPowerSourceClusterGeneratedCommandListAttributeCallback(), + readPowerSourceGeneratedCommandListCommandParams); + readPowerSourceInteractionInfo.put( + "readGeneratedCommandListAttribute", + readPowerSourceGeneratedCommandListAttributeInteractionInfo); + Map readPowerSourceAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.PowerSourceCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPowerSourceClusterAcceptedCommandListAttributeCallback(), + readPowerSourceAcceptedCommandListCommandParams); + readPowerSourceInteractionInfo.put( + "readAcceptedCommandListAttribute", + readPowerSourceAcceptedCommandListAttributeInteractionInfo); + Map readPowerSourceEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readEventListAttribute( + (ChipClusters.PowerSourceCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedPowerSourceClusterEventListAttributeCallback(), - readPowerSourceEventListCommandParams - ); - readPowerSourceInteractionInfo.put("readEventListAttribute", readPowerSourceEventListAttributeInteractionInfo); - Map readPowerSourceAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readAttributeListAttribute( - ( ChipClusters.PowerSourceCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPowerSourceClusterAttributeListAttributeCallback(), - readPowerSourceAttributeListCommandParams - ); - readPowerSourceInteractionInfo.put("readAttributeListAttribute", readPowerSourceAttributeListAttributeInteractionInfo); - Map readPowerSourceFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readPowerSourceFeatureMapCommandParams - ); - readPowerSourceInteractionInfo.put("readFeatureMapAttribute", readPowerSourceFeatureMapAttributeInteractionInfo); - Map readPowerSourceClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readPowerSourceClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PowerSourceCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPowerSourceClusterRevisionCommandParams - ); - readPowerSourceInteractionInfo.put("readClusterRevisionAttribute", readPowerSourceClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("powerSource", readPowerSourceInteractionInfo); - Map readGeneralCommissioningInteractionInfo = new LinkedHashMap<>(); - Map readGeneralCommissioningBreadcrumbCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralCommissioningBreadcrumbAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster).readBreadcrumbAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readGeneralCommissioningBreadcrumbCommandParams - ); - readGeneralCommissioningInteractionInfo.put("readBreadcrumbAttribute", readGeneralCommissioningBreadcrumbAttributeInteractionInfo); - Map readGeneralCommissioningRegulatoryConfigCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralCommissioningRegulatoryConfigAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster).readRegulatoryConfigAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readGeneralCommissioningRegulatoryConfigCommandParams - ); - readGeneralCommissioningInteractionInfo.put("readRegulatoryConfigAttribute", readGeneralCommissioningRegulatoryConfigAttributeInteractionInfo); - Map readGeneralCommissioningLocationCapabilityCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralCommissioningLocationCapabilityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster).readLocationCapabilityAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readGeneralCommissioningLocationCapabilityCommandParams - ); - readGeneralCommissioningInteractionInfo.put("readLocationCapabilityAttribute", readGeneralCommissioningLocationCapabilityAttributeInteractionInfo); - Map readGeneralCommissioningSupportsConcurrentConnectionCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralCommissioningSupportsConcurrentConnectionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster).readSupportsConcurrentConnectionAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readPowerSourceEventListCommandParams); + readPowerSourceInteractionInfo.put( + "readEventListAttribute", readPowerSourceEventListAttributeInteractionInfo); + Map readPowerSourceAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.PowerSourceCluster.AttributeListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedPowerSourceClusterAttributeListAttributeCallback(), + readPowerSourceAttributeListCommandParams); + readPowerSourceInteractionInfo.put( + "readAttributeListAttribute", readPowerSourceAttributeListAttributeInteractionInfo); + Map readPowerSourceFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readPowerSourceFeatureMapCommandParams); + readPowerSourceInteractionInfo.put( + "readFeatureMapAttribute", readPowerSourceFeatureMapAttributeInteractionInfo); + Map readPowerSourceClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readPowerSourceClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PowerSourceCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPowerSourceClusterRevisionCommandParams); + readPowerSourceInteractionInfo.put( + "readClusterRevisionAttribute", readPowerSourceClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("powerSource", readPowerSourceInteractionInfo); + Map readGeneralCommissioningInteractionInfo = new LinkedHashMap<>(); + Map readGeneralCommissioningBreadcrumbCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralCommissioningBreadcrumbAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster) + .readBreadcrumbAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readGeneralCommissioningBreadcrumbCommandParams); + readGeneralCommissioningInteractionInfo.put( + "readBreadcrumbAttribute", readGeneralCommissioningBreadcrumbAttributeInteractionInfo); + Map readGeneralCommissioningRegulatoryConfigCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralCommissioningRegulatoryConfigAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster) + .readRegulatoryConfigAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readGeneralCommissioningRegulatoryConfigCommandParams); + readGeneralCommissioningInteractionInfo.put( + "readRegulatoryConfigAttribute", + readGeneralCommissioningRegulatoryConfigAttributeInteractionInfo); + Map readGeneralCommissioningLocationCapabilityCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralCommissioningLocationCapabilityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster) + .readLocationCapabilityAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readGeneralCommissioningLocationCapabilityCommandParams); + readGeneralCommissioningInteractionInfo.put( + "readLocationCapabilityAttribute", + readGeneralCommissioningLocationCapabilityAttributeInteractionInfo); + Map + readGeneralCommissioningSupportsConcurrentConnectionCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralCommissioningSupportsConcurrentConnectionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster) + .readSupportsConcurrentConnectionAttribute( + (ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readGeneralCommissioningSupportsConcurrentConnectionCommandParams - ); - readGeneralCommissioningInteractionInfo.put("readSupportsConcurrentConnectionAttribute", readGeneralCommissioningSupportsConcurrentConnectionAttributeInteractionInfo); - Map readGeneralCommissioningGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralCommissioningGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.GeneralCommissioningCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedGeneralCommissioningClusterGeneratedCommandListAttributeCallback(), - readGeneralCommissioningGeneratedCommandListCommandParams - ); - readGeneralCommissioningInteractionInfo.put("readGeneratedCommandListAttribute", readGeneralCommissioningGeneratedCommandListAttributeInteractionInfo); - Map readGeneralCommissioningAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralCommissioningAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.GeneralCommissioningCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedGeneralCommissioningClusterAcceptedCommandListAttributeCallback(), - readGeneralCommissioningAcceptedCommandListCommandParams - ); - readGeneralCommissioningInteractionInfo.put("readAcceptedCommandListAttribute", readGeneralCommissioningAcceptedCommandListAttributeInteractionInfo); - Map readGeneralCommissioningEventListCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralCommissioningEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster).readEventListAttribute( - ( ChipClusters.GeneralCommissioningCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedGeneralCommissioningClusterEventListAttributeCallback(), - readGeneralCommissioningEventListCommandParams - ); - readGeneralCommissioningInteractionInfo.put("readEventListAttribute", readGeneralCommissioningEventListAttributeInteractionInfo); - Map readGeneralCommissioningAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralCommissioningAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster).readAttributeListAttribute( - ( ChipClusters.GeneralCommissioningCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedGeneralCommissioningClusterAttributeListAttributeCallback(), - readGeneralCommissioningAttributeListCommandParams - ); - readGeneralCommissioningInteractionInfo.put("readAttributeListAttribute", readGeneralCommissioningAttributeListAttributeInteractionInfo); - Map readGeneralCommissioningFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralCommissioningFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readGeneralCommissioningFeatureMapCommandParams - ); - readGeneralCommissioningInteractionInfo.put("readFeatureMapAttribute", readGeneralCommissioningFeatureMapAttributeInteractionInfo); - Map readGeneralCommissioningClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralCommissioningClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readGeneralCommissioningClusterRevisionCommandParams - ); - readGeneralCommissioningInteractionInfo.put("readClusterRevisionAttribute", readGeneralCommissioningClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("generalCommissioning", readGeneralCommissioningInteractionInfo); - Map readNetworkCommissioningInteractionInfo = new LinkedHashMap<>(); - Map readNetworkCommissioningMaxNetworksCommandParams = new LinkedHashMap(); - InteractionInfo readNetworkCommissioningMaxNetworksAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster).readMaxNetworksAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readNetworkCommissioningMaxNetworksCommandParams - ); - readNetworkCommissioningInteractionInfo.put("readMaxNetworksAttribute", readNetworkCommissioningMaxNetworksAttributeInteractionInfo); - Map readNetworkCommissioningNetworksCommandParams = new LinkedHashMap(); - InteractionInfo readNetworkCommissioningNetworksAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster).readNetworksAttribute( - ( ChipClusters.NetworkCommissioningCluster.NetworksAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedNetworkCommissioningClusterNetworksAttributeCallback(), - readNetworkCommissioningNetworksCommandParams - ); - readNetworkCommissioningInteractionInfo.put("readNetworksAttribute", readNetworkCommissioningNetworksAttributeInteractionInfo); - Map readNetworkCommissioningScanMaxTimeSecondsCommandParams = new LinkedHashMap(); - InteractionInfo readNetworkCommissioningScanMaxTimeSecondsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster).readScanMaxTimeSecondsAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readNetworkCommissioningScanMaxTimeSecondsCommandParams - ); - readNetworkCommissioningInteractionInfo.put("readScanMaxTimeSecondsAttribute", readNetworkCommissioningScanMaxTimeSecondsAttributeInteractionInfo); - Map readNetworkCommissioningConnectMaxTimeSecondsCommandParams = new LinkedHashMap(); - InteractionInfo readNetworkCommissioningConnectMaxTimeSecondsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster).readConnectMaxTimeSecondsAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readNetworkCommissioningConnectMaxTimeSecondsCommandParams - ); - readNetworkCommissioningInteractionInfo.put("readConnectMaxTimeSecondsAttribute", readNetworkCommissioningConnectMaxTimeSecondsAttributeInteractionInfo); - Map readNetworkCommissioningInterfaceEnabledCommandParams = new LinkedHashMap(); - InteractionInfo readNetworkCommissioningInterfaceEnabledAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster).readInterfaceEnabledAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readGeneralCommissioningSupportsConcurrentConnectionCommandParams); + readGeneralCommissioningInteractionInfo.put( + "readSupportsConcurrentConnectionAttribute", + readGeneralCommissioningSupportsConcurrentConnectionAttributeInteractionInfo); + Map readGeneralCommissioningGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralCommissioningGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.GeneralCommissioningCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedGeneralCommissioningClusterGeneratedCommandListAttributeCallback(), + readGeneralCommissioningGeneratedCommandListCommandParams); + readGeneralCommissioningInteractionInfo.put( + "readGeneratedCommandListAttribute", + readGeneralCommissioningGeneratedCommandListAttributeInteractionInfo); + Map readGeneralCommissioningAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralCommissioningAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.GeneralCommissioningCluster + .AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedGeneralCommissioningClusterAcceptedCommandListAttributeCallback(), + readGeneralCommissioningAcceptedCommandListCommandParams); + readGeneralCommissioningInteractionInfo.put( + "readAcceptedCommandListAttribute", + readGeneralCommissioningAcceptedCommandListAttributeInteractionInfo); + Map readGeneralCommissioningEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralCommissioningEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster) + .readEventListAttribute( + (ChipClusters.GeneralCommissioningCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedGeneralCommissioningClusterEventListAttributeCallback(), + readGeneralCommissioningEventListCommandParams); + readGeneralCommissioningInteractionInfo.put( + "readEventListAttribute", readGeneralCommissioningEventListAttributeInteractionInfo); + Map readGeneralCommissioningAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralCommissioningAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.GeneralCommissioningCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedGeneralCommissioningClusterAttributeListAttributeCallback(), + readGeneralCommissioningAttributeListCommandParams); + readGeneralCommissioningInteractionInfo.put( + "readAttributeListAttribute", + readGeneralCommissioningAttributeListAttributeInteractionInfo); + Map readGeneralCommissioningFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralCommissioningFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readGeneralCommissioningFeatureMapCommandParams); + readGeneralCommissioningInteractionInfo.put( + "readFeatureMapAttribute", readGeneralCommissioningFeatureMapAttributeInteractionInfo); + Map readGeneralCommissioningClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralCommissioningClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readGeneralCommissioningClusterRevisionCommandParams); + readGeneralCommissioningInteractionInfo.put( + "readClusterRevisionAttribute", + readGeneralCommissioningClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("generalCommissioning", readGeneralCommissioningInteractionInfo); + Map readNetworkCommissioningInteractionInfo = new LinkedHashMap<>(); + Map readNetworkCommissioningMaxNetworksCommandParams = + new LinkedHashMap(); + InteractionInfo readNetworkCommissioningMaxNetworksAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .readMaxNetworksAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readNetworkCommissioningMaxNetworksCommandParams); + readNetworkCommissioningInteractionInfo.put( + "readMaxNetworksAttribute", readNetworkCommissioningMaxNetworksAttributeInteractionInfo); + Map readNetworkCommissioningNetworksCommandParams = + new LinkedHashMap(); + InteractionInfo readNetworkCommissioningNetworksAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .readNetworksAttribute( + (ChipClusters.NetworkCommissioningCluster.NetworksAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedNetworkCommissioningClusterNetworksAttributeCallback(), + readNetworkCommissioningNetworksCommandParams); + readNetworkCommissioningInteractionInfo.put( + "readNetworksAttribute", readNetworkCommissioningNetworksAttributeInteractionInfo); + Map readNetworkCommissioningScanMaxTimeSecondsCommandParams = + new LinkedHashMap(); + InteractionInfo readNetworkCommissioningScanMaxTimeSecondsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .readScanMaxTimeSecondsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readNetworkCommissioningScanMaxTimeSecondsCommandParams); + readNetworkCommissioningInteractionInfo.put( + "readScanMaxTimeSecondsAttribute", + readNetworkCommissioningScanMaxTimeSecondsAttributeInteractionInfo); + Map readNetworkCommissioningConnectMaxTimeSecondsCommandParams = + new LinkedHashMap(); + InteractionInfo readNetworkCommissioningConnectMaxTimeSecondsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .readConnectMaxTimeSecondsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readNetworkCommissioningConnectMaxTimeSecondsCommandParams); + readNetworkCommissioningInteractionInfo.put( + "readConnectMaxTimeSecondsAttribute", + readNetworkCommissioningConnectMaxTimeSecondsAttributeInteractionInfo); + Map readNetworkCommissioningInterfaceEnabledCommandParams = + new LinkedHashMap(); + InteractionInfo readNetworkCommissioningInterfaceEnabledAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .readInterfaceEnabledAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readNetworkCommissioningInterfaceEnabledCommandParams - ); - readNetworkCommissioningInteractionInfo.put("readInterfaceEnabledAttribute", readNetworkCommissioningInterfaceEnabledAttributeInteractionInfo); - Map readNetworkCommissioningLastNetworkingStatusCommandParams = new LinkedHashMap(); - InteractionInfo readNetworkCommissioningLastNetworkingStatusAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster).readLastNetworkingStatusAttribute( - ( ChipClusters.NetworkCommissioningCluster.LastNetworkingStatusAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedNetworkCommissioningClusterLastNetworkingStatusAttributeCallback(), - readNetworkCommissioningLastNetworkingStatusCommandParams - ); - readNetworkCommissioningInteractionInfo.put("readLastNetworkingStatusAttribute", readNetworkCommissioningLastNetworkingStatusAttributeInteractionInfo); - Map readNetworkCommissioningLastNetworkIDCommandParams = new LinkedHashMap(); - InteractionInfo readNetworkCommissioningLastNetworkIDAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster).readLastNetworkIDAttribute( - ( ChipClusters.NetworkCommissioningCluster.LastNetworkIDAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedNetworkCommissioningClusterLastNetworkIDAttributeCallback(), - readNetworkCommissioningLastNetworkIDCommandParams - ); - readNetworkCommissioningInteractionInfo.put("readLastNetworkIDAttribute", readNetworkCommissioningLastNetworkIDAttributeInteractionInfo); - Map readNetworkCommissioningLastConnectErrorValueCommandParams = new LinkedHashMap(); - InteractionInfo readNetworkCommissioningLastConnectErrorValueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster).readLastConnectErrorValueAttribute( - ( ChipClusters.NetworkCommissioningCluster.LastConnectErrorValueAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedNetworkCommissioningClusterLastConnectErrorValueAttributeCallback(), - readNetworkCommissioningLastConnectErrorValueCommandParams - ); - readNetworkCommissioningInteractionInfo.put("readLastConnectErrorValueAttribute", readNetworkCommissioningLastConnectErrorValueAttributeInteractionInfo); - Map readNetworkCommissioningGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readNetworkCommissioningGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.NetworkCommissioningCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedNetworkCommissioningClusterGeneratedCommandListAttributeCallback(), - readNetworkCommissioningGeneratedCommandListCommandParams - ); - readNetworkCommissioningInteractionInfo.put("readGeneratedCommandListAttribute", readNetworkCommissioningGeneratedCommandListAttributeInteractionInfo); - Map readNetworkCommissioningAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readNetworkCommissioningAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.NetworkCommissioningCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedNetworkCommissioningClusterAcceptedCommandListAttributeCallback(), - readNetworkCommissioningAcceptedCommandListCommandParams - ); - readNetworkCommissioningInteractionInfo.put("readAcceptedCommandListAttribute", readNetworkCommissioningAcceptedCommandListAttributeInteractionInfo); - Map readNetworkCommissioningEventListCommandParams = new LinkedHashMap(); - InteractionInfo readNetworkCommissioningEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster).readEventListAttribute( - ( ChipClusters.NetworkCommissioningCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedNetworkCommissioningClusterEventListAttributeCallback(), - readNetworkCommissioningEventListCommandParams - ); - readNetworkCommissioningInteractionInfo.put("readEventListAttribute", readNetworkCommissioningEventListAttributeInteractionInfo); - Map readNetworkCommissioningAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readNetworkCommissioningAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster).readAttributeListAttribute( - ( ChipClusters.NetworkCommissioningCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedNetworkCommissioningClusterAttributeListAttributeCallback(), - readNetworkCommissioningAttributeListCommandParams - ); - readNetworkCommissioningInteractionInfo.put("readAttributeListAttribute", readNetworkCommissioningAttributeListAttributeInteractionInfo); - Map readNetworkCommissioningFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readNetworkCommissioningFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readNetworkCommissioningFeatureMapCommandParams - ); - readNetworkCommissioningInteractionInfo.put("readFeatureMapAttribute", readNetworkCommissioningFeatureMapAttributeInteractionInfo); - Map readNetworkCommissioningClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readNetworkCommissioningClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readNetworkCommissioningClusterRevisionCommandParams - ); - readNetworkCommissioningInteractionInfo.put("readClusterRevisionAttribute", readNetworkCommissioningClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("networkCommissioning", readNetworkCommissioningInteractionInfo); - Map readDiagnosticLogsInteractionInfo = new LinkedHashMap<>(); - Map readDiagnosticLogsGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readDiagnosticLogsGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DiagnosticLogsCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.DiagnosticLogsCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedDiagnosticLogsClusterGeneratedCommandListAttributeCallback(), - readDiagnosticLogsGeneratedCommandListCommandParams - ); - readDiagnosticLogsInteractionInfo.put("readGeneratedCommandListAttribute", readDiagnosticLogsGeneratedCommandListAttributeInteractionInfo); - Map readDiagnosticLogsAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readDiagnosticLogsAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DiagnosticLogsCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.DiagnosticLogsCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedDiagnosticLogsClusterAcceptedCommandListAttributeCallback(), - readDiagnosticLogsAcceptedCommandListCommandParams - ); - readDiagnosticLogsInteractionInfo.put("readAcceptedCommandListAttribute", readDiagnosticLogsAcceptedCommandListAttributeInteractionInfo); - Map readDiagnosticLogsEventListCommandParams = new LinkedHashMap(); - InteractionInfo readDiagnosticLogsEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DiagnosticLogsCluster) cluster).readEventListAttribute( - ( ChipClusters.DiagnosticLogsCluster.EventListAttributeCallback - ) callback - ); - }, + readNetworkCommissioningInterfaceEnabledCommandParams); + readNetworkCommissioningInteractionInfo.put( + "readInterfaceEnabledAttribute", + readNetworkCommissioningInterfaceEnabledAttributeInteractionInfo); + Map readNetworkCommissioningLastNetworkingStatusCommandParams = + new LinkedHashMap(); + InteractionInfo readNetworkCommissioningLastNetworkingStatusAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .readLastNetworkingStatusAttribute( + (ChipClusters.NetworkCommissioningCluster + .LastNetworkingStatusAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedNetworkCommissioningClusterLastNetworkingStatusAttributeCallback(), + readNetworkCommissioningLastNetworkingStatusCommandParams); + readNetworkCommissioningInteractionInfo.put( + "readLastNetworkingStatusAttribute", + readNetworkCommissioningLastNetworkingStatusAttributeInteractionInfo); + Map readNetworkCommissioningLastNetworkIDCommandParams = + new LinkedHashMap(); + InteractionInfo readNetworkCommissioningLastNetworkIDAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .readLastNetworkIDAttribute( + (ChipClusters.NetworkCommissioningCluster.LastNetworkIDAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedNetworkCommissioningClusterLastNetworkIDAttributeCallback(), + readNetworkCommissioningLastNetworkIDCommandParams); + readNetworkCommissioningInteractionInfo.put( + "readLastNetworkIDAttribute", + readNetworkCommissioningLastNetworkIDAttributeInteractionInfo); + Map readNetworkCommissioningLastConnectErrorValueCommandParams = + new LinkedHashMap(); + InteractionInfo readNetworkCommissioningLastConnectErrorValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .readLastConnectErrorValueAttribute( + (ChipClusters.NetworkCommissioningCluster + .LastConnectErrorValueAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedNetworkCommissioningClusterLastConnectErrorValueAttributeCallback(), + readNetworkCommissioningLastConnectErrorValueCommandParams); + readNetworkCommissioningInteractionInfo.put( + "readLastConnectErrorValueAttribute", + readNetworkCommissioningLastConnectErrorValueAttributeInteractionInfo); + Map readNetworkCommissioningGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readNetworkCommissioningGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.NetworkCommissioningCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedNetworkCommissioningClusterGeneratedCommandListAttributeCallback(), + readNetworkCommissioningGeneratedCommandListCommandParams); + readNetworkCommissioningInteractionInfo.put( + "readGeneratedCommandListAttribute", + readNetworkCommissioningGeneratedCommandListAttributeInteractionInfo); + Map readNetworkCommissioningAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readNetworkCommissioningAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.NetworkCommissioningCluster + .AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedNetworkCommissioningClusterAcceptedCommandListAttributeCallback(), + readNetworkCommissioningAcceptedCommandListCommandParams); + readNetworkCommissioningInteractionInfo.put( + "readAcceptedCommandListAttribute", + readNetworkCommissioningAcceptedCommandListAttributeInteractionInfo); + Map readNetworkCommissioningEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readNetworkCommissioningEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .readEventListAttribute( + (ChipClusters.NetworkCommissioningCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedNetworkCommissioningClusterEventListAttributeCallback(), + readNetworkCommissioningEventListCommandParams); + readNetworkCommissioningInteractionInfo.put( + "readEventListAttribute", readNetworkCommissioningEventListAttributeInteractionInfo); + Map readNetworkCommissioningAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readNetworkCommissioningAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.NetworkCommissioningCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedNetworkCommissioningClusterAttributeListAttributeCallback(), + readNetworkCommissioningAttributeListCommandParams); + readNetworkCommissioningInteractionInfo.put( + "readAttributeListAttribute", + readNetworkCommissioningAttributeListAttributeInteractionInfo); + Map readNetworkCommissioningFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readNetworkCommissioningFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readNetworkCommissioningFeatureMapCommandParams); + readNetworkCommissioningInteractionInfo.put( + "readFeatureMapAttribute", readNetworkCommissioningFeatureMapAttributeInteractionInfo); + Map readNetworkCommissioningClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readNetworkCommissioningClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readNetworkCommissioningClusterRevisionCommandParams); + readNetworkCommissioningInteractionInfo.put( + "readClusterRevisionAttribute", + readNetworkCommissioningClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("networkCommissioning", readNetworkCommissioningInteractionInfo); + Map readDiagnosticLogsInteractionInfo = new LinkedHashMap<>(); + Map readDiagnosticLogsGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readDiagnosticLogsGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DiagnosticLogsCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.DiagnosticLogsCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedDiagnosticLogsClusterGeneratedCommandListAttributeCallback(), + readDiagnosticLogsGeneratedCommandListCommandParams); + readDiagnosticLogsInteractionInfo.put( + "readGeneratedCommandListAttribute", + readDiagnosticLogsGeneratedCommandListAttributeInteractionInfo); + Map readDiagnosticLogsAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readDiagnosticLogsAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DiagnosticLogsCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.DiagnosticLogsCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedDiagnosticLogsClusterAcceptedCommandListAttributeCallback(), + readDiagnosticLogsAcceptedCommandListCommandParams); + readDiagnosticLogsInteractionInfo.put( + "readAcceptedCommandListAttribute", + readDiagnosticLogsAcceptedCommandListAttributeInteractionInfo); + Map readDiagnosticLogsEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readDiagnosticLogsEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DiagnosticLogsCluster) cluster) + .readEventListAttribute( + (ChipClusters.DiagnosticLogsCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedDiagnosticLogsClusterEventListAttributeCallback(), - readDiagnosticLogsEventListCommandParams - ); - readDiagnosticLogsInteractionInfo.put("readEventListAttribute", readDiagnosticLogsEventListAttributeInteractionInfo); - Map readDiagnosticLogsAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readDiagnosticLogsAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DiagnosticLogsCluster) cluster).readAttributeListAttribute( - ( ChipClusters.DiagnosticLogsCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedDiagnosticLogsClusterAttributeListAttributeCallback(), - readDiagnosticLogsAttributeListCommandParams - ); - readDiagnosticLogsInteractionInfo.put("readAttributeListAttribute", readDiagnosticLogsAttributeListAttributeInteractionInfo); - Map readDiagnosticLogsFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readDiagnosticLogsFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DiagnosticLogsCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readDiagnosticLogsFeatureMapCommandParams - ); - readDiagnosticLogsInteractionInfo.put("readFeatureMapAttribute", readDiagnosticLogsFeatureMapAttributeInteractionInfo); - Map readDiagnosticLogsClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readDiagnosticLogsClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DiagnosticLogsCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDiagnosticLogsClusterRevisionCommandParams - ); - readDiagnosticLogsInteractionInfo.put("readClusterRevisionAttribute", readDiagnosticLogsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("diagnosticLogs", readDiagnosticLogsInteractionInfo); - Map readGeneralDiagnosticsInteractionInfo = new LinkedHashMap<>(); - Map readGeneralDiagnosticsNetworkInterfacesCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsNetworkInterfacesAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster).readNetworkInterfacesAttribute( - ( ChipClusters.GeneralDiagnosticsCluster.NetworkInterfacesAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedGeneralDiagnosticsClusterNetworkInterfacesAttributeCallback(), - readGeneralDiagnosticsNetworkInterfacesCommandParams - ); - readGeneralDiagnosticsInteractionInfo.put("readNetworkInterfacesAttribute", readGeneralDiagnosticsNetworkInterfacesAttributeInteractionInfo); - Map readGeneralDiagnosticsRebootCountCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsRebootCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster).readRebootCountAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readGeneralDiagnosticsRebootCountCommandParams - ); - readGeneralDiagnosticsInteractionInfo.put("readRebootCountAttribute", readGeneralDiagnosticsRebootCountAttributeInteractionInfo); - Map readGeneralDiagnosticsUpTimeCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsUpTimeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster).readUpTimeAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readGeneralDiagnosticsUpTimeCommandParams - ); - readGeneralDiagnosticsInteractionInfo.put("readUpTimeAttribute", readGeneralDiagnosticsUpTimeAttributeInteractionInfo); - Map readGeneralDiagnosticsTotalOperationalHoursCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsTotalOperationalHoursAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster).readTotalOperationalHoursAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readGeneralDiagnosticsTotalOperationalHoursCommandParams - ); - readGeneralDiagnosticsInteractionInfo.put("readTotalOperationalHoursAttribute", readGeneralDiagnosticsTotalOperationalHoursAttributeInteractionInfo); - Map readGeneralDiagnosticsBootReasonCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsBootReasonAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster).readBootReasonAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readGeneralDiagnosticsBootReasonCommandParams - ); - readGeneralDiagnosticsInteractionInfo.put("readBootReasonAttribute", readGeneralDiagnosticsBootReasonAttributeInteractionInfo); - Map readGeneralDiagnosticsActiveHardwareFaultsCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsActiveHardwareFaultsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster).readActiveHardwareFaultsAttribute( - ( ChipClusters.GeneralDiagnosticsCluster.ActiveHardwareFaultsAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedGeneralDiagnosticsClusterActiveHardwareFaultsAttributeCallback(), - readGeneralDiagnosticsActiveHardwareFaultsCommandParams - ); - readGeneralDiagnosticsInteractionInfo.put("readActiveHardwareFaultsAttribute", readGeneralDiagnosticsActiveHardwareFaultsAttributeInteractionInfo); - Map readGeneralDiagnosticsActiveRadioFaultsCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsActiveRadioFaultsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster).readActiveRadioFaultsAttribute( - ( ChipClusters.GeneralDiagnosticsCluster.ActiveRadioFaultsAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedGeneralDiagnosticsClusterActiveRadioFaultsAttributeCallback(), - readGeneralDiagnosticsActiveRadioFaultsCommandParams - ); - readGeneralDiagnosticsInteractionInfo.put("readActiveRadioFaultsAttribute", readGeneralDiagnosticsActiveRadioFaultsAttributeInteractionInfo); - Map readGeneralDiagnosticsActiveNetworkFaultsCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsActiveNetworkFaultsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster).readActiveNetworkFaultsAttribute( - ( ChipClusters.GeneralDiagnosticsCluster.ActiveNetworkFaultsAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedGeneralDiagnosticsClusterActiveNetworkFaultsAttributeCallback(), - readGeneralDiagnosticsActiveNetworkFaultsCommandParams - ); - readGeneralDiagnosticsInteractionInfo.put("readActiveNetworkFaultsAttribute", readGeneralDiagnosticsActiveNetworkFaultsAttributeInteractionInfo); - Map readGeneralDiagnosticsTestEventTriggersEnabledCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsTestEventTriggersEnabledAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster).readTestEventTriggersEnabledAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readDiagnosticLogsEventListCommandParams); + readDiagnosticLogsInteractionInfo.put( + "readEventListAttribute", readDiagnosticLogsEventListAttributeInteractionInfo); + Map readDiagnosticLogsAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readDiagnosticLogsAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DiagnosticLogsCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.DiagnosticLogsCluster.AttributeListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedDiagnosticLogsClusterAttributeListAttributeCallback(), + readDiagnosticLogsAttributeListCommandParams); + readDiagnosticLogsInteractionInfo.put( + "readAttributeListAttribute", readDiagnosticLogsAttributeListAttributeInteractionInfo); + Map readDiagnosticLogsFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readDiagnosticLogsFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DiagnosticLogsCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readDiagnosticLogsFeatureMapCommandParams); + readDiagnosticLogsInteractionInfo.put( + "readFeatureMapAttribute", readDiagnosticLogsFeatureMapAttributeInteractionInfo); + Map readDiagnosticLogsClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readDiagnosticLogsClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DiagnosticLogsCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDiagnosticLogsClusterRevisionCommandParams); + readDiagnosticLogsInteractionInfo.put( + "readClusterRevisionAttribute", readDiagnosticLogsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("diagnosticLogs", readDiagnosticLogsInteractionInfo); + Map readGeneralDiagnosticsInteractionInfo = new LinkedHashMap<>(); + Map readGeneralDiagnosticsNetworkInterfacesCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsNetworkInterfacesAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster) + .readNetworkInterfacesAttribute( + (ChipClusters.GeneralDiagnosticsCluster.NetworkInterfacesAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedGeneralDiagnosticsClusterNetworkInterfacesAttributeCallback(), + readGeneralDiagnosticsNetworkInterfacesCommandParams); + readGeneralDiagnosticsInteractionInfo.put( + "readNetworkInterfacesAttribute", + readGeneralDiagnosticsNetworkInterfacesAttributeInteractionInfo); + Map readGeneralDiagnosticsRebootCountCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsRebootCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster) + .readRebootCountAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readGeneralDiagnosticsRebootCountCommandParams); + readGeneralDiagnosticsInteractionInfo.put( + "readRebootCountAttribute", readGeneralDiagnosticsRebootCountAttributeInteractionInfo); + Map readGeneralDiagnosticsUpTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsUpTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster) + .readUpTimeAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readGeneralDiagnosticsUpTimeCommandParams); + readGeneralDiagnosticsInteractionInfo.put( + "readUpTimeAttribute", readGeneralDiagnosticsUpTimeAttributeInteractionInfo); + Map readGeneralDiagnosticsTotalOperationalHoursCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsTotalOperationalHoursAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster) + .readTotalOperationalHoursAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readGeneralDiagnosticsTotalOperationalHoursCommandParams); + readGeneralDiagnosticsInteractionInfo.put( + "readTotalOperationalHoursAttribute", + readGeneralDiagnosticsTotalOperationalHoursAttributeInteractionInfo); + Map readGeneralDiagnosticsBootReasonCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsBootReasonAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster) + .readBootReasonAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readGeneralDiagnosticsBootReasonCommandParams); + readGeneralDiagnosticsInteractionInfo.put( + "readBootReasonAttribute", readGeneralDiagnosticsBootReasonAttributeInteractionInfo); + Map readGeneralDiagnosticsActiveHardwareFaultsCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsActiveHardwareFaultsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster) + .readActiveHardwareFaultsAttribute( + (ChipClusters.GeneralDiagnosticsCluster.ActiveHardwareFaultsAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedGeneralDiagnosticsClusterActiveHardwareFaultsAttributeCallback(), + readGeneralDiagnosticsActiveHardwareFaultsCommandParams); + readGeneralDiagnosticsInteractionInfo.put( + "readActiveHardwareFaultsAttribute", + readGeneralDiagnosticsActiveHardwareFaultsAttributeInteractionInfo); + Map readGeneralDiagnosticsActiveRadioFaultsCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsActiveRadioFaultsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster) + .readActiveRadioFaultsAttribute( + (ChipClusters.GeneralDiagnosticsCluster.ActiveRadioFaultsAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedGeneralDiagnosticsClusterActiveRadioFaultsAttributeCallback(), + readGeneralDiagnosticsActiveRadioFaultsCommandParams); + readGeneralDiagnosticsInteractionInfo.put( + "readActiveRadioFaultsAttribute", + readGeneralDiagnosticsActiveRadioFaultsAttributeInteractionInfo); + Map readGeneralDiagnosticsActiveNetworkFaultsCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsActiveNetworkFaultsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster) + .readActiveNetworkFaultsAttribute( + (ChipClusters.GeneralDiagnosticsCluster.ActiveNetworkFaultsAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedGeneralDiagnosticsClusterActiveNetworkFaultsAttributeCallback(), + readGeneralDiagnosticsActiveNetworkFaultsCommandParams); + readGeneralDiagnosticsInteractionInfo.put( + "readActiveNetworkFaultsAttribute", + readGeneralDiagnosticsActiveNetworkFaultsAttributeInteractionInfo); + Map readGeneralDiagnosticsTestEventTriggersEnabledCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsTestEventTriggersEnabledAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster) + .readTestEventTriggersEnabledAttribute( + (ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readGeneralDiagnosticsTestEventTriggersEnabledCommandParams - ); - readGeneralDiagnosticsInteractionInfo.put("readTestEventTriggersEnabledAttribute", readGeneralDiagnosticsTestEventTriggersEnabledAttributeInteractionInfo); - Map readGeneralDiagnosticsGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.GeneralDiagnosticsCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedGeneralDiagnosticsClusterGeneratedCommandListAttributeCallback(), - readGeneralDiagnosticsGeneratedCommandListCommandParams - ); - readGeneralDiagnosticsInteractionInfo.put("readGeneratedCommandListAttribute", readGeneralDiagnosticsGeneratedCommandListAttributeInteractionInfo); - Map readGeneralDiagnosticsAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.GeneralDiagnosticsCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedGeneralDiagnosticsClusterAcceptedCommandListAttributeCallback(), - readGeneralDiagnosticsAcceptedCommandListCommandParams - ); - readGeneralDiagnosticsInteractionInfo.put("readAcceptedCommandListAttribute", readGeneralDiagnosticsAcceptedCommandListAttributeInteractionInfo); - Map readGeneralDiagnosticsEventListCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster).readEventListAttribute( - ( ChipClusters.GeneralDiagnosticsCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedGeneralDiagnosticsClusterEventListAttributeCallback(), - readGeneralDiagnosticsEventListCommandParams - ); - readGeneralDiagnosticsInteractionInfo.put("readEventListAttribute", readGeneralDiagnosticsEventListAttributeInteractionInfo); - Map readGeneralDiagnosticsAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster).readAttributeListAttribute( - ( ChipClusters.GeneralDiagnosticsCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedGeneralDiagnosticsClusterAttributeListAttributeCallback(), - readGeneralDiagnosticsAttributeListCommandParams - ); - readGeneralDiagnosticsInteractionInfo.put("readAttributeListAttribute", readGeneralDiagnosticsAttributeListAttributeInteractionInfo); - Map readGeneralDiagnosticsFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readGeneralDiagnosticsFeatureMapCommandParams - ); - readGeneralDiagnosticsInteractionInfo.put("readFeatureMapAttribute", readGeneralDiagnosticsFeatureMapAttributeInteractionInfo); - Map readGeneralDiagnosticsClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readGeneralDiagnosticsClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readGeneralDiagnosticsClusterRevisionCommandParams - ); - readGeneralDiagnosticsInteractionInfo.put("readClusterRevisionAttribute", readGeneralDiagnosticsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("generalDiagnostics", readGeneralDiagnosticsInteractionInfo); - Map readSoftwareDiagnosticsInteractionInfo = new LinkedHashMap<>(); - Map readSoftwareDiagnosticsThreadMetricsCommandParams = new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsThreadMetricsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster).readThreadMetricsAttribute( - ( ChipClusters.SoftwareDiagnosticsCluster.ThreadMetricsAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedSoftwareDiagnosticsClusterThreadMetricsAttributeCallback(), - readSoftwareDiagnosticsThreadMetricsCommandParams - ); - readSoftwareDiagnosticsInteractionInfo.put("readThreadMetricsAttribute", readSoftwareDiagnosticsThreadMetricsAttributeInteractionInfo); - Map readSoftwareDiagnosticsCurrentHeapFreeCommandParams = new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsCurrentHeapFreeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster).readCurrentHeapFreeAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readSoftwareDiagnosticsCurrentHeapFreeCommandParams - ); - readSoftwareDiagnosticsInteractionInfo.put("readCurrentHeapFreeAttribute", readSoftwareDiagnosticsCurrentHeapFreeAttributeInteractionInfo); - Map readSoftwareDiagnosticsCurrentHeapUsedCommandParams = new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsCurrentHeapUsedAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster).readCurrentHeapUsedAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readSoftwareDiagnosticsCurrentHeapUsedCommandParams - ); - readSoftwareDiagnosticsInteractionInfo.put("readCurrentHeapUsedAttribute", readSoftwareDiagnosticsCurrentHeapUsedAttributeInteractionInfo); - Map readSoftwareDiagnosticsCurrentHeapHighWatermarkCommandParams = new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsCurrentHeapHighWatermarkAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster).readCurrentHeapHighWatermarkAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readSoftwareDiagnosticsCurrentHeapHighWatermarkCommandParams - ); - readSoftwareDiagnosticsInteractionInfo.put("readCurrentHeapHighWatermarkAttribute", readSoftwareDiagnosticsCurrentHeapHighWatermarkAttributeInteractionInfo); - Map readSoftwareDiagnosticsGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.SoftwareDiagnosticsCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedSoftwareDiagnosticsClusterGeneratedCommandListAttributeCallback(), - readSoftwareDiagnosticsGeneratedCommandListCommandParams - ); - readSoftwareDiagnosticsInteractionInfo.put("readGeneratedCommandListAttribute", readSoftwareDiagnosticsGeneratedCommandListAttributeInteractionInfo); - Map readSoftwareDiagnosticsAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.SoftwareDiagnosticsCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedSoftwareDiagnosticsClusterAcceptedCommandListAttributeCallback(), - readSoftwareDiagnosticsAcceptedCommandListCommandParams - ); - readSoftwareDiagnosticsInteractionInfo.put("readAcceptedCommandListAttribute", readSoftwareDiagnosticsAcceptedCommandListAttributeInteractionInfo); - Map readSoftwareDiagnosticsEventListCommandParams = new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster).readEventListAttribute( - ( ChipClusters.SoftwareDiagnosticsCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedSoftwareDiagnosticsClusterEventListAttributeCallback(), - readSoftwareDiagnosticsEventListCommandParams - ); - readSoftwareDiagnosticsInteractionInfo.put("readEventListAttribute", readSoftwareDiagnosticsEventListAttributeInteractionInfo); - Map readSoftwareDiagnosticsAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster).readAttributeListAttribute( - ( ChipClusters.SoftwareDiagnosticsCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedSoftwareDiagnosticsClusterAttributeListAttributeCallback(), - readSoftwareDiagnosticsAttributeListCommandParams - ); - readSoftwareDiagnosticsInteractionInfo.put("readAttributeListAttribute", readSoftwareDiagnosticsAttributeListAttributeInteractionInfo); - Map readSoftwareDiagnosticsFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readSoftwareDiagnosticsFeatureMapCommandParams - ); - readSoftwareDiagnosticsInteractionInfo.put("readFeatureMapAttribute", readSoftwareDiagnosticsFeatureMapAttributeInteractionInfo); - Map readSoftwareDiagnosticsClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readSoftwareDiagnosticsClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readSoftwareDiagnosticsClusterRevisionCommandParams - ); - readSoftwareDiagnosticsInteractionInfo.put("readClusterRevisionAttribute", readSoftwareDiagnosticsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("softwareDiagnostics", readSoftwareDiagnosticsInteractionInfo); - Map readThreadNetworkDiagnosticsInteractionInfo = new LinkedHashMap<>(); - Map readThreadNetworkDiagnosticsChannelCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsChannelAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readChannelAttribute( - ( ChipClusters.ThreadNetworkDiagnosticsCluster.ChannelAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterChannelAttributeCallback(), - readThreadNetworkDiagnosticsChannelCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readChannelAttribute", readThreadNetworkDiagnosticsChannelAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRoutingRoleCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRoutingRoleAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRoutingRoleAttribute( - ( ChipClusters.ThreadNetworkDiagnosticsCluster.RoutingRoleAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterRoutingRoleAttributeCallback(), - readThreadNetworkDiagnosticsRoutingRoleCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readRoutingRoleAttribute", readThreadNetworkDiagnosticsRoutingRoleAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsNetworkNameCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsNetworkNameAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readNetworkNameAttribute( - ( ChipClusters.ThreadNetworkDiagnosticsCluster.NetworkNameAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterNetworkNameAttributeCallback(), - readThreadNetworkDiagnosticsNetworkNameCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readNetworkNameAttribute", readThreadNetworkDiagnosticsNetworkNameAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsPanIdCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsPanIdAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readPanIdAttribute( - ( ChipClusters.ThreadNetworkDiagnosticsCluster.PanIdAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterPanIdAttributeCallback(), - readThreadNetworkDiagnosticsPanIdCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readPanIdAttribute", readThreadNetworkDiagnosticsPanIdAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsExtendedPanIdCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsExtendedPanIdAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readExtendedPanIdAttribute( - ( ChipClusters.ThreadNetworkDiagnosticsCluster.ExtendedPanIdAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterExtendedPanIdAttributeCallback(), - readThreadNetworkDiagnosticsExtendedPanIdCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readExtendedPanIdAttribute", readThreadNetworkDiagnosticsExtendedPanIdAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsMeshLocalPrefixCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsMeshLocalPrefixAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readMeshLocalPrefixAttribute( - ( ChipClusters.ThreadNetworkDiagnosticsCluster.MeshLocalPrefixAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterMeshLocalPrefixAttributeCallback(), - readThreadNetworkDiagnosticsMeshLocalPrefixCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readMeshLocalPrefixAttribute", readThreadNetworkDiagnosticsMeshLocalPrefixAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsOverrunCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsOverrunCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readOverrunCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsOverrunCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readOverrunCountAttribute", readThreadNetworkDiagnosticsOverrunCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsNeighborTableCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsNeighborTableAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readNeighborTableAttribute( - ( ChipClusters.ThreadNetworkDiagnosticsCluster.NeighborTableAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterNeighborTableAttributeCallback(), - readThreadNetworkDiagnosticsNeighborTableCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readNeighborTableAttribute", readThreadNetworkDiagnosticsNeighborTableAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRouteTableCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRouteTableAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRouteTableAttribute( - ( ChipClusters.ThreadNetworkDiagnosticsCluster.RouteTableAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterRouteTableAttributeCallback(), - readThreadNetworkDiagnosticsRouteTableCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readRouteTableAttribute", readThreadNetworkDiagnosticsRouteTableAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsPartitionIdCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsPartitionIdAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readPartitionIdAttribute( - ( ChipClusters.ThreadNetworkDiagnosticsCluster.PartitionIdAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterPartitionIdAttributeCallback(), - readThreadNetworkDiagnosticsPartitionIdCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readPartitionIdAttribute", readThreadNetworkDiagnosticsPartitionIdAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsWeightingCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsWeightingAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readWeightingAttribute( - ( ChipClusters.ThreadNetworkDiagnosticsCluster.WeightingAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterWeightingAttributeCallback(), - readThreadNetworkDiagnosticsWeightingCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readWeightingAttribute", readThreadNetworkDiagnosticsWeightingAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsDataVersionCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsDataVersionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readDataVersionAttribute( - ( ChipClusters.ThreadNetworkDiagnosticsCluster.DataVersionAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterDataVersionAttributeCallback(), - readThreadNetworkDiagnosticsDataVersionCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readDataVersionAttribute", readThreadNetworkDiagnosticsDataVersionAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsStableDataVersionCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsStableDataVersionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readStableDataVersionAttribute( - ( ChipClusters.ThreadNetworkDiagnosticsCluster.StableDataVersionAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterStableDataVersionAttributeCallback(), - readThreadNetworkDiagnosticsStableDataVersionCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readStableDataVersionAttribute", readThreadNetworkDiagnosticsStableDataVersionAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsLeaderRouterIdCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsLeaderRouterIdAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readLeaderRouterIdAttribute( - ( ChipClusters.ThreadNetworkDiagnosticsCluster.LeaderRouterIdAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterLeaderRouterIdAttributeCallback(), - readThreadNetworkDiagnosticsLeaderRouterIdCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readLeaderRouterIdAttribute", readThreadNetworkDiagnosticsLeaderRouterIdAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsDetachedRoleCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsDetachedRoleCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readDetachedRoleCountAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsDetachedRoleCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readDetachedRoleCountAttribute", readThreadNetworkDiagnosticsDetachedRoleCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsChildRoleCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsChildRoleCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readChildRoleCountAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsChildRoleCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readChildRoleCountAttribute", readThreadNetworkDiagnosticsChildRoleCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRouterRoleCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRouterRoleCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRouterRoleCountAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsRouterRoleCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readRouterRoleCountAttribute", readThreadNetworkDiagnosticsRouterRoleCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsLeaderRoleCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsLeaderRoleCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readLeaderRoleCountAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsLeaderRoleCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readLeaderRoleCountAttribute", readThreadNetworkDiagnosticsLeaderRoleCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsAttachAttemptCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsAttachAttemptCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readAttachAttemptCountAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsAttachAttemptCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readAttachAttemptCountAttribute", readThreadNetworkDiagnosticsAttachAttemptCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsPartitionIdChangeCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsPartitionIdChangeCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readPartitionIdChangeCountAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsPartitionIdChangeCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readPartitionIdChangeCountAttribute", readThreadNetworkDiagnosticsPartitionIdChangeCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readBetterPartitionAttachAttemptCountAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readBetterPartitionAttachAttemptCountAttribute", readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsParentChangeCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsParentChangeCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readParentChangeCountAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsParentChangeCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readParentChangeCountAttribute", readThreadNetworkDiagnosticsParentChangeCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxTotalCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxTotalCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxTotalCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxTotalCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readTxTotalCountAttribute", readThreadNetworkDiagnosticsTxTotalCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxUnicastCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxUnicastCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxUnicastCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxUnicastCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readTxUnicastCountAttribute", readThreadNetworkDiagnosticsTxUnicastCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxBroadcastCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxBroadcastCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxBroadcastCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxBroadcastCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readTxBroadcastCountAttribute", readThreadNetworkDiagnosticsTxBroadcastCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxAckRequestedCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxAckRequestedCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxAckRequestedCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxAckRequestedCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readTxAckRequestedCountAttribute", readThreadNetworkDiagnosticsTxAckRequestedCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxAckedCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxAckedCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxAckedCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxAckedCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readTxAckedCountAttribute", readThreadNetworkDiagnosticsTxAckedCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxNoAckRequestedCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxNoAckRequestedCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxNoAckRequestedCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxNoAckRequestedCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readTxNoAckRequestedCountAttribute", readThreadNetworkDiagnosticsTxNoAckRequestedCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxDataCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxDataCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxDataCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxDataCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readTxDataCountAttribute", readThreadNetworkDiagnosticsTxDataCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxDataPollCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxDataPollCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxDataPollCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxDataPollCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readTxDataPollCountAttribute", readThreadNetworkDiagnosticsTxDataPollCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxBeaconCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxBeaconCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxBeaconCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxBeaconCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readTxBeaconCountAttribute", readThreadNetworkDiagnosticsTxBeaconCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxBeaconRequestCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxBeaconRequestCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxBeaconRequestCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxBeaconRequestCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readTxBeaconRequestCountAttribute", readThreadNetworkDiagnosticsTxBeaconRequestCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxOtherCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxOtherCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxOtherCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxOtherCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readTxOtherCountAttribute", readThreadNetworkDiagnosticsTxOtherCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxRetryCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxRetryCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxRetryCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxRetryCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readTxRetryCountAttribute", readThreadNetworkDiagnosticsTxRetryCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxDirectMaxRetryExpiryCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readTxDirectMaxRetryExpiryCountAttribute", readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxIndirectMaxRetryExpiryCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readTxIndirectMaxRetryExpiryCountAttribute", readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxErrCcaCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxErrCcaCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxErrCcaCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxErrCcaCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readTxErrCcaCountAttribute", readThreadNetworkDiagnosticsTxErrCcaCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxErrAbortCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxErrAbortCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxErrAbortCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxErrAbortCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readTxErrAbortCountAttribute", readThreadNetworkDiagnosticsTxErrAbortCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsTxErrBusyChannelCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsTxErrBusyChannelCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readTxErrBusyChannelCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsTxErrBusyChannelCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readTxErrBusyChannelCountAttribute", readThreadNetworkDiagnosticsTxErrBusyChannelCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxTotalCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxTotalCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxTotalCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxTotalCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readRxTotalCountAttribute", readThreadNetworkDiagnosticsRxTotalCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxUnicastCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxUnicastCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxUnicastCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxUnicastCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readRxUnicastCountAttribute", readThreadNetworkDiagnosticsRxUnicastCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxBroadcastCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxBroadcastCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxBroadcastCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxBroadcastCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readRxBroadcastCountAttribute", readThreadNetworkDiagnosticsRxBroadcastCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxDataCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxDataCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxDataCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxDataCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readRxDataCountAttribute", readThreadNetworkDiagnosticsRxDataCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxDataPollCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxDataPollCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxDataPollCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxDataPollCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readRxDataPollCountAttribute", readThreadNetworkDiagnosticsRxDataPollCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxBeaconCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxBeaconCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxBeaconCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxBeaconCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readRxBeaconCountAttribute", readThreadNetworkDiagnosticsRxBeaconCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxBeaconRequestCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxBeaconRequestCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxBeaconRequestCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxBeaconRequestCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readRxBeaconRequestCountAttribute", readThreadNetworkDiagnosticsRxBeaconRequestCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxOtherCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxOtherCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxOtherCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxOtherCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readRxOtherCountAttribute", readThreadNetworkDiagnosticsRxOtherCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxAddressFilteredCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxAddressFilteredCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxAddressFilteredCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxAddressFilteredCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readRxAddressFilteredCountAttribute", readThreadNetworkDiagnosticsRxAddressFilteredCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxDestAddrFilteredCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxDestAddrFilteredCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxDestAddrFilteredCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxDestAddrFilteredCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readRxDestAddrFilteredCountAttribute", readThreadNetworkDiagnosticsRxDestAddrFilteredCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxDuplicatedCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxDuplicatedCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxDuplicatedCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxDuplicatedCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readRxDuplicatedCountAttribute", readThreadNetworkDiagnosticsRxDuplicatedCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxErrNoFrameCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxErrNoFrameCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxErrNoFrameCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxErrNoFrameCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readRxErrNoFrameCountAttribute", readThreadNetworkDiagnosticsRxErrNoFrameCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxErrUnknownNeighborCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxErrUnknownNeighborCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxErrUnknownNeighborCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxErrUnknownNeighborCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readRxErrUnknownNeighborCountAttribute", readThreadNetworkDiagnosticsRxErrUnknownNeighborCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxErrInvalidSrcAddrCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readRxErrInvalidSrcAddrCountAttribute", readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxErrSecCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxErrSecCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxErrSecCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxErrSecCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readRxErrSecCountAttribute", readThreadNetworkDiagnosticsRxErrSecCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxErrFcsCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxErrFcsCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxErrFcsCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxErrFcsCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readRxErrFcsCountAttribute", readThreadNetworkDiagnosticsRxErrFcsCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsRxErrOtherCountCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsRxErrOtherCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readRxErrOtherCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsRxErrOtherCountCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readRxErrOtherCountAttribute", readThreadNetworkDiagnosticsRxErrOtherCountAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsActiveTimestampCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsActiveTimestampAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readActiveTimestampAttribute( - ( ChipClusters.ThreadNetworkDiagnosticsCluster.ActiveTimestampAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterActiveTimestampAttributeCallback(), - readThreadNetworkDiagnosticsActiveTimestampCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readActiveTimestampAttribute", readThreadNetworkDiagnosticsActiveTimestampAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsPendingTimestampCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsPendingTimestampAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readPendingTimestampAttribute( - ( ChipClusters.ThreadNetworkDiagnosticsCluster.PendingTimestampAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterPendingTimestampAttributeCallback(), - readThreadNetworkDiagnosticsPendingTimestampCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readPendingTimestampAttribute", readThreadNetworkDiagnosticsPendingTimestampAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsDelayCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsDelayAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readDelayAttribute( - ( ChipClusters.ThreadNetworkDiagnosticsCluster.DelayAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterDelayAttributeCallback(), - readThreadNetworkDiagnosticsDelayCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readDelayAttribute", readThreadNetworkDiagnosticsDelayAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsChannelPage0MaskCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsChannelPage0MaskAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readChannelPage0MaskAttribute( - ( ChipClusters.ThreadNetworkDiagnosticsCluster.ChannelPage0MaskAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterChannelPage0MaskAttributeCallback(), - readThreadNetworkDiagnosticsChannelPage0MaskCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readChannelPage0MaskAttribute", readThreadNetworkDiagnosticsChannelPage0MaskAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsActiveNetworkFaultsListCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsActiveNetworkFaultsListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readActiveNetworkFaultsListAttribute( - ( ChipClusters.ThreadNetworkDiagnosticsCluster.ActiveNetworkFaultsListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterActiveNetworkFaultsListAttributeCallback(), - readThreadNetworkDiagnosticsActiveNetworkFaultsListCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readActiveNetworkFaultsListAttribute", readThreadNetworkDiagnosticsActiveNetworkFaultsListAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.ThreadNetworkDiagnosticsCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback(), - readThreadNetworkDiagnosticsGeneratedCommandListCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readGeneratedCommandListAttribute", readThreadNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.ThreadNetworkDiagnosticsCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback(), - readThreadNetworkDiagnosticsAcceptedCommandListCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readAcceptedCommandListAttribute", readThreadNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsEventListCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readEventListAttribute( - ( ChipClusters.ThreadNetworkDiagnosticsCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterEventListAttributeCallback(), - readThreadNetworkDiagnosticsEventListCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readEventListAttribute", readThreadNetworkDiagnosticsEventListAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readAttributeListAttribute( - ( ChipClusters.ThreadNetworkDiagnosticsCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThreadNetworkDiagnosticsClusterAttributeListAttributeCallback(), - readThreadNetworkDiagnosticsAttributeListCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readAttributeListAttribute", readThreadNetworkDiagnosticsAttributeListAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThreadNetworkDiagnosticsFeatureMapCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readFeatureMapAttribute", readThreadNetworkDiagnosticsFeatureMapAttributeInteractionInfo); - Map readThreadNetworkDiagnosticsClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readThreadNetworkDiagnosticsClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThreadNetworkDiagnosticsClusterRevisionCommandParams - ); - readThreadNetworkDiagnosticsInteractionInfo.put("readClusterRevisionAttribute", readThreadNetworkDiagnosticsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("threadNetworkDiagnostics", readThreadNetworkDiagnosticsInteractionInfo); - Map readWiFiNetworkDiagnosticsInteractionInfo = new LinkedHashMap<>(); - Map readWiFiNetworkDiagnosticsBssidCommandParams = new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsBssidAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readBssidAttribute( - ( ChipClusters.WiFiNetworkDiagnosticsCluster.BssidAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterBssidAttributeCallback(), - readWiFiNetworkDiagnosticsBssidCommandParams - ); - readWiFiNetworkDiagnosticsInteractionInfo.put("readBssidAttribute", readWiFiNetworkDiagnosticsBssidAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsSecurityTypeCommandParams = new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsSecurityTypeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readSecurityTypeAttribute( - ( ChipClusters.WiFiNetworkDiagnosticsCluster.SecurityTypeAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterSecurityTypeAttributeCallback(), - readWiFiNetworkDiagnosticsSecurityTypeCommandParams - ); - readWiFiNetworkDiagnosticsInteractionInfo.put("readSecurityTypeAttribute", readWiFiNetworkDiagnosticsSecurityTypeAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsWiFiVersionCommandParams = new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsWiFiVersionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readWiFiVersionAttribute( - ( ChipClusters.WiFiNetworkDiagnosticsCluster.WiFiVersionAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterWiFiVersionAttributeCallback(), - readWiFiNetworkDiagnosticsWiFiVersionCommandParams - ); - readWiFiNetworkDiagnosticsInteractionInfo.put("readWiFiVersionAttribute", readWiFiNetworkDiagnosticsWiFiVersionAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsChannelNumberCommandParams = new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsChannelNumberAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readChannelNumberAttribute( - ( ChipClusters.WiFiNetworkDiagnosticsCluster.ChannelNumberAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterChannelNumberAttributeCallback(), - readWiFiNetworkDiagnosticsChannelNumberCommandParams - ); - readWiFiNetworkDiagnosticsInteractionInfo.put("readChannelNumberAttribute", readWiFiNetworkDiagnosticsChannelNumberAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsRssiCommandParams = new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsRssiAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readRssiAttribute( - ( ChipClusters.WiFiNetworkDiagnosticsCluster.RssiAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterRssiAttributeCallback(), - readWiFiNetworkDiagnosticsRssiCommandParams - ); - readWiFiNetworkDiagnosticsInteractionInfo.put("readRssiAttribute", readWiFiNetworkDiagnosticsRssiAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsBeaconLostCountCommandParams = new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsBeaconLostCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readBeaconLostCountAttribute( - ( ChipClusters.WiFiNetworkDiagnosticsCluster.BeaconLostCountAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterBeaconLostCountAttributeCallback(), - readWiFiNetworkDiagnosticsBeaconLostCountCommandParams - ); - readWiFiNetworkDiagnosticsInteractionInfo.put("readBeaconLostCountAttribute", readWiFiNetworkDiagnosticsBeaconLostCountAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsBeaconRxCountCommandParams = new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsBeaconRxCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readBeaconRxCountAttribute( - ( ChipClusters.WiFiNetworkDiagnosticsCluster.BeaconRxCountAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterBeaconRxCountAttributeCallback(), - readWiFiNetworkDiagnosticsBeaconRxCountCommandParams - ); - readWiFiNetworkDiagnosticsInteractionInfo.put("readBeaconRxCountAttribute", readWiFiNetworkDiagnosticsBeaconRxCountAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsPacketMulticastRxCountCommandParams = new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsPacketMulticastRxCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readPacketMulticastRxCountAttribute( - ( ChipClusters.WiFiNetworkDiagnosticsCluster.PacketMulticastRxCountAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterPacketMulticastRxCountAttributeCallback(), - readWiFiNetworkDiagnosticsPacketMulticastRxCountCommandParams - ); - readWiFiNetworkDiagnosticsInteractionInfo.put("readPacketMulticastRxCountAttribute", readWiFiNetworkDiagnosticsPacketMulticastRxCountAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsPacketMulticastTxCountCommandParams = new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsPacketMulticastTxCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readPacketMulticastTxCountAttribute( - ( ChipClusters.WiFiNetworkDiagnosticsCluster.PacketMulticastTxCountAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterPacketMulticastTxCountAttributeCallback(), - readWiFiNetworkDiagnosticsPacketMulticastTxCountCommandParams - ); - readWiFiNetworkDiagnosticsInteractionInfo.put("readPacketMulticastTxCountAttribute", readWiFiNetworkDiagnosticsPacketMulticastTxCountAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsPacketUnicastRxCountCommandParams = new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsPacketUnicastRxCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readPacketUnicastRxCountAttribute( - ( ChipClusters.WiFiNetworkDiagnosticsCluster.PacketUnicastRxCountAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterPacketUnicastRxCountAttributeCallback(), - readWiFiNetworkDiagnosticsPacketUnicastRxCountCommandParams - ); - readWiFiNetworkDiagnosticsInteractionInfo.put("readPacketUnicastRxCountAttribute", readWiFiNetworkDiagnosticsPacketUnicastRxCountAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsPacketUnicastTxCountCommandParams = new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsPacketUnicastTxCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readPacketUnicastTxCountAttribute( - ( ChipClusters.WiFiNetworkDiagnosticsCluster.PacketUnicastTxCountAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterPacketUnicastTxCountAttributeCallback(), - readWiFiNetworkDiagnosticsPacketUnicastTxCountCommandParams - ); - readWiFiNetworkDiagnosticsInteractionInfo.put("readPacketUnicastTxCountAttribute", readWiFiNetworkDiagnosticsPacketUnicastTxCountAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsCurrentMaxRateCommandParams = new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsCurrentMaxRateAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readCurrentMaxRateAttribute( - ( ChipClusters.WiFiNetworkDiagnosticsCluster.CurrentMaxRateAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterCurrentMaxRateAttributeCallback(), - readWiFiNetworkDiagnosticsCurrentMaxRateCommandParams - ); - readWiFiNetworkDiagnosticsInteractionInfo.put("readCurrentMaxRateAttribute", readWiFiNetworkDiagnosticsCurrentMaxRateAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsOverrunCountCommandParams = new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsOverrunCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readOverrunCountAttribute( - ( ChipClusters.WiFiNetworkDiagnosticsCluster.OverrunCountAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterOverrunCountAttributeCallback(), - readWiFiNetworkDiagnosticsOverrunCountCommandParams - ); - readWiFiNetworkDiagnosticsInteractionInfo.put("readOverrunCountAttribute", readWiFiNetworkDiagnosticsOverrunCountAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.WiFiNetworkDiagnosticsCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback(), - readWiFiNetworkDiagnosticsGeneratedCommandListCommandParams - ); - readWiFiNetworkDiagnosticsInteractionInfo.put("readGeneratedCommandListAttribute", readWiFiNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.WiFiNetworkDiagnosticsCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback(), - readWiFiNetworkDiagnosticsAcceptedCommandListCommandParams - ); - readWiFiNetworkDiagnosticsInteractionInfo.put("readAcceptedCommandListAttribute", readWiFiNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsEventListCommandParams = new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readEventListAttribute( - ( ChipClusters.WiFiNetworkDiagnosticsCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterEventListAttributeCallback(), - readWiFiNetworkDiagnosticsEventListCommandParams - ); - readWiFiNetworkDiagnosticsInteractionInfo.put("readEventListAttribute", readWiFiNetworkDiagnosticsEventListAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readAttributeListAttribute( - ( ChipClusters.WiFiNetworkDiagnosticsCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWiFiNetworkDiagnosticsClusterAttributeListAttributeCallback(), - readWiFiNetworkDiagnosticsAttributeListCommandParams - ); - readWiFiNetworkDiagnosticsInteractionInfo.put("readAttributeListAttribute", readWiFiNetworkDiagnosticsAttributeListAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readWiFiNetworkDiagnosticsFeatureMapCommandParams - ); - readWiFiNetworkDiagnosticsInteractionInfo.put("readFeatureMapAttribute", readWiFiNetworkDiagnosticsFeatureMapAttributeInteractionInfo); - Map readWiFiNetworkDiagnosticsClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readWiFiNetworkDiagnosticsClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWiFiNetworkDiagnosticsClusterRevisionCommandParams - ); - readWiFiNetworkDiagnosticsInteractionInfo.put("readClusterRevisionAttribute", readWiFiNetworkDiagnosticsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("wiFiNetworkDiagnostics", readWiFiNetworkDiagnosticsInteractionInfo); - Map readEthernetNetworkDiagnosticsInteractionInfo = new LinkedHashMap<>(); - Map readEthernetNetworkDiagnosticsPHYRateCommandParams = new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsPHYRateAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readPHYRateAttribute( - ( ChipClusters.EthernetNetworkDiagnosticsCluster.PHYRateAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedEthernetNetworkDiagnosticsClusterPHYRateAttributeCallback(), - readEthernetNetworkDiagnosticsPHYRateCommandParams - ); - readEthernetNetworkDiagnosticsInteractionInfo.put("readPHYRateAttribute", readEthernetNetworkDiagnosticsPHYRateAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsFullDuplexCommandParams = new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsFullDuplexAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readFullDuplexAttribute( - ( ChipClusters.EthernetNetworkDiagnosticsCluster.FullDuplexAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedEthernetNetworkDiagnosticsClusterFullDuplexAttributeCallback(), - readEthernetNetworkDiagnosticsFullDuplexCommandParams - ); - readEthernetNetworkDiagnosticsInteractionInfo.put("readFullDuplexAttribute", readEthernetNetworkDiagnosticsFullDuplexAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsPacketRxCountCommandParams = new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsPacketRxCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readPacketRxCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readEthernetNetworkDiagnosticsPacketRxCountCommandParams - ); - readEthernetNetworkDiagnosticsInteractionInfo.put("readPacketRxCountAttribute", readEthernetNetworkDiagnosticsPacketRxCountAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsPacketTxCountCommandParams = new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsPacketTxCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readPacketTxCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readEthernetNetworkDiagnosticsPacketTxCountCommandParams - ); - readEthernetNetworkDiagnosticsInteractionInfo.put("readPacketTxCountAttribute", readEthernetNetworkDiagnosticsPacketTxCountAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsTxErrCountCommandParams = new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsTxErrCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readTxErrCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readEthernetNetworkDiagnosticsTxErrCountCommandParams - ); - readEthernetNetworkDiagnosticsInteractionInfo.put("readTxErrCountAttribute", readEthernetNetworkDiagnosticsTxErrCountAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsCollisionCountCommandParams = new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsCollisionCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readCollisionCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readEthernetNetworkDiagnosticsCollisionCountCommandParams - ); - readEthernetNetworkDiagnosticsInteractionInfo.put("readCollisionCountAttribute", readEthernetNetworkDiagnosticsCollisionCountAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsOverrunCountCommandParams = new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsOverrunCountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readOverrunCountAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readEthernetNetworkDiagnosticsOverrunCountCommandParams - ); - readEthernetNetworkDiagnosticsInteractionInfo.put("readOverrunCountAttribute", readEthernetNetworkDiagnosticsOverrunCountAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsCarrierDetectCommandParams = new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsCarrierDetectAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readCarrierDetectAttribute( - ( ChipClusters.EthernetNetworkDiagnosticsCluster.CarrierDetectAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedEthernetNetworkDiagnosticsClusterCarrierDetectAttributeCallback(), - readEthernetNetworkDiagnosticsCarrierDetectCommandParams - ); - readEthernetNetworkDiagnosticsInteractionInfo.put("readCarrierDetectAttribute", readEthernetNetworkDiagnosticsCarrierDetectAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsTimeSinceResetCommandParams = new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsTimeSinceResetAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readTimeSinceResetAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readEthernetNetworkDiagnosticsTimeSinceResetCommandParams - ); - readEthernetNetworkDiagnosticsInteractionInfo.put("readTimeSinceResetAttribute", readEthernetNetworkDiagnosticsTimeSinceResetAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.EthernetNetworkDiagnosticsCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedEthernetNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback(), - readEthernetNetworkDiagnosticsGeneratedCommandListCommandParams - ); - readEthernetNetworkDiagnosticsInteractionInfo.put("readGeneratedCommandListAttribute", readEthernetNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.EthernetNetworkDiagnosticsCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedEthernetNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback(), - readEthernetNetworkDiagnosticsAcceptedCommandListCommandParams - ); - readEthernetNetworkDiagnosticsInteractionInfo.put("readAcceptedCommandListAttribute", readEthernetNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsEventListCommandParams = new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readEventListAttribute( - ( ChipClusters.EthernetNetworkDiagnosticsCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedEthernetNetworkDiagnosticsClusterEventListAttributeCallback(), - readEthernetNetworkDiagnosticsEventListCommandParams - ); - readEthernetNetworkDiagnosticsInteractionInfo.put("readEventListAttribute", readEthernetNetworkDiagnosticsEventListAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readAttributeListAttribute( - ( ChipClusters.EthernetNetworkDiagnosticsCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedEthernetNetworkDiagnosticsClusterAttributeListAttributeCallback(), - readEthernetNetworkDiagnosticsAttributeListCommandParams - ); - readEthernetNetworkDiagnosticsInteractionInfo.put("readAttributeListAttribute", readEthernetNetworkDiagnosticsAttributeListAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readEthernetNetworkDiagnosticsFeatureMapCommandParams - ); - readEthernetNetworkDiagnosticsInteractionInfo.put("readFeatureMapAttribute", readEthernetNetworkDiagnosticsFeatureMapAttributeInteractionInfo); - Map readEthernetNetworkDiagnosticsClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readEthernetNetworkDiagnosticsClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readEthernetNetworkDiagnosticsClusterRevisionCommandParams - ); - readEthernetNetworkDiagnosticsInteractionInfo.put("readClusterRevisionAttribute", readEthernetNetworkDiagnosticsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("ethernetNetworkDiagnostics", readEthernetNetworkDiagnosticsInteractionInfo); - Map readBridgedDeviceBasicInformationInteractionInfo = new LinkedHashMap<>(); - Map readBridgedDeviceBasicInformationVendorNameCommandParams = new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationVendorNameAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readVendorNameAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readGeneralDiagnosticsTestEventTriggersEnabledCommandParams); + readGeneralDiagnosticsInteractionInfo.put( + "readTestEventTriggersEnabledAttribute", + readGeneralDiagnosticsTestEventTriggersEnabledAttributeInteractionInfo); + Map readGeneralDiagnosticsGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.GeneralDiagnosticsCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedGeneralDiagnosticsClusterGeneratedCommandListAttributeCallback(), + readGeneralDiagnosticsGeneratedCommandListCommandParams); + readGeneralDiagnosticsInteractionInfo.put( + "readGeneratedCommandListAttribute", + readGeneralDiagnosticsGeneratedCommandListAttributeInteractionInfo); + Map readGeneralDiagnosticsAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.GeneralDiagnosticsCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedGeneralDiagnosticsClusterAcceptedCommandListAttributeCallback(), + readGeneralDiagnosticsAcceptedCommandListCommandParams); + readGeneralDiagnosticsInteractionInfo.put( + "readAcceptedCommandListAttribute", + readGeneralDiagnosticsAcceptedCommandListAttributeInteractionInfo); + Map readGeneralDiagnosticsEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster) + .readEventListAttribute( + (ChipClusters.GeneralDiagnosticsCluster.EventListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedGeneralDiagnosticsClusterEventListAttributeCallback(), + readGeneralDiagnosticsEventListCommandParams); + readGeneralDiagnosticsInteractionInfo.put( + "readEventListAttribute", readGeneralDiagnosticsEventListAttributeInteractionInfo); + Map readGeneralDiagnosticsAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.GeneralDiagnosticsCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedGeneralDiagnosticsClusterAttributeListAttributeCallback(), + readGeneralDiagnosticsAttributeListCommandParams); + readGeneralDiagnosticsInteractionInfo.put( + "readAttributeListAttribute", readGeneralDiagnosticsAttributeListAttributeInteractionInfo); + Map readGeneralDiagnosticsFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readGeneralDiagnosticsFeatureMapCommandParams); + readGeneralDiagnosticsInteractionInfo.put( + "readFeatureMapAttribute", readGeneralDiagnosticsFeatureMapAttributeInteractionInfo); + Map readGeneralDiagnosticsClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readGeneralDiagnosticsClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readGeneralDiagnosticsClusterRevisionCommandParams); + readGeneralDiagnosticsInteractionInfo.put( + "readClusterRevisionAttribute", + readGeneralDiagnosticsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("generalDiagnostics", readGeneralDiagnosticsInteractionInfo); + Map readSoftwareDiagnosticsInteractionInfo = new LinkedHashMap<>(); + Map readSoftwareDiagnosticsThreadMetricsCommandParams = + new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsThreadMetricsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster) + .readThreadMetricsAttribute( + (ChipClusters.SoftwareDiagnosticsCluster.ThreadMetricsAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedSoftwareDiagnosticsClusterThreadMetricsAttributeCallback(), + readSoftwareDiagnosticsThreadMetricsCommandParams); + readSoftwareDiagnosticsInteractionInfo.put( + "readThreadMetricsAttribute", readSoftwareDiagnosticsThreadMetricsAttributeInteractionInfo); + Map readSoftwareDiagnosticsCurrentHeapFreeCommandParams = + new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsCurrentHeapFreeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster) + .readCurrentHeapFreeAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readSoftwareDiagnosticsCurrentHeapFreeCommandParams); + readSoftwareDiagnosticsInteractionInfo.put( + "readCurrentHeapFreeAttribute", + readSoftwareDiagnosticsCurrentHeapFreeAttributeInteractionInfo); + Map readSoftwareDiagnosticsCurrentHeapUsedCommandParams = + new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsCurrentHeapUsedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster) + .readCurrentHeapUsedAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readSoftwareDiagnosticsCurrentHeapUsedCommandParams); + readSoftwareDiagnosticsInteractionInfo.put( + "readCurrentHeapUsedAttribute", + readSoftwareDiagnosticsCurrentHeapUsedAttributeInteractionInfo); + Map readSoftwareDiagnosticsCurrentHeapHighWatermarkCommandParams = + new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsCurrentHeapHighWatermarkAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster) + .readCurrentHeapHighWatermarkAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readSoftwareDiagnosticsCurrentHeapHighWatermarkCommandParams); + readSoftwareDiagnosticsInteractionInfo.put( + "readCurrentHeapHighWatermarkAttribute", + readSoftwareDiagnosticsCurrentHeapHighWatermarkAttributeInteractionInfo); + Map readSoftwareDiagnosticsGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.SoftwareDiagnosticsCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedSoftwareDiagnosticsClusterGeneratedCommandListAttributeCallback(), + readSoftwareDiagnosticsGeneratedCommandListCommandParams); + readSoftwareDiagnosticsInteractionInfo.put( + "readGeneratedCommandListAttribute", + readSoftwareDiagnosticsGeneratedCommandListAttributeInteractionInfo); + Map readSoftwareDiagnosticsAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.SoftwareDiagnosticsCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedSoftwareDiagnosticsClusterAcceptedCommandListAttributeCallback(), + readSoftwareDiagnosticsAcceptedCommandListCommandParams); + readSoftwareDiagnosticsInteractionInfo.put( + "readAcceptedCommandListAttribute", + readSoftwareDiagnosticsAcceptedCommandListAttributeInteractionInfo); + Map readSoftwareDiagnosticsEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster) + .readEventListAttribute( + (ChipClusters.SoftwareDiagnosticsCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedSoftwareDiagnosticsClusterEventListAttributeCallback(), + readSoftwareDiagnosticsEventListCommandParams); + readSoftwareDiagnosticsInteractionInfo.put( + "readEventListAttribute", readSoftwareDiagnosticsEventListAttributeInteractionInfo); + Map readSoftwareDiagnosticsAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.SoftwareDiagnosticsCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedSoftwareDiagnosticsClusterAttributeListAttributeCallback(), + readSoftwareDiagnosticsAttributeListCommandParams); + readSoftwareDiagnosticsInteractionInfo.put( + "readAttributeListAttribute", readSoftwareDiagnosticsAttributeListAttributeInteractionInfo); + Map readSoftwareDiagnosticsFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readSoftwareDiagnosticsFeatureMapCommandParams); + readSoftwareDiagnosticsInteractionInfo.put( + "readFeatureMapAttribute", readSoftwareDiagnosticsFeatureMapAttributeInteractionInfo); + Map readSoftwareDiagnosticsClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readSoftwareDiagnosticsClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readSoftwareDiagnosticsClusterRevisionCommandParams); + readSoftwareDiagnosticsInteractionInfo.put( + "readClusterRevisionAttribute", + readSoftwareDiagnosticsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("softwareDiagnostics", readSoftwareDiagnosticsInteractionInfo); + Map readThreadNetworkDiagnosticsInteractionInfo = + new LinkedHashMap<>(); + Map readThreadNetworkDiagnosticsChannelCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsChannelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readChannelAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster.ChannelAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterChannelAttributeCallback(), + readThreadNetworkDiagnosticsChannelCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readChannelAttribute", readThreadNetworkDiagnosticsChannelAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRoutingRoleCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRoutingRoleAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRoutingRoleAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster.RoutingRoleAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterRoutingRoleAttributeCallback(), + readThreadNetworkDiagnosticsRoutingRoleCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRoutingRoleAttribute", + readThreadNetworkDiagnosticsRoutingRoleAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsNetworkNameCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsNetworkNameAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readNetworkNameAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster.NetworkNameAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterNetworkNameAttributeCallback(), + readThreadNetworkDiagnosticsNetworkNameCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readNetworkNameAttribute", + readThreadNetworkDiagnosticsNetworkNameAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsPanIdCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsPanIdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readPanIdAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster.PanIdAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterPanIdAttributeCallback(), + readThreadNetworkDiagnosticsPanIdCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readPanIdAttribute", readThreadNetworkDiagnosticsPanIdAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsExtendedPanIdCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsExtendedPanIdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readExtendedPanIdAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster.ExtendedPanIdAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterExtendedPanIdAttributeCallback(), + readThreadNetworkDiagnosticsExtendedPanIdCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readExtendedPanIdAttribute", + readThreadNetworkDiagnosticsExtendedPanIdAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsMeshLocalPrefixCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsMeshLocalPrefixAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readMeshLocalPrefixAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster + .MeshLocalPrefixAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterMeshLocalPrefixAttributeCallback(), + readThreadNetworkDiagnosticsMeshLocalPrefixCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readMeshLocalPrefixAttribute", + readThreadNetworkDiagnosticsMeshLocalPrefixAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsOverrunCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsOverrunCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readOverrunCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsOverrunCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readOverrunCountAttribute", + readThreadNetworkDiagnosticsOverrunCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsNeighborTableCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsNeighborTableAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readNeighborTableAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster.NeighborTableAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterNeighborTableAttributeCallback(), + readThreadNetworkDiagnosticsNeighborTableCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readNeighborTableAttribute", + readThreadNetworkDiagnosticsNeighborTableAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRouteTableCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRouteTableAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRouteTableAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster.RouteTableAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterRouteTableAttributeCallback(), + readThreadNetworkDiagnosticsRouteTableCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRouteTableAttribute", readThreadNetworkDiagnosticsRouteTableAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsPartitionIdCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsPartitionIdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readPartitionIdAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster.PartitionIdAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterPartitionIdAttributeCallback(), + readThreadNetworkDiagnosticsPartitionIdCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readPartitionIdAttribute", + readThreadNetworkDiagnosticsPartitionIdAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsWeightingCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsWeightingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readWeightingAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster.WeightingAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterWeightingAttributeCallback(), + readThreadNetworkDiagnosticsWeightingCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readWeightingAttribute", readThreadNetworkDiagnosticsWeightingAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsDataVersionCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsDataVersionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readDataVersionAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster.DataVersionAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterDataVersionAttributeCallback(), + readThreadNetworkDiagnosticsDataVersionCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readDataVersionAttribute", + readThreadNetworkDiagnosticsDataVersionAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsStableDataVersionCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsStableDataVersionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readStableDataVersionAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster + .StableDataVersionAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterStableDataVersionAttributeCallback(), + readThreadNetworkDiagnosticsStableDataVersionCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readStableDataVersionAttribute", + readThreadNetworkDiagnosticsStableDataVersionAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsLeaderRouterIdCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsLeaderRouterIdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readLeaderRouterIdAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster.LeaderRouterIdAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterLeaderRouterIdAttributeCallback(), + readThreadNetworkDiagnosticsLeaderRouterIdCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readLeaderRouterIdAttribute", + readThreadNetworkDiagnosticsLeaderRouterIdAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsDetachedRoleCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsDetachedRoleCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readDetachedRoleCountAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsDetachedRoleCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readDetachedRoleCountAttribute", + readThreadNetworkDiagnosticsDetachedRoleCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsChildRoleCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsChildRoleCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readChildRoleCountAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsChildRoleCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readChildRoleCountAttribute", + readThreadNetworkDiagnosticsChildRoleCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRouterRoleCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRouterRoleCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRouterRoleCountAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsRouterRoleCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRouterRoleCountAttribute", + readThreadNetworkDiagnosticsRouterRoleCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsLeaderRoleCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsLeaderRoleCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readLeaderRoleCountAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsLeaderRoleCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readLeaderRoleCountAttribute", + readThreadNetworkDiagnosticsLeaderRoleCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsAttachAttemptCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsAttachAttemptCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readAttachAttemptCountAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsAttachAttemptCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readAttachAttemptCountAttribute", + readThreadNetworkDiagnosticsAttachAttemptCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsPartitionIdChangeCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsPartitionIdChangeCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readPartitionIdChangeCountAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsPartitionIdChangeCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readPartitionIdChangeCountAttribute", + readThreadNetworkDiagnosticsPartitionIdChangeCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountCommandParams = + new LinkedHashMap(); + InteractionInfo + readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readBetterPartitionAttachAttemptCountAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readBetterPartitionAttachAttemptCountAttribute", + readThreadNetworkDiagnosticsBetterPartitionAttachAttemptCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsParentChangeCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsParentChangeCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readParentChangeCountAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsParentChangeCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readParentChangeCountAttribute", + readThreadNetworkDiagnosticsParentChangeCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxTotalCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxTotalCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxTotalCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxTotalCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxTotalCountAttribute", + readThreadNetworkDiagnosticsTxTotalCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxUnicastCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxUnicastCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxUnicastCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxUnicastCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxUnicastCountAttribute", + readThreadNetworkDiagnosticsTxUnicastCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxBroadcastCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxBroadcastCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxBroadcastCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxBroadcastCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxBroadcastCountAttribute", + readThreadNetworkDiagnosticsTxBroadcastCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxAckRequestedCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxAckRequestedCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxAckRequestedCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxAckRequestedCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxAckRequestedCountAttribute", + readThreadNetworkDiagnosticsTxAckRequestedCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxAckedCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxAckedCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxAckedCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxAckedCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxAckedCountAttribute", + readThreadNetworkDiagnosticsTxAckedCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsTxNoAckRequestedCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxNoAckRequestedCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxNoAckRequestedCountAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxNoAckRequestedCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxNoAckRequestedCountAttribute", + readThreadNetworkDiagnosticsTxNoAckRequestedCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxDataCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxDataCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxDataCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxDataCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxDataCountAttribute", + readThreadNetworkDiagnosticsTxDataCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxDataPollCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxDataPollCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxDataPollCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxDataPollCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxDataPollCountAttribute", + readThreadNetworkDiagnosticsTxDataPollCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxBeaconCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxBeaconCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxBeaconCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxBeaconCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxBeaconCountAttribute", + readThreadNetworkDiagnosticsTxBeaconCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsTxBeaconRequestCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxBeaconRequestCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxBeaconRequestCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxBeaconRequestCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxBeaconRequestCountAttribute", + readThreadNetworkDiagnosticsTxBeaconRequestCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxOtherCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxOtherCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxOtherCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxOtherCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxOtherCountAttribute", + readThreadNetworkDiagnosticsTxOtherCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxRetryCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxRetryCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxRetryCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxRetryCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxRetryCountAttribute", + readThreadNetworkDiagnosticsTxRetryCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountCommandParams = + new LinkedHashMap(); + InteractionInfo + readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxDirectMaxRetryExpiryCountAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxDirectMaxRetryExpiryCountAttribute", + readThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountCommandParams = + new LinkedHashMap(); + InteractionInfo + readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxIndirectMaxRetryExpiryCountAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxIndirectMaxRetryExpiryCountAttribute", + readThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxErrCcaCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxErrCcaCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxErrCcaCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxErrCcaCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxErrCcaCountAttribute", + readThreadNetworkDiagnosticsTxErrCcaCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsTxErrAbortCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxErrAbortCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxErrAbortCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxErrAbortCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxErrAbortCountAttribute", + readThreadNetworkDiagnosticsTxErrAbortCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsTxErrBusyChannelCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsTxErrBusyChannelCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readTxErrBusyChannelCountAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsTxErrBusyChannelCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readTxErrBusyChannelCountAttribute", + readThreadNetworkDiagnosticsTxErrBusyChannelCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxTotalCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxTotalCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxTotalCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxTotalCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxTotalCountAttribute", + readThreadNetworkDiagnosticsRxTotalCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxUnicastCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxUnicastCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxUnicastCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxUnicastCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxUnicastCountAttribute", + readThreadNetworkDiagnosticsRxUnicastCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxBroadcastCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxBroadcastCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxBroadcastCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxBroadcastCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxBroadcastCountAttribute", + readThreadNetworkDiagnosticsRxBroadcastCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxDataCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxDataCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxDataCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxDataCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxDataCountAttribute", + readThreadNetworkDiagnosticsRxDataCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxDataPollCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxDataPollCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxDataPollCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxDataPollCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxDataPollCountAttribute", + readThreadNetworkDiagnosticsRxDataPollCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxBeaconCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxBeaconCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxBeaconCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxBeaconCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxBeaconCountAttribute", + readThreadNetworkDiagnosticsRxBeaconCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsRxBeaconRequestCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxBeaconRequestCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxBeaconRequestCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxBeaconRequestCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxBeaconRequestCountAttribute", + readThreadNetworkDiagnosticsRxBeaconRequestCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxOtherCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxOtherCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxOtherCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxOtherCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxOtherCountAttribute", + readThreadNetworkDiagnosticsRxOtherCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsRxAddressFilteredCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxAddressFilteredCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxAddressFilteredCountAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxAddressFilteredCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxAddressFilteredCountAttribute", + readThreadNetworkDiagnosticsRxAddressFilteredCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsRxDestAddrFilteredCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxDestAddrFilteredCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxDestAddrFilteredCountAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxDestAddrFilteredCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxDestAddrFilteredCountAttribute", + readThreadNetworkDiagnosticsRxDestAddrFilteredCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxDuplicatedCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxDuplicatedCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxDuplicatedCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxDuplicatedCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxDuplicatedCountAttribute", + readThreadNetworkDiagnosticsRxDuplicatedCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxErrNoFrameCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxErrNoFrameCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxErrNoFrameCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxErrNoFrameCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxErrNoFrameCountAttribute", + readThreadNetworkDiagnosticsRxErrNoFrameCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsRxErrUnknownNeighborCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxErrUnknownNeighborCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxErrUnknownNeighborCountAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxErrUnknownNeighborCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxErrUnknownNeighborCountAttribute", + readThreadNetworkDiagnosticsRxErrUnknownNeighborCountAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxErrInvalidSrcAddrCountAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxErrInvalidSrcAddrCountAttribute", + readThreadNetworkDiagnosticsRxErrInvalidSrcAddrCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxErrSecCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxErrSecCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxErrSecCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxErrSecCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxErrSecCountAttribute", + readThreadNetworkDiagnosticsRxErrSecCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxErrFcsCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxErrFcsCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxErrFcsCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxErrFcsCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxErrFcsCountAttribute", + readThreadNetworkDiagnosticsRxErrFcsCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsRxErrOtherCountCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsRxErrOtherCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readRxErrOtherCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsRxErrOtherCountCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readRxErrOtherCountAttribute", + readThreadNetworkDiagnosticsRxErrOtherCountAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsActiveTimestampCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsActiveTimestampAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readActiveTimestampAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster + .ActiveTimestampAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterActiveTimestampAttributeCallback(), + readThreadNetworkDiagnosticsActiveTimestampCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readActiveTimestampAttribute", + readThreadNetworkDiagnosticsActiveTimestampAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsPendingTimestampCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsPendingTimestampAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readPendingTimestampAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster + .PendingTimestampAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterPendingTimestampAttributeCallback(), + readThreadNetworkDiagnosticsPendingTimestampCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readPendingTimestampAttribute", + readThreadNetworkDiagnosticsPendingTimestampAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsDelayCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readDelayAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster.DelayAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterDelayAttributeCallback(), + readThreadNetworkDiagnosticsDelayCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readDelayAttribute", readThreadNetworkDiagnosticsDelayAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsChannelPage0MaskCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsChannelPage0MaskAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readChannelPage0MaskAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster + .ChannelPage0MaskAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterChannelPage0MaskAttributeCallback(), + readThreadNetworkDiagnosticsChannelPage0MaskCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readChannelPage0MaskAttribute", + readThreadNetworkDiagnosticsChannelPage0MaskAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsActiveNetworkFaultsListCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsActiveNetworkFaultsListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readActiveNetworkFaultsListAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster + .ActiveNetworkFaultsListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterActiveNetworkFaultsListAttributeCallback(), + readThreadNetworkDiagnosticsActiveNetworkFaultsListCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readActiveNetworkFaultsListAttribute", + readThreadNetworkDiagnosticsActiveNetworkFaultsListAttributeInteractionInfo); + Map + readThreadNetworkDiagnosticsGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback(), + readThreadNetworkDiagnosticsGeneratedCommandListCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readGeneratedCommandListAttribute", + readThreadNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster + .AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback(), + readThreadNetworkDiagnosticsAcceptedCommandListCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readAcceptedCommandListAttribute", + readThreadNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readEventListAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterEventListAttributeCallback(), + readThreadNetworkDiagnosticsEventListCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readEventListAttribute", readThreadNetworkDiagnosticsEventListAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.ThreadNetworkDiagnosticsCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThreadNetworkDiagnosticsClusterAttributeListAttributeCallback(), + readThreadNetworkDiagnosticsAttributeListCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readAttributeListAttribute", + readThreadNetworkDiagnosticsAttributeListAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThreadNetworkDiagnosticsFeatureMapCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readFeatureMapAttribute", readThreadNetworkDiagnosticsFeatureMapAttributeInteractionInfo); + Map readThreadNetworkDiagnosticsClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readThreadNetworkDiagnosticsClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThreadNetworkDiagnosticsClusterRevisionCommandParams); + readThreadNetworkDiagnosticsInteractionInfo.put( + "readClusterRevisionAttribute", + readThreadNetworkDiagnosticsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("threadNetworkDiagnostics", readThreadNetworkDiagnosticsInteractionInfo); + Map readWiFiNetworkDiagnosticsInteractionInfo = new LinkedHashMap<>(); + Map readWiFiNetworkDiagnosticsBssidCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsBssidAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readBssidAttribute( + (ChipClusters.WiFiNetworkDiagnosticsCluster.BssidAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterBssidAttributeCallback(), + readWiFiNetworkDiagnosticsBssidCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readBssidAttribute", readWiFiNetworkDiagnosticsBssidAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsSecurityTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsSecurityTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readSecurityTypeAttribute( + (ChipClusters.WiFiNetworkDiagnosticsCluster.SecurityTypeAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterSecurityTypeAttributeCallback(), + readWiFiNetworkDiagnosticsSecurityTypeCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readSecurityTypeAttribute", + readWiFiNetworkDiagnosticsSecurityTypeAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsWiFiVersionCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsWiFiVersionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readWiFiVersionAttribute( + (ChipClusters.WiFiNetworkDiagnosticsCluster.WiFiVersionAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterWiFiVersionAttributeCallback(), + readWiFiNetworkDiagnosticsWiFiVersionCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readWiFiVersionAttribute", readWiFiNetworkDiagnosticsWiFiVersionAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsChannelNumberCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsChannelNumberAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readChannelNumberAttribute( + (ChipClusters.WiFiNetworkDiagnosticsCluster.ChannelNumberAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterChannelNumberAttributeCallback(), + readWiFiNetworkDiagnosticsChannelNumberCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readChannelNumberAttribute", + readWiFiNetworkDiagnosticsChannelNumberAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsRssiCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsRssiAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readRssiAttribute( + (ChipClusters.WiFiNetworkDiagnosticsCluster.RssiAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterRssiAttributeCallback(), + readWiFiNetworkDiagnosticsRssiCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readRssiAttribute", readWiFiNetworkDiagnosticsRssiAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsBeaconLostCountCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsBeaconLostCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readBeaconLostCountAttribute( + (ChipClusters.WiFiNetworkDiagnosticsCluster.BeaconLostCountAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterBeaconLostCountAttributeCallback(), + readWiFiNetworkDiagnosticsBeaconLostCountCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readBeaconLostCountAttribute", + readWiFiNetworkDiagnosticsBeaconLostCountAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsBeaconRxCountCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsBeaconRxCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readBeaconRxCountAttribute( + (ChipClusters.WiFiNetworkDiagnosticsCluster.BeaconRxCountAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterBeaconRxCountAttributeCallback(), + readWiFiNetworkDiagnosticsBeaconRxCountCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readBeaconRxCountAttribute", + readWiFiNetworkDiagnosticsBeaconRxCountAttributeInteractionInfo); + Map + readWiFiNetworkDiagnosticsPacketMulticastRxCountCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsPacketMulticastRxCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readPacketMulticastRxCountAttribute( + (ChipClusters.WiFiNetworkDiagnosticsCluster + .PacketMulticastRxCountAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterPacketMulticastRxCountAttributeCallback(), + readWiFiNetworkDiagnosticsPacketMulticastRxCountCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readPacketMulticastRxCountAttribute", + readWiFiNetworkDiagnosticsPacketMulticastRxCountAttributeInteractionInfo); + Map + readWiFiNetworkDiagnosticsPacketMulticastTxCountCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsPacketMulticastTxCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readPacketMulticastTxCountAttribute( + (ChipClusters.WiFiNetworkDiagnosticsCluster + .PacketMulticastTxCountAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterPacketMulticastTxCountAttributeCallback(), + readWiFiNetworkDiagnosticsPacketMulticastTxCountCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readPacketMulticastTxCountAttribute", + readWiFiNetworkDiagnosticsPacketMulticastTxCountAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsPacketUnicastRxCountCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsPacketUnicastRxCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readPacketUnicastRxCountAttribute( + (ChipClusters.WiFiNetworkDiagnosticsCluster + .PacketUnicastRxCountAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterPacketUnicastRxCountAttributeCallback(), + readWiFiNetworkDiagnosticsPacketUnicastRxCountCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readPacketUnicastRxCountAttribute", + readWiFiNetworkDiagnosticsPacketUnicastRxCountAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsPacketUnicastTxCountCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsPacketUnicastTxCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readPacketUnicastTxCountAttribute( + (ChipClusters.WiFiNetworkDiagnosticsCluster + .PacketUnicastTxCountAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterPacketUnicastTxCountAttributeCallback(), + readWiFiNetworkDiagnosticsPacketUnicastTxCountCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readPacketUnicastTxCountAttribute", + readWiFiNetworkDiagnosticsPacketUnicastTxCountAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsCurrentMaxRateCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsCurrentMaxRateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readCurrentMaxRateAttribute( + (ChipClusters.WiFiNetworkDiagnosticsCluster.CurrentMaxRateAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterCurrentMaxRateAttributeCallback(), + readWiFiNetworkDiagnosticsCurrentMaxRateCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readCurrentMaxRateAttribute", + readWiFiNetworkDiagnosticsCurrentMaxRateAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsOverrunCountCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsOverrunCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readOverrunCountAttribute( + (ChipClusters.WiFiNetworkDiagnosticsCluster.OverrunCountAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterOverrunCountAttributeCallback(), + readWiFiNetworkDiagnosticsOverrunCountCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readOverrunCountAttribute", + readWiFiNetworkDiagnosticsOverrunCountAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.WiFiNetworkDiagnosticsCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback(), + readWiFiNetworkDiagnosticsGeneratedCommandListCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readGeneratedCommandListAttribute", + readWiFiNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.WiFiNetworkDiagnosticsCluster + .AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback(), + readWiFiNetworkDiagnosticsAcceptedCommandListCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readAcceptedCommandListAttribute", + readWiFiNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readEventListAttribute( + (ChipClusters.WiFiNetworkDiagnosticsCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterEventListAttributeCallback(), + readWiFiNetworkDiagnosticsEventListCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readEventListAttribute", readWiFiNetworkDiagnosticsEventListAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.WiFiNetworkDiagnosticsCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWiFiNetworkDiagnosticsClusterAttributeListAttributeCallback(), + readWiFiNetworkDiagnosticsAttributeListCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readAttributeListAttribute", + readWiFiNetworkDiagnosticsAttributeListAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readWiFiNetworkDiagnosticsFeatureMapCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readFeatureMapAttribute", readWiFiNetworkDiagnosticsFeatureMapAttributeInteractionInfo); + Map readWiFiNetworkDiagnosticsClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readWiFiNetworkDiagnosticsClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWiFiNetworkDiagnosticsClusterRevisionCommandParams); + readWiFiNetworkDiagnosticsInteractionInfo.put( + "readClusterRevisionAttribute", + readWiFiNetworkDiagnosticsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("wiFiNetworkDiagnostics", readWiFiNetworkDiagnosticsInteractionInfo); + Map readEthernetNetworkDiagnosticsInteractionInfo = + new LinkedHashMap<>(); + Map readEthernetNetworkDiagnosticsPHYRateCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsPHYRateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readPHYRateAttribute( + (ChipClusters.EthernetNetworkDiagnosticsCluster.PHYRateAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedEthernetNetworkDiagnosticsClusterPHYRateAttributeCallback(), + readEthernetNetworkDiagnosticsPHYRateCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readPHYRateAttribute", readEthernetNetworkDiagnosticsPHYRateAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsFullDuplexCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsFullDuplexAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readFullDuplexAttribute( + (ChipClusters.EthernetNetworkDiagnosticsCluster.FullDuplexAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedEthernetNetworkDiagnosticsClusterFullDuplexAttributeCallback(), + readEthernetNetworkDiagnosticsFullDuplexCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readFullDuplexAttribute", + readEthernetNetworkDiagnosticsFullDuplexAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsPacketRxCountCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsPacketRxCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readPacketRxCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readEthernetNetworkDiagnosticsPacketRxCountCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readPacketRxCountAttribute", + readEthernetNetworkDiagnosticsPacketRxCountAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsPacketTxCountCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsPacketTxCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readPacketTxCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readEthernetNetworkDiagnosticsPacketTxCountCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readPacketTxCountAttribute", + readEthernetNetworkDiagnosticsPacketTxCountAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsTxErrCountCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsTxErrCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readTxErrCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readEthernetNetworkDiagnosticsTxErrCountCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readTxErrCountAttribute", + readEthernetNetworkDiagnosticsTxErrCountAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsCollisionCountCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsCollisionCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readCollisionCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readEthernetNetworkDiagnosticsCollisionCountCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readCollisionCountAttribute", + readEthernetNetworkDiagnosticsCollisionCountAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsOverrunCountCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsOverrunCountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readOverrunCountAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readEthernetNetworkDiagnosticsOverrunCountCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readOverrunCountAttribute", + readEthernetNetworkDiagnosticsOverrunCountAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsCarrierDetectCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsCarrierDetectAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readCarrierDetectAttribute( + (ChipClusters.EthernetNetworkDiagnosticsCluster + .CarrierDetectAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedEthernetNetworkDiagnosticsClusterCarrierDetectAttributeCallback(), + readEthernetNetworkDiagnosticsCarrierDetectCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readCarrierDetectAttribute", + readEthernetNetworkDiagnosticsCarrierDetectAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsTimeSinceResetCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsTimeSinceResetAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readTimeSinceResetAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readEthernetNetworkDiagnosticsTimeSinceResetCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readTimeSinceResetAttribute", + readEthernetNetworkDiagnosticsTimeSinceResetAttributeInteractionInfo); + Map + readEthernetNetworkDiagnosticsGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.EthernetNetworkDiagnosticsCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedEthernetNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback(), + readEthernetNetworkDiagnosticsGeneratedCommandListCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readGeneratedCommandListAttribute", + readEthernetNetworkDiagnosticsGeneratedCommandListAttributeInteractionInfo); + Map + readEthernetNetworkDiagnosticsAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.EthernetNetworkDiagnosticsCluster + .AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedEthernetNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback(), + readEthernetNetworkDiagnosticsAcceptedCommandListCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readAcceptedCommandListAttribute", + readEthernetNetworkDiagnosticsAcceptedCommandListAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readEventListAttribute( + (ChipClusters.EthernetNetworkDiagnosticsCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedEthernetNetworkDiagnosticsClusterEventListAttributeCallback(), + readEthernetNetworkDiagnosticsEventListCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readEventListAttribute", readEthernetNetworkDiagnosticsEventListAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.EthernetNetworkDiagnosticsCluster + .AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedEthernetNetworkDiagnosticsClusterAttributeListAttributeCallback(), + readEthernetNetworkDiagnosticsAttributeListCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readAttributeListAttribute", + readEthernetNetworkDiagnosticsAttributeListAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readEthernetNetworkDiagnosticsFeatureMapCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readFeatureMapAttribute", + readEthernetNetworkDiagnosticsFeatureMapAttributeInteractionInfo); + Map readEthernetNetworkDiagnosticsClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readEthernetNetworkDiagnosticsClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readEthernetNetworkDiagnosticsClusterRevisionCommandParams); + readEthernetNetworkDiagnosticsInteractionInfo.put( + "readClusterRevisionAttribute", + readEthernetNetworkDiagnosticsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put( + "ethernetNetworkDiagnostics", readEthernetNetworkDiagnosticsInteractionInfo); + Map readBridgedDeviceBasicInformationInteractionInfo = + new LinkedHashMap<>(); + Map readBridgedDeviceBasicInformationVendorNameCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationVendorNameAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) + .readVendorNameAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicInformationVendorNameCommandParams - ); - readBridgedDeviceBasicInformationInteractionInfo.put("readVendorNameAttribute", readBridgedDeviceBasicInformationVendorNameAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationVendorIDCommandParams = new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationVendorIDAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readVendorIDAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBridgedDeviceBasicInformationVendorIDCommandParams - ); - readBridgedDeviceBasicInformationInteractionInfo.put("readVendorIDAttribute", readBridgedDeviceBasicInformationVendorIDAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationProductNameCommandParams = new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationProductNameAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readProductNameAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBridgedDeviceBasicInformationVendorNameCommandParams); + readBridgedDeviceBasicInformationInteractionInfo.put( + "readVendorNameAttribute", + readBridgedDeviceBasicInformationVendorNameAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationVendorIDCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationVendorIDAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) + .readVendorIDAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBridgedDeviceBasicInformationVendorIDCommandParams); + readBridgedDeviceBasicInformationInteractionInfo.put( + "readVendorIDAttribute", readBridgedDeviceBasicInformationVendorIDAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationProductNameCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationProductNameAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) + .readProductNameAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicInformationProductNameCommandParams - ); - readBridgedDeviceBasicInformationInteractionInfo.put("readProductNameAttribute", readBridgedDeviceBasicInformationProductNameAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationNodeLabelCommandParams = new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationNodeLabelAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readNodeLabelAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBridgedDeviceBasicInformationProductNameCommandParams); + readBridgedDeviceBasicInformationInteractionInfo.put( + "readProductNameAttribute", + readBridgedDeviceBasicInformationProductNameAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationNodeLabelCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationNodeLabelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) + .readNodeLabelAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicInformationNodeLabelCommandParams - ); - readBridgedDeviceBasicInformationInteractionInfo.put("readNodeLabelAttribute", readBridgedDeviceBasicInformationNodeLabelAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationHardwareVersionCommandParams = new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationHardwareVersionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readHardwareVersionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBridgedDeviceBasicInformationHardwareVersionCommandParams - ); - readBridgedDeviceBasicInformationInteractionInfo.put("readHardwareVersionAttribute", readBridgedDeviceBasicInformationHardwareVersionAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationHardwareVersionStringCommandParams = new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationHardwareVersionStringAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readHardwareVersionStringAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBridgedDeviceBasicInformationNodeLabelCommandParams); + readBridgedDeviceBasicInformationInteractionInfo.put( + "readNodeLabelAttribute", + readBridgedDeviceBasicInformationNodeLabelAttributeInteractionInfo); + Map + readBridgedDeviceBasicInformationHardwareVersionCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationHardwareVersionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) + .readHardwareVersionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBridgedDeviceBasicInformationHardwareVersionCommandParams); + readBridgedDeviceBasicInformationInteractionInfo.put( + "readHardwareVersionAttribute", + readBridgedDeviceBasicInformationHardwareVersionAttributeInteractionInfo); + Map + readBridgedDeviceBasicInformationHardwareVersionStringCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationHardwareVersionStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) + .readHardwareVersionStringAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicInformationHardwareVersionStringCommandParams - ); - readBridgedDeviceBasicInformationInteractionInfo.put("readHardwareVersionStringAttribute", readBridgedDeviceBasicInformationHardwareVersionStringAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationSoftwareVersionCommandParams = new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationSoftwareVersionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readSoftwareVersionAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readBridgedDeviceBasicInformationSoftwareVersionCommandParams - ); - readBridgedDeviceBasicInformationInteractionInfo.put("readSoftwareVersionAttribute", readBridgedDeviceBasicInformationSoftwareVersionAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationSoftwareVersionStringCommandParams = new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationSoftwareVersionStringAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readSoftwareVersionStringAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBridgedDeviceBasicInformationHardwareVersionStringCommandParams); + readBridgedDeviceBasicInformationInteractionInfo.put( + "readHardwareVersionStringAttribute", + readBridgedDeviceBasicInformationHardwareVersionStringAttributeInteractionInfo); + Map + readBridgedDeviceBasicInformationSoftwareVersionCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationSoftwareVersionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) + .readSoftwareVersionAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readBridgedDeviceBasicInformationSoftwareVersionCommandParams); + readBridgedDeviceBasicInformationInteractionInfo.put( + "readSoftwareVersionAttribute", + readBridgedDeviceBasicInformationSoftwareVersionAttributeInteractionInfo); + Map + readBridgedDeviceBasicInformationSoftwareVersionStringCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationSoftwareVersionStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) + .readSoftwareVersionStringAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicInformationSoftwareVersionStringCommandParams - ); - readBridgedDeviceBasicInformationInteractionInfo.put("readSoftwareVersionStringAttribute", readBridgedDeviceBasicInformationSoftwareVersionStringAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationManufacturingDateCommandParams = new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationManufacturingDateAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readManufacturingDateAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBridgedDeviceBasicInformationSoftwareVersionStringCommandParams); + readBridgedDeviceBasicInformationInteractionInfo.put( + "readSoftwareVersionStringAttribute", + readBridgedDeviceBasicInformationSoftwareVersionStringAttributeInteractionInfo); + Map + readBridgedDeviceBasicInformationManufacturingDateCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationManufacturingDateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) + .readManufacturingDateAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicInformationManufacturingDateCommandParams - ); - readBridgedDeviceBasicInformationInteractionInfo.put("readManufacturingDateAttribute", readBridgedDeviceBasicInformationManufacturingDateAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationPartNumberCommandParams = new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationPartNumberAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readPartNumberAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBridgedDeviceBasicInformationManufacturingDateCommandParams); + readBridgedDeviceBasicInformationInteractionInfo.put( + "readManufacturingDateAttribute", + readBridgedDeviceBasicInformationManufacturingDateAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationPartNumberCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationPartNumberAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) + .readPartNumberAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicInformationPartNumberCommandParams - ); - readBridgedDeviceBasicInformationInteractionInfo.put("readPartNumberAttribute", readBridgedDeviceBasicInformationPartNumberAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationProductURLCommandParams = new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationProductURLAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readProductURLAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBridgedDeviceBasicInformationPartNumberCommandParams); + readBridgedDeviceBasicInformationInteractionInfo.put( + "readPartNumberAttribute", + readBridgedDeviceBasicInformationPartNumberAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationProductURLCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationProductURLAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) + .readProductURLAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicInformationProductURLCommandParams - ); - readBridgedDeviceBasicInformationInteractionInfo.put("readProductURLAttribute", readBridgedDeviceBasicInformationProductURLAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationProductLabelCommandParams = new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationProductLabelAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readProductLabelAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBridgedDeviceBasicInformationProductURLCommandParams); + readBridgedDeviceBasicInformationInteractionInfo.put( + "readProductURLAttribute", + readBridgedDeviceBasicInformationProductURLAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationProductLabelCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationProductLabelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) + .readProductLabelAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicInformationProductLabelCommandParams - ); - readBridgedDeviceBasicInformationInteractionInfo.put("readProductLabelAttribute", readBridgedDeviceBasicInformationProductLabelAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationSerialNumberCommandParams = new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationSerialNumberAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readSerialNumberAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBridgedDeviceBasicInformationProductLabelCommandParams); + readBridgedDeviceBasicInformationInteractionInfo.put( + "readProductLabelAttribute", + readBridgedDeviceBasicInformationProductLabelAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationSerialNumberCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationSerialNumberAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) + .readSerialNumberAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicInformationSerialNumberCommandParams - ); - readBridgedDeviceBasicInformationInteractionInfo.put("readSerialNumberAttribute", readBridgedDeviceBasicInformationSerialNumberAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationReachableCommandParams = new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationReachableAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readReachableAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readBridgedDeviceBasicInformationSerialNumberCommandParams); + readBridgedDeviceBasicInformationInteractionInfo.put( + "readSerialNumberAttribute", + readBridgedDeviceBasicInformationSerialNumberAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationReachableCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationReachableAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) + .readReachableAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readBridgedDeviceBasicInformationReachableCommandParams - ); - readBridgedDeviceBasicInformationInteractionInfo.put("readReachableAttribute", readBridgedDeviceBasicInformationReachableAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationUniqueIDCommandParams = new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationUniqueIDAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readUniqueIDAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBridgedDeviceBasicInformationReachableCommandParams); + readBridgedDeviceBasicInformationInteractionInfo.put( + "readReachableAttribute", + readBridgedDeviceBasicInformationReachableAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationUniqueIDCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationUniqueIDAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) + .readUniqueIDAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBridgedDeviceBasicInformationUniqueIDCommandParams - ); - readBridgedDeviceBasicInformationInteractionInfo.put("readUniqueIDAttribute", readBridgedDeviceBasicInformationUniqueIDAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.BridgedDeviceBasicInformationCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBridgedDeviceBasicInformationClusterGeneratedCommandListAttributeCallback(), - readBridgedDeviceBasicInformationGeneratedCommandListCommandParams - ); - readBridgedDeviceBasicInformationInteractionInfo.put("readGeneratedCommandListAttribute", readBridgedDeviceBasicInformationGeneratedCommandListAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.BridgedDeviceBasicInformationCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBridgedDeviceBasicInformationClusterAcceptedCommandListAttributeCallback(), - readBridgedDeviceBasicInformationAcceptedCommandListCommandParams - ); - readBridgedDeviceBasicInformationInteractionInfo.put("readAcceptedCommandListAttribute", readBridgedDeviceBasicInformationAcceptedCommandListAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationEventListCommandParams = new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readEventListAttribute( - ( ChipClusters.BridgedDeviceBasicInformationCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBridgedDeviceBasicInformationClusterEventListAttributeCallback(), - readBridgedDeviceBasicInformationEventListCommandParams - ); - readBridgedDeviceBasicInformationInteractionInfo.put("readEventListAttribute", readBridgedDeviceBasicInformationEventListAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readAttributeListAttribute( - ( ChipClusters.BridgedDeviceBasicInformationCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBridgedDeviceBasicInformationClusterAttributeListAttributeCallback(), - readBridgedDeviceBasicInformationAttributeListCommandParams - ); - readBridgedDeviceBasicInformationInteractionInfo.put("readAttributeListAttribute", readBridgedDeviceBasicInformationAttributeListAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readBridgedDeviceBasicInformationFeatureMapCommandParams - ); - readBridgedDeviceBasicInformationInteractionInfo.put("readFeatureMapAttribute", readBridgedDeviceBasicInformationFeatureMapAttributeInteractionInfo); - Map readBridgedDeviceBasicInformationClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readBridgedDeviceBasicInformationClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBridgedDeviceBasicInformationClusterRevisionCommandParams - ); - readBridgedDeviceBasicInformationInteractionInfo.put("readClusterRevisionAttribute", readBridgedDeviceBasicInformationClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("bridgedDeviceBasicInformation", readBridgedDeviceBasicInformationInteractionInfo); - Map readSwitchInteractionInfo = new LinkedHashMap<>(); - Map readSwitchNumberOfPositionsCommandParams = new LinkedHashMap(); - InteractionInfo readSwitchNumberOfPositionsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster).readNumberOfPositionsAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readSwitchNumberOfPositionsCommandParams - ); - readSwitchInteractionInfo.put("readNumberOfPositionsAttribute", readSwitchNumberOfPositionsAttributeInteractionInfo); - Map readSwitchCurrentPositionCommandParams = new LinkedHashMap(); - InteractionInfo readSwitchCurrentPositionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster).readCurrentPositionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readSwitchCurrentPositionCommandParams - ); - readSwitchInteractionInfo.put("readCurrentPositionAttribute", readSwitchCurrentPositionAttributeInteractionInfo); - Map readSwitchMultiPressMaxCommandParams = new LinkedHashMap(); - InteractionInfo readSwitchMultiPressMaxAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster).readMultiPressMaxAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readSwitchMultiPressMaxCommandParams - ); - readSwitchInteractionInfo.put("readMultiPressMaxAttribute", readSwitchMultiPressMaxAttributeInteractionInfo); - Map readSwitchGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readSwitchGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.SwitchCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedSwitchClusterGeneratedCommandListAttributeCallback(), - readSwitchGeneratedCommandListCommandParams - ); - readSwitchInteractionInfo.put("readGeneratedCommandListAttribute", readSwitchGeneratedCommandListAttributeInteractionInfo); - Map readSwitchAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readSwitchAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.SwitchCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedSwitchClusterAcceptedCommandListAttributeCallback(), - readSwitchAcceptedCommandListCommandParams - ); - readSwitchInteractionInfo.put("readAcceptedCommandListAttribute", readSwitchAcceptedCommandListAttributeInteractionInfo); - Map readSwitchEventListCommandParams = new LinkedHashMap(); - InteractionInfo readSwitchEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster).readEventListAttribute( - ( ChipClusters.SwitchCluster.EventListAttributeCallback - ) callback - ); - }, + readBridgedDeviceBasicInformationUniqueIDCommandParams); + readBridgedDeviceBasicInformationInteractionInfo.put( + "readUniqueIDAttribute", readBridgedDeviceBasicInformationUniqueIDAttributeInteractionInfo); + Map + readBridgedDeviceBasicInformationGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.BridgedDeviceBasicInformationCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBridgedDeviceBasicInformationClusterGeneratedCommandListAttributeCallback(), + readBridgedDeviceBasicInformationGeneratedCommandListCommandParams); + readBridgedDeviceBasicInformationInteractionInfo.put( + "readGeneratedCommandListAttribute", + readBridgedDeviceBasicInformationGeneratedCommandListAttributeInteractionInfo); + Map + readBridgedDeviceBasicInformationAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.BridgedDeviceBasicInformationCluster + .AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBridgedDeviceBasicInformationClusterAcceptedCommandListAttributeCallback(), + readBridgedDeviceBasicInformationAcceptedCommandListCommandParams); + readBridgedDeviceBasicInformationInteractionInfo.put( + "readAcceptedCommandListAttribute", + readBridgedDeviceBasicInformationAcceptedCommandListAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) + .readEventListAttribute( + (ChipClusters.BridgedDeviceBasicInformationCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBridgedDeviceBasicInformationClusterEventListAttributeCallback(), + readBridgedDeviceBasicInformationEventListCommandParams); + readBridgedDeviceBasicInformationInteractionInfo.put( + "readEventListAttribute", + readBridgedDeviceBasicInformationEventListAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.BridgedDeviceBasicInformationCluster + .AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBridgedDeviceBasicInformationClusterAttributeListAttributeCallback(), + readBridgedDeviceBasicInformationAttributeListCommandParams); + readBridgedDeviceBasicInformationInteractionInfo.put( + "readAttributeListAttribute", + readBridgedDeviceBasicInformationAttributeListAttributeInteractionInfo); + Map readBridgedDeviceBasicInformationFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readBridgedDeviceBasicInformationFeatureMapCommandParams); + readBridgedDeviceBasicInformationInteractionInfo.put( + "readFeatureMapAttribute", + readBridgedDeviceBasicInformationFeatureMapAttributeInteractionInfo); + Map + readBridgedDeviceBasicInformationClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readBridgedDeviceBasicInformationClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBridgedDeviceBasicInformationClusterRevisionCommandParams); + readBridgedDeviceBasicInformationInteractionInfo.put( + "readClusterRevisionAttribute", + readBridgedDeviceBasicInformationClusterRevisionAttributeInteractionInfo); + readAttributeMap.put( + "bridgedDeviceBasicInformation", readBridgedDeviceBasicInformationInteractionInfo); + Map readSwitchInteractionInfo = new LinkedHashMap<>(); + Map readSwitchNumberOfPositionsCommandParams = + new LinkedHashMap(); + InteractionInfo readSwitchNumberOfPositionsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster) + .readNumberOfPositionsAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readSwitchNumberOfPositionsCommandParams); + readSwitchInteractionInfo.put( + "readNumberOfPositionsAttribute", readSwitchNumberOfPositionsAttributeInteractionInfo); + Map readSwitchCurrentPositionCommandParams = + new LinkedHashMap(); + InteractionInfo readSwitchCurrentPositionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster) + .readCurrentPositionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readSwitchCurrentPositionCommandParams); + readSwitchInteractionInfo.put( + "readCurrentPositionAttribute", readSwitchCurrentPositionAttributeInteractionInfo); + Map readSwitchMultiPressMaxCommandParams = + new LinkedHashMap(); + InteractionInfo readSwitchMultiPressMaxAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster) + .readMultiPressMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readSwitchMultiPressMaxCommandParams); + readSwitchInteractionInfo.put( + "readMultiPressMaxAttribute", readSwitchMultiPressMaxAttributeInteractionInfo); + Map readSwitchGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readSwitchGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.SwitchCluster.GeneratedCommandListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedSwitchClusterGeneratedCommandListAttributeCallback(), + readSwitchGeneratedCommandListCommandParams); + readSwitchInteractionInfo.put( + "readGeneratedCommandListAttribute", + readSwitchGeneratedCommandListAttributeInteractionInfo); + Map readSwitchAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readSwitchAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.SwitchCluster.AcceptedCommandListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedSwitchClusterAcceptedCommandListAttributeCallback(), + readSwitchAcceptedCommandListCommandParams); + readSwitchInteractionInfo.put( + "readAcceptedCommandListAttribute", readSwitchAcceptedCommandListAttributeInteractionInfo); + Map readSwitchEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readSwitchEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster) + .readEventListAttribute( + (ChipClusters.SwitchCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedSwitchClusterEventListAttributeCallback(), - readSwitchEventListCommandParams - ); - readSwitchInteractionInfo.put("readEventListAttribute", readSwitchEventListAttributeInteractionInfo); - Map readSwitchAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readSwitchAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster).readAttributeListAttribute( - ( ChipClusters.SwitchCluster.AttributeListAttributeCallback - ) callback - ); - }, + readSwitchEventListCommandParams); + readSwitchInteractionInfo.put( + "readEventListAttribute", readSwitchEventListAttributeInteractionInfo); + Map readSwitchAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readSwitchAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.SwitchCluster.AttributeListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedSwitchClusterAttributeListAttributeCallback(), - readSwitchAttributeListCommandParams - ); - readSwitchInteractionInfo.put("readAttributeListAttribute", readSwitchAttributeListAttributeInteractionInfo); - Map readSwitchFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readSwitchFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readSwitchFeatureMapCommandParams - ); - readSwitchInteractionInfo.put("readFeatureMapAttribute", readSwitchFeatureMapAttributeInteractionInfo); - Map readSwitchClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readSwitchClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SwitchCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readSwitchClusterRevisionCommandParams - ); - readSwitchInteractionInfo.put("readClusterRevisionAttribute", readSwitchClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("switch", readSwitchInteractionInfo); - Map readAdministratorCommissioningInteractionInfo = new LinkedHashMap<>(); - Map readAdministratorCommissioningWindowStatusCommandParams = new LinkedHashMap(); - InteractionInfo readAdministratorCommissioningWindowStatusAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AdministratorCommissioningCluster) cluster).readWindowStatusAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readAdministratorCommissioningWindowStatusCommandParams - ); - readAdministratorCommissioningInteractionInfo.put("readWindowStatusAttribute", readAdministratorCommissioningWindowStatusAttributeInteractionInfo); - Map readAdministratorCommissioningAdminFabricIndexCommandParams = new LinkedHashMap(); - InteractionInfo readAdministratorCommissioningAdminFabricIndexAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AdministratorCommissioningCluster) cluster).readAdminFabricIndexAttribute( - ( ChipClusters.AdministratorCommissioningCluster.AdminFabricIndexAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedAdministratorCommissioningClusterAdminFabricIndexAttributeCallback(), - readAdministratorCommissioningAdminFabricIndexCommandParams - ); - readAdministratorCommissioningInteractionInfo.put("readAdminFabricIndexAttribute", readAdministratorCommissioningAdminFabricIndexAttributeInteractionInfo); - Map readAdministratorCommissioningAdminVendorIdCommandParams = new LinkedHashMap(); - InteractionInfo readAdministratorCommissioningAdminVendorIdAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AdministratorCommissioningCluster) cluster).readAdminVendorIdAttribute( - ( ChipClusters.AdministratorCommissioningCluster.AdminVendorIdAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedAdministratorCommissioningClusterAdminVendorIdAttributeCallback(), - readAdministratorCommissioningAdminVendorIdCommandParams - ); - readAdministratorCommissioningInteractionInfo.put("readAdminVendorIdAttribute", readAdministratorCommissioningAdminVendorIdAttributeInteractionInfo); - Map readAdministratorCommissioningGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readAdministratorCommissioningGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AdministratorCommissioningCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.AdministratorCommissioningCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedAdministratorCommissioningClusterGeneratedCommandListAttributeCallback(), - readAdministratorCommissioningGeneratedCommandListCommandParams - ); - readAdministratorCommissioningInteractionInfo.put("readGeneratedCommandListAttribute", readAdministratorCommissioningGeneratedCommandListAttributeInteractionInfo); - Map readAdministratorCommissioningAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readAdministratorCommissioningAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AdministratorCommissioningCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.AdministratorCommissioningCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedAdministratorCommissioningClusterAcceptedCommandListAttributeCallback(), - readAdministratorCommissioningAcceptedCommandListCommandParams - ); - readAdministratorCommissioningInteractionInfo.put("readAcceptedCommandListAttribute", readAdministratorCommissioningAcceptedCommandListAttributeInteractionInfo); - Map readAdministratorCommissioningEventListCommandParams = new LinkedHashMap(); - InteractionInfo readAdministratorCommissioningEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AdministratorCommissioningCluster) cluster).readEventListAttribute( - ( ChipClusters.AdministratorCommissioningCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedAdministratorCommissioningClusterEventListAttributeCallback(), - readAdministratorCommissioningEventListCommandParams - ); - readAdministratorCommissioningInteractionInfo.put("readEventListAttribute", readAdministratorCommissioningEventListAttributeInteractionInfo); - Map readAdministratorCommissioningAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readAdministratorCommissioningAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AdministratorCommissioningCluster) cluster).readAttributeListAttribute( - ( ChipClusters.AdministratorCommissioningCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedAdministratorCommissioningClusterAttributeListAttributeCallback(), - readAdministratorCommissioningAttributeListCommandParams - ); - readAdministratorCommissioningInteractionInfo.put("readAttributeListAttribute", readAdministratorCommissioningAttributeListAttributeInteractionInfo); - Map readAdministratorCommissioningFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readAdministratorCommissioningFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AdministratorCommissioningCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readAdministratorCommissioningFeatureMapCommandParams - ); - readAdministratorCommissioningInteractionInfo.put("readFeatureMapAttribute", readAdministratorCommissioningFeatureMapAttributeInteractionInfo); - Map readAdministratorCommissioningClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readAdministratorCommissioningClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AdministratorCommissioningCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readAdministratorCommissioningClusterRevisionCommandParams - ); - readAdministratorCommissioningInteractionInfo.put("readClusterRevisionAttribute", readAdministratorCommissioningClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("administratorCommissioning", readAdministratorCommissioningInteractionInfo); - Map readOperationalCredentialsInteractionInfo = new LinkedHashMap<>(); - Map readOperationalCredentialsNOCsCommandParams = new LinkedHashMap(); - InteractionInfo readOperationalCredentialsNOCsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster).readNOCsAttribute( - ( ChipClusters.OperationalCredentialsCluster.NOCsAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOperationalCredentialsClusterNOCsAttributeCallback(), - readOperationalCredentialsNOCsCommandParams - ); - readOperationalCredentialsInteractionInfo.put("readNOCsAttribute", readOperationalCredentialsNOCsAttributeInteractionInfo); - Map readOperationalCredentialsFabricsCommandParams = new LinkedHashMap(); - InteractionInfo readOperationalCredentialsFabricsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster).readFabricsAttribute( - ( ChipClusters.OperationalCredentialsCluster.FabricsAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOperationalCredentialsClusterFabricsAttributeCallback(), - readOperationalCredentialsFabricsCommandParams - ); - readOperationalCredentialsInteractionInfo.put("readFabricsAttribute", readOperationalCredentialsFabricsAttributeInteractionInfo); - Map readOperationalCredentialsSupportedFabricsCommandParams = new LinkedHashMap(); - InteractionInfo readOperationalCredentialsSupportedFabricsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster).readSupportedFabricsAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOperationalCredentialsSupportedFabricsCommandParams - ); - readOperationalCredentialsInteractionInfo.put("readSupportedFabricsAttribute", readOperationalCredentialsSupportedFabricsAttributeInteractionInfo); - Map readOperationalCredentialsCommissionedFabricsCommandParams = new LinkedHashMap(); - InteractionInfo readOperationalCredentialsCommissionedFabricsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster).readCommissionedFabricsAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOperationalCredentialsCommissionedFabricsCommandParams - ); - readOperationalCredentialsInteractionInfo.put("readCommissionedFabricsAttribute", readOperationalCredentialsCommissionedFabricsAttributeInteractionInfo); - Map readOperationalCredentialsTrustedRootCertificatesCommandParams = new LinkedHashMap(); - InteractionInfo readOperationalCredentialsTrustedRootCertificatesAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster).readTrustedRootCertificatesAttribute( - ( ChipClusters.OperationalCredentialsCluster.TrustedRootCertificatesAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOperationalCredentialsClusterTrustedRootCertificatesAttributeCallback(), - readOperationalCredentialsTrustedRootCertificatesCommandParams - ); - readOperationalCredentialsInteractionInfo.put("readTrustedRootCertificatesAttribute", readOperationalCredentialsTrustedRootCertificatesAttributeInteractionInfo); - Map readOperationalCredentialsCurrentFabricIndexCommandParams = new LinkedHashMap(); - InteractionInfo readOperationalCredentialsCurrentFabricIndexAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster).readCurrentFabricIndexAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOperationalCredentialsCurrentFabricIndexCommandParams - ); - readOperationalCredentialsInteractionInfo.put("readCurrentFabricIndexAttribute", readOperationalCredentialsCurrentFabricIndexAttributeInteractionInfo); - Map readOperationalCredentialsGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readOperationalCredentialsGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.OperationalCredentialsCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOperationalCredentialsClusterGeneratedCommandListAttributeCallback(), - readOperationalCredentialsGeneratedCommandListCommandParams - ); - readOperationalCredentialsInteractionInfo.put("readGeneratedCommandListAttribute", readOperationalCredentialsGeneratedCommandListAttributeInteractionInfo); - Map readOperationalCredentialsAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readOperationalCredentialsAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.OperationalCredentialsCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOperationalCredentialsClusterAcceptedCommandListAttributeCallback(), - readOperationalCredentialsAcceptedCommandListCommandParams - ); - readOperationalCredentialsInteractionInfo.put("readAcceptedCommandListAttribute", readOperationalCredentialsAcceptedCommandListAttributeInteractionInfo); - Map readOperationalCredentialsEventListCommandParams = new LinkedHashMap(); - InteractionInfo readOperationalCredentialsEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster).readEventListAttribute( - ( ChipClusters.OperationalCredentialsCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOperationalCredentialsClusterEventListAttributeCallback(), - readOperationalCredentialsEventListCommandParams - ); - readOperationalCredentialsInteractionInfo.put("readEventListAttribute", readOperationalCredentialsEventListAttributeInteractionInfo); - Map readOperationalCredentialsAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readOperationalCredentialsAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster).readAttributeListAttribute( - ( ChipClusters.OperationalCredentialsCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOperationalCredentialsClusterAttributeListAttributeCallback(), - readOperationalCredentialsAttributeListCommandParams - ); - readOperationalCredentialsInteractionInfo.put("readAttributeListAttribute", readOperationalCredentialsAttributeListAttributeInteractionInfo); - Map readOperationalCredentialsFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readOperationalCredentialsFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readOperationalCredentialsFeatureMapCommandParams - ); - readOperationalCredentialsInteractionInfo.put("readFeatureMapAttribute", readOperationalCredentialsFeatureMapAttributeInteractionInfo); - Map readOperationalCredentialsClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readOperationalCredentialsClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOperationalCredentialsClusterRevisionCommandParams - ); - readOperationalCredentialsInteractionInfo.put("readClusterRevisionAttribute", readOperationalCredentialsClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("operationalCredentials", readOperationalCredentialsInteractionInfo); - Map readGroupKeyManagementInteractionInfo = new LinkedHashMap<>(); - Map readGroupKeyManagementGroupKeyMapCommandParams = new LinkedHashMap(); - InteractionInfo readGroupKeyManagementGroupKeyMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster).readGroupKeyMapAttribute( - ( ChipClusters.GroupKeyManagementCluster.GroupKeyMapAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedGroupKeyManagementClusterGroupKeyMapAttributeCallback(), - readGroupKeyManagementGroupKeyMapCommandParams - ); - readGroupKeyManagementInteractionInfo.put("readGroupKeyMapAttribute", readGroupKeyManagementGroupKeyMapAttributeInteractionInfo); - Map readGroupKeyManagementGroupTableCommandParams = new LinkedHashMap(); - InteractionInfo readGroupKeyManagementGroupTableAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster).readGroupTableAttribute( - ( ChipClusters.GroupKeyManagementCluster.GroupTableAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedGroupKeyManagementClusterGroupTableAttributeCallback(), - readGroupKeyManagementGroupTableCommandParams - ); - readGroupKeyManagementInteractionInfo.put("readGroupTableAttribute", readGroupKeyManagementGroupTableAttributeInteractionInfo); - Map readGroupKeyManagementMaxGroupsPerFabricCommandParams = new LinkedHashMap(); - InteractionInfo readGroupKeyManagementMaxGroupsPerFabricAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster).readMaxGroupsPerFabricAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readGroupKeyManagementMaxGroupsPerFabricCommandParams - ); - readGroupKeyManagementInteractionInfo.put("readMaxGroupsPerFabricAttribute", readGroupKeyManagementMaxGroupsPerFabricAttributeInteractionInfo); - Map readGroupKeyManagementMaxGroupKeysPerFabricCommandParams = new LinkedHashMap(); - InteractionInfo readGroupKeyManagementMaxGroupKeysPerFabricAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster).readMaxGroupKeysPerFabricAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readGroupKeyManagementMaxGroupKeysPerFabricCommandParams - ); - readGroupKeyManagementInteractionInfo.put("readMaxGroupKeysPerFabricAttribute", readGroupKeyManagementMaxGroupKeysPerFabricAttributeInteractionInfo); - Map readGroupKeyManagementGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readGroupKeyManagementGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.GroupKeyManagementCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedGroupKeyManagementClusterGeneratedCommandListAttributeCallback(), - readGroupKeyManagementGeneratedCommandListCommandParams - ); - readGroupKeyManagementInteractionInfo.put("readGeneratedCommandListAttribute", readGroupKeyManagementGeneratedCommandListAttributeInteractionInfo); - Map readGroupKeyManagementAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readGroupKeyManagementAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.GroupKeyManagementCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedGroupKeyManagementClusterAcceptedCommandListAttributeCallback(), - readGroupKeyManagementAcceptedCommandListCommandParams - ); - readGroupKeyManagementInteractionInfo.put("readAcceptedCommandListAttribute", readGroupKeyManagementAcceptedCommandListAttributeInteractionInfo); - Map readGroupKeyManagementEventListCommandParams = new LinkedHashMap(); - InteractionInfo readGroupKeyManagementEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster).readEventListAttribute( - ( ChipClusters.GroupKeyManagementCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedGroupKeyManagementClusterEventListAttributeCallback(), - readGroupKeyManagementEventListCommandParams - ); - readGroupKeyManagementInteractionInfo.put("readEventListAttribute", readGroupKeyManagementEventListAttributeInteractionInfo); - Map readGroupKeyManagementAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readGroupKeyManagementAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster).readAttributeListAttribute( - ( ChipClusters.GroupKeyManagementCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedGroupKeyManagementClusterAttributeListAttributeCallback(), - readGroupKeyManagementAttributeListCommandParams - ); - readGroupKeyManagementInteractionInfo.put("readAttributeListAttribute", readGroupKeyManagementAttributeListAttributeInteractionInfo); - Map readGroupKeyManagementFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readGroupKeyManagementFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readGroupKeyManagementFeatureMapCommandParams - ); - readGroupKeyManagementInteractionInfo.put("readFeatureMapAttribute", readGroupKeyManagementFeatureMapAttributeInteractionInfo); - Map readGroupKeyManagementClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readGroupKeyManagementClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readGroupKeyManagementClusterRevisionCommandParams - ); - readGroupKeyManagementInteractionInfo.put("readClusterRevisionAttribute", readGroupKeyManagementClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("groupKeyManagement", readGroupKeyManagementInteractionInfo); - Map readFixedLabelInteractionInfo = new LinkedHashMap<>(); - Map readFixedLabelLabelListCommandParams = new LinkedHashMap(); - InteractionInfo readFixedLabelLabelListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FixedLabelCluster) cluster).readLabelListAttribute( - ( ChipClusters.FixedLabelCluster.LabelListAttributeCallback - ) callback - ); - }, + readSwitchAttributeListCommandParams); + readSwitchInteractionInfo.put( + "readAttributeListAttribute", readSwitchAttributeListAttributeInteractionInfo); + Map readSwitchFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readSwitchFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readSwitchFeatureMapCommandParams); + readSwitchInteractionInfo.put( + "readFeatureMapAttribute", readSwitchFeatureMapAttributeInteractionInfo); + Map readSwitchClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readSwitchClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SwitchCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readSwitchClusterRevisionCommandParams); + readSwitchInteractionInfo.put( + "readClusterRevisionAttribute", readSwitchClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("switch", readSwitchInteractionInfo); + Map readAdministratorCommissioningInteractionInfo = + new LinkedHashMap<>(); + Map readAdministratorCommissioningWindowStatusCommandParams = + new LinkedHashMap(); + InteractionInfo readAdministratorCommissioningWindowStatusAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AdministratorCommissioningCluster) cluster) + .readWindowStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readAdministratorCommissioningWindowStatusCommandParams); + readAdministratorCommissioningInteractionInfo.put( + "readWindowStatusAttribute", + readAdministratorCommissioningWindowStatusAttributeInteractionInfo); + Map readAdministratorCommissioningAdminFabricIndexCommandParams = + new LinkedHashMap(); + InteractionInfo readAdministratorCommissioningAdminFabricIndexAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AdministratorCommissioningCluster) cluster) + .readAdminFabricIndexAttribute( + (ChipClusters.AdministratorCommissioningCluster + .AdminFabricIndexAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedAdministratorCommissioningClusterAdminFabricIndexAttributeCallback(), + readAdministratorCommissioningAdminFabricIndexCommandParams); + readAdministratorCommissioningInteractionInfo.put( + "readAdminFabricIndexAttribute", + readAdministratorCommissioningAdminFabricIndexAttributeInteractionInfo); + Map readAdministratorCommissioningAdminVendorIdCommandParams = + new LinkedHashMap(); + InteractionInfo readAdministratorCommissioningAdminVendorIdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AdministratorCommissioningCluster) cluster) + .readAdminVendorIdAttribute( + (ChipClusters.AdministratorCommissioningCluster + .AdminVendorIdAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedAdministratorCommissioningClusterAdminVendorIdAttributeCallback(), + readAdministratorCommissioningAdminVendorIdCommandParams); + readAdministratorCommissioningInteractionInfo.put( + "readAdminVendorIdAttribute", + readAdministratorCommissioningAdminVendorIdAttributeInteractionInfo); + Map + readAdministratorCommissioningGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readAdministratorCommissioningGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AdministratorCommissioningCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.AdministratorCommissioningCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedAdministratorCommissioningClusterGeneratedCommandListAttributeCallback(), + readAdministratorCommissioningGeneratedCommandListCommandParams); + readAdministratorCommissioningInteractionInfo.put( + "readGeneratedCommandListAttribute", + readAdministratorCommissioningGeneratedCommandListAttributeInteractionInfo); + Map + readAdministratorCommissioningAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readAdministratorCommissioningAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AdministratorCommissioningCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.AdministratorCommissioningCluster + .AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedAdministratorCommissioningClusterAcceptedCommandListAttributeCallback(), + readAdministratorCommissioningAcceptedCommandListCommandParams); + readAdministratorCommissioningInteractionInfo.put( + "readAcceptedCommandListAttribute", + readAdministratorCommissioningAcceptedCommandListAttributeInteractionInfo); + Map readAdministratorCommissioningEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readAdministratorCommissioningEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AdministratorCommissioningCluster) cluster) + .readEventListAttribute( + (ChipClusters.AdministratorCommissioningCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedAdministratorCommissioningClusterEventListAttributeCallback(), + readAdministratorCommissioningEventListCommandParams); + readAdministratorCommissioningInteractionInfo.put( + "readEventListAttribute", readAdministratorCommissioningEventListAttributeInteractionInfo); + Map readAdministratorCommissioningAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readAdministratorCommissioningAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AdministratorCommissioningCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.AdministratorCommissioningCluster + .AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedAdministratorCommissioningClusterAttributeListAttributeCallback(), + readAdministratorCommissioningAttributeListCommandParams); + readAdministratorCommissioningInteractionInfo.put( + "readAttributeListAttribute", + readAdministratorCommissioningAttributeListAttributeInteractionInfo); + Map readAdministratorCommissioningFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readAdministratorCommissioningFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AdministratorCommissioningCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readAdministratorCommissioningFeatureMapCommandParams); + readAdministratorCommissioningInteractionInfo.put( + "readFeatureMapAttribute", + readAdministratorCommissioningFeatureMapAttributeInteractionInfo); + Map readAdministratorCommissioningClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readAdministratorCommissioningClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AdministratorCommissioningCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readAdministratorCommissioningClusterRevisionCommandParams); + readAdministratorCommissioningInteractionInfo.put( + "readClusterRevisionAttribute", + readAdministratorCommissioningClusterRevisionAttributeInteractionInfo); + readAttributeMap.put( + "administratorCommissioning", readAdministratorCommissioningInteractionInfo); + Map readOperationalCredentialsInteractionInfo = new LinkedHashMap<>(); + Map readOperationalCredentialsNOCsCommandParams = + new LinkedHashMap(); + InteractionInfo readOperationalCredentialsNOCsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .readNOCsAttribute( + (ChipClusters.OperationalCredentialsCluster.NOCsAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOperationalCredentialsClusterNOCsAttributeCallback(), + readOperationalCredentialsNOCsCommandParams); + readOperationalCredentialsInteractionInfo.put( + "readNOCsAttribute", readOperationalCredentialsNOCsAttributeInteractionInfo); + Map readOperationalCredentialsFabricsCommandParams = + new LinkedHashMap(); + InteractionInfo readOperationalCredentialsFabricsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .readFabricsAttribute( + (ChipClusters.OperationalCredentialsCluster.FabricsAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOperationalCredentialsClusterFabricsAttributeCallback(), + readOperationalCredentialsFabricsCommandParams); + readOperationalCredentialsInteractionInfo.put( + "readFabricsAttribute", readOperationalCredentialsFabricsAttributeInteractionInfo); + Map readOperationalCredentialsSupportedFabricsCommandParams = + new LinkedHashMap(); + InteractionInfo readOperationalCredentialsSupportedFabricsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .readSupportedFabricsAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOperationalCredentialsSupportedFabricsCommandParams); + readOperationalCredentialsInteractionInfo.put( + "readSupportedFabricsAttribute", + readOperationalCredentialsSupportedFabricsAttributeInteractionInfo); + Map readOperationalCredentialsCommissionedFabricsCommandParams = + new LinkedHashMap(); + InteractionInfo readOperationalCredentialsCommissionedFabricsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .readCommissionedFabricsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOperationalCredentialsCommissionedFabricsCommandParams); + readOperationalCredentialsInteractionInfo.put( + "readCommissionedFabricsAttribute", + readOperationalCredentialsCommissionedFabricsAttributeInteractionInfo); + Map + readOperationalCredentialsTrustedRootCertificatesCommandParams = + new LinkedHashMap(); + InteractionInfo readOperationalCredentialsTrustedRootCertificatesAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .readTrustedRootCertificatesAttribute( + (ChipClusters.OperationalCredentialsCluster + .TrustedRootCertificatesAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOperationalCredentialsClusterTrustedRootCertificatesAttributeCallback(), + readOperationalCredentialsTrustedRootCertificatesCommandParams); + readOperationalCredentialsInteractionInfo.put( + "readTrustedRootCertificatesAttribute", + readOperationalCredentialsTrustedRootCertificatesAttributeInteractionInfo); + Map readOperationalCredentialsCurrentFabricIndexCommandParams = + new LinkedHashMap(); + InteractionInfo readOperationalCredentialsCurrentFabricIndexAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .readCurrentFabricIndexAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOperationalCredentialsCurrentFabricIndexCommandParams); + readOperationalCredentialsInteractionInfo.put( + "readCurrentFabricIndexAttribute", + readOperationalCredentialsCurrentFabricIndexAttributeInteractionInfo); + Map readOperationalCredentialsGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readOperationalCredentialsGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.OperationalCredentialsCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOperationalCredentialsClusterGeneratedCommandListAttributeCallback(), + readOperationalCredentialsGeneratedCommandListCommandParams); + readOperationalCredentialsInteractionInfo.put( + "readGeneratedCommandListAttribute", + readOperationalCredentialsGeneratedCommandListAttributeInteractionInfo); + Map readOperationalCredentialsAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readOperationalCredentialsAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.OperationalCredentialsCluster + .AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOperationalCredentialsClusterAcceptedCommandListAttributeCallback(), + readOperationalCredentialsAcceptedCommandListCommandParams); + readOperationalCredentialsInteractionInfo.put( + "readAcceptedCommandListAttribute", + readOperationalCredentialsAcceptedCommandListAttributeInteractionInfo); + Map readOperationalCredentialsEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readOperationalCredentialsEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .readEventListAttribute( + (ChipClusters.OperationalCredentialsCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOperationalCredentialsClusterEventListAttributeCallback(), + readOperationalCredentialsEventListCommandParams); + readOperationalCredentialsInteractionInfo.put( + "readEventListAttribute", readOperationalCredentialsEventListAttributeInteractionInfo); + Map readOperationalCredentialsAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readOperationalCredentialsAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.OperationalCredentialsCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOperationalCredentialsClusterAttributeListAttributeCallback(), + readOperationalCredentialsAttributeListCommandParams); + readOperationalCredentialsInteractionInfo.put( + "readAttributeListAttribute", + readOperationalCredentialsAttributeListAttributeInteractionInfo); + Map readOperationalCredentialsFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readOperationalCredentialsFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readOperationalCredentialsFeatureMapCommandParams); + readOperationalCredentialsInteractionInfo.put( + "readFeatureMapAttribute", readOperationalCredentialsFeatureMapAttributeInteractionInfo); + Map readOperationalCredentialsClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readOperationalCredentialsClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOperationalCredentialsClusterRevisionCommandParams); + readOperationalCredentialsInteractionInfo.put( + "readClusterRevisionAttribute", + readOperationalCredentialsClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("operationalCredentials", readOperationalCredentialsInteractionInfo); + Map readGroupKeyManagementInteractionInfo = new LinkedHashMap<>(); + Map readGroupKeyManagementGroupKeyMapCommandParams = + new LinkedHashMap(); + InteractionInfo readGroupKeyManagementGroupKeyMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster) + .readGroupKeyMapAttribute( + (ChipClusters.GroupKeyManagementCluster.GroupKeyMapAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedGroupKeyManagementClusterGroupKeyMapAttributeCallback(), + readGroupKeyManagementGroupKeyMapCommandParams); + readGroupKeyManagementInteractionInfo.put( + "readGroupKeyMapAttribute", readGroupKeyManagementGroupKeyMapAttributeInteractionInfo); + Map readGroupKeyManagementGroupTableCommandParams = + new LinkedHashMap(); + InteractionInfo readGroupKeyManagementGroupTableAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster) + .readGroupTableAttribute( + (ChipClusters.GroupKeyManagementCluster.GroupTableAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedGroupKeyManagementClusterGroupTableAttributeCallback(), + readGroupKeyManagementGroupTableCommandParams); + readGroupKeyManagementInteractionInfo.put( + "readGroupTableAttribute", readGroupKeyManagementGroupTableAttributeInteractionInfo); + Map readGroupKeyManagementMaxGroupsPerFabricCommandParams = + new LinkedHashMap(); + InteractionInfo readGroupKeyManagementMaxGroupsPerFabricAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster) + .readMaxGroupsPerFabricAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readGroupKeyManagementMaxGroupsPerFabricCommandParams); + readGroupKeyManagementInteractionInfo.put( + "readMaxGroupsPerFabricAttribute", + readGroupKeyManagementMaxGroupsPerFabricAttributeInteractionInfo); + Map readGroupKeyManagementMaxGroupKeysPerFabricCommandParams = + new LinkedHashMap(); + InteractionInfo readGroupKeyManagementMaxGroupKeysPerFabricAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster) + .readMaxGroupKeysPerFabricAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readGroupKeyManagementMaxGroupKeysPerFabricCommandParams); + readGroupKeyManagementInteractionInfo.put( + "readMaxGroupKeysPerFabricAttribute", + readGroupKeyManagementMaxGroupKeysPerFabricAttributeInteractionInfo); + Map readGroupKeyManagementGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readGroupKeyManagementGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.GroupKeyManagementCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedGroupKeyManagementClusterGeneratedCommandListAttributeCallback(), + readGroupKeyManagementGeneratedCommandListCommandParams); + readGroupKeyManagementInteractionInfo.put( + "readGeneratedCommandListAttribute", + readGroupKeyManagementGeneratedCommandListAttributeInteractionInfo); + Map readGroupKeyManagementAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readGroupKeyManagementAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.GroupKeyManagementCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedGroupKeyManagementClusterAcceptedCommandListAttributeCallback(), + readGroupKeyManagementAcceptedCommandListCommandParams); + readGroupKeyManagementInteractionInfo.put( + "readAcceptedCommandListAttribute", + readGroupKeyManagementAcceptedCommandListAttributeInteractionInfo); + Map readGroupKeyManagementEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readGroupKeyManagementEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster) + .readEventListAttribute( + (ChipClusters.GroupKeyManagementCluster.EventListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedGroupKeyManagementClusterEventListAttributeCallback(), + readGroupKeyManagementEventListCommandParams); + readGroupKeyManagementInteractionInfo.put( + "readEventListAttribute", readGroupKeyManagementEventListAttributeInteractionInfo); + Map readGroupKeyManagementAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readGroupKeyManagementAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.GroupKeyManagementCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedGroupKeyManagementClusterAttributeListAttributeCallback(), + readGroupKeyManagementAttributeListCommandParams); + readGroupKeyManagementInteractionInfo.put( + "readAttributeListAttribute", readGroupKeyManagementAttributeListAttributeInteractionInfo); + Map readGroupKeyManagementFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readGroupKeyManagementFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readGroupKeyManagementFeatureMapCommandParams); + readGroupKeyManagementInteractionInfo.put( + "readFeatureMapAttribute", readGroupKeyManagementFeatureMapAttributeInteractionInfo); + Map readGroupKeyManagementClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readGroupKeyManagementClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readGroupKeyManagementClusterRevisionCommandParams); + readGroupKeyManagementInteractionInfo.put( + "readClusterRevisionAttribute", + readGroupKeyManagementClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("groupKeyManagement", readGroupKeyManagementInteractionInfo); + Map readFixedLabelInteractionInfo = new LinkedHashMap<>(); + Map readFixedLabelLabelListCommandParams = + new LinkedHashMap(); + InteractionInfo readFixedLabelLabelListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FixedLabelCluster) cluster) + .readLabelListAttribute( + (ChipClusters.FixedLabelCluster.LabelListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedFixedLabelClusterLabelListAttributeCallback(), - readFixedLabelLabelListCommandParams - ); - readFixedLabelInteractionInfo.put("readLabelListAttribute", readFixedLabelLabelListAttributeInteractionInfo); - Map readFixedLabelGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readFixedLabelGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FixedLabelCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.FixedLabelCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedFixedLabelClusterGeneratedCommandListAttributeCallback(), - readFixedLabelGeneratedCommandListCommandParams - ); - readFixedLabelInteractionInfo.put("readGeneratedCommandListAttribute", readFixedLabelGeneratedCommandListAttributeInteractionInfo); - Map readFixedLabelAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readFixedLabelAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FixedLabelCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.FixedLabelCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedFixedLabelClusterAcceptedCommandListAttributeCallback(), - readFixedLabelAcceptedCommandListCommandParams - ); - readFixedLabelInteractionInfo.put("readAcceptedCommandListAttribute", readFixedLabelAcceptedCommandListAttributeInteractionInfo); - Map readFixedLabelEventListCommandParams = new LinkedHashMap(); - InteractionInfo readFixedLabelEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FixedLabelCluster) cluster).readEventListAttribute( - ( ChipClusters.FixedLabelCluster.EventListAttributeCallback - ) callback - ); - }, + readFixedLabelLabelListCommandParams); + readFixedLabelInteractionInfo.put( + "readLabelListAttribute", readFixedLabelLabelListAttributeInteractionInfo); + Map readFixedLabelGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readFixedLabelGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FixedLabelCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.FixedLabelCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedFixedLabelClusterGeneratedCommandListAttributeCallback(), + readFixedLabelGeneratedCommandListCommandParams); + readFixedLabelInteractionInfo.put( + "readGeneratedCommandListAttribute", + readFixedLabelGeneratedCommandListAttributeInteractionInfo); + Map readFixedLabelAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readFixedLabelAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FixedLabelCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.FixedLabelCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedFixedLabelClusterAcceptedCommandListAttributeCallback(), + readFixedLabelAcceptedCommandListCommandParams); + readFixedLabelInteractionInfo.put( + "readAcceptedCommandListAttribute", + readFixedLabelAcceptedCommandListAttributeInteractionInfo); + Map readFixedLabelEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readFixedLabelEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FixedLabelCluster) cluster) + .readEventListAttribute( + (ChipClusters.FixedLabelCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedFixedLabelClusterEventListAttributeCallback(), - readFixedLabelEventListCommandParams - ); - readFixedLabelInteractionInfo.put("readEventListAttribute", readFixedLabelEventListAttributeInteractionInfo); - Map readFixedLabelAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readFixedLabelAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FixedLabelCluster) cluster).readAttributeListAttribute( - ( ChipClusters.FixedLabelCluster.AttributeListAttributeCallback - ) callback - ); - }, + readFixedLabelEventListCommandParams); + readFixedLabelInteractionInfo.put( + "readEventListAttribute", readFixedLabelEventListAttributeInteractionInfo); + Map readFixedLabelAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readFixedLabelAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FixedLabelCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.FixedLabelCluster.AttributeListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedFixedLabelClusterAttributeListAttributeCallback(), - readFixedLabelAttributeListCommandParams - ); - readFixedLabelInteractionInfo.put("readAttributeListAttribute", readFixedLabelAttributeListAttributeInteractionInfo); - Map readFixedLabelFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readFixedLabelFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FixedLabelCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readFixedLabelFeatureMapCommandParams - ); - readFixedLabelInteractionInfo.put("readFeatureMapAttribute", readFixedLabelFeatureMapAttributeInteractionInfo); - Map readFixedLabelClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readFixedLabelClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FixedLabelCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFixedLabelClusterRevisionCommandParams - ); - readFixedLabelInteractionInfo.put("readClusterRevisionAttribute", readFixedLabelClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("fixedLabel", readFixedLabelInteractionInfo); - Map readUserLabelInteractionInfo = new LinkedHashMap<>(); - Map readUserLabelLabelListCommandParams = new LinkedHashMap(); - InteractionInfo readUserLabelLabelListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UserLabelCluster) cluster).readLabelListAttribute( - ( ChipClusters.UserLabelCluster.LabelListAttributeCallback - ) callback - ); - }, + readFixedLabelAttributeListCommandParams); + readFixedLabelInteractionInfo.put( + "readAttributeListAttribute", readFixedLabelAttributeListAttributeInteractionInfo); + Map readFixedLabelFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readFixedLabelFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FixedLabelCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readFixedLabelFeatureMapCommandParams); + readFixedLabelInteractionInfo.put( + "readFeatureMapAttribute", readFixedLabelFeatureMapAttributeInteractionInfo); + Map readFixedLabelClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readFixedLabelClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FixedLabelCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFixedLabelClusterRevisionCommandParams); + readFixedLabelInteractionInfo.put( + "readClusterRevisionAttribute", readFixedLabelClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("fixedLabel", readFixedLabelInteractionInfo); + Map readUserLabelInteractionInfo = new LinkedHashMap<>(); + Map readUserLabelLabelListCommandParams = + new LinkedHashMap(); + InteractionInfo readUserLabelLabelListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UserLabelCluster) cluster) + .readLabelListAttribute( + (ChipClusters.UserLabelCluster.LabelListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedUserLabelClusterLabelListAttributeCallback(), - readUserLabelLabelListCommandParams - ); - readUserLabelInteractionInfo.put("readLabelListAttribute", readUserLabelLabelListAttributeInteractionInfo); - Map readUserLabelGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readUserLabelGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UserLabelCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.UserLabelCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUserLabelClusterGeneratedCommandListAttributeCallback(), - readUserLabelGeneratedCommandListCommandParams - ); - readUserLabelInteractionInfo.put("readGeneratedCommandListAttribute", readUserLabelGeneratedCommandListAttributeInteractionInfo); - Map readUserLabelAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readUserLabelAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UserLabelCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.UserLabelCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUserLabelClusterAcceptedCommandListAttributeCallback(), - readUserLabelAcceptedCommandListCommandParams - ); - readUserLabelInteractionInfo.put("readAcceptedCommandListAttribute", readUserLabelAcceptedCommandListAttributeInteractionInfo); - Map readUserLabelEventListCommandParams = new LinkedHashMap(); - InteractionInfo readUserLabelEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UserLabelCluster) cluster).readEventListAttribute( - ( ChipClusters.UserLabelCluster.EventListAttributeCallback - ) callback - ); - }, + readUserLabelLabelListCommandParams); + readUserLabelInteractionInfo.put( + "readLabelListAttribute", readUserLabelLabelListAttributeInteractionInfo); + Map readUserLabelGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readUserLabelGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UserLabelCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.UserLabelCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUserLabelClusterGeneratedCommandListAttributeCallback(), + readUserLabelGeneratedCommandListCommandParams); + readUserLabelInteractionInfo.put( + "readGeneratedCommandListAttribute", + readUserLabelGeneratedCommandListAttributeInteractionInfo); + Map readUserLabelAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readUserLabelAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UserLabelCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.UserLabelCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUserLabelClusterAcceptedCommandListAttributeCallback(), + readUserLabelAcceptedCommandListCommandParams); + readUserLabelInteractionInfo.put( + "readAcceptedCommandListAttribute", + readUserLabelAcceptedCommandListAttributeInteractionInfo); + Map readUserLabelEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readUserLabelEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UserLabelCluster) cluster) + .readEventListAttribute( + (ChipClusters.UserLabelCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedUserLabelClusterEventListAttributeCallback(), - readUserLabelEventListCommandParams - ); - readUserLabelInteractionInfo.put("readEventListAttribute", readUserLabelEventListAttributeInteractionInfo); - Map readUserLabelAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readUserLabelAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UserLabelCluster) cluster).readAttributeListAttribute( - ( ChipClusters.UserLabelCluster.AttributeListAttributeCallback - ) callback - ); - }, + readUserLabelEventListCommandParams); + readUserLabelInteractionInfo.put( + "readEventListAttribute", readUserLabelEventListAttributeInteractionInfo); + Map readUserLabelAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readUserLabelAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UserLabelCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.UserLabelCluster.AttributeListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedUserLabelClusterAttributeListAttributeCallback(), - readUserLabelAttributeListCommandParams - ); - readUserLabelInteractionInfo.put("readAttributeListAttribute", readUserLabelAttributeListAttributeInteractionInfo); - Map readUserLabelFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readUserLabelFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UserLabelCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUserLabelFeatureMapCommandParams - ); - readUserLabelInteractionInfo.put("readFeatureMapAttribute", readUserLabelFeatureMapAttributeInteractionInfo); - Map readUserLabelClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readUserLabelClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UserLabelCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUserLabelClusterRevisionCommandParams - ); - readUserLabelInteractionInfo.put("readClusterRevisionAttribute", readUserLabelClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("userLabel", readUserLabelInteractionInfo); - Map readBooleanStateInteractionInfo = new LinkedHashMap<>(); - Map readBooleanStateStateValueCommandParams = new LinkedHashMap(); - InteractionInfo readBooleanStateStateValueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BooleanStateCluster) cluster).readStateValueAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readUserLabelAttributeListCommandParams); + readUserLabelInteractionInfo.put( + "readAttributeListAttribute", readUserLabelAttributeListAttributeInteractionInfo); + Map readUserLabelFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readUserLabelFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UserLabelCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUserLabelFeatureMapCommandParams); + readUserLabelInteractionInfo.put( + "readFeatureMapAttribute", readUserLabelFeatureMapAttributeInteractionInfo); + Map readUserLabelClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readUserLabelClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UserLabelCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUserLabelClusterRevisionCommandParams); + readUserLabelInteractionInfo.put( + "readClusterRevisionAttribute", readUserLabelClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("userLabel", readUserLabelInteractionInfo); + Map readBooleanStateInteractionInfo = new LinkedHashMap<>(); + Map readBooleanStateStateValueCommandParams = + new LinkedHashMap(); + InteractionInfo readBooleanStateStateValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BooleanStateCluster) cluster) + .readStateValueAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readBooleanStateStateValueCommandParams - ); - readBooleanStateInteractionInfo.put("readStateValueAttribute", readBooleanStateStateValueAttributeInteractionInfo); - Map readBooleanStateGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readBooleanStateGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BooleanStateCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.BooleanStateCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBooleanStateClusterGeneratedCommandListAttributeCallback(), - readBooleanStateGeneratedCommandListCommandParams - ); - readBooleanStateInteractionInfo.put("readGeneratedCommandListAttribute", readBooleanStateGeneratedCommandListAttributeInteractionInfo); - Map readBooleanStateAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readBooleanStateAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BooleanStateCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.BooleanStateCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBooleanStateClusterAcceptedCommandListAttributeCallback(), - readBooleanStateAcceptedCommandListCommandParams - ); - readBooleanStateInteractionInfo.put("readAcceptedCommandListAttribute", readBooleanStateAcceptedCommandListAttributeInteractionInfo); - Map readBooleanStateEventListCommandParams = new LinkedHashMap(); - InteractionInfo readBooleanStateEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BooleanStateCluster) cluster).readEventListAttribute( - ( ChipClusters.BooleanStateCluster.EventListAttributeCallback - ) callback - ); - }, + readBooleanStateStateValueCommandParams); + readBooleanStateInteractionInfo.put( + "readStateValueAttribute", readBooleanStateStateValueAttributeInteractionInfo); + Map readBooleanStateGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readBooleanStateGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BooleanStateCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.BooleanStateCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBooleanStateClusterGeneratedCommandListAttributeCallback(), + readBooleanStateGeneratedCommandListCommandParams); + readBooleanStateInteractionInfo.put( + "readGeneratedCommandListAttribute", + readBooleanStateGeneratedCommandListAttributeInteractionInfo); + Map readBooleanStateAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readBooleanStateAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BooleanStateCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.BooleanStateCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBooleanStateClusterAcceptedCommandListAttributeCallback(), + readBooleanStateAcceptedCommandListCommandParams); + readBooleanStateInteractionInfo.put( + "readAcceptedCommandListAttribute", + readBooleanStateAcceptedCommandListAttributeInteractionInfo); + Map readBooleanStateEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readBooleanStateEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BooleanStateCluster) cluster) + .readEventListAttribute( + (ChipClusters.BooleanStateCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanStateClusterEventListAttributeCallback(), - readBooleanStateEventListCommandParams - ); - readBooleanStateInteractionInfo.put("readEventListAttribute", readBooleanStateEventListAttributeInteractionInfo); - Map readBooleanStateAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readBooleanStateAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BooleanStateCluster) cluster).readAttributeListAttribute( - ( ChipClusters.BooleanStateCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBooleanStateClusterAttributeListAttributeCallback(), - readBooleanStateAttributeListCommandParams - ); - readBooleanStateInteractionInfo.put("readAttributeListAttribute", readBooleanStateAttributeListAttributeInteractionInfo); - Map readBooleanStateFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readBooleanStateFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BooleanStateCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readBooleanStateFeatureMapCommandParams - ); - readBooleanStateInteractionInfo.put("readFeatureMapAttribute", readBooleanStateFeatureMapAttributeInteractionInfo); - Map readBooleanStateClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readBooleanStateClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BooleanStateCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBooleanStateClusterRevisionCommandParams - ); - readBooleanStateInteractionInfo.put("readClusterRevisionAttribute", readBooleanStateClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("booleanState", readBooleanStateInteractionInfo); - Map readModeSelectInteractionInfo = new LinkedHashMap<>(); - Map readModeSelectDescriptionCommandParams = new LinkedHashMap(); - InteractionInfo readModeSelectDescriptionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster).readDescriptionAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBooleanStateEventListCommandParams); + readBooleanStateInteractionInfo.put( + "readEventListAttribute", readBooleanStateEventListAttributeInteractionInfo); + Map readBooleanStateAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readBooleanStateAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BooleanStateCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.BooleanStateCluster.AttributeListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedBooleanStateClusterAttributeListAttributeCallback(), + readBooleanStateAttributeListCommandParams); + readBooleanStateInteractionInfo.put( + "readAttributeListAttribute", readBooleanStateAttributeListAttributeInteractionInfo); + Map readBooleanStateFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readBooleanStateFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BooleanStateCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readBooleanStateFeatureMapCommandParams); + readBooleanStateInteractionInfo.put( + "readFeatureMapAttribute", readBooleanStateFeatureMapAttributeInteractionInfo); + Map readBooleanStateClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readBooleanStateClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BooleanStateCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBooleanStateClusterRevisionCommandParams); + readBooleanStateInteractionInfo.put( + "readClusterRevisionAttribute", readBooleanStateClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("booleanState", readBooleanStateInteractionInfo); + Map readModeSelectInteractionInfo = new LinkedHashMap<>(); + Map readModeSelectDescriptionCommandParams = + new LinkedHashMap(); + InteractionInfo readModeSelectDescriptionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster) + .readDescriptionAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readModeSelectDescriptionCommandParams - ); - readModeSelectInteractionInfo.put("readDescriptionAttribute", readModeSelectDescriptionAttributeInteractionInfo); - Map readModeSelectStandardNamespaceCommandParams = new LinkedHashMap(); - InteractionInfo readModeSelectStandardNamespaceAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster).readStandardNamespaceAttribute( - ( ChipClusters.ModeSelectCluster.StandardNamespaceAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedModeSelectClusterStandardNamespaceAttributeCallback(), - readModeSelectStandardNamespaceCommandParams - ); - readModeSelectInteractionInfo.put("readStandardNamespaceAttribute", readModeSelectStandardNamespaceAttributeInteractionInfo); - Map readModeSelectSupportedModesCommandParams = new LinkedHashMap(); - InteractionInfo readModeSelectSupportedModesAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster).readSupportedModesAttribute( - ( ChipClusters.ModeSelectCluster.SupportedModesAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedModeSelectClusterSupportedModesAttributeCallback(), - readModeSelectSupportedModesCommandParams - ); - readModeSelectInteractionInfo.put("readSupportedModesAttribute", readModeSelectSupportedModesAttributeInteractionInfo); - Map readModeSelectCurrentModeCommandParams = new LinkedHashMap(); - InteractionInfo readModeSelectCurrentModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster).readCurrentModeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readModeSelectCurrentModeCommandParams - ); - readModeSelectInteractionInfo.put("readCurrentModeAttribute", readModeSelectCurrentModeAttributeInteractionInfo); - Map readModeSelectStartUpModeCommandParams = new LinkedHashMap(); - InteractionInfo readModeSelectStartUpModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster).readStartUpModeAttribute( - ( ChipClusters.ModeSelectCluster.StartUpModeAttributeCallback - ) callback - ); - }, + readModeSelectDescriptionCommandParams); + readModeSelectInteractionInfo.put( + "readDescriptionAttribute", readModeSelectDescriptionAttributeInteractionInfo); + Map readModeSelectStandardNamespaceCommandParams = + new LinkedHashMap(); + InteractionInfo readModeSelectStandardNamespaceAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster) + .readStandardNamespaceAttribute( + (ChipClusters.ModeSelectCluster.StandardNamespaceAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedModeSelectClusterStandardNamespaceAttributeCallback(), + readModeSelectStandardNamespaceCommandParams); + readModeSelectInteractionInfo.put( + "readStandardNamespaceAttribute", readModeSelectStandardNamespaceAttributeInteractionInfo); + Map readModeSelectSupportedModesCommandParams = + new LinkedHashMap(); + InteractionInfo readModeSelectSupportedModesAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster) + .readSupportedModesAttribute( + (ChipClusters.ModeSelectCluster.SupportedModesAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedModeSelectClusterSupportedModesAttributeCallback(), + readModeSelectSupportedModesCommandParams); + readModeSelectInteractionInfo.put( + "readSupportedModesAttribute", readModeSelectSupportedModesAttributeInteractionInfo); + Map readModeSelectCurrentModeCommandParams = + new LinkedHashMap(); + InteractionInfo readModeSelectCurrentModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster) + .readCurrentModeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readModeSelectCurrentModeCommandParams); + readModeSelectInteractionInfo.put( + "readCurrentModeAttribute", readModeSelectCurrentModeAttributeInteractionInfo); + Map readModeSelectStartUpModeCommandParams = + new LinkedHashMap(); + InteractionInfo readModeSelectStartUpModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster) + .readStartUpModeAttribute( + (ChipClusters.ModeSelectCluster.StartUpModeAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedModeSelectClusterStartUpModeAttributeCallback(), - readModeSelectStartUpModeCommandParams - ); - readModeSelectInteractionInfo.put("readStartUpModeAttribute", readModeSelectStartUpModeAttributeInteractionInfo); - Map readModeSelectOnModeCommandParams = new LinkedHashMap(); - InteractionInfo readModeSelectOnModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster).readOnModeAttribute( - ( ChipClusters.ModeSelectCluster.OnModeAttributeCallback - ) callback - ); - }, + readModeSelectStartUpModeCommandParams); + readModeSelectInteractionInfo.put( + "readStartUpModeAttribute", readModeSelectStartUpModeAttributeInteractionInfo); + Map readModeSelectOnModeCommandParams = + new LinkedHashMap(); + InteractionInfo readModeSelectOnModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster) + .readOnModeAttribute( + (ChipClusters.ModeSelectCluster.OnModeAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedModeSelectClusterOnModeAttributeCallback(), - readModeSelectOnModeCommandParams - ); - readModeSelectInteractionInfo.put("readOnModeAttribute", readModeSelectOnModeAttributeInteractionInfo); - Map readModeSelectGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readModeSelectGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.ModeSelectCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedModeSelectClusterGeneratedCommandListAttributeCallback(), - readModeSelectGeneratedCommandListCommandParams - ); - readModeSelectInteractionInfo.put("readGeneratedCommandListAttribute", readModeSelectGeneratedCommandListAttributeInteractionInfo); - Map readModeSelectAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readModeSelectAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.ModeSelectCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedModeSelectClusterAcceptedCommandListAttributeCallback(), - readModeSelectAcceptedCommandListCommandParams - ); - readModeSelectInteractionInfo.put("readAcceptedCommandListAttribute", readModeSelectAcceptedCommandListAttributeInteractionInfo); - Map readModeSelectEventListCommandParams = new LinkedHashMap(); - InteractionInfo readModeSelectEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster).readEventListAttribute( - ( ChipClusters.ModeSelectCluster.EventListAttributeCallback - ) callback - ); - }, + readModeSelectOnModeCommandParams); + readModeSelectInteractionInfo.put( + "readOnModeAttribute", readModeSelectOnModeAttributeInteractionInfo); + Map readModeSelectGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readModeSelectGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.ModeSelectCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedModeSelectClusterGeneratedCommandListAttributeCallback(), + readModeSelectGeneratedCommandListCommandParams); + readModeSelectInteractionInfo.put( + "readGeneratedCommandListAttribute", + readModeSelectGeneratedCommandListAttributeInteractionInfo); + Map readModeSelectAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readModeSelectAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.ModeSelectCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedModeSelectClusterAcceptedCommandListAttributeCallback(), + readModeSelectAcceptedCommandListCommandParams); + readModeSelectInteractionInfo.put( + "readAcceptedCommandListAttribute", + readModeSelectAcceptedCommandListAttributeInteractionInfo); + Map readModeSelectEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readModeSelectEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster) + .readEventListAttribute( + (ChipClusters.ModeSelectCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedModeSelectClusterEventListAttributeCallback(), - readModeSelectEventListCommandParams - ); - readModeSelectInteractionInfo.put("readEventListAttribute", readModeSelectEventListAttributeInteractionInfo); - Map readModeSelectAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readModeSelectAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster).readAttributeListAttribute( - ( ChipClusters.ModeSelectCluster.AttributeListAttributeCallback - ) callback - ); - }, + readModeSelectEventListCommandParams); + readModeSelectInteractionInfo.put( + "readEventListAttribute", readModeSelectEventListAttributeInteractionInfo); + Map readModeSelectAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readModeSelectAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.ModeSelectCluster.AttributeListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedModeSelectClusterAttributeListAttributeCallback(), - readModeSelectAttributeListCommandParams - ); - readModeSelectInteractionInfo.put("readAttributeListAttribute", readModeSelectAttributeListAttributeInteractionInfo); - Map readModeSelectFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readModeSelectFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readModeSelectFeatureMapCommandParams - ); - readModeSelectInteractionInfo.put("readFeatureMapAttribute", readModeSelectFeatureMapAttributeInteractionInfo); - Map readModeSelectClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readModeSelectClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readModeSelectClusterRevisionCommandParams - ); - readModeSelectInteractionInfo.put("readClusterRevisionAttribute", readModeSelectClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("modeSelect", readModeSelectInteractionInfo); - Map readDoorLockInteractionInfo = new LinkedHashMap<>(); - Map readDoorLockLockStateCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockLockStateAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readLockStateAttribute( - ( ChipClusters.DoorLockCluster.LockStateAttributeCallback - ) callback - ); - }, + readModeSelectAttributeListCommandParams); + readModeSelectInteractionInfo.put( + "readAttributeListAttribute", readModeSelectAttributeListAttributeInteractionInfo); + Map readModeSelectFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readModeSelectFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readModeSelectFeatureMapCommandParams); + readModeSelectInteractionInfo.put( + "readFeatureMapAttribute", readModeSelectFeatureMapAttributeInteractionInfo); + Map readModeSelectClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readModeSelectClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readModeSelectClusterRevisionCommandParams); + readModeSelectInteractionInfo.put( + "readClusterRevisionAttribute", readModeSelectClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("modeSelect", readModeSelectInteractionInfo); + Map readDoorLockInteractionInfo = new LinkedHashMap<>(); + Map readDoorLockLockStateCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockLockStateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readLockStateAttribute( + (ChipClusters.DoorLockCluster.LockStateAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedDoorLockClusterLockStateAttributeCallback(), - readDoorLockLockStateCommandParams - ); - readDoorLockInteractionInfo.put("readLockStateAttribute", readDoorLockLockStateAttributeInteractionInfo); - Map readDoorLockLockTypeCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockLockTypeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readLockTypeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockLockTypeCommandParams - ); - readDoorLockInteractionInfo.put("readLockTypeAttribute", readDoorLockLockTypeAttributeInteractionInfo); - Map readDoorLockActuatorEnabledCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockActuatorEnabledAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readActuatorEnabledAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readDoorLockLockStateCommandParams); + readDoorLockInteractionInfo.put( + "readLockStateAttribute", readDoorLockLockStateAttributeInteractionInfo); + Map readDoorLockLockTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockLockTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readLockTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockLockTypeCommandParams); + readDoorLockInteractionInfo.put( + "readLockTypeAttribute", readDoorLockLockTypeAttributeInteractionInfo); + Map readDoorLockActuatorEnabledCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockActuatorEnabledAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readActuatorEnabledAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readDoorLockActuatorEnabledCommandParams - ); - readDoorLockInteractionInfo.put("readActuatorEnabledAttribute", readDoorLockActuatorEnabledAttributeInteractionInfo); - Map readDoorLockDoorStateCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockDoorStateAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readDoorStateAttribute( - ( ChipClusters.DoorLockCluster.DoorStateAttributeCallback - ) callback - ); - }, + readDoorLockActuatorEnabledCommandParams); + readDoorLockInteractionInfo.put( + "readActuatorEnabledAttribute", readDoorLockActuatorEnabledAttributeInteractionInfo); + Map readDoorLockDoorStateCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockDoorStateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readDoorStateAttribute( + (ChipClusters.DoorLockCluster.DoorStateAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedDoorLockClusterDoorStateAttributeCallback(), - readDoorLockDoorStateCommandParams - ); - readDoorLockInteractionInfo.put("readDoorStateAttribute", readDoorLockDoorStateAttributeInteractionInfo); - Map readDoorLockDoorOpenEventsCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockDoorOpenEventsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readDoorOpenEventsAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readDoorLockDoorOpenEventsCommandParams - ); - readDoorLockInteractionInfo.put("readDoorOpenEventsAttribute", readDoorLockDoorOpenEventsAttributeInteractionInfo); - Map readDoorLockDoorClosedEventsCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockDoorClosedEventsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readDoorClosedEventsAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readDoorLockDoorClosedEventsCommandParams - ); - readDoorLockInteractionInfo.put("readDoorClosedEventsAttribute", readDoorLockDoorClosedEventsAttributeInteractionInfo); - Map readDoorLockOpenPeriodCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockOpenPeriodAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readOpenPeriodAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockOpenPeriodCommandParams - ); - readDoorLockInteractionInfo.put("readOpenPeriodAttribute", readDoorLockOpenPeriodAttributeInteractionInfo); - Map readDoorLockNumberOfTotalUsersSupportedCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockNumberOfTotalUsersSupportedAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readNumberOfTotalUsersSupportedAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockNumberOfTotalUsersSupportedCommandParams - ); - readDoorLockInteractionInfo.put("readNumberOfTotalUsersSupportedAttribute", readDoorLockNumberOfTotalUsersSupportedAttributeInteractionInfo); - Map readDoorLockNumberOfPINUsersSupportedCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockNumberOfPINUsersSupportedAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readNumberOfPINUsersSupportedAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockNumberOfPINUsersSupportedCommandParams - ); - readDoorLockInteractionInfo.put("readNumberOfPINUsersSupportedAttribute", readDoorLockNumberOfPINUsersSupportedAttributeInteractionInfo); - Map readDoorLockNumberOfRFIDUsersSupportedCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockNumberOfRFIDUsersSupportedAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readNumberOfRFIDUsersSupportedAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockNumberOfRFIDUsersSupportedCommandParams - ); - readDoorLockInteractionInfo.put("readNumberOfRFIDUsersSupportedAttribute", readDoorLockNumberOfRFIDUsersSupportedAttributeInteractionInfo); - Map readDoorLockNumberOfWeekDaySchedulesSupportedPerUserCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockNumberOfWeekDaySchedulesSupportedPerUserAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readNumberOfWeekDaySchedulesSupportedPerUserAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockNumberOfWeekDaySchedulesSupportedPerUserCommandParams - ); - readDoorLockInteractionInfo.put("readNumberOfWeekDaySchedulesSupportedPerUserAttribute", readDoorLockNumberOfWeekDaySchedulesSupportedPerUserAttributeInteractionInfo); - Map readDoorLockNumberOfYearDaySchedulesSupportedPerUserCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockNumberOfYearDaySchedulesSupportedPerUserAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readNumberOfYearDaySchedulesSupportedPerUserAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockNumberOfYearDaySchedulesSupportedPerUserCommandParams - ); - readDoorLockInteractionInfo.put("readNumberOfYearDaySchedulesSupportedPerUserAttribute", readDoorLockNumberOfYearDaySchedulesSupportedPerUserAttributeInteractionInfo); - Map readDoorLockNumberOfHolidaySchedulesSupportedCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockNumberOfHolidaySchedulesSupportedAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readNumberOfHolidaySchedulesSupportedAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockNumberOfHolidaySchedulesSupportedCommandParams - ); - readDoorLockInteractionInfo.put("readNumberOfHolidaySchedulesSupportedAttribute", readDoorLockNumberOfHolidaySchedulesSupportedAttributeInteractionInfo); - Map readDoorLockMaxPINCodeLengthCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockMaxPINCodeLengthAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readMaxPINCodeLengthAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockMaxPINCodeLengthCommandParams - ); - readDoorLockInteractionInfo.put("readMaxPINCodeLengthAttribute", readDoorLockMaxPINCodeLengthAttributeInteractionInfo); - Map readDoorLockMinPINCodeLengthCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockMinPINCodeLengthAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readMinPINCodeLengthAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockMinPINCodeLengthCommandParams - ); - readDoorLockInteractionInfo.put("readMinPINCodeLengthAttribute", readDoorLockMinPINCodeLengthAttributeInteractionInfo); - Map readDoorLockMaxRFIDCodeLengthCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockMaxRFIDCodeLengthAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readMaxRFIDCodeLengthAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockMaxRFIDCodeLengthCommandParams - ); - readDoorLockInteractionInfo.put("readMaxRFIDCodeLengthAttribute", readDoorLockMaxRFIDCodeLengthAttributeInteractionInfo); - Map readDoorLockMinRFIDCodeLengthCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockMinRFIDCodeLengthAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readMinRFIDCodeLengthAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockMinRFIDCodeLengthCommandParams - ); - readDoorLockInteractionInfo.put("readMinRFIDCodeLengthAttribute", readDoorLockMinRFIDCodeLengthAttributeInteractionInfo); - Map readDoorLockCredentialRulesSupportCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockCredentialRulesSupportAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readCredentialRulesSupportAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockCredentialRulesSupportCommandParams - ); - readDoorLockInteractionInfo.put("readCredentialRulesSupportAttribute", readDoorLockCredentialRulesSupportAttributeInteractionInfo); - Map readDoorLockNumberOfCredentialsSupportedPerUserCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockNumberOfCredentialsSupportedPerUserAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readNumberOfCredentialsSupportedPerUserAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockNumberOfCredentialsSupportedPerUserCommandParams - ); - readDoorLockInteractionInfo.put("readNumberOfCredentialsSupportedPerUserAttribute", readDoorLockNumberOfCredentialsSupportedPerUserAttributeInteractionInfo); - Map readDoorLockLanguageCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockLanguageAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readLanguageAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readDoorLockDoorStateCommandParams); + readDoorLockInteractionInfo.put( + "readDoorStateAttribute", readDoorLockDoorStateAttributeInteractionInfo); + Map readDoorLockDoorOpenEventsCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockDoorOpenEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readDoorOpenEventsAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readDoorLockDoorOpenEventsCommandParams); + readDoorLockInteractionInfo.put( + "readDoorOpenEventsAttribute", readDoorLockDoorOpenEventsAttributeInteractionInfo); + Map readDoorLockDoorClosedEventsCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockDoorClosedEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readDoorClosedEventsAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readDoorLockDoorClosedEventsCommandParams); + readDoorLockInteractionInfo.put( + "readDoorClosedEventsAttribute", readDoorLockDoorClosedEventsAttributeInteractionInfo); + Map readDoorLockOpenPeriodCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockOpenPeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readOpenPeriodAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockOpenPeriodCommandParams); + readDoorLockInteractionInfo.put( + "readOpenPeriodAttribute", readDoorLockOpenPeriodAttributeInteractionInfo); + Map readDoorLockNumberOfTotalUsersSupportedCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockNumberOfTotalUsersSupportedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readNumberOfTotalUsersSupportedAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockNumberOfTotalUsersSupportedCommandParams); + readDoorLockInteractionInfo.put( + "readNumberOfTotalUsersSupportedAttribute", + readDoorLockNumberOfTotalUsersSupportedAttributeInteractionInfo); + Map readDoorLockNumberOfPINUsersSupportedCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockNumberOfPINUsersSupportedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readNumberOfPINUsersSupportedAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockNumberOfPINUsersSupportedCommandParams); + readDoorLockInteractionInfo.put( + "readNumberOfPINUsersSupportedAttribute", + readDoorLockNumberOfPINUsersSupportedAttributeInteractionInfo); + Map readDoorLockNumberOfRFIDUsersSupportedCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockNumberOfRFIDUsersSupportedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readNumberOfRFIDUsersSupportedAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockNumberOfRFIDUsersSupportedCommandParams); + readDoorLockInteractionInfo.put( + "readNumberOfRFIDUsersSupportedAttribute", + readDoorLockNumberOfRFIDUsersSupportedAttributeInteractionInfo); + Map + readDoorLockNumberOfWeekDaySchedulesSupportedPerUserCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockNumberOfWeekDaySchedulesSupportedPerUserAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readNumberOfWeekDaySchedulesSupportedPerUserAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockNumberOfWeekDaySchedulesSupportedPerUserCommandParams); + readDoorLockInteractionInfo.put( + "readNumberOfWeekDaySchedulesSupportedPerUserAttribute", + readDoorLockNumberOfWeekDaySchedulesSupportedPerUserAttributeInteractionInfo); + Map + readDoorLockNumberOfYearDaySchedulesSupportedPerUserCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockNumberOfYearDaySchedulesSupportedPerUserAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readNumberOfYearDaySchedulesSupportedPerUserAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockNumberOfYearDaySchedulesSupportedPerUserCommandParams); + readDoorLockInteractionInfo.put( + "readNumberOfYearDaySchedulesSupportedPerUserAttribute", + readDoorLockNumberOfYearDaySchedulesSupportedPerUserAttributeInteractionInfo); + Map readDoorLockNumberOfHolidaySchedulesSupportedCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockNumberOfHolidaySchedulesSupportedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readNumberOfHolidaySchedulesSupportedAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockNumberOfHolidaySchedulesSupportedCommandParams); + readDoorLockInteractionInfo.put( + "readNumberOfHolidaySchedulesSupportedAttribute", + readDoorLockNumberOfHolidaySchedulesSupportedAttributeInteractionInfo); + Map readDoorLockMaxPINCodeLengthCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockMaxPINCodeLengthAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readMaxPINCodeLengthAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockMaxPINCodeLengthCommandParams); + readDoorLockInteractionInfo.put( + "readMaxPINCodeLengthAttribute", readDoorLockMaxPINCodeLengthAttributeInteractionInfo); + Map readDoorLockMinPINCodeLengthCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockMinPINCodeLengthAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readMinPINCodeLengthAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockMinPINCodeLengthCommandParams); + readDoorLockInteractionInfo.put( + "readMinPINCodeLengthAttribute", readDoorLockMinPINCodeLengthAttributeInteractionInfo); + Map readDoorLockMaxRFIDCodeLengthCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockMaxRFIDCodeLengthAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readMaxRFIDCodeLengthAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockMaxRFIDCodeLengthCommandParams); + readDoorLockInteractionInfo.put( + "readMaxRFIDCodeLengthAttribute", readDoorLockMaxRFIDCodeLengthAttributeInteractionInfo); + Map readDoorLockMinRFIDCodeLengthCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockMinRFIDCodeLengthAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readMinRFIDCodeLengthAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockMinRFIDCodeLengthCommandParams); + readDoorLockInteractionInfo.put( + "readMinRFIDCodeLengthAttribute", readDoorLockMinRFIDCodeLengthAttributeInteractionInfo); + Map readDoorLockCredentialRulesSupportCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockCredentialRulesSupportAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readCredentialRulesSupportAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockCredentialRulesSupportCommandParams); + readDoorLockInteractionInfo.put( + "readCredentialRulesSupportAttribute", + readDoorLockCredentialRulesSupportAttributeInteractionInfo); + Map readDoorLockNumberOfCredentialsSupportedPerUserCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockNumberOfCredentialsSupportedPerUserAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readNumberOfCredentialsSupportedPerUserAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockNumberOfCredentialsSupportedPerUserCommandParams); + readDoorLockInteractionInfo.put( + "readNumberOfCredentialsSupportedPerUserAttribute", + readDoorLockNumberOfCredentialsSupportedPerUserAttributeInteractionInfo); + Map readDoorLockLanguageCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockLanguageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readLanguageAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readDoorLockLanguageCommandParams - ); - readDoorLockInteractionInfo.put("readLanguageAttribute", readDoorLockLanguageAttributeInteractionInfo); - Map readDoorLockLEDSettingsCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockLEDSettingsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readLEDSettingsAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockLEDSettingsCommandParams - ); - readDoorLockInteractionInfo.put("readLEDSettingsAttribute", readDoorLockLEDSettingsAttributeInteractionInfo); - Map readDoorLockAutoRelockTimeCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockAutoRelockTimeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readAutoRelockTimeAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readDoorLockAutoRelockTimeCommandParams - ); - readDoorLockInteractionInfo.put("readAutoRelockTimeAttribute", readDoorLockAutoRelockTimeAttributeInteractionInfo); - Map readDoorLockSoundVolumeCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockSoundVolumeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readSoundVolumeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockSoundVolumeCommandParams - ); - readDoorLockInteractionInfo.put("readSoundVolumeAttribute", readDoorLockSoundVolumeAttributeInteractionInfo); - Map readDoorLockOperatingModeCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockOperatingModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readOperatingModeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockOperatingModeCommandParams - ); - readDoorLockInteractionInfo.put("readOperatingModeAttribute", readDoorLockOperatingModeAttributeInteractionInfo); - Map readDoorLockSupportedOperatingModesCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockSupportedOperatingModesAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readSupportedOperatingModesAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockSupportedOperatingModesCommandParams - ); - readDoorLockInteractionInfo.put("readSupportedOperatingModesAttribute", readDoorLockSupportedOperatingModesAttributeInteractionInfo); - Map readDoorLockDefaultConfigurationRegisterCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockDefaultConfigurationRegisterAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readDefaultConfigurationRegisterAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockDefaultConfigurationRegisterCommandParams - ); - readDoorLockInteractionInfo.put("readDefaultConfigurationRegisterAttribute", readDoorLockDefaultConfigurationRegisterAttributeInteractionInfo); - Map readDoorLockEnableLocalProgrammingCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockEnableLocalProgrammingAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readEnableLocalProgrammingAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readDoorLockLanguageCommandParams); + readDoorLockInteractionInfo.put( + "readLanguageAttribute", readDoorLockLanguageAttributeInteractionInfo); + Map readDoorLockLEDSettingsCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockLEDSettingsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readLEDSettingsAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockLEDSettingsCommandParams); + readDoorLockInteractionInfo.put( + "readLEDSettingsAttribute", readDoorLockLEDSettingsAttributeInteractionInfo); + Map readDoorLockAutoRelockTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockAutoRelockTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readAutoRelockTimeAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readDoorLockAutoRelockTimeCommandParams); + readDoorLockInteractionInfo.put( + "readAutoRelockTimeAttribute", readDoorLockAutoRelockTimeAttributeInteractionInfo); + Map readDoorLockSoundVolumeCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockSoundVolumeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readSoundVolumeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockSoundVolumeCommandParams); + readDoorLockInteractionInfo.put( + "readSoundVolumeAttribute", readDoorLockSoundVolumeAttributeInteractionInfo); + Map readDoorLockOperatingModeCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockOperatingModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readOperatingModeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockOperatingModeCommandParams); + readDoorLockInteractionInfo.put( + "readOperatingModeAttribute", readDoorLockOperatingModeAttributeInteractionInfo); + Map readDoorLockSupportedOperatingModesCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockSupportedOperatingModesAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readSupportedOperatingModesAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockSupportedOperatingModesCommandParams); + readDoorLockInteractionInfo.put( + "readSupportedOperatingModesAttribute", + readDoorLockSupportedOperatingModesAttributeInteractionInfo); + Map readDoorLockDefaultConfigurationRegisterCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockDefaultConfigurationRegisterAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readDefaultConfigurationRegisterAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockDefaultConfigurationRegisterCommandParams); + readDoorLockInteractionInfo.put( + "readDefaultConfigurationRegisterAttribute", + readDoorLockDefaultConfigurationRegisterAttributeInteractionInfo); + Map readDoorLockEnableLocalProgrammingCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockEnableLocalProgrammingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readEnableLocalProgrammingAttribute( + (ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readDoorLockEnableLocalProgrammingCommandParams - ); - readDoorLockInteractionInfo.put("readEnableLocalProgrammingAttribute", readDoorLockEnableLocalProgrammingAttributeInteractionInfo); - Map readDoorLockEnableOneTouchLockingCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockEnableOneTouchLockingAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readEnableOneTouchLockingAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readDoorLockEnableLocalProgrammingCommandParams); + readDoorLockInteractionInfo.put( + "readEnableLocalProgrammingAttribute", + readDoorLockEnableLocalProgrammingAttributeInteractionInfo); + Map readDoorLockEnableOneTouchLockingCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockEnableOneTouchLockingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readEnableOneTouchLockingAttribute( + (ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readDoorLockEnableOneTouchLockingCommandParams - ); - readDoorLockInteractionInfo.put("readEnableOneTouchLockingAttribute", readDoorLockEnableOneTouchLockingAttributeInteractionInfo); - Map readDoorLockEnableInsideStatusLEDCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockEnableInsideStatusLEDAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readEnableInsideStatusLEDAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readDoorLockEnableOneTouchLockingCommandParams); + readDoorLockInteractionInfo.put( + "readEnableOneTouchLockingAttribute", + readDoorLockEnableOneTouchLockingAttributeInteractionInfo); + Map readDoorLockEnableInsideStatusLEDCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockEnableInsideStatusLEDAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readEnableInsideStatusLEDAttribute( + (ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readDoorLockEnableInsideStatusLEDCommandParams - ); - readDoorLockInteractionInfo.put("readEnableInsideStatusLEDAttribute", readDoorLockEnableInsideStatusLEDAttributeInteractionInfo); - Map readDoorLockEnablePrivacyModeButtonCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockEnablePrivacyModeButtonAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readEnablePrivacyModeButtonAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readDoorLockEnableInsideStatusLEDCommandParams); + readDoorLockInteractionInfo.put( + "readEnableInsideStatusLEDAttribute", + readDoorLockEnableInsideStatusLEDAttributeInteractionInfo); + Map readDoorLockEnablePrivacyModeButtonCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockEnablePrivacyModeButtonAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readEnablePrivacyModeButtonAttribute( + (ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readDoorLockEnablePrivacyModeButtonCommandParams - ); - readDoorLockInteractionInfo.put("readEnablePrivacyModeButtonAttribute", readDoorLockEnablePrivacyModeButtonAttributeInteractionInfo); - Map readDoorLockLocalProgrammingFeaturesCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockLocalProgrammingFeaturesAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readLocalProgrammingFeaturesAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockLocalProgrammingFeaturesCommandParams - ); - readDoorLockInteractionInfo.put("readLocalProgrammingFeaturesAttribute", readDoorLockLocalProgrammingFeaturesAttributeInteractionInfo); - Map readDoorLockWrongCodeEntryLimitCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockWrongCodeEntryLimitAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readWrongCodeEntryLimitAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockWrongCodeEntryLimitCommandParams - ); - readDoorLockInteractionInfo.put("readWrongCodeEntryLimitAttribute", readDoorLockWrongCodeEntryLimitAttributeInteractionInfo); - Map readDoorLockUserCodeTemporaryDisableTimeCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockUserCodeTemporaryDisableTimeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readUserCodeTemporaryDisableTimeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockUserCodeTemporaryDisableTimeCommandParams - ); - readDoorLockInteractionInfo.put("readUserCodeTemporaryDisableTimeAttribute", readDoorLockUserCodeTemporaryDisableTimeAttributeInteractionInfo); - Map readDoorLockSendPINOverTheAirCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockSendPINOverTheAirAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readSendPINOverTheAirAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readDoorLockEnablePrivacyModeButtonCommandParams); + readDoorLockInteractionInfo.put( + "readEnablePrivacyModeButtonAttribute", + readDoorLockEnablePrivacyModeButtonAttributeInteractionInfo); + Map readDoorLockLocalProgrammingFeaturesCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockLocalProgrammingFeaturesAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readLocalProgrammingFeaturesAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockLocalProgrammingFeaturesCommandParams); + readDoorLockInteractionInfo.put( + "readLocalProgrammingFeaturesAttribute", + readDoorLockLocalProgrammingFeaturesAttributeInteractionInfo); + Map readDoorLockWrongCodeEntryLimitCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockWrongCodeEntryLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readWrongCodeEntryLimitAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockWrongCodeEntryLimitCommandParams); + readDoorLockInteractionInfo.put( + "readWrongCodeEntryLimitAttribute", + readDoorLockWrongCodeEntryLimitAttributeInteractionInfo); + Map readDoorLockUserCodeTemporaryDisableTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockUserCodeTemporaryDisableTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readUserCodeTemporaryDisableTimeAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockUserCodeTemporaryDisableTimeCommandParams); + readDoorLockInteractionInfo.put( + "readUserCodeTemporaryDisableTimeAttribute", + readDoorLockUserCodeTemporaryDisableTimeAttributeInteractionInfo); + Map readDoorLockSendPINOverTheAirCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockSendPINOverTheAirAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readSendPINOverTheAirAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readDoorLockSendPINOverTheAirCommandParams - ); - readDoorLockInteractionInfo.put("readSendPINOverTheAirAttribute", readDoorLockSendPINOverTheAirAttributeInteractionInfo); - Map readDoorLockRequirePINforRemoteOperationCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockRequirePINforRemoteOperationAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readRequirePINforRemoteOperationAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readDoorLockSendPINOverTheAirCommandParams); + readDoorLockInteractionInfo.put( + "readSendPINOverTheAirAttribute", readDoorLockSendPINOverTheAirAttributeInteractionInfo); + Map readDoorLockRequirePINforRemoteOperationCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockRequirePINforRemoteOperationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readRequirePINforRemoteOperationAttribute( + (ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readDoorLockRequirePINforRemoteOperationCommandParams - ); - readDoorLockInteractionInfo.put("readRequirePINforRemoteOperationAttribute", readDoorLockRequirePINforRemoteOperationAttributeInteractionInfo); - Map readDoorLockExpiringUserTimeoutCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockExpiringUserTimeoutAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readExpiringUserTimeoutAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockExpiringUserTimeoutCommandParams - ); - readDoorLockInteractionInfo.put("readExpiringUserTimeoutAttribute", readDoorLockExpiringUserTimeoutAttributeInteractionInfo); - Map readDoorLockGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.DoorLockCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedDoorLockClusterGeneratedCommandListAttributeCallback(), - readDoorLockGeneratedCommandListCommandParams - ); - readDoorLockInteractionInfo.put("readGeneratedCommandListAttribute", readDoorLockGeneratedCommandListAttributeInteractionInfo); - Map readDoorLockAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.DoorLockCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedDoorLockClusterAcceptedCommandListAttributeCallback(), - readDoorLockAcceptedCommandListCommandParams - ); - readDoorLockInteractionInfo.put("readAcceptedCommandListAttribute", readDoorLockAcceptedCommandListAttributeInteractionInfo); - Map readDoorLockEventListCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readEventListAttribute( - ( ChipClusters.DoorLockCluster.EventListAttributeCallback - ) callback - ); - }, + readDoorLockRequirePINforRemoteOperationCommandParams); + readDoorLockInteractionInfo.put( + "readRequirePINforRemoteOperationAttribute", + readDoorLockRequirePINforRemoteOperationAttributeInteractionInfo); + Map readDoorLockExpiringUserTimeoutCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockExpiringUserTimeoutAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readExpiringUserTimeoutAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockExpiringUserTimeoutCommandParams); + readDoorLockInteractionInfo.put( + "readExpiringUserTimeoutAttribute", + readDoorLockExpiringUserTimeoutAttributeInteractionInfo); + Map readDoorLockGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.DoorLockCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedDoorLockClusterGeneratedCommandListAttributeCallback(), + readDoorLockGeneratedCommandListCommandParams); + readDoorLockInteractionInfo.put( + "readGeneratedCommandListAttribute", + readDoorLockGeneratedCommandListAttributeInteractionInfo); + Map readDoorLockAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.DoorLockCluster.AcceptedCommandListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedDoorLockClusterAcceptedCommandListAttributeCallback(), + readDoorLockAcceptedCommandListCommandParams); + readDoorLockInteractionInfo.put( + "readAcceptedCommandListAttribute", + readDoorLockAcceptedCommandListAttributeInteractionInfo); + Map readDoorLockEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readEventListAttribute( + (ChipClusters.DoorLockCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedDoorLockClusterEventListAttributeCallback(), - readDoorLockEventListCommandParams - ); - readDoorLockInteractionInfo.put("readEventListAttribute", readDoorLockEventListAttributeInteractionInfo); - Map readDoorLockAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readAttributeListAttribute( - ( ChipClusters.DoorLockCluster.AttributeListAttributeCallback - ) callback - ); - }, + readDoorLockEventListCommandParams); + readDoorLockInteractionInfo.put( + "readEventListAttribute", readDoorLockEventListAttributeInteractionInfo); + Map readDoorLockAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.DoorLockCluster.AttributeListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedDoorLockClusterAttributeListAttributeCallback(), - readDoorLockAttributeListCommandParams - ); - readDoorLockInteractionInfo.put("readAttributeListAttribute", readDoorLockAttributeListAttributeInteractionInfo); - Map readDoorLockFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readDoorLockFeatureMapCommandParams - ); - readDoorLockInteractionInfo.put("readFeatureMapAttribute", readDoorLockFeatureMapAttributeInteractionInfo); - Map readDoorLockClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readDoorLockClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readDoorLockClusterRevisionCommandParams - ); - readDoorLockInteractionInfo.put("readClusterRevisionAttribute", readDoorLockClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("doorLock", readDoorLockInteractionInfo); - Map readWindowCoveringInteractionInfo = new LinkedHashMap<>(); - Map readWindowCoveringTypeCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringTypeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readTypeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringTypeCommandParams - ); - readWindowCoveringInteractionInfo.put("readTypeAttribute", readWindowCoveringTypeAttributeInteractionInfo); - Map readWindowCoveringPhysicalClosedLimitLiftCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringPhysicalClosedLimitLiftAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readPhysicalClosedLimitLiftAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringPhysicalClosedLimitLiftCommandParams - ); - readWindowCoveringInteractionInfo.put("readPhysicalClosedLimitLiftAttribute", readWindowCoveringPhysicalClosedLimitLiftAttributeInteractionInfo); - Map readWindowCoveringPhysicalClosedLimitTiltCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringPhysicalClosedLimitTiltAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readPhysicalClosedLimitTiltAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringPhysicalClosedLimitTiltCommandParams - ); - readWindowCoveringInteractionInfo.put("readPhysicalClosedLimitTiltAttribute", readWindowCoveringPhysicalClosedLimitTiltAttributeInteractionInfo); - Map readWindowCoveringCurrentPositionLiftCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringCurrentPositionLiftAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readCurrentPositionLiftAttribute( - ( ChipClusters.WindowCoveringCluster.CurrentPositionLiftAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterCurrentPositionLiftAttributeCallback(), - readWindowCoveringCurrentPositionLiftCommandParams - ); - readWindowCoveringInteractionInfo.put("readCurrentPositionLiftAttribute", readWindowCoveringCurrentPositionLiftAttributeInteractionInfo); - Map readWindowCoveringCurrentPositionTiltCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringCurrentPositionTiltAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readCurrentPositionTiltAttribute( - ( ChipClusters.WindowCoveringCluster.CurrentPositionTiltAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterCurrentPositionTiltAttributeCallback(), - readWindowCoveringCurrentPositionTiltCommandParams - ); - readWindowCoveringInteractionInfo.put("readCurrentPositionTiltAttribute", readWindowCoveringCurrentPositionTiltAttributeInteractionInfo); - Map readWindowCoveringNumberOfActuationsLiftCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringNumberOfActuationsLiftAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readNumberOfActuationsLiftAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringNumberOfActuationsLiftCommandParams - ); - readWindowCoveringInteractionInfo.put("readNumberOfActuationsLiftAttribute", readWindowCoveringNumberOfActuationsLiftAttributeInteractionInfo); - Map readWindowCoveringNumberOfActuationsTiltCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringNumberOfActuationsTiltAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readNumberOfActuationsTiltAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringNumberOfActuationsTiltCommandParams - ); - readWindowCoveringInteractionInfo.put("readNumberOfActuationsTiltAttribute", readWindowCoveringNumberOfActuationsTiltAttributeInteractionInfo); - Map readWindowCoveringConfigStatusCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringConfigStatusAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readConfigStatusAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringConfigStatusCommandParams - ); - readWindowCoveringInteractionInfo.put("readConfigStatusAttribute", readWindowCoveringConfigStatusAttributeInteractionInfo); - Map readWindowCoveringCurrentPositionLiftPercentageCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringCurrentPositionLiftPercentageAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readCurrentPositionLiftPercentageAttribute( - ( ChipClusters.WindowCoveringCluster.CurrentPositionLiftPercentageAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterCurrentPositionLiftPercentageAttributeCallback(), - readWindowCoveringCurrentPositionLiftPercentageCommandParams - ); - readWindowCoveringInteractionInfo.put("readCurrentPositionLiftPercentageAttribute", readWindowCoveringCurrentPositionLiftPercentageAttributeInteractionInfo); - Map readWindowCoveringCurrentPositionTiltPercentageCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringCurrentPositionTiltPercentageAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readCurrentPositionTiltPercentageAttribute( - ( ChipClusters.WindowCoveringCluster.CurrentPositionTiltPercentageAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterCurrentPositionTiltPercentageAttributeCallback(), - readWindowCoveringCurrentPositionTiltPercentageCommandParams - ); - readWindowCoveringInteractionInfo.put("readCurrentPositionTiltPercentageAttribute", readWindowCoveringCurrentPositionTiltPercentageAttributeInteractionInfo); - Map readWindowCoveringOperationalStatusCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringOperationalStatusAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readOperationalStatusAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringOperationalStatusCommandParams - ); - readWindowCoveringInteractionInfo.put("readOperationalStatusAttribute", readWindowCoveringOperationalStatusAttributeInteractionInfo); - Map readWindowCoveringTargetPositionLiftPercent100thsCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringTargetPositionLiftPercent100thsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readTargetPositionLiftPercent100thsAttribute( - ( ChipClusters.WindowCoveringCluster.TargetPositionLiftPercent100thsAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterTargetPositionLiftPercent100thsAttributeCallback(), - readWindowCoveringTargetPositionLiftPercent100thsCommandParams - ); - readWindowCoveringInteractionInfo.put("readTargetPositionLiftPercent100thsAttribute", readWindowCoveringTargetPositionLiftPercent100thsAttributeInteractionInfo); - Map readWindowCoveringTargetPositionTiltPercent100thsCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringTargetPositionTiltPercent100thsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readTargetPositionTiltPercent100thsAttribute( - ( ChipClusters.WindowCoveringCluster.TargetPositionTiltPercent100thsAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterTargetPositionTiltPercent100thsAttributeCallback(), - readWindowCoveringTargetPositionTiltPercent100thsCommandParams - ); - readWindowCoveringInteractionInfo.put("readTargetPositionTiltPercent100thsAttribute", readWindowCoveringTargetPositionTiltPercent100thsAttributeInteractionInfo); - Map readWindowCoveringEndProductTypeCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringEndProductTypeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readEndProductTypeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringEndProductTypeCommandParams - ); - readWindowCoveringInteractionInfo.put("readEndProductTypeAttribute", readWindowCoveringEndProductTypeAttributeInteractionInfo); - Map readWindowCoveringCurrentPositionLiftPercent100thsCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringCurrentPositionLiftPercent100thsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readCurrentPositionLiftPercent100thsAttribute( - ( ChipClusters.WindowCoveringCluster.CurrentPositionLiftPercent100thsAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterCurrentPositionLiftPercent100thsAttributeCallback(), - readWindowCoveringCurrentPositionLiftPercent100thsCommandParams - ); - readWindowCoveringInteractionInfo.put("readCurrentPositionLiftPercent100thsAttribute", readWindowCoveringCurrentPositionLiftPercent100thsAttributeInteractionInfo); - Map readWindowCoveringCurrentPositionTiltPercent100thsCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringCurrentPositionTiltPercent100thsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readCurrentPositionTiltPercent100thsAttribute( - ( ChipClusters.WindowCoveringCluster.CurrentPositionTiltPercent100thsAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterCurrentPositionTiltPercent100thsAttributeCallback(), - readWindowCoveringCurrentPositionTiltPercent100thsCommandParams - ); - readWindowCoveringInteractionInfo.put("readCurrentPositionTiltPercent100thsAttribute", readWindowCoveringCurrentPositionTiltPercent100thsAttributeInteractionInfo); - Map readWindowCoveringInstalledOpenLimitLiftCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringInstalledOpenLimitLiftAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readInstalledOpenLimitLiftAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringInstalledOpenLimitLiftCommandParams - ); - readWindowCoveringInteractionInfo.put("readInstalledOpenLimitLiftAttribute", readWindowCoveringInstalledOpenLimitLiftAttributeInteractionInfo); - Map readWindowCoveringInstalledClosedLimitLiftCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringInstalledClosedLimitLiftAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readInstalledClosedLimitLiftAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringInstalledClosedLimitLiftCommandParams - ); - readWindowCoveringInteractionInfo.put("readInstalledClosedLimitLiftAttribute", readWindowCoveringInstalledClosedLimitLiftAttributeInteractionInfo); - Map readWindowCoveringInstalledOpenLimitTiltCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringInstalledOpenLimitTiltAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readInstalledOpenLimitTiltAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringInstalledOpenLimitTiltCommandParams - ); - readWindowCoveringInteractionInfo.put("readInstalledOpenLimitTiltAttribute", readWindowCoveringInstalledOpenLimitTiltAttributeInteractionInfo); - Map readWindowCoveringInstalledClosedLimitTiltCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringInstalledClosedLimitTiltAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readInstalledClosedLimitTiltAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringInstalledClosedLimitTiltCommandParams - ); - readWindowCoveringInteractionInfo.put("readInstalledClosedLimitTiltAttribute", readWindowCoveringInstalledClosedLimitTiltAttributeInteractionInfo); - Map readWindowCoveringModeCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readModeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringModeCommandParams - ); - readWindowCoveringInteractionInfo.put("readModeAttribute", readWindowCoveringModeAttributeInteractionInfo); - Map readWindowCoveringSafetyStatusCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringSafetyStatusAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readSafetyStatusAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringSafetyStatusCommandParams - ); - readWindowCoveringInteractionInfo.put("readSafetyStatusAttribute", readWindowCoveringSafetyStatusAttributeInteractionInfo); - Map readWindowCoveringGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.WindowCoveringCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterGeneratedCommandListAttributeCallback(), - readWindowCoveringGeneratedCommandListCommandParams - ); - readWindowCoveringInteractionInfo.put("readGeneratedCommandListAttribute", readWindowCoveringGeneratedCommandListAttributeInteractionInfo); - Map readWindowCoveringAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.WindowCoveringCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterAcceptedCommandListAttributeCallback(), - readWindowCoveringAcceptedCommandListCommandParams - ); - readWindowCoveringInteractionInfo.put("readAcceptedCommandListAttribute", readWindowCoveringAcceptedCommandListAttributeInteractionInfo); - Map readWindowCoveringEventListCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readEventListAttribute( - ( ChipClusters.WindowCoveringCluster.EventListAttributeCallback - ) callback - ); - }, + readDoorLockAttributeListCommandParams); + readDoorLockInteractionInfo.put( + "readAttributeListAttribute", readDoorLockAttributeListAttributeInteractionInfo); + Map readDoorLockFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readDoorLockFeatureMapCommandParams); + readDoorLockInteractionInfo.put( + "readFeatureMapAttribute", readDoorLockFeatureMapAttributeInteractionInfo); + Map readDoorLockClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readDoorLockClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readDoorLockClusterRevisionCommandParams); + readDoorLockInteractionInfo.put( + "readClusterRevisionAttribute", readDoorLockClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("doorLock", readDoorLockInteractionInfo); + Map readWindowCoveringInteractionInfo = new LinkedHashMap<>(); + Map readWindowCoveringTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringTypeCommandParams); + readWindowCoveringInteractionInfo.put( + "readTypeAttribute", readWindowCoveringTypeAttributeInteractionInfo); + Map readWindowCoveringPhysicalClosedLimitLiftCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringPhysicalClosedLimitLiftAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readPhysicalClosedLimitLiftAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringPhysicalClosedLimitLiftCommandParams); + readWindowCoveringInteractionInfo.put( + "readPhysicalClosedLimitLiftAttribute", + readWindowCoveringPhysicalClosedLimitLiftAttributeInteractionInfo); + Map readWindowCoveringPhysicalClosedLimitTiltCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringPhysicalClosedLimitTiltAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readPhysicalClosedLimitTiltAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringPhysicalClosedLimitTiltCommandParams); + readWindowCoveringInteractionInfo.put( + "readPhysicalClosedLimitTiltAttribute", + readWindowCoveringPhysicalClosedLimitTiltAttributeInteractionInfo); + Map readWindowCoveringCurrentPositionLiftCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringCurrentPositionLiftAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readCurrentPositionLiftAttribute( + (ChipClusters.WindowCoveringCluster.CurrentPositionLiftAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWindowCoveringClusterCurrentPositionLiftAttributeCallback(), + readWindowCoveringCurrentPositionLiftCommandParams); + readWindowCoveringInteractionInfo.put( + "readCurrentPositionLiftAttribute", + readWindowCoveringCurrentPositionLiftAttributeInteractionInfo); + Map readWindowCoveringCurrentPositionTiltCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringCurrentPositionTiltAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readCurrentPositionTiltAttribute( + (ChipClusters.WindowCoveringCluster.CurrentPositionTiltAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWindowCoveringClusterCurrentPositionTiltAttributeCallback(), + readWindowCoveringCurrentPositionTiltCommandParams); + readWindowCoveringInteractionInfo.put( + "readCurrentPositionTiltAttribute", + readWindowCoveringCurrentPositionTiltAttributeInteractionInfo); + Map readWindowCoveringNumberOfActuationsLiftCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringNumberOfActuationsLiftAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readNumberOfActuationsLiftAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringNumberOfActuationsLiftCommandParams); + readWindowCoveringInteractionInfo.put( + "readNumberOfActuationsLiftAttribute", + readWindowCoveringNumberOfActuationsLiftAttributeInteractionInfo); + Map readWindowCoveringNumberOfActuationsTiltCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringNumberOfActuationsTiltAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readNumberOfActuationsTiltAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringNumberOfActuationsTiltCommandParams); + readWindowCoveringInteractionInfo.put( + "readNumberOfActuationsTiltAttribute", + readWindowCoveringNumberOfActuationsTiltAttributeInteractionInfo); + Map readWindowCoveringConfigStatusCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringConfigStatusAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readConfigStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringConfigStatusCommandParams); + readWindowCoveringInteractionInfo.put( + "readConfigStatusAttribute", readWindowCoveringConfigStatusAttributeInteractionInfo); + Map readWindowCoveringCurrentPositionLiftPercentageCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringCurrentPositionLiftPercentageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readCurrentPositionLiftPercentageAttribute( + (ChipClusters.WindowCoveringCluster + .CurrentPositionLiftPercentageAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWindowCoveringClusterCurrentPositionLiftPercentageAttributeCallback(), + readWindowCoveringCurrentPositionLiftPercentageCommandParams); + readWindowCoveringInteractionInfo.put( + "readCurrentPositionLiftPercentageAttribute", + readWindowCoveringCurrentPositionLiftPercentageAttributeInteractionInfo); + Map readWindowCoveringCurrentPositionTiltPercentageCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringCurrentPositionTiltPercentageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readCurrentPositionTiltPercentageAttribute( + (ChipClusters.WindowCoveringCluster + .CurrentPositionTiltPercentageAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWindowCoveringClusterCurrentPositionTiltPercentageAttributeCallback(), + readWindowCoveringCurrentPositionTiltPercentageCommandParams); + readWindowCoveringInteractionInfo.put( + "readCurrentPositionTiltPercentageAttribute", + readWindowCoveringCurrentPositionTiltPercentageAttributeInteractionInfo); + Map readWindowCoveringOperationalStatusCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringOperationalStatusAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readOperationalStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringOperationalStatusCommandParams); + readWindowCoveringInteractionInfo.put( + "readOperationalStatusAttribute", + readWindowCoveringOperationalStatusAttributeInteractionInfo); + Map + readWindowCoveringTargetPositionLiftPercent100thsCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringTargetPositionLiftPercent100thsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readTargetPositionLiftPercent100thsAttribute( + (ChipClusters.WindowCoveringCluster + .TargetPositionLiftPercent100thsAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWindowCoveringClusterTargetPositionLiftPercent100thsAttributeCallback(), + readWindowCoveringTargetPositionLiftPercent100thsCommandParams); + readWindowCoveringInteractionInfo.put( + "readTargetPositionLiftPercent100thsAttribute", + readWindowCoveringTargetPositionLiftPercent100thsAttributeInteractionInfo); + Map + readWindowCoveringTargetPositionTiltPercent100thsCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringTargetPositionTiltPercent100thsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readTargetPositionTiltPercent100thsAttribute( + (ChipClusters.WindowCoveringCluster + .TargetPositionTiltPercent100thsAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWindowCoveringClusterTargetPositionTiltPercent100thsAttributeCallback(), + readWindowCoveringTargetPositionTiltPercent100thsCommandParams); + readWindowCoveringInteractionInfo.put( + "readTargetPositionTiltPercent100thsAttribute", + readWindowCoveringTargetPositionTiltPercent100thsAttributeInteractionInfo); + Map readWindowCoveringEndProductTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringEndProductTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readEndProductTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringEndProductTypeCommandParams); + readWindowCoveringInteractionInfo.put( + "readEndProductTypeAttribute", readWindowCoveringEndProductTypeAttributeInteractionInfo); + Map + readWindowCoveringCurrentPositionLiftPercent100thsCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringCurrentPositionLiftPercent100thsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readCurrentPositionLiftPercent100thsAttribute( + (ChipClusters.WindowCoveringCluster + .CurrentPositionLiftPercent100thsAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWindowCoveringClusterCurrentPositionLiftPercent100thsAttributeCallback(), + readWindowCoveringCurrentPositionLiftPercent100thsCommandParams); + readWindowCoveringInteractionInfo.put( + "readCurrentPositionLiftPercent100thsAttribute", + readWindowCoveringCurrentPositionLiftPercent100thsAttributeInteractionInfo); + Map + readWindowCoveringCurrentPositionTiltPercent100thsCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringCurrentPositionTiltPercent100thsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readCurrentPositionTiltPercent100thsAttribute( + (ChipClusters.WindowCoveringCluster + .CurrentPositionTiltPercent100thsAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWindowCoveringClusterCurrentPositionTiltPercent100thsAttributeCallback(), + readWindowCoveringCurrentPositionTiltPercent100thsCommandParams); + readWindowCoveringInteractionInfo.put( + "readCurrentPositionTiltPercent100thsAttribute", + readWindowCoveringCurrentPositionTiltPercent100thsAttributeInteractionInfo); + Map readWindowCoveringInstalledOpenLimitLiftCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringInstalledOpenLimitLiftAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readInstalledOpenLimitLiftAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringInstalledOpenLimitLiftCommandParams); + readWindowCoveringInteractionInfo.put( + "readInstalledOpenLimitLiftAttribute", + readWindowCoveringInstalledOpenLimitLiftAttributeInteractionInfo); + Map readWindowCoveringInstalledClosedLimitLiftCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringInstalledClosedLimitLiftAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readInstalledClosedLimitLiftAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringInstalledClosedLimitLiftCommandParams); + readWindowCoveringInteractionInfo.put( + "readInstalledClosedLimitLiftAttribute", + readWindowCoveringInstalledClosedLimitLiftAttributeInteractionInfo); + Map readWindowCoveringInstalledOpenLimitTiltCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringInstalledOpenLimitTiltAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readInstalledOpenLimitTiltAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringInstalledOpenLimitTiltCommandParams); + readWindowCoveringInteractionInfo.put( + "readInstalledOpenLimitTiltAttribute", + readWindowCoveringInstalledOpenLimitTiltAttributeInteractionInfo); + Map readWindowCoveringInstalledClosedLimitTiltCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringInstalledClosedLimitTiltAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readInstalledClosedLimitTiltAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringInstalledClosedLimitTiltCommandParams); + readWindowCoveringInteractionInfo.put( + "readInstalledClosedLimitTiltAttribute", + readWindowCoveringInstalledClosedLimitTiltAttributeInteractionInfo); + Map readWindowCoveringModeCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readModeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringModeCommandParams); + readWindowCoveringInteractionInfo.put( + "readModeAttribute", readWindowCoveringModeAttributeInteractionInfo); + Map readWindowCoveringSafetyStatusCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringSafetyStatusAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readSafetyStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringSafetyStatusCommandParams); + readWindowCoveringInteractionInfo.put( + "readSafetyStatusAttribute", readWindowCoveringSafetyStatusAttributeInteractionInfo); + Map readWindowCoveringGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.WindowCoveringCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWindowCoveringClusterGeneratedCommandListAttributeCallback(), + readWindowCoveringGeneratedCommandListCommandParams); + readWindowCoveringInteractionInfo.put( + "readGeneratedCommandListAttribute", + readWindowCoveringGeneratedCommandListAttributeInteractionInfo); + Map readWindowCoveringAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.WindowCoveringCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWindowCoveringClusterAcceptedCommandListAttributeCallback(), + readWindowCoveringAcceptedCommandListCommandParams); + readWindowCoveringInteractionInfo.put( + "readAcceptedCommandListAttribute", + readWindowCoveringAcceptedCommandListAttributeInteractionInfo); + Map readWindowCoveringEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readEventListAttribute( + (ChipClusters.WindowCoveringCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterEventListAttributeCallback(), - readWindowCoveringEventListCommandParams - ); - readWindowCoveringInteractionInfo.put("readEventListAttribute", readWindowCoveringEventListAttributeInteractionInfo); - Map readWindowCoveringAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readAttributeListAttribute( - ( ChipClusters.WindowCoveringCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWindowCoveringClusterAttributeListAttributeCallback(), - readWindowCoveringAttributeListCommandParams - ); - readWindowCoveringInteractionInfo.put("readAttributeListAttribute", readWindowCoveringAttributeListAttributeInteractionInfo); - Map readWindowCoveringFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readWindowCoveringFeatureMapCommandParams - ); - readWindowCoveringInteractionInfo.put("readFeatureMapAttribute", readWindowCoveringFeatureMapAttributeInteractionInfo); - Map readWindowCoveringClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readWindowCoveringClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWindowCoveringClusterRevisionCommandParams - ); - readWindowCoveringInteractionInfo.put("readClusterRevisionAttribute", readWindowCoveringClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("windowCovering", readWindowCoveringInteractionInfo); - Map readBarrierControlInteractionInfo = new LinkedHashMap<>(); - Map readBarrierControlBarrierMovingStateCommandParams = new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierMovingStateAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster).readBarrierMovingStateAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierMovingStateCommandParams - ); - readBarrierControlInteractionInfo.put("readBarrierMovingStateAttribute", readBarrierControlBarrierMovingStateAttributeInteractionInfo); - Map readBarrierControlBarrierSafetyStatusCommandParams = new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierSafetyStatusAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster).readBarrierSafetyStatusAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierSafetyStatusCommandParams - ); - readBarrierControlInteractionInfo.put("readBarrierSafetyStatusAttribute", readBarrierControlBarrierSafetyStatusAttributeInteractionInfo); - Map readBarrierControlBarrierCapabilitiesCommandParams = new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierCapabilitiesAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster).readBarrierCapabilitiesAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierCapabilitiesCommandParams - ); - readBarrierControlInteractionInfo.put("readBarrierCapabilitiesAttribute", readBarrierControlBarrierCapabilitiesAttributeInteractionInfo); - Map readBarrierControlBarrierOpenEventsCommandParams = new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierOpenEventsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster).readBarrierOpenEventsAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierOpenEventsCommandParams - ); - readBarrierControlInteractionInfo.put("readBarrierOpenEventsAttribute", readBarrierControlBarrierOpenEventsAttributeInteractionInfo); - Map readBarrierControlBarrierCloseEventsCommandParams = new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierCloseEventsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster).readBarrierCloseEventsAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierCloseEventsCommandParams - ); - readBarrierControlInteractionInfo.put("readBarrierCloseEventsAttribute", readBarrierControlBarrierCloseEventsAttributeInteractionInfo); - Map readBarrierControlBarrierCommandOpenEventsCommandParams = new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierCommandOpenEventsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster).readBarrierCommandOpenEventsAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierCommandOpenEventsCommandParams - ); - readBarrierControlInteractionInfo.put("readBarrierCommandOpenEventsAttribute", readBarrierControlBarrierCommandOpenEventsAttributeInteractionInfo); - Map readBarrierControlBarrierCommandCloseEventsCommandParams = new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierCommandCloseEventsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster).readBarrierCommandCloseEventsAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierCommandCloseEventsCommandParams - ); - readBarrierControlInteractionInfo.put("readBarrierCommandCloseEventsAttribute", readBarrierControlBarrierCommandCloseEventsAttributeInteractionInfo); - Map readBarrierControlBarrierOpenPeriodCommandParams = new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierOpenPeriodAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster).readBarrierOpenPeriodAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierOpenPeriodCommandParams - ); - readBarrierControlInteractionInfo.put("readBarrierOpenPeriodAttribute", readBarrierControlBarrierOpenPeriodAttributeInteractionInfo); - Map readBarrierControlBarrierClosePeriodCommandParams = new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierClosePeriodAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster).readBarrierClosePeriodAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierClosePeriodCommandParams - ); - readBarrierControlInteractionInfo.put("readBarrierClosePeriodAttribute", readBarrierControlBarrierClosePeriodAttributeInteractionInfo); - Map readBarrierControlBarrierPositionCommandParams = new LinkedHashMap(); - InteractionInfo readBarrierControlBarrierPositionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster).readBarrierPositionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBarrierControlBarrierPositionCommandParams - ); - readBarrierControlInteractionInfo.put("readBarrierPositionAttribute", readBarrierControlBarrierPositionAttributeInteractionInfo); - Map readBarrierControlGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readBarrierControlGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.BarrierControlCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBarrierControlClusterGeneratedCommandListAttributeCallback(), - readBarrierControlGeneratedCommandListCommandParams - ); - readBarrierControlInteractionInfo.put("readGeneratedCommandListAttribute", readBarrierControlGeneratedCommandListAttributeInteractionInfo); - Map readBarrierControlAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readBarrierControlAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.BarrierControlCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBarrierControlClusterAcceptedCommandListAttributeCallback(), - readBarrierControlAcceptedCommandListCommandParams - ); - readBarrierControlInteractionInfo.put("readAcceptedCommandListAttribute", readBarrierControlAcceptedCommandListAttributeInteractionInfo); - Map readBarrierControlEventListCommandParams = new LinkedHashMap(); - InteractionInfo readBarrierControlEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster).readEventListAttribute( - ( ChipClusters.BarrierControlCluster.EventListAttributeCallback - ) callback - ); - }, + readWindowCoveringEventListCommandParams); + readWindowCoveringInteractionInfo.put( + "readEventListAttribute", readWindowCoveringEventListAttributeInteractionInfo); + Map readWindowCoveringAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.WindowCoveringCluster.AttributeListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWindowCoveringClusterAttributeListAttributeCallback(), + readWindowCoveringAttributeListCommandParams); + readWindowCoveringInteractionInfo.put( + "readAttributeListAttribute", readWindowCoveringAttributeListAttributeInteractionInfo); + Map readWindowCoveringFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readWindowCoveringFeatureMapCommandParams); + readWindowCoveringInteractionInfo.put( + "readFeatureMapAttribute", readWindowCoveringFeatureMapAttributeInteractionInfo); + Map readWindowCoveringClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readWindowCoveringClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWindowCoveringClusterRevisionCommandParams); + readWindowCoveringInteractionInfo.put( + "readClusterRevisionAttribute", readWindowCoveringClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("windowCovering", readWindowCoveringInteractionInfo); + Map readBarrierControlInteractionInfo = new LinkedHashMap<>(); + Map readBarrierControlBarrierMovingStateCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierMovingStateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readBarrierMovingStateAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierMovingStateCommandParams); + readBarrierControlInteractionInfo.put( + "readBarrierMovingStateAttribute", + readBarrierControlBarrierMovingStateAttributeInteractionInfo); + Map readBarrierControlBarrierSafetyStatusCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierSafetyStatusAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readBarrierSafetyStatusAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierSafetyStatusCommandParams); + readBarrierControlInteractionInfo.put( + "readBarrierSafetyStatusAttribute", + readBarrierControlBarrierSafetyStatusAttributeInteractionInfo); + Map readBarrierControlBarrierCapabilitiesCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierCapabilitiesAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readBarrierCapabilitiesAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierCapabilitiesCommandParams); + readBarrierControlInteractionInfo.put( + "readBarrierCapabilitiesAttribute", + readBarrierControlBarrierCapabilitiesAttributeInteractionInfo); + Map readBarrierControlBarrierOpenEventsCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierOpenEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readBarrierOpenEventsAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierOpenEventsCommandParams); + readBarrierControlInteractionInfo.put( + "readBarrierOpenEventsAttribute", + readBarrierControlBarrierOpenEventsAttributeInteractionInfo); + Map readBarrierControlBarrierCloseEventsCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierCloseEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readBarrierCloseEventsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierCloseEventsCommandParams); + readBarrierControlInteractionInfo.put( + "readBarrierCloseEventsAttribute", + readBarrierControlBarrierCloseEventsAttributeInteractionInfo); + Map readBarrierControlBarrierCommandOpenEventsCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierCommandOpenEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readBarrierCommandOpenEventsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierCommandOpenEventsCommandParams); + readBarrierControlInteractionInfo.put( + "readBarrierCommandOpenEventsAttribute", + readBarrierControlBarrierCommandOpenEventsAttributeInteractionInfo); + Map readBarrierControlBarrierCommandCloseEventsCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierCommandCloseEventsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readBarrierCommandCloseEventsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierCommandCloseEventsCommandParams); + readBarrierControlInteractionInfo.put( + "readBarrierCommandCloseEventsAttribute", + readBarrierControlBarrierCommandCloseEventsAttributeInteractionInfo); + Map readBarrierControlBarrierOpenPeriodCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierOpenPeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readBarrierOpenPeriodAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierOpenPeriodCommandParams); + readBarrierControlInteractionInfo.put( + "readBarrierOpenPeriodAttribute", + readBarrierControlBarrierOpenPeriodAttributeInteractionInfo); + Map readBarrierControlBarrierClosePeriodCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierClosePeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readBarrierClosePeriodAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierClosePeriodCommandParams); + readBarrierControlInteractionInfo.put( + "readBarrierClosePeriodAttribute", + readBarrierControlBarrierClosePeriodAttributeInteractionInfo); + Map readBarrierControlBarrierPositionCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlBarrierPositionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readBarrierPositionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlBarrierPositionCommandParams); + readBarrierControlInteractionInfo.put( + "readBarrierPositionAttribute", readBarrierControlBarrierPositionAttributeInteractionInfo); + Map readBarrierControlGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.BarrierControlCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBarrierControlClusterGeneratedCommandListAttributeCallback(), + readBarrierControlGeneratedCommandListCommandParams); + readBarrierControlInteractionInfo.put( + "readGeneratedCommandListAttribute", + readBarrierControlGeneratedCommandListAttributeInteractionInfo); + Map readBarrierControlAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.BarrierControlCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBarrierControlClusterAcceptedCommandListAttributeCallback(), + readBarrierControlAcceptedCommandListCommandParams); + readBarrierControlInteractionInfo.put( + "readAcceptedCommandListAttribute", + readBarrierControlAcceptedCommandListAttributeInteractionInfo); + Map readBarrierControlEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readEventListAttribute( + (ChipClusters.BarrierControlCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBarrierControlClusterEventListAttributeCallback(), - readBarrierControlEventListCommandParams - ); - readBarrierControlInteractionInfo.put("readEventListAttribute", readBarrierControlEventListAttributeInteractionInfo); - Map readBarrierControlAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readBarrierControlAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster).readAttributeListAttribute( - ( ChipClusters.BarrierControlCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBarrierControlClusterAttributeListAttributeCallback(), - readBarrierControlAttributeListCommandParams - ); - readBarrierControlInteractionInfo.put("readAttributeListAttribute", readBarrierControlAttributeListAttributeInteractionInfo); - Map readBarrierControlFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readBarrierControlFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readBarrierControlFeatureMapCommandParams - ); - readBarrierControlInteractionInfo.put("readFeatureMapAttribute", readBarrierControlFeatureMapAttributeInteractionInfo); - Map readBarrierControlClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readBarrierControlClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBarrierControlClusterRevisionCommandParams - ); - readBarrierControlInteractionInfo.put("readClusterRevisionAttribute", readBarrierControlClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("barrierControl", readBarrierControlInteractionInfo); - Map readPumpConfigurationAndControlInteractionInfo = new LinkedHashMap<>(); - Map readPumpConfigurationAndControlMaxPressureCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxPressureAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMaxPressureAttribute( - ( ChipClusters.PumpConfigurationAndControlCluster.MaxPressureAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMaxPressureAttributeCallback(), - readPumpConfigurationAndControlMaxPressureCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readMaxPressureAttribute", readPumpConfigurationAndControlMaxPressureAttributeInteractionInfo); - Map readPumpConfigurationAndControlMaxSpeedCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxSpeedAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMaxSpeedAttribute( - ( ChipClusters.PumpConfigurationAndControlCluster.MaxSpeedAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMaxSpeedAttributeCallback(), - readPumpConfigurationAndControlMaxSpeedCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readMaxSpeedAttribute", readPumpConfigurationAndControlMaxSpeedAttributeInteractionInfo); - Map readPumpConfigurationAndControlMaxFlowCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxFlowAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMaxFlowAttribute( - ( ChipClusters.PumpConfigurationAndControlCluster.MaxFlowAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMaxFlowAttributeCallback(), - readPumpConfigurationAndControlMaxFlowCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readMaxFlowAttribute", readPumpConfigurationAndControlMaxFlowAttributeInteractionInfo); - Map readPumpConfigurationAndControlMinConstPressureCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMinConstPressureAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMinConstPressureAttribute( - ( ChipClusters.PumpConfigurationAndControlCluster.MinConstPressureAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMinConstPressureAttributeCallback(), - readPumpConfigurationAndControlMinConstPressureCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readMinConstPressureAttribute", readPumpConfigurationAndControlMinConstPressureAttributeInteractionInfo); - Map readPumpConfigurationAndControlMaxConstPressureCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxConstPressureAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMaxConstPressureAttribute( - ( ChipClusters.PumpConfigurationAndControlCluster.MaxConstPressureAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMaxConstPressureAttributeCallback(), - readPumpConfigurationAndControlMaxConstPressureCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readMaxConstPressureAttribute", readPumpConfigurationAndControlMaxConstPressureAttributeInteractionInfo); - Map readPumpConfigurationAndControlMinCompPressureCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMinCompPressureAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMinCompPressureAttribute( - ( ChipClusters.PumpConfigurationAndControlCluster.MinCompPressureAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMinCompPressureAttributeCallback(), - readPumpConfigurationAndControlMinCompPressureCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readMinCompPressureAttribute", readPumpConfigurationAndControlMinCompPressureAttributeInteractionInfo); - Map readPumpConfigurationAndControlMaxCompPressureCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxCompPressureAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMaxCompPressureAttribute( - ( ChipClusters.PumpConfigurationAndControlCluster.MaxCompPressureAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMaxCompPressureAttributeCallback(), - readPumpConfigurationAndControlMaxCompPressureCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readMaxCompPressureAttribute", readPumpConfigurationAndControlMaxCompPressureAttributeInteractionInfo); - Map readPumpConfigurationAndControlMinConstSpeedCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMinConstSpeedAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMinConstSpeedAttribute( - ( ChipClusters.PumpConfigurationAndControlCluster.MinConstSpeedAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMinConstSpeedAttributeCallback(), - readPumpConfigurationAndControlMinConstSpeedCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readMinConstSpeedAttribute", readPumpConfigurationAndControlMinConstSpeedAttributeInteractionInfo); - Map readPumpConfigurationAndControlMaxConstSpeedCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxConstSpeedAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMaxConstSpeedAttribute( - ( ChipClusters.PumpConfigurationAndControlCluster.MaxConstSpeedAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMaxConstSpeedAttributeCallback(), - readPumpConfigurationAndControlMaxConstSpeedCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readMaxConstSpeedAttribute", readPumpConfigurationAndControlMaxConstSpeedAttributeInteractionInfo); - Map readPumpConfigurationAndControlMinConstFlowCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMinConstFlowAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMinConstFlowAttribute( - ( ChipClusters.PumpConfigurationAndControlCluster.MinConstFlowAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMinConstFlowAttributeCallback(), - readPumpConfigurationAndControlMinConstFlowCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readMinConstFlowAttribute", readPumpConfigurationAndControlMinConstFlowAttributeInteractionInfo); - Map readPumpConfigurationAndControlMaxConstFlowCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxConstFlowAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMaxConstFlowAttribute( - ( ChipClusters.PumpConfigurationAndControlCluster.MaxConstFlowAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMaxConstFlowAttributeCallback(), - readPumpConfigurationAndControlMaxConstFlowCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readMaxConstFlowAttribute", readPumpConfigurationAndControlMaxConstFlowAttributeInteractionInfo); - Map readPumpConfigurationAndControlMinConstTempCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMinConstTempAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMinConstTempAttribute( - ( ChipClusters.PumpConfigurationAndControlCluster.MinConstTempAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMinConstTempAttributeCallback(), - readPumpConfigurationAndControlMinConstTempCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readMinConstTempAttribute", readPumpConfigurationAndControlMinConstTempAttributeInteractionInfo); - Map readPumpConfigurationAndControlMaxConstTempCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlMaxConstTempAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readMaxConstTempAttribute( - ( ChipClusters.PumpConfigurationAndControlCluster.MaxConstTempAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterMaxConstTempAttributeCallback(), - readPumpConfigurationAndControlMaxConstTempCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readMaxConstTempAttribute", readPumpConfigurationAndControlMaxConstTempAttributeInteractionInfo); - Map readPumpConfigurationAndControlPumpStatusCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlPumpStatusAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readPumpStatusAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlPumpStatusCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readPumpStatusAttribute", readPumpConfigurationAndControlPumpStatusAttributeInteractionInfo); - Map readPumpConfigurationAndControlEffectiveOperationModeCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlEffectiveOperationModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readEffectiveOperationModeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlEffectiveOperationModeCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readEffectiveOperationModeAttribute", readPumpConfigurationAndControlEffectiveOperationModeAttributeInteractionInfo); - Map readPumpConfigurationAndControlEffectiveControlModeCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlEffectiveControlModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readEffectiveControlModeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlEffectiveControlModeCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readEffectiveControlModeAttribute", readPumpConfigurationAndControlEffectiveControlModeAttributeInteractionInfo); - Map readPumpConfigurationAndControlCapacityCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlCapacityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readCapacityAttribute( - ( ChipClusters.PumpConfigurationAndControlCluster.CapacityAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterCapacityAttributeCallback(), - readPumpConfigurationAndControlCapacityCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readCapacityAttribute", readPumpConfigurationAndControlCapacityAttributeInteractionInfo); - Map readPumpConfigurationAndControlSpeedCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlSpeedAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readSpeedAttribute( - ( ChipClusters.PumpConfigurationAndControlCluster.SpeedAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterSpeedAttributeCallback(), - readPumpConfigurationAndControlSpeedCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readSpeedAttribute", readPumpConfigurationAndControlSpeedAttributeInteractionInfo); - Map readPumpConfigurationAndControlLifetimeRunningHoursCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlLifetimeRunningHoursAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readLifetimeRunningHoursAttribute( - ( ChipClusters.PumpConfigurationAndControlCluster.LifetimeRunningHoursAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterLifetimeRunningHoursAttributeCallback(), - readPumpConfigurationAndControlLifetimeRunningHoursCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readLifetimeRunningHoursAttribute", readPumpConfigurationAndControlLifetimeRunningHoursAttributeInteractionInfo); - Map readPumpConfigurationAndControlPowerCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlPowerAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readPowerAttribute( - ( ChipClusters.PumpConfigurationAndControlCluster.PowerAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterPowerAttributeCallback(), - readPumpConfigurationAndControlPowerCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readPowerAttribute", readPumpConfigurationAndControlPowerAttributeInteractionInfo); - Map readPumpConfigurationAndControlLifetimeEnergyConsumedCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlLifetimeEnergyConsumedAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readLifetimeEnergyConsumedAttribute( - ( ChipClusters.PumpConfigurationAndControlCluster.LifetimeEnergyConsumedAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterLifetimeEnergyConsumedAttributeCallback(), - readPumpConfigurationAndControlLifetimeEnergyConsumedCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readLifetimeEnergyConsumedAttribute", readPumpConfigurationAndControlLifetimeEnergyConsumedAttributeInteractionInfo); - Map readPumpConfigurationAndControlOperationModeCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlOperationModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readOperationModeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlOperationModeCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readOperationModeAttribute", readPumpConfigurationAndControlOperationModeAttributeInteractionInfo); - Map readPumpConfigurationAndControlControlModeCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlControlModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readControlModeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlControlModeCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readControlModeAttribute", readPumpConfigurationAndControlControlModeAttributeInteractionInfo); - Map readPumpConfigurationAndControlGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.PumpConfigurationAndControlCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterGeneratedCommandListAttributeCallback(), - readPumpConfigurationAndControlGeneratedCommandListCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readGeneratedCommandListAttribute", readPumpConfigurationAndControlGeneratedCommandListAttributeInteractionInfo); - Map readPumpConfigurationAndControlAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.PumpConfigurationAndControlCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterAcceptedCommandListAttributeCallback(), - readPumpConfigurationAndControlAcceptedCommandListCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readAcceptedCommandListAttribute", readPumpConfigurationAndControlAcceptedCommandListAttributeInteractionInfo); - Map readPumpConfigurationAndControlEventListCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readEventListAttribute( - ( ChipClusters.PumpConfigurationAndControlCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterEventListAttributeCallback(), - readPumpConfigurationAndControlEventListCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readEventListAttribute", readPumpConfigurationAndControlEventListAttributeInteractionInfo); - Map readPumpConfigurationAndControlAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readAttributeListAttribute( - ( ChipClusters.PumpConfigurationAndControlCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPumpConfigurationAndControlClusterAttributeListAttributeCallback(), - readPumpConfigurationAndControlAttributeListCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readAttributeListAttribute", readPumpConfigurationAndControlAttributeListAttributeInteractionInfo); - Map readPumpConfigurationAndControlFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readPumpConfigurationAndControlFeatureMapCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readFeatureMapAttribute", readPumpConfigurationAndControlFeatureMapAttributeInteractionInfo); - Map readPumpConfigurationAndControlClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readPumpConfigurationAndControlClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPumpConfigurationAndControlClusterRevisionCommandParams - ); - readPumpConfigurationAndControlInteractionInfo.put("readClusterRevisionAttribute", readPumpConfigurationAndControlClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("pumpConfigurationAndControl", readPumpConfigurationAndControlInteractionInfo); - Map readThermostatInteractionInfo = new LinkedHashMap<>(); - Map readThermostatLocalTemperatureCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatLocalTemperatureAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readLocalTemperatureAttribute( - ( ChipClusters.ThermostatCluster.LocalTemperatureAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThermostatClusterLocalTemperatureAttributeCallback(), - readThermostatLocalTemperatureCommandParams - ); - readThermostatInteractionInfo.put("readLocalTemperatureAttribute", readThermostatLocalTemperatureAttributeInteractionInfo); - Map readThermostatOutdoorTemperatureCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatOutdoorTemperatureAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readOutdoorTemperatureAttribute( - ( ChipClusters.ThermostatCluster.OutdoorTemperatureAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThermostatClusterOutdoorTemperatureAttributeCallback(), - readThermostatOutdoorTemperatureCommandParams - ); - readThermostatInteractionInfo.put("readOutdoorTemperatureAttribute", readThermostatOutdoorTemperatureAttributeInteractionInfo); - Map readThermostatOccupancyCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatOccupancyAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readOccupancyAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatOccupancyCommandParams - ); - readThermostatInteractionInfo.put("readOccupancyAttribute", readThermostatOccupancyAttributeInteractionInfo); - Map readThermostatAbsMinHeatSetpointLimitCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatAbsMinHeatSetpointLimitAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readAbsMinHeatSetpointLimitAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatAbsMinHeatSetpointLimitCommandParams - ); - readThermostatInteractionInfo.put("readAbsMinHeatSetpointLimitAttribute", readThermostatAbsMinHeatSetpointLimitAttributeInteractionInfo); - Map readThermostatAbsMaxHeatSetpointLimitCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatAbsMaxHeatSetpointLimitAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readAbsMaxHeatSetpointLimitAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatAbsMaxHeatSetpointLimitCommandParams - ); - readThermostatInteractionInfo.put("readAbsMaxHeatSetpointLimitAttribute", readThermostatAbsMaxHeatSetpointLimitAttributeInteractionInfo); - Map readThermostatAbsMinCoolSetpointLimitCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatAbsMinCoolSetpointLimitAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readAbsMinCoolSetpointLimitAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatAbsMinCoolSetpointLimitCommandParams - ); - readThermostatInteractionInfo.put("readAbsMinCoolSetpointLimitAttribute", readThermostatAbsMinCoolSetpointLimitAttributeInteractionInfo); - Map readThermostatAbsMaxCoolSetpointLimitCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatAbsMaxCoolSetpointLimitAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readAbsMaxCoolSetpointLimitAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatAbsMaxCoolSetpointLimitCommandParams - ); - readThermostatInteractionInfo.put("readAbsMaxCoolSetpointLimitAttribute", readThermostatAbsMaxCoolSetpointLimitAttributeInteractionInfo); - Map readThermostatPICoolingDemandCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatPICoolingDemandAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readPICoolingDemandAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatPICoolingDemandCommandParams - ); - readThermostatInteractionInfo.put("readPICoolingDemandAttribute", readThermostatPICoolingDemandAttributeInteractionInfo); - Map readThermostatPIHeatingDemandCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatPIHeatingDemandAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readPIHeatingDemandAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatPIHeatingDemandCommandParams - ); - readThermostatInteractionInfo.put("readPIHeatingDemandAttribute", readThermostatPIHeatingDemandAttributeInteractionInfo); - Map readThermostatHVACSystemTypeConfigurationCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatHVACSystemTypeConfigurationAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readHVACSystemTypeConfigurationAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatHVACSystemTypeConfigurationCommandParams - ); - readThermostatInteractionInfo.put("readHVACSystemTypeConfigurationAttribute", readThermostatHVACSystemTypeConfigurationAttributeInteractionInfo); - Map readThermostatLocalTemperatureCalibrationCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatLocalTemperatureCalibrationAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readLocalTemperatureCalibrationAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatLocalTemperatureCalibrationCommandParams - ); - readThermostatInteractionInfo.put("readLocalTemperatureCalibrationAttribute", readThermostatLocalTemperatureCalibrationAttributeInteractionInfo); - Map readThermostatOccupiedCoolingSetpointCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatOccupiedCoolingSetpointAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readOccupiedCoolingSetpointAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatOccupiedCoolingSetpointCommandParams - ); - readThermostatInteractionInfo.put("readOccupiedCoolingSetpointAttribute", readThermostatOccupiedCoolingSetpointAttributeInteractionInfo); - Map readThermostatOccupiedHeatingSetpointCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatOccupiedHeatingSetpointAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readOccupiedHeatingSetpointAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatOccupiedHeatingSetpointCommandParams - ); - readThermostatInteractionInfo.put("readOccupiedHeatingSetpointAttribute", readThermostatOccupiedHeatingSetpointAttributeInteractionInfo); - Map readThermostatUnoccupiedCoolingSetpointCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatUnoccupiedCoolingSetpointAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readUnoccupiedCoolingSetpointAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatUnoccupiedCoolingSetpointCommandParams - ); - readThermostatInteractionInfo.put("readUnoccupiedCoolingSetpointAttribute", readThermostatUnoccupiedCoolingSetpointAttributeInteractionInfo); - Map readThermostatUnoccupiedHeatingSetpointCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatUnoccupiedHeatingSetpointAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readUnoccupiedHeatingSetpointAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatUnoccupiedHeatingSetpointCommandParams - ); - readThermostatInteractionInfo.put("readUnoccupiedHeatingSetpointAttribute", readThermostatUnoccupiedHeatingSetpointAttributeInteractionInfo); - Map readThermostatMinHeatSetpointLimitCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatMinHeatSetpointLimitAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readMinHeatSetpointLimitAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatMinHeatSetpointLimitCommandParams - ); - readThermostatInteractionInfo.put("readMinHeatSetpointLimitAttribute", readThermostatMinHeatSetpointLimitAttributeInteractionInfo); - Map readThermostatMaxHeatSetpointLimitCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatMaxHeatSetpointLimitAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readMaxHeatSetpointLimitAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatMaxHeatSetpointLimitCommandParams - ); - readThermostatInteractionInfo.put("readMaxHeatSetpointLimitAttribute", readThermostatMaxHeatSetpointLimitAttributeInteractionInfo); - Map readThermostatMinCoolSetpointLimitCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatMinCoolSetpointLimitAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readMinCoolSetpointLimitAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatMinCoolSetpointLimitCommandParams - ); - readThermostatInteractionInfo.put("readMinCoolSetpointLimitAttribute", readThermostatMinCoolSetpointLimitAttributeInteractionInfo); - Map readThermostatMaxCoolSetpointLimitCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatMaxCoolSetpointLimitAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readMaxCoolSetpointLimitAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatMaxCoolSetpointLimitCommandParams - ); - readThermostatInteractionInfo.put("readMaxCoolSetpointLimitAttribute", readThermostatMaxCoolSetpointLimitAttributeInteractionInfo); - Map readThermostatMinSetpointDeadBandCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatMinSetpointDeadBandAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readMinSetpointDeadBandAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatMinSetpointDeadBandCommandParams - ); - readThermostatInteractionInfo.put("readMinSetpointDeadBandAttribute", readThermostatMinSetpointDeadBandAttributeInteractionInfo); - Map readThermostatRemoteSensingCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatRemoteSensingAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readRemoteSensingAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatRemoteSensingCommandParams - ); - readThermostatInteractionInfo.put("readRemoteSensingAttribute", readThermostatRemoteSensingAttributeInteractionInfo); - Map readThermostatControlSequenceOfOperationCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatControlSequenceOfOperationAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readControlSequenceOfOperationAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatControlSequenceOfOperationCommandParams - ); - readThermostatInteractionInfo.put("readControlSequenceOfOperationAttribute", readThermostatControlSequenceOfOperationAttributeInteractionInfo); - Map readThermostatSystemModeCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatSystemModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readSystemModeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatSystemModeCommandParams - ); - readThermostatInteractionInfo.put("readSystemModeAttribute", readThermostatSystemModeAttributeInteractionInfo); - Map readThermostatThermostatRunningModeCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatThermostatRunningModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readThermostatRunningModeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatThermostatRunningModeCommandParams - ); - readThermostatInteractionInfo.put("readThermostatRunningModeAttribute", readThermostatThermostatRunningModeAttributeInteractionInfo); - Map readThermostatStartOfWeekCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatStartOfWeekAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readStartOfWeekAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatStartOfWeekCommandParams - ); - readThermostatInteractionInfo.put("readStartOfWeekAttribute", readThermostatStartOfWeekAttributeInteractionInfo); - Map readThermostatNumberOfWeeklyTransitionsCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatNumberOfWeeklyTransitionsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readNumberOfWeeklyTransitionsAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatNumberOfWeeklyTransitionsCommandParams - ); - readThermostatInteractionInfo.put("readNumberOfWeeklyTransitionsAttribute", readThermostatNumberOfWeeklyTransitionsAttributeInteractionInfo); - Map readThermostatNumberOfDailyTransitionsCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatNumberOfDailyTransitionsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readNumberOfDailyTransitionsAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatNumberOfDailyTransitionsCommandParams - ); - readThermostatInteractionInfo.put("readNumberOfDailyTransitionsAttribute", readThermostatNumberOfDailyTransitionsAttributeInteractionInfo); - Map readThermostatTemperatureSetpointHoldCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatTemperatureSetpointHoldAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readTemperatureSetpointHoldAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatTemperatureSetpointHoldCommandParams - ); - readThermostatInteractionInfo.put("readTemperatureSetpointHoldAttribute", readThermostatTemperatureSetpointHoldAttributeInteractionInfo); - Map readThermostatTemperatureSetpointHoldDurationCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatTemperatureSetpointHoldDurationAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readTemperatureSetpointHoldDurationAttribute( - ( ChipClusters.ThermostatCluster.TemperatureSetpointHoldDurationAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThermostatClusterTemperatureSetpointHoldDurationAttributeCallback(), - readThermostatTemperatureSetpointHoldDurationCommandParams - ); - readThermostatInteractionInfo.put("readTemperatureSetpointHoldDurationAttribute", readThermostatTemperatureSetpointHoldDurationAttributeInteractionInfo); - Map readThermostatThermostatProgrammingOperationModeCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatThermostatProgrammingOperationModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readThermostatProgrammingOperationModeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatThermostatProgrammingOperationModeCommandParams - ); - readThermostatInteractionInfo.put("readThermostatProgrammingOperationModeAttribute", readThermostatThermostatProgrammingOperationModeAttributeInteractionInfo); - Map readThermostatThermostatRunningStateCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatThermostatRunningStateAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readThermostatRunningStateAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatThermostatRunningStateCommandParams - ); - readThermostatInteractionInfo.put("readThermostatRunningStateAttribute", readThermostatThermostatRunningStateAttributeInteractionInfo); - Map readThermostatSetpointChangeSourceCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatSetpointChangeSourceAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readSetpointChangeSourceAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatSetpointChangeSourceCommandParams - ); - readThermostatInteractionInfo.put("readSetpointChangeSourceAttribute", readThermostatSetpointChangeSourceAttributeInteractionInfo); - Map readThermostatSetpointChangeAmountCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatSetpointChangeAmountAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readSetpointChangeAmountAttribute( - ( ChipClusters.ThermostatCluster.SetpointChangeAmountAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThermostatClusterSetpointChangeAmountAttributeCallback(), - readThermostatSetpointChangeAmountCommandParams - ); - readThermostatInteractionInfo.put("readSetpointChangeAmountAttribute", readThermostatSetpointChangeAmountAttributeInteractionInfo); - Map readThermostatSetpointChangeSourceTimestampCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatSetpointChangeSourceTimestampAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readSetpointChangeSourceTimestampAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThermostatSetpointChangeSourceTimestampCommandParams - ); - readThermostatInteractionInfo.put("readSetpointChangeSourceTimestampAttribute", readThermostatSetpointChangeSourceTimestampAttributeInteractionInfo); - Map readThermostatOccupiedSetbackCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatOccupiedSetbackAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readOccupiedSetbackAttribute( - ( ChipClusters.ThermostatCluster.OccupiedSetbackAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThermostatClusterOccupiedSetbackAttributeCallback(), - readThermostatOccupiedSetbackCommandParams - ); - readThermostatInteractionInfo.put("readOccupiedSetbackAttribute", readThermostatOccupiedSetbackAttributeInteractionInfo); - Map readThermostatOccupiedSetbackMinCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatOccupiedSetbackMinAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readOccupiedSetbackMinAttribute( - ( ChipClusters.ThermostatCluster.OccupiedSetbackMinAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThermostatClusterOccupiedSetbackMinAttributeCallback(), - readThermostatOccupiedSetbackMinCommandParams - ); - readThermostatInteractionInfo.put("readOccupiedSetbackMinAttribute", readThermostatOccupiedSetbackMinAttributeInteractionInfo); - Map readThermostatOccupiedSetbackMaxCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatOccupiedSetbackMaxAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readOccupiedSetbackMaxAttribute( - ( ChipClusters.ThermostatCluster.OccupiedSetbackMaxAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThermostatClusterOccupiedSetbackMaxAttributeCallback(), - readThermostatOccupiedSetbackMaxCommandParams - ); - readThermostatInteractionInfo.put("readOccupiedSetbackMaxAttribute", readThermostatOccupiedSetbackMaxAttributeInteractionInfo); - Map readThermostatUnoccupiedSetbackCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatUnoccupiedSetbackAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readUnoccupiedSetbackAttribute( - ( ChipClusters.ThermostatCluster.UnoccupiedSetbackAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThermostatClusterUnoccupiedSetbackAttributeCallback(), - readThermostatUnoccupiedSetbackCommandParams - ); - readThermostatInteractionInfo.put("readUnoccupiedSetbackAttribute", readThermostatUnoccupiedSetbackAttributeInteractionInfo); - Map readThermostatUnoccupiedSetbackMinCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatUnoccupiedSetbackMinAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readUnoccupiedSetbackMinAttribute( - ( ChipClusters.ThermostatCluster.UnoccupiedSetbackMinAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThermostatClusterUnoccupiedSetbackMinAttributeCallback(), - readThermostatUnoccupiedSetbackMinCommandParams - ); - readThermostatInteractionInfo.put("readUnoccupiedSetbackMinAttribute", readThermostatUnoccupiedSetbackMinAttributeInteractionInfo); - Map readThermostatUnoccupiedSetbackMaxCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatUnoccupiedSetbackMaxAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readUnoccupiedSetbackMaxAttribute( - ( ChipClusters.ThermostatCluster.UnoccupiedSetbackMaxAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThermostatClusterUnoccupiedSetbackMaxAttributeCallback(), - readThermostatUnoccupiedSetbackMaxCommandParams - ); - readThermostatInteractionInfo.put("readUnoccupiedSetbackMaxAttribute", readThermostatUnoccupiedSetbackMaxAttributeInteractionInfo); - Map readThermostatEmergencyHeatDeltaCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatEmergencyHeatDeltaAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readEmergencyHeatDeltaAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatEmergencyHeatDeltaCommandParams - ); - readThermostatInteractionInfo.put("readEmergencyHeatDeltaAttribute", readThermostatEmergencyHeatDeltaAttributeInteractionInfo); - Map readThermostatACTypeCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatACTypeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readACTypeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatACTypeCommandParams - ); - readThermostatInteractionInfo.put("readACTypeAttribute", readThermostatACTypeAttributeInteractionInfo); - Map readThermostatACCapacityCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatACCapacityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readACCapacityAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatACCapacityCommandParams - ); - readThermostatInteractionInfo.put("readACCapacityAttribute", readThermostatACCapacityAttributeInteractionInfo); - Map readThermostatACRefrigerantTypeCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatACRefrigerantTypeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readACRefrigerantTypeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatACRefrigerantTypeCommandParams - ); - readThermostatInteractionInfo.put("readACRefrigerantTypeAttribute", readThermostatACRefrigerantTypeAttributeInteractionInfo); - Map readThermostatACCompressorTypeCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatACCompressorTypeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readACCompressorTypeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatACCompressorTypeCommandParams - ); - readThermostatInteractionInfo.put("readACCompressorTypeAttribute", readThermostatACCompressorTypeAttributeInteractionInfo); - Map readThermostatACErrorCodeCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatACErrorCodeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readACErrorCodeAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThermostatACErrorCodeCommandParams - ); - readThermostatInteractionInfo.put("readACErrorCodeAttribute", readThermostatACErrorCodeAttributeInteractionInfo); - Map readThermostatACLouverPositionCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatACLouverPositionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readACLouverPositionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatACLouverPositionCommandParams - ); - readThermostatInteractionInfo.put("readACLouverPositionAttribute", readThermostatACLouverPositionAttributeInteractionInfo); - Map readThermostatACCoilTemperatureCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatACCoilTemperatureAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readACCoilTemperatureAttribute( - ( ChipClusters.ThermostatCluster.ACCoilTemperatureAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThermostatClusterACCoilTemperatureAttributeCallback(), - readThermostatACCoilTemperatureCommandParams - ); - readThermostatInteractionInfo.put("readACCoilTemperatureAttribute", readThermostatACCoilTemperatureAttributeInteractionInfo); - Map readThermostatACCapacityformatCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatACCapacityformatAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readACCapacityformatAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatACCapacityformatCommandParams - ); - readThermostatInteractionInfo.put("readACCapacityformatAttribute", readThermostatACCapacityformatAttributeInteractionInfo); - Map readThermostatGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.ThermostatCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThermostatClusterGeneratedCommandListAttributeCallback(), - readThermostatGeneratedCommandListCommandParams - ); - readThermostatInteractionInfo.put("readGeneratedCommandListAttribute", readThermostatGeneratedCommandListAttributeInteractionInfo); - Map readThermostatAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.ThermostatCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThermostatClusterAcceptedCommandListAttributeCallback(), - readThermostatAcceptedCommandListCommandParams - ); - readThermostatInteractionInfo.put("readAcceptedCommandListAttribute", readThermostatAcceptedCommandListAttributeInteractionInfo); - Map readThermostatEventListCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readEventListAttribute( - ( ChipClusters.ThermostatCluster.EventListAttributeCallback - ) callback - ); - }, + readBarrierControlEventListCommandParams); + readBarrierControlInteractionInfo.put( + "readEventListAttribute", readBarrierControlEventListAttributeInteractionInfo); + Map readBarrierControlAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.BarrierControlCluster.AttributeListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBarrierControlClusterAttributeListAttributeCallback(), + readBarrierControlAttributeListCommandParams); + readBarrierControlInteractionInfo.put( + "readAttributeListAttribute", readBarrierControlAttributeListAttributeInteractionInfo); + Map readBarrierControlFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readBarrierControlFeatureMapCommandParams); + readBarrierControlInteractionInfo.put( + "readFeatureMapAttribute", readBarrierControlFeatureMapAttributeInteractionInfo); + Map readBarrierControlClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readBarrierControlClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBarrierControlClusterRevisionCommandParams); + readBarrierControlInteractionInfo.put( + "readClusterRevisionAttribute", readBarrierControlClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("barrierControl", readBarrierControlInteractionInfo); + Map readPumpConfigurationAndControlInteractionInfo = + new LinkedHashMap<>(); + Map readPumpConfigurationAndControlMaxPressureCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxPressureAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMaxPressureAttribute( + (ChipClusters.PumpConfigurationAndControlCluster.MaxPressureAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMaxPressureAttributeCallback(), + readPumpConfigurationAndControlMaxPressureCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMaxPressureAttribute", + readPumpConfigurationAndControlMaxPressureAttributeInteractionInfo); + Map readPumpConfigurationAndControlMaxSpeedCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxSpeedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMaxSpeedAttribute( + (ChipClusters.PumpConfigurationAndControlCluster.MaxSpeedAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMaxSpeedAttributeCallback(), + readPumpConfigurationAndControlMaxSpeedCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMaxSpeedAttribute", readPumpConfigurationAndControlMaxSpeedAttributeInteractionInfo); + Map readPumpConfigurationAndControlMaxFlowCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxFlowAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMaxFlowAttribute( + (ChipClusters.PumpConfigurationAndControlCluster.MaxFlowAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMaxFlowAttributeCallback(), + readPumpConfigurationAndControlMaxFlowCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMaxFlowAttribute", readPumpConfigurationAndControlMaxFlowAttributeInteractionInfo); + Map readPumpConfigurationAndControlMinConstPressureCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMinConstPressureAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMinConstPressureAttribute( + (ChipClusters.PumpConfigurationAndControlCluster + .MinConstPressureAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMinConstPressureAttributeCallback(), + readPumpConfigurationAndControlMinConstPressureCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMinConstPressureAttribute", + readPumpConfigurationAndControlMinConstPressureAttributeInteractionInfo); + Map readPumpConfigurationAndControlMaxConstPressureCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxConstPressureAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMaxConstPressureAttribute( + (ChipClusters.PumpConfigurationAndControlCluster + .MaxConstPressureAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMaxConstPressureAttributeCallback(), + readPumpConfigurationAndControlMaxConstPressureCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMaxConstPressureAttribute", + readPumpConfigurationAndControlMaxConstPressureAttributeInteractionInfo); + Map readPumpConfigurationAndControlMinCompPressureCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMinCompPressureAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMinCompPressureAttribute( + (ChipClusters.PumpConfigurationAndControlCluster + .MinCompPressureAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMinCompPressureAttributeCallback(), + readPumpConfigurationAndControlMinCompPressureCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMinCompPressureAttribute", + readPumpConfigurationAndControlMinCompPressureAttributeInteractionInfo); + Map readPumpConfigurationAndControlMaxCompPressureCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxCompPressureAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMaxCompPressureAttribute( + (ChipClusters.PumpConfigurationAndControlCluster + .MaxCompPressureAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMaxCompPressureAttributeCallback(), + readPumpConfigurationAndControlMaxCompPressureCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMaxCompPressureAttribute", + readPumpConfigurationAndControlMaxCompPressureAttributeInteractionInfo); + Map readPumpConfigurationAndControlMinConstSpeedCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMinConstSpeedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMinConstSpeedAttribute( + (ChipClusters.PumpConfigurationAndControlCluster + .MinConstSpeedAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMinConstSpeedAttributeCallback(), + readPumpConfigurationAndControlMinConstSpeedCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMinConstSpeedAttribute", + readPumpConfigurationAndControlMinConstSpeedAttributeInteractionInfo); + Map readPumpConfigurationAndControlMaxConstSpeedCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxConstSpeedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMaxConstSpeedAttribute( + (ChipClusters.PumpConfigurationAndControlCluster + .MaxConstSpeedAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMaxConstSpeedAttributeCallback(), + readPumpConfigurationAndControlMaxConstSpeedCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMaxConstSpeedAttribute", + readPumpConfigurationAndControlMaxConstSpeedAttributeInteractionInfo); + Map readPumpConfigurationAndControlMinConstFlowCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMinConstFlowAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMinConstFlowAttribute( + (ChipClusters.PumpConfigurationAndControlCluster + .MinConstFlowAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMinConstFlowAttributeCallback(), + readPumpConfigurationAndControlMinConstFlowCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMinConstFlowAttribute", + readPumpConfigurationAndControlMinConstFlowAttributeInteractionInfo); + Map readPumpConfigurationAndControlMaxConstFlowCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxConstFlowAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMaxConstFlowAttribute( + (ChipClusters.PumpConfigurationAndControlCluster + .MaxConstFlowAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMaxConstFlowAttributeCallback(), + readPumpConfigurationAndControlMaxConstFlowCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMaxConstFlowAttribute", + readPumpConfigurationAndControlMaxConstFlowAttributeInteractionInfo); + Map readPumpConfigurationAndControlMinConstTempCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMinConstTempAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMinConstTempAttribute( + (ChipClusters.PumpConfigurationAndControlCluster + .MinConstTempAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMinConstTempAttributeCallback(), + readPumpConfigurationAndControlMinConstTempCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMinConstTempAttribute", + readPumpConfigurationAndControlMinConstTempAttributeInteractionInfo); + Map readPumpConfigurationAndControlMaxConstTempCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlMaxConstTempAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readMaxConstTempAttribute( + (ChipClusters.PumpConfigurationAndControlCluster + .MaxConstTempAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterMaxConstTempAttributeCallback(), + readPumpConfigurationAndControlMaxConstTempCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readMaxConstTempAttribute", + readPumpConfigurationAndControlMaxConstTempAttributeInteractionInfo); + Map readPumpConfigurationAndControlPumpStatusCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlPumpStatusAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readPumpStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlPumpStatusCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readPumpStatusAttribute", + readPumpConfigurationAndControlPumpStatusAttributeInteractionInfo); + Map + readPumpConfigurationAndControlEffectiveOperationModeCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlEffectiveOperationModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readEffectiveOperationModeAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlEffectiveOperationModeCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readEffectiveOperationModeAttribute", + readPumpConfigurationAndControlEffectiveOperationModeAttributeInteractionInfo); + Map + readPumpConfigurationAndControlEffectiveControlModeCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlEffectiveControlModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readEffectiveControlModeAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlEffectiveControlModeCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readEffectiveControlModeAttribute", + readPumpConfigurationAndControlEffectiveControlModeAttributeInteractionInfo); + Map readPumpConfigurationAndControlCapacityCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlCapacityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readCapacityAttribute( + (ChipClusters.PumpConfigurationAndControlCluster.CapacityAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterCapacityAttributeCallback(), + readPumpConfigurationAndControlCapacityCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readCapacityAttribute", readPumpConfigurationAndControlCapacityAttributeInteractionInfo); + Map readPumpConfigurationAndControlSpeedCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlSpeedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readSpeedAttribute( + (ChipClusters.PumpConfigurationAndControlCluster.SpeedAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterSpeedAttributeCallback(), + readPumpConfigurationAndControlSpeedCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readSpeedAttribute", readPumpConfigurationAndControlSpeedAttributeInteractionInfo); + Map + readPumpConfigurationAndControlLifetimeRunningHoursCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlLifetimeRunningHoursAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readLifetimeRunningHoursAttribute( + (ChipClusters.PumpConfigurationAndControlCluster + .LifetimeRunningHoursAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterLifetimeRunningHoursAttributeCallback(), + readPumpConfigurationAndControlLifetimeRunningHoursCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readLifetimeRunningHoursAttribute", + readPumpConfigurationAndControlLifetimeRunningHoursAttributeInteractionInfo); + Map readPumpConfigurationAndControlPowerCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlPowerAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readPowerAttribute( + (ChipClusters.PumpConfigurationAndControlCluster.PowerAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterPowerAttributeCallback(), + readPumpConfigurationAndControlPowerCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readPowerAttribute", readPumpConfigurationAndControlPowerAttributeInteractionInfo); + Map + readPumpConfigurationAndControlLifetimeEnergyConsumedCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlLifetimeEnergyConsumedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readLifetimeEnergyConsumedAttribute( + (ChipClusters.PumpConfigurationAndControlCluster + .LifetimeEnergyConsumedAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterLifetimeEnergyConsumedAttributeCallback(), + readPumpConfigurationAndControlLifetimeEnergyConsumedCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readLifetimeEnergyConsumedAttribute", + readPumpConfigurationAndControlLifetimeEnergyConsumedAttributeInteractionInfo); + Map readPumpConfigurationAndControlOperationModeCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlOperationModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readOperationModeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlOperationModeCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readOperationModeAttribute", + readPumpConfigurationAndControlOperationModeAttributeInteractionInfo); + Map readPumpConfigurationAndControlControlModeCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlControlModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readControlModeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlControlModeCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readControlModeAttribute", + readPumpConfigurationAndControlControlModeAttributeInteractionInfo); + Map + readPumpConfigurationAndControlGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.PumpConfigurationAndControlCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterGeneratedCommandListAttributeCallback(), + readPumpConfigurationAndControlGeneratedCommandListCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readGeneratedCommandListAttribute", + readPumpConfigurationAndControlGeneratedCommandListAttributeInteractionInfo); + Map + readPumpConfigurationAndControlAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.PumpConfigurationAndControlCluster + .AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterAcceptedCommandListAttributeCallback(), + readPumpConfigurationAndControlAcceptedCommandListCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readAcceptedCommandListAttribute", + readPumpConfigurationAndControlAcceptedCommandListAttributeInteractionInfo); + Map readPumpConfigurationAndControlEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readEventListAttribute( + (ChipClusters.PumpConfigurationAndControlCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterEventListAttributeCallback(), + readPumpConfigurationAndControlEventListCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readEventListAttribute", readPumpConfigurationAndControlEventListAttributeInteractionInfo); + Map readPumpConfigurationAndControlAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.PumpConfigurationAndControlCluster + .AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPumpConfigurationAndControlClusterAttributeListAttributeCallback(), + readPumpConfigurationAndControlAttributeListCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readAttributeListAttribute", + readPumpConfigurationAndControlAttributeListAttributeInteractionInfo); + Map readPumpConfigurationAndControlFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readPumpConfigurationAndControlFeatureMapCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readFeatureMapAttribute", + readPumpConfigurationAndControlFeatureMapAttributeInteractionInfo); + Map readPumpConfigurationAndControlClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readPumpConfigurationAndControlClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPumpConfigurationAndControlClusterRevisionCommandParams); + readPumpConfigurationAndControlInteractionInfo.put( + "readClusterRevisionAttribute", + readPumpConfigurationAndControlClusterRevisionAttributeInteractionInfo); + readAttributeMap.put( + "pumpConfigurationAndControl", readPumpConfigurationAndControlInteractionInfo); + Map readThermostatInteractionInfo = new LinkedHashMap<>(); + Map readThermostatLocalTemperatureCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatLocalTemperatureAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readLocalTemperatureAttribute( + (ChipClusters.ThermostatCluster.LocalTemperatureAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThermostatClusterLocalTemperatureAttributeCallback(), + readThermostatLocalTemperatureCommandParams); + readThermostatInteractionInfo.put( + "readLocalTemperatureAttribute", readThermostatLocalTemperatureAttributeInteractionInfo); + Map readThermostatOutdoorTemperatureCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatOutdoorTemperatureAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readOutdoorTemperatureAttribute( + (ChipClusters.ThermostatCluster.OutdoorTemperatureAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThermostatClusterOutdoorTemperatureAttributeCallback(), + readThermostatOutdoorTemperatureCommandParams); + readThermostatInteractionInfo.put( + "readOutdoorTemperatureAttribute", + readThermostatOutdoorTemperatureAttributeInteractionInfo); + Map readThermostatOccupancyCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatOccupancyAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readOccupancyAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatOccupancyCommandParams); + readThermostatInteractionInfo.put( + "readOccupancyAttribute", readThermostatOccupancyAttributeInteractionInfo); + Map readThermostatAbsMinHeatSetpointLimitCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatAbsMinHeatSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readAbsMinHeatSetpointLimitAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatAbsMinHeatSetpointLimitCommandParams); + readThermostatInteractionInfo.put( + "readAbsMinHeatSetpointLimitAttribute", + readThermostatAbsMinHeatSetpointLimitAttributeInteractionInfo); + Map readThermostatAbsMaxHeatSetpointLimitCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatAbsMaxHeatSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readAbsMaxHeatSetpointLimitAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatAbsMaxHeatSetpointLimitCommandParams); + readThermostatInteractionInfo.put( + "readAbsMaxHeatSetpointLimitAttribute", + readThermostatAbsMaxHeatSetpointLimitAttributeInteractionInfo); + Map readThermostatAbsMinCoolSetpointLimitCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatAbsMinCoolSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readAbsMinCoolSetpointLimitAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatAbsMinCoolSetpointLimitCommandParams); + readThermostatInteractionInfo.put( + "readAbsMinCoolSetpointLimitAttribute", + readThermostatAbsMinCoolSetpointLimitAttributeInteractionInfo); + Map readThermostatAbsMaxCoolSetpointLimitCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatAbsMaxCoolSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readAbsMaxCoolSetpointLimitAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatAbsMaxCoolSetpointLimitCommandParams); + readThermostatInteractionInfo.put( + "readAbsMaxCoolSetpointLimitAttribute", + readThermostatAbsMaxCoolSetpointLimitAttributeInteractionInfo); + Map readThermostatPICoolingDemandCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatPICoolingDemandAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readPICoolingDemandAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatPICoolingDemandCommandParams); + readThermostatInteractionInfo.put( + "readPICoolingDemandAttribute", readThermostatPICoolingDemandAttributeInteractionInfo); + Map readThermostatPIHeatingDemandCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatPIHeatingDemandAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readPIHeatingDemandAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatPIHeatingDemandCommandParams); + readThermostatInteractionInfo.put( + "readPIHeatingDemandAttribute", readThermostatPIHeatingDemandAttributeInteractionInfo); + Map readThermostatHVACSystemTypeConfigurationCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatHVACSystemTypeConfigurationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readHVACSystemTypeConfigurationAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatHVACSystemTypeConfigurationCommandParams); + readThermostatInteractionInfo.put( + "readHVACSystemTypeConfigurationAttribute", + readThermostatHVACSystemTypeConfigurationAttributeInteractionInfo); + Map readThermostatLocalTemperatureCalibrationCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatLocalTemperatureCalibrationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readLocalTemperatureCalibrationAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatLocalTemperatureCalibrationCommandParams); + readThermostatInteractionInfo.put( + "readLocalTemperatureCalibrationAttribute", + readThermostatLocalTemperatureCalibrationAttributeInteractionInfo); + Map readThermostatOccupiedCoolingSetpointCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatOccupiedCoolingSetpointAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readOccupiedCoolingSetpointAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatOccupiedCoolingSetpointCommandParams); + readThermostatInteractionInfo.put( + "readOccupiedCoolingSetpointAttribute", + readThermostatOccupiedCoolingSetpointAttributeInteractionInfo); + Map readThermostatOccupiedHeatingSetpointCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatOccupiedHeatingSetpointAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readOccupiedHeatingSetpointAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatOccupiedHeatingSetpointCommandParams); + readThermostatInteractionInfo.put( + "readOccupiedHeatingSetpointAttribute", + readThermostatOccupiedHeatingSetpointAttributeInteractionInfo); + Map readThermostatUnoccupiedCoolingSetpointCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatUnoccupiedCoolingSetpointAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readUnoccupiedCoolingSetpointAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatUnoccupiedCoolingSetpointCommandParams); + readThermostatInteractionInfo.put( + "readUnoccupiedCoolingSetpointAttribute", + readThermostatUnoccupiedCoolingSetpointAttributeInteractionInfo); + Map readThermostatUnoccupiedHeatingSetpointCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatUnoccupiedHeatingSetpointAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readUnoccupiedHeatingSetpointAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatUnoccupiedHeatingSetpointCommandParams); + readThermostatInteractionInfo.put( + "readUnoccupiedHeatingSetpointAttribute", + readThermostatUnoccupiedHeatingSetpointAttributeInteractionInfo); + Map readThermostatMinHeatSetpointLimitCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatMinHeatSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readMinHeatSetpointLimitAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatMinHeatSetpointLimitCommandParams); + readThermostatInteractionInfo.put( + "readMinHeatSetpointLimitAttribute", + readThermostatMinHeatSetpointLimitAttributeInteractionInfo); + Map readThermostatMaxHeatSetpointLimitCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatMaxHeatSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readMaxHeatSetpointLimitAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatMaxHeatSetpointLimitCommandParams); + readThermostatInteractionInfo.put( + "readMaxHeatSetpointLimitAttribute", + readThermostatMaxHeatSetpointLimitAttributeInteractionInfo); + Map readThermostatMinCoolSetpointLimitCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatMinCoolSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readMinCoolSetpointLimitAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatMinCoolSetpointLimitCommandParams); + readThermostatInteractionInfo.put( + "readMinCoolSetpointLimitAttribute", + readThermostatMinCoolSetpointLimitAttributeInteractionInfo); + Map readThermostatMaxCoolSetpointLimitCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatMaxCoolSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readMaxCoolSetpointLimitAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatMaxCoolSetpointLimitCommandParams); + readThermostatInteractionInfo.put( + "readMaxCoolSetpointLimitAttribute", + readThermostatMaxCoolSetpointLimitAttributeInteractionInfo); + Map readThermostatMinSetpointDeadBandCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatMinSetpointDeadBandAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readMinSetpointDeadBandAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatMinSetpointDeadBandCommandParams); + readThermostatInteractionInfo.put( + "readMinSetpointDeadBandAttribute", + readThermostatMinSetpointDeadBandAttributeInteractionInfo); + Map readThermostatRemoteSensingCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatRemoteSensingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readRemoteSensingAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatRemoteSensingCommandParams); + readThermostatInteractionInfo.put( + "readRemoteSensingAttribute", readThermostatRemoteSensingAttributeInteractionInfo); + Map readThermostatControlSequenceOfOperationCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatControlSequenceOfOperationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readControlSequenceOfOperationAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatControlSequenceOfOperationCommandParams); + readThermostatInteractionInfo.put( + "readControlSequenceOfOperationAttribute", + readThermostatControlSequenceOfOperationAttributeInteractionInfo); + Map readThermostatSystemModeCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatSystemModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readSystemModeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatSystemModeCommandParams); + readThermostatInteractionInfo.put( + "readSystemModeAttribute", readThermostatSystemModeAttributeInteractionInfo); + Map readThermostatThermostatRunningModeCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatThermostatRunningModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readThermostatRunningModeAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatThermostatRunningModeCommandParams); + readThermostatInteractionInfo.put( + "readThermostatRunningModeAttribute", + readThermostatThermostatRunningModeAttributeInteractionInfo); + Map readThermostatStartOfWeekCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatStartOfWeekAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readStartOfWeekAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatStartOfWeekCommandParams); + readThermostatInteractionInfo.put( + "readStartOfWeekAttribute", readThermostatStartOfWeekAttributeInteractionInfo); + Map readThermostatNumberOfWeeklyTransitionsCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatNumberOfWeeklyTransitionsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readNumberOfWeeklyTransitionsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatNumberOfWeeklyTransitionsCommandParams); + readThermostatInteractionInfo.put( + "readNumberOfWeeklyTransitionsAttribute", + readThermostatNumberOfWeeklyTransitionsAttributeInteractionInfo); + Map readThermostatNumberOfDailyTransitionsCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatNumberOfDailyTransitionsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readNumberOfDailyTransitionsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatNumberOfDailyTransitionsCommandParams); + readThermostatInteractionInfo.put( + "readNumberOfDailyTransitionsAttribute", + readThermostatNumberOfDailyTransitionsAttributeInteractionInfo); + Map readThermostatTemperatureSetpointHoldCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatTemperatureSetpointHoldAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readTemperatureSetpointHoldAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatTemperatureSetpointHoldCommandParams); + readThermostatInteractionInfo.put( + "readTemperatureSetpointHoldAttribute", + readThermostatTemperatureSetpointHoldAttributeInteractionInfo); + Map readThermostatTemperatureSetpointHoldDurationCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatTemperatureSetpointHoldDurationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readTemperatureSetpointHoldDurationAttribute( + (ChipClusters.ThermostatCluster + .TemperatureSetpointHoldDurationAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThermostatClusterTemperatureSetpointHoldDurationAttributeCallback(), + readThermostatTemperatureSetpointHoldDurationCommandParams); + readThermostatInteractionInfo.put( + "readTemperatureSetpointHoldDurationAttribute", + readThermostatTemperatureSetpointHoldDurationAttributeInteractionInfo); + Map + readThermostatThermostatProgrammingOperationModeCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatThermostatProgrammingOperationModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readThermostatProgrammingOperationModeAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatThermostatProgrammingOperationModeCommandParams); + readThermostatInteractionInfo.put( + "readThermostatProgrammingOperationModeAttribute", + readThermostatThermostatProgrammingOperationModeAttributeInteractionInfo); + Map readThermostatThermostatRunningStateCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatThermostatRunningStateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readThermostatRunningStateAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatThermostatRunningStateCommandParams); + readThermostatInteractionInfo.put( + "readThermostatRunningStateAttribute", + readThermostatThermostatRunningStateAttributeInteractionInfo); + Map readThermostatSetpointChangeSourceCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatSetpointChangeSourceAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readSetpointChangeSourceAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatSetpointChangeSourceCommandParams); + readThermostatInteractionInfo.put( + "readSetpointChangeSourceAttribute", + readThermostatSetpointChangeSourceAttributeInteractionInfo); + Map readThermostatSetpointChangeAmountCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatSetpointChangeAmountAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readSetpointChangeAmountAttribute( + (ChipClusters.ThermostatCluster.SetpointChangeAmountAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThermostatClusterSetpointChangeAmountAttributeCallback(), + readThermostatSetpointChangeAmountCommandParams); + readThermostatInteractionInfo.put( + "readSetpointChangeAmountAttribute", + readThermostatSetpointChangeAmountAttributeInteractionInfo); + Map readThermostatSetpointChangeSourceTimestampCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatSetpointChangeSourceTimestampAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readSetpointChangeSourceTimestampAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThermostatSetpointChangeSourceTimestampCommandParams); + readThermostatInteractionInfo.put( + "readSetpointChangeSourceTimestampAttribute", + readThermostatSetpointChangeSourceTimestampAttributeInteractionInfo); + Map readThermostatOccupiedSetbackCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatOccupiedSetbackAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readOccupiedSetbackAttribute( + (ChipClusters.ThermostatCluster.OccupiedSetbackAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedThermostatClusterOccupiedSetbackAttributeCallback(), + readThermostatOccupiedSetbackCommandParams); + readThermostatInteractionInfo.put( + "readOccupiedSetbackAttribute", readThermostatOccupiedSetbackAttributeInteractionInfo); + Map readThermostatOccupiedSetbackMinCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatOccupiedSetbackMinAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readOccupiedSetbackMinAttribute( + (ChipClusters.ThermostatCluster.OccupiedSetbackMinAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThermostatClusterOccupiedSetbackMinAttributeCallback(), + readThermostatOccupiedSetbackMinCommandParams); + readThermostatInteractionInfo.put( + "readOccupiedSetbackMinAttribute", + readThermostatOccupiedSetbackMinAttributeInteractionInfo); + Map readThermostatOccupiedSetbackMaxCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatOccupiedSetbackMaxAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readOccupiedSetbackMaxAttribute( + (ChipClusters.ThermostatCluster.OccupiedSetbackMaxAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThermostatClusterOccupiedSetbackMaxAttributeCallback(), + readThermostatOccupiedSetbackMaxCommandParams); + readThermostatInteractionInfo.put( + "readOccupiedSetbackMaxAttribute", + readThermostatOccupiedSetbackMaxAttributeInteractionInfo); + Map readThermostatUnoccupiedSetbackCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatUnoccupiedSetbackAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readUnoccupiedSetbackAttribute( + (ChipClusters.ThermostatCluster.UnoccupiedSetbackAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThermostatClusterUnoccupiedSetbackAttributeCallback(), + readThermostatUnoccupiedSetbackCommandParams); + readThermostatInteractionInfo.put( + "readUnoccupiedSetbackAttribute", readThermostatUnoccupiedSetbackAttributeInteractionInfo); + Map readThermostatUnoccupiedSetbackMinCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatUnoccupiedSetbackMinAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readUnoccupiedSetbackMinAttribute( + (ChipClusters.ThermostatCluster.UnoccupiedSetbackMinAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThermostatClusterUnoccupiedSetbackMinAttributeCallback(), + readThermostatUnoccupiedSetbackMinCommandParams); + readThermostatInteractionInfo.put( + "readUnoccupiedSetbackMinAttribute", + readThermostatUnoccupiedSetbackMinAttributeInteractionInfo); + Map readThermostatUnoccupiedSetbackMaxCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatUnoccupiedSetbackMaxAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readUnoccupiedSetbackMaxAttribute( + (ChipClusters.ThermostatCluster.UnoccupiedSetbackMaxAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThermostatClusterUnoccupiedSetbackMaxAttributeCallback(), + readThermostatUnoccupiedSetbackMaxCommandParams); + readThermostatInteractionInfo.put( + "readUnoccupiedSetbackMaxAttribute", + readThermostatUnoccupiedSetbackMaxAttributeInteractionInfo); + Map readThermostatEmergencyHeatDeltaCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatEmergencyHeatDeltaAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readEmergencyHeatDeltaAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatEmergencyHeatDeltaCommandParams); + readThermostatInteractionInfo.put( + "readEmergencyHeatDeltaAttribute", + readThermostatEmergencyHeatDeltaAttributeInteractionInfo); + Map readThermostatACTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatACTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readACTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatACTypeCommandParams); + readThermostatInteractionInfo.put( + "readACTypeAttribute", readThermostatACTypeAttributeInteractionInfo); + Map readThermostatACCapacityCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatACCapacityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readACCapacityAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatACCapacityCommandParams); + readThermostatInteractionInfo.put( + "readACCapacityAttribute", readThermostatACCapacityAttributeInteractionInfo); + Map readThermostatACRefrigerantTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatACRefrigerantTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readACRefrigerantTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatACRefrigerantTypeCommandParams); + readThermostatInteractionInfo.put( + "readACRefrigerantTypeAttribute", readThermostatACRefrigerantTypeAttributeInteractionInfo); + Map readThermostatACCompressorTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatACCompressorTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readACCompressorTypeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatACCompressorTypeCommandParams); + readThermostatInteractionInfo.put( + "readACCompressorTypeAttribute", readThermostatACCompressorTypeAttributeInteractionInfo); + Map readThermostatACErrorCodeCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatACErrorCodeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readACErrorCodeAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThermostatACErrorCodeCommandParams); + readThermostatInteractionInfo.put( + "readACErrorCodeAttribute", readThermostatACErrorCodeAttributeInteractionInfo); + Map readThermostatACLouverPositionCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatACLouverPositionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readACLouverPositionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatACLouverPositionCommandParams); + readThermostatInteractionInfo.put( + "readACLouverPositionAttribute", readThermostatACLouverPositionAttributeInteractionInfo); + Map readThermostatACCoilTemperatureCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatACCoilTemperatureAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readACCoilTemperatureAttribute( + (ChipClusters.ThermostatCluster.ACCoilTemperatureAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThermostatClusterACCoilTemperatureAttributeCallback(), + readThermostatACCoilTemperatureCommandParams); + readThermostatInteractionInfo.put( + "readACCoilTemperatureAttribute", readThermostatACCoilTemperatureAttributeInteractionInfo); + Map readThermostatACCapacityformatCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatACCapacityformatAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readACCapacityformatAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatACCapacityformatCommandParams); + readThermostatInteractionInfo.put( + "readACCapacityformatAttribute", readThermostatACCapacityformatAttributeInteractionInfo); + Map readThermostatGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.ThermostatCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThermostatClusterGeneratedCommandListAttributeCallback(), + readThermostatGeneratedCommandListCommandParams); + readThermostatInteractionInfo.put( + "readGeneratedCommandListAttribute", + readThermostatGeneratedCommandListAttributeInteractionInfo); + Map readThermostatAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.ThermostatCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThermostatClusterAcceptedCommandListAttributeCallback(), + readThermostatAcceptedCommandListCommandParams); + readThermostatInteractionInfo.put( + "readAcceptedCommandListAttribute", + readThermostatAcceptedCommandListAttributeInteractionInfo); + Map readThermostatEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readEventListAttribute( + (ChipClusters.ThermostatCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedThermostatClusterEventListAttributeCallback(), - readThermostatEventListCommandParams - ); - readThermostatInteractionInfo.put("readEventListAttribute", readThermostatEventListAttributeInteractionInfo); - Map readThermostatAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readAttributeListAttribute( - ( ChipClusters.ThermostatCluster.AttributeListAttributeCallback - ) callback - ); - }, + readThermostatEventListCommandParams); + readThermostatInteractionInfo.put( + "readEventListAttribute", readThermostatEventListAttributeInteractionInfo); + Map readThermostatAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.ThermostatCluster.AttributeListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedThermostatClusterAttributeListAttributeCallback(), - readThermostatAttributeListCommandParams - ); - readThermostatInteractionInfo.put("readAttributeListAttribute", readThermostatAttributeListAttributeInteractionInfo); - Map readThermostatFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThermostatFeatureMapCommandParams - ); - readThermostatInteractionInfo.put("readFeatureMapAttribute", readThermostatFeatureMapAttributeInteractionInfo); - Map readThermostatClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatClusterRevisionCommandParams - ); - readThermostatInteractionInfo.put("readClusterRevisionAttribute", readThermostatClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("thermostat", readThermostatInteractionInfo); - Map readFanControlInteractionInfo = new LinkedHashMap<>(); - Map readFanControlFanModeCommandParams = new LinkedHashMap(); - InteractionInfo readFanControlFanModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).readFanModeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFanControlFanModeCommandParams - ); - readFanControlInteractionInfo.put("readFanModeAttribute", readFanControlFanModeAttributeInteractionInfo); - Map readFanControlFanModeSequenceCommandParams = new LinkedHashMap(); - InteractionInfo readFanControlFanModeSequenceAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).readFanModeSequenceAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFanControlFanModeSequenceCommandParams - ); - readFanControlInteractionInfo.put("readFanModeSequenceAttribute", readFanControlFanModeSequenceAttributeInteractionInfo); - Map readFanControlPercentSettingCommandParams = new LinkedHashMap(); - InteractionInfo readFanControlPercentSettingAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).readPercentSettingAttribute( - ( ChipClusters.FanControlCluster.PercentSettingAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedFanControlClusterPercentSettingAttributeCallback(), - readFanControlPercentSettingCommandParams - ); - readFanControlInteractionInfo.put("readPercentSettingAttribute", readFanControlPercentSettingAttributeInteractionInfo); - Map readFanControlPercentCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readFanControlPercentCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).readPercentCurrentAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFanControlPercentCurrentCommandParams - ); - readFanControlInteractionInfo.put("readPercentCurrentAttribute", readFanControlPercentCurrentAttributeInteractionInfo); - Map readFanControlSpeedMaxCommandParams = new LinkedHashMap(); - InteractionInfo readFanControlSpeedMaxAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).readSpeedMaxAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFanControlSpeedMaxCommandParams - ); - readFanControlInteractionInfo.put("readSpeedMaxAttribute", readFanControlSpeedMaxAttributeInteractionInfo); - Map readFanControlSpeedSettingCommandParams = new LinkedHashMap(); - InteractionInfo readFanControlSpeedSettingAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).readSpeedSettingAttribute( - ( ChipClusters.FanControlCluster.SpeedSettingAttributeCallback - ) callback - ); - }, + readThermostatAttributeListCommandParams); + readThermostatInteractionInfo.put( + "readAttributeListAttribute", readThermostatAttributeListAttributeInteractionInfo); + Map readThermostatFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThermostatFeatureMapCommandParams); + readThermostatInteractionInfo.put( + "readFeatureMapAttribute", readThermostatFeatureMapAttributeInteractionInfo); + Map readThermostatClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatClusterRevisionCommandParams); + readThermostatInteractionInfo.put( + "readClusterRevisionAttribute", readThermostatClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("thermostat", readThermostatInteractionInfo); + Map readFanControlInteractionInfo = new LinkedHashMap<>(); + Map readFanControlFanModeCommandParams = + new LinkedHashMap(); + InteractionInfo readFanControlFanModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .readFanModeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFanControlFanModeCommandParams); + readFanControlInteractionInfo.put( + "readFanModeAttribute", readFanControlFanModeAttributeInteractionInfo); + Map readFanControlFanModeSequenceCommandParams = + new LinkedHashMap(); + InteractionInfo readFanControlFanModeSequenceAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .readFanModeSequenceAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFanControlFanModeSequenceCommandParams); + readFanControlInteractionInfo.put( + "readFanModeSequenceAttribute", readFanControlFanModeSequenceAttributeInteractionInfo); + Map readFanControlPercentSettingCommandParams = + new LinkedHashMap(); + InteractionInfo readFanControlPercentSettingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .readPercentSettingAttribute( + (ChipClusters.FanControlCluster.PercentSettingAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedFanControlClusterPercentSettingAttributeCallback(), + readFanControlPercentSettingCommandParams); + readFanControlInteractionInfo.put( + "readPercentSettingAttribute", readFanControlPercentSettingAttributeInteractionInfo); + Map readFanControlPercentCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readFanControlPercentCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .readPercentCurrentAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFanControlPercentCurrentCommandParams); + readFanControlInteractionInfo.put( + "readPercentCurrentAttribute", readFanControlPercentCurrentAttributeInteractionInfo); + Map readFanControlSpeedMaxCommandParams = + new LinkedHashMap(); + InteractionInfo readFanControlSpeedMaxAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .readSpeedMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFanControlSpeedMaxCommandParams); + readFanControlInteractionInfo.put( + "readSpeedMaxAttribute", readFanControlSpeedMaxAttributeInteractionInfo); + Map readFanControlSpeedSettingCommandParams = + new LinkedHashMap(); + InteractionInfo readFanControlSpeedSettingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .readSpeedSettingAttribute( + (ChipClusters.FanControlCluster.SpeedSettingAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedFanControlClusterSpeedSettingAttributeCallback(), - readFanControlSpeedSettingCommandParams - ); - readFanControlInteractionInfo.put("readSpeedSettingAttribute", readFanControlSpeedSettingAttributeInteractionInfo); - Map readFanControlSpeedCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readFanControlSpeedCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).readSpeedCurrentAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFanControlSpeedCurrentCommandParams - ); - readFanControlInteractionInfo.put("readSpeedCurrentAttribute", readFanControlSpeedCurrentAttributeInteractionInfo); - Map readFanControlRockSupportCommandParams = new LinkedHashMap(); - InteractionInfo readFanControlRockSupportAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).readRockSupportAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFanControlRockSupportCommandParams - ); - readFanControlInteractionInfo.put("readRockSupportAttribute", readFanControlRockSupportAttributeInteractionInfo); - Map readFanControlRockSettingCommandParams = new LinkedHashMap(); - InteractionInfo readFanControlRockSettingAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).readRockSettingAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFanControlRockSettingCommandParams - ); - readFanControlInteractionInfo.put("readRockSettingAttribute", readFanControlRockSettingAttributeInteractionInfo); - Map readFanControlWindSupportCommandParams = new LinkedHashMap(); - InteractionInfo readFanControlWindSupportAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).readWindSupportAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFanControlWindSupportCommandParams - ); - readFanControlInteractionInfo.put("readWindSupportAttribute", readFanControlWindSupportAttributeInteractionInfo); - Map readFanControlWindSettingCommandParams = new LinkedHashMap(); - InteractionInfo readFanControlWindSettingAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).readWindSettingAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFanControlWindSettingCommandParams - ); - readFanControlInteractionInfo.put("readWindSettingAttribute", readFanControlWindSettingAttributeInteractionInfo); - Map readFanControlGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readFanControlGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.FanControlCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedFanControlClusterGeneratedCommandListAttributeCallback(), - readFanControlGeneratedCommandListCommandParams - ); - readFanControlInteractionInfo.put("readGeneratedCommandListAttribute", readFanControlGeneratedCommandListAttributeInteractionInfo); - Map readFanControlAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readFanControlAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.FanControlCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedFanControlClusterAcceptedCommandListAttributeCallback(), - readFanControlAcceptedCommandListCommandParams - ); - readFanControlInteractionInfo.put("readAcceptedCommandListAttribute", readFanControlAcceptedCommandListAttributeInteractionInfo); - Map readFanControlEventListCommandParams = new LinkedHashMap(); - InteractionInfo readFanControlEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).readEventListAttribute( - ( ChipClusters.FanControlCluster.EventListAttributeCallback - ) callback - ); - }, + readFanControlSpeedSettingCommandParams); + readFanControlInteractionInfo.put( + "readSpeedSettingAttribute", readFanControlSpeedSettingAttributeInteractionInfo); + Map readFanControlSpeedCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readFanControlSpeedCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .readSpeedCurrentAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFanControlSpeedCurrentCommandParams); + readFanControlInteractionInfo.put( + "readSpeedCurrentAttribute", readFanControlSpeedCurrentAttributeInteractionInfo); + Map readFanControlRockSupportCommandParams = + new LinkedHashMap(); + InteractionInfo readFanControlRockSupportAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .readRockSupportAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFanControlRockSupportCommandParams); + readFanControlInteractionInfo.put( + "readRockSupportAttribute", readFanControlRockSupportAttributeInteractionInfo); + Map readFanControlRockSettingCommandParams = + new LinkedHashMap(); + InteractionInfo readFanControlRockSettingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .readRockSettingAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFanControlRockSettingCommandParams); + readFanControlInteractionInfo.put( + "readRockSettingAttribute", readFanControlRockSettingAttributeInteractionInfo); + Map readFanControlWindSupportCommandParams = + new LinkedHashMap(); + InteractionInfo readFanControlWindSupportAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .readWindSupportAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFanControlWindSupportCommandParams); + readFanControlInteractionInfo.put( + "readWindSupportAttribute", readFanControlWindSupportAttributeInteractionInfo); + Map readFanControlWindSettingCommandParams = + new LinkedHashMap(); + InteractionInfo readFanControlWindSettingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .readWindSettingAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFanControlWindSettingCommandParams); + readFanControlInteractionInfo.put( + "readWindSettingAttribute", readFanControlWindSettingAttributeInteractionInfo); + Map readFanControlGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readFanControlGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.FanControlCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedFanControlClusterGeneratedCommandListAttributeCallback(), + readFanControlGeneratedCommandListCommandParams); + readFanControlInteractionInfo.put( + "readGeneratedCommandListAttribute", + readFanControlGeneratedCommandListAttributeInteractionInfo); + Map readFanControlAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readFanControlAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.FanControlCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedFanControlClusterAcceptedCommandListAttributeCallback(), + readFanControlAcceptedCommandListCommandParams); + readFanControlInteractionInfo.put( + "readAcceptedCommandListAttribute", + readFanControlAcceptedCommandListAttributeInteractionInfo); + Map readFanControlEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readFanControlEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .readEventListAttribute( + (ChipClusters.FanControlCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedFanControlClusterEventListAttributeCallback(), - readFanControlEventListCommandParams - ); - readFanControlInteractionInfo.put("readEventListAttribute", readFanControlEventListAttributeInteractionInfo); - Map readFanControlAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readFanControlAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).readAttributeListAttribute( - ( ChipClusters.FanControlCluster.AttributeListAttributeCallback - ) callback - ); - }, + readFanControlEventListCommandParams); + readFanControlInteractionInfo.put( + "readEventListAttribute", readFanControlEventListAttributeInteractionInfo); + Map readFanControlAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readFanControlAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.FanControlCluster.AttributeListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedFanControlClusterAttributeListAttributeCallback(), - readFanControlAttributeListCommandParams - ); - readFanControlInteractionInfo.put("readAttributeListAttribute", readFanControlAttributeListAttributeInteractionInfo); - Map readFanControlFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readFanControlFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readFanControlFeatureMapCommandParams - ); - readFanControlInteractionInfo.put("readFeatureMapAttribute", readFanControlFeatureMapAttributeInteractionInfo); - Map readFanControlClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readFanControlClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFanControlClusterRevisionCommandParams - ); - readFanControlInteractionInfo.put("readClusterRevisionAttribute", readFanControlClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("fanControl", readFanControlInteractionInfo); - Map readThermostatUserInterfaceConfigurationInteractionInfo = new LinkedHashMap<>(); - Map readThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatUserInterfaceConfigurationTemperatureDisplayModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster).readTemperatureDisplayModeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams - ); - readThermostatUserInterfaceConfigurationInteractionInfo.put("readTemperatureDisplayModeAttribute", readThermostatUserInterfaceConfigurationTemperatureDisplayModeAttributeInteractionInfo); - Map readThermostatUserInterfaceConfigurationKeypadLockoutCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatUserInterfaceConfigurationKeypadLockoutAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster).readKeypadLockoutAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatUserInterfaceConfigurationKeypadLockoutCommandParams - ); - readThermostatUserInterfaceConfigurationInteractionInfo.put("readKeypadLockoutAttribute", readThermostatUserInterfaceConfigurationKeypadLockoutAttributeInteractionInfo); - Map readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster).readScheduleProgrammingVisibilityAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams - ); - readThermostatUserInterfaceConfigurationInteractionInfo.put("readScheduleProgrammingVisibilityAttribute", readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityAttributeInteractionInfo); - Map readThermostatUserInterfaceConfigurationGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatUserInterfaceConfigurationGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.ThermostatUserInterfaceConfigurationCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThermostatUserInterfaceConfigurationClusterGeneratedCommandListAttributeCallback(), - readThermostatUserInterfaceConfigurationGeneratedCommandListCommandParams - ); - readThermostatUserInterfaceConfigurationInteractionInfo.put("readGeneratedCommandListAttribute", readThermostatUserInterfaceConfigurationGeneratedCommandListAttributeInteractionInfo); - Map readThermostatUserInterfaceConfigurationAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatUserInterfaceConfigurationAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.ThermostatUserInterfaceConfigurationCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThermostatUserInterfaceConfigurationClusterAcceptedCommandListAttributeCallback(), - readThermostatUserInterfaceConfigurationAcceptedCommandListCommandParams - ); - readThermostatUserInterfaceConfigurationInteractionInfo.put("readAcceptedCommandListAttribute", readThermostatUserInterfaceConfigurationAcceptedCommandListAttributeInteractionInfo); - Map readThermostatUserInterfaceConfigurationEventListCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatUserInterfaceConfigurationEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster).readEventListAttribute( - ( ChipClusters.ThermostatUserInterfaceConfigurationCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThermostatUserInterfaceConfigurationClusterEventListAttributeCallback(), - readThermostatUserInterfaceConfigurationEventListCommandParams - ); - readThermostatUserInterfaceConfigurationInteractionInfo.put("readEventListAttribute", readThermostatUserInterfaceConfigurationEventListAttributeInteractionInfo); - Map readThermostatUserInterfaceConfigurationAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatUserInterfaceConfigurationAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster).readAttributeListAttribute( - ( ChipClusters.ThermostatUserInterfaceConfigurationCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedThermostatUserInterfaceConfigurationClusterAttributeListAttributeCallback(), - readThermostatUserInterfaceConfigurationAttributeListCommandParams - ); - readThermostatUserInterfaceConfigurationInteractionInfo.put("readAttributeListAttribute", readThermostatUserInterfaceConfigurationAttributeListAttributeInteractionInfo); - Map readThermostatUserInterfaceConfigurationFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatUserInterfaceConfigurationFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readThermostatUserInterfaceConfigurationFeatureMapCommandParams - ); - readThermostatUserInterfaceConfigurationInteractionInfo.put("readFeatureMapAttribute", readThermostatUserInterfaceConfigurationFeatureMapAttributeInteractionInfo); - Map readThermostatUserInterfaceConfigurationClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readThermostatUserInterfaceConfigurationClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readThermostatUserInterfaceConfigurationClusterRevisionCommandParams - ); - readThermostatUserInterfaceConfigurationInteractionInfo.put("readClusterRevisionAttribute", readThermostatUserInterfaceConfigurationClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("thermostatUserInterfaceConfiguration", readThermostatUserInterfaceConfigurationInteractionInfo); - Map readColorControlInteractionInfo = new LinkedHashMap<>(); - Map readColorControlCurrentHueCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlCurrentHueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readCurrentHueAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlCurrentHueCommandParams - ); - readColorControlInteractionInfo.put("readCurrentHueAttribute", readColorControlCurrentHueAttributeInteractionInfo); - Map readColorControlCurrentSaturationCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlCurrentSaturationAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readCurrentSaturationAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlCurrentSaturationCommandParams - ); - readColorControlInteractionInfo.put("readCurrentSaturationAttribute", readColorControlCurrentSaturationAttributeInteractionInfo); - Map readColorControlRemainingTimeCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlRemainingTimeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readRemainingTimeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlRemainingTimeCommandParams - ); - readColorControlInteractionInfo.put("readRemainingTimeAttribute", readColorControlRemainingTimeAttributeInteractionInfo); - Map readColorControlCurrentXCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlCurrentXAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readCurrentXAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlCurrentXCommandParams - ); - readColorControlInteractionInfo.put("readCurrentXAttribute", readColorControlCurrentXAttributeInteractionInfo); - Map readColorControlCurrentYCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlCurrentYAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readCurrentYAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlCurrentYCommandParams - ); - readColorControlInteractionInfo.put("readCurrentYAttribute", readColorControlCurrentYAttributeInteractionInfo); - Map readColorControlDriftCompensationCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlDriftCompensationAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readDriftCompensationAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlDriftCompensationCommandParams - ); - readColorControlInteractionInfo.put("readDriftCompensationAttribute", readColorControlDriftCompensationAttributeInteractionInfo); - Map readColorControlCompensationTextCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlCompensationTextAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readCompensationTextAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readFanControlAttributeListCommandParams); + readFanControlInteractionInfo.put( + "readAttributeListAttribute", readFanControlAttributeListAttributeInteractionInfo); + Map readFanControlFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readFanControlFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readFanControlFeatureMapCommandParams); + readFanControlInteractionInfo.put( + "readFeatureMapAttribute", readFanControlFeatureMapAttributeInteractionInfo); + Map readFanControlClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readFanControlClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFanControlClusterRevisionCommandParams); + readFanControlInteractionInfo.put( + "readClusterRevisionAttribute", readFanControlClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("fanControl", readFanControlInteractionInfo); + Map readThermostatUserInterfaceConfigurationInteractionInfo = + new LinkedHashMap<>(); + Map + readThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams = + new LinkedHashMap(); + InteractionInfo + readThermostatUserInterfaceConfigurationTemperatureDisplayModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) + .readTemperatureDisplayModeAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams); + readThermostatUserInterfaceConfigurationInteractionInfo.put( + "readTemperatureDisplayModeAttribute", + readThermostatUserInterfaceConfigurationTemperatureDisplayModeAttributeInteractionInfo); + Map + readThermostatUserInterfaceConfigurationKeypadLockoutCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatUserInterfaceConfigurationKeypadLockoutAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) + .readKeypadLockoutAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatUserInterfaceConfigurationKeypadLockoutCommandParams); + readThermostatUserInterfaceConfigurationInteractionInfo.put( + "readKeypadLockoutAttribute", + readThermostatUserInterfaceConfigurationKeypadLockoutAttributeInteractionInfo); + Map + readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams = + new LinkedHashMap(); + InteractionInfo + readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) + .readScheduleProgrammingVisibilityAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams); + readThermostatUserInterfaceConfigurationInteractionInfo.put( + "readScheduleProgrammingVisibilityAttribute", + readThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityAttributeInteractionInfo); + Map + readThermostatUserInterfaceConfigurationGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo + readThermostatUserInterfaceConfigurationGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.ThermostatUserInterfaceConfigurationCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThermostatUserInterfaceConfigurationClusterGeneratedCommandListAttributeCallback(), + readThermostatUserInterfaceConfigurationGeneratedCommandListCommandParams); + readThermostatUserInterfaceConfigurationInteractionInfo.put( + "readGeneratedCommandListAttribute", + readThermostatUserInterfaceConfigurationGeneratedCommandListAttributeInteractionInfo); + Map + readThermostatUserInterfaceConfigurationAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo + readThermostatUserInterfaceConfigurationAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.ThermostatUserInterfaceConfigurationCluster + .AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThermostatUserInterfaceConfigurationClusterAcceptedCommandListAttributeCallback(), + readThermostatUserInterfaceConfigurationAcceptedCommandListCommandParams); + readThermostatUserInterfaceConfigurationInteractionInfo.put( + "readAcceptedCommandListAttribute", + readThermostatUserInterfaceConfigurationAcceptedCommandListAttributeInteractionInfo); + Map + readThermostatUserInterfaceConfigurationEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatUserInterfaceConfigurationEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) + .readEventListAttribute( + (ChipClusters.ThermostatUserInterfaceConfigurationCluster + .EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThermostatUserInterfaceConfigurationClusterEventListAttributeCallback(), + readThermostatUserInterfaceConfigurationEventListCommandParams); + readThermostatUserInterfaceConfigurationInteractionInfo.put( + "readEventListAttribute", + readThermostatUserInterfaceConfigurationEventListAttributeInteractionInfo); + Map + readThermostatUserInterfaceConfigurationAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatUserInterfaceConfigurationAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.ThermostatUserInterfaceConfigurationCluster + .AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedThermostatUserInterfaceConfigurationClusterAttributeListAttributeCallback(), + readThermostatUserInterfaceConfigurationAttributeListCommandParams); + readThermostatUserInterfaceConfigurationInteractionInfo.put( + "readAttributeListAttribute", + readThermostatUserInterfaceConfigurationAttributeListAttributeInteractionInfo); + Map + readThermostatUserInterfaceConfigurationFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readThermostatUserInterfaceConfigurationFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readThermostatUserInterfaceConfigurationFeatureMapCommandParams); + readThermostatUserInterfaceConfigurationInteractionInfo.put( + "readFeatureMapAttribute", + readThermostatUserInterfaceConfigurationFeatureMapAttributeInteractionInfo); + Map + readThermostatUserInterfaceConfigurationClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo + readThermostatUserInterfaceConfigurationClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) + .readClusterRevisionAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readThermostatUserInterfaceConfigurationClusterRevisionCommandParams); + readThermostatUserInterfaceConfigurationInteractionInfo.put( + "readClusterRevisionAttribute", + readThermostatUserInterfaceConfigurationClusterRevisionAttributeInteractionInfo); + readAttributeMap.put( + "thermostatUserInterfaceConfiguration", + readThermostatUserInterfaceConfigurationInteractionInfo); + Map readColorControlInteractionInfo = new LinkedHashMap<>(); + Map readColorControlCurrentHueCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlCurrentHueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readCurrentHueAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlCurrentHueCommandParams); + readColorControlInteractionInfo.put( + "readCurrentHueAttribute", readColorControlCurrentHueAttributeInteractionInfo); + Map readColorControlCurrentSaturationCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlCurrentSaturationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readCurrentSaturationAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlCurrentSaturationCommandParams); + readColorControlInteractionInfo.put( + "readCurrentSaturationAttribute", + readColorControlCurrentSaturationAttributeInteractionInfo); + Map readColorControlRemainingTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlRemainingTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readRemainingTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlRemainingTimeCommandParams); + readColorControlInteractionInfo.put( + "readRemainingTimeAttribute", readColorControlRemainingTimeAttributeInteractionInfo); + Map readColorControlCurrentXCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlCurrentXAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readCurrentXAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlCurrentXCommandParams); + readColorControlInteractionInfo.put( + "readCurrentXAttribute", readColorControlCurrentXAttributeInteractionInfo); + Map readColorControlCurrentYCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlCurrentYAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readCurrentYAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlCurrentYCommandParams); + readColorControlInteractionInfo.put( + "readCurrentYAttribute", readColorControlCurrentYAttributeInteractionInfo); + Map readColorControlDriftCompensationCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlDriftCompensationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readDriftCompensationAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlDriftCompensationCommandParams); + readColorControlInteractionInfo.put( + "readDriftCompensationAttribute", + readColorControlDriftCompensationAttributeInteractionInfo); + Map readColorControlCompensationTextCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlCompensationTextAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readCompensationTextAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readColorControlCompensationTextCommandParams - ); - readColorControlInteractionInfo.put("readCompensationTextAttribute", readColorControlCompensationTextAttributeInteractionInfo); - Map readColorControlColorTemperatureMiredsCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlColorTemperatureMiredsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readColorTemperatureMiredsAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorTemperatureMiredsCommandParams - ); - readColorControlInteractionInfo.put("readColorTemperatureMiredsAttribute", readColorControlColorTemperatureMiredsAttributeInteractionInfo); - Map readColorControlColorModeCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlColorModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readColorModeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorModeCommandParams - ); - readColorControlInteractionInfo.put("readColorModeAttribute", readColorControlColorModeAttributeInteractionInfo); - Map readColorControlOptionsCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlOptionsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readOptionsAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlOptionsCommandParams - ); - readColorControlInteractionInfo.put("readOptionsAttribute", readColorControlOptionsAttributeInteractionInfo); - Map readColorControlNumberOfPrimariesCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlNumberOfPrimariesAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readNumberOfPrimariesAttribute( - ( ChipClusters.ColorControlCluster.NumberOfPrimariesAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedColorControlClusterNumberOfPrimariesAttributeCallback(), - readColorControlNumberOfPrimariesCommandParams - ); - readColorControlInteractionInfo.put("readNumberOfPrimariesAttribute", readColorControlNumberOfPrimariesAttributeInteractionInfo); - Map readColorControlPrimary1XCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlPrimary1XAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readPrimary1XAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary1XCommandParams - ); - readColorControlInteractionInfo.put("readPrimary1XAttribute", readColorControlPrimary1XAttributeInteractionInfo); - Map readColorControlPrimary1YCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlPrimary1YAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readPrimary1YAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary1YCommandParams - ); - readColorControlInteractionInfo.put("readPrimary1YAttribute", readColorControlPrimary1YAttributeInteractionInfo); - Map readColorControlPrimary1IntensityCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlPrimary1IntensityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readPrimary1IntensityAttribute( - ( ChipClusters.ColorControlCluster.Primary1IntensityAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedColorControlClusterPrimary1IntensityAttributeCallback(), - readColorControlPrimary1IntensityCommandParams - ); - readColorControlInteractionInfo.put("readPrimary1IntensityAttribute", readColorControlPrimary1IntensityAttributeInteractionInfo); - Map readColorControlPrimary2XCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlPrimary2XAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readPrimary2XAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary2XCommandParams - ); - readColorControlInteractionInfo.put("readPrimary2XAttribute", readColorControlPrimary2XAttributeInteractionInfo); - Map readColorControlPrimary2YCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlPrimary2YAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readPrimary2YAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary2YCommandParams - ); - readColorControlInteractionInfo.put("readPrimary2YAttribute", readColorControlPrimary2YAttributeInteractionInfo); - Map readColorControlPrimary2IntensityCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlPrimary2IntensityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readPrimary2IntensityAttribute( - ( ChipClusters.ColorControlCluster.Primary2IntensityAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedColorControlClusterPrimary2IntensityAttributeCallback(), - readColorControlPrimary2IntensityCommandParams - ); - readColorControlInteractionInfo.put("readPrimary2IntensityAttribute", readColorControlPrimary2IntensityAttributeInteractionInfo); - Map readColorControlPrimary3XCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlPrimary3XAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readPrimary3XAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary3XCommandParams - ); - readColorControlInteractionInfo.put("readPrimary3XAttribute", readColorControlPrimary3XAttributeInteractionInfo); - Map readColorControlPrimary3YCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlPrimary3YAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readPrimary3YAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary3YCommandParams - ); - readColorControlInteractionInfo.put("readPrimary3YAttribute", readColorControlPrimary3YAttributeInteractionInfo); - Map readColorControlPrimary3IntensityCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlPrimary3IntensityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readPrimary3IntensityAttribute( - ( ChipClusters.ColorControlCluster.Primary3IntensityAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedColorControlClusterPrimary3IntensityAttributeCallback(), - readColorControlPrimary3IntensityCommandParams - ); - readColorControlInteractionInfo.put("readPrimary3IntensityAttribute", readColorControlPrimary3IntensityAttributeInteractionInfo); - Map readColorControlPrimary4XCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlPrimary4XAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readPrimary4XAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary4XCommandParams - ); - readColorControlInteractionInfo.put("readPrimary4XAttribute", readColorControlPrimary4XAttributeInteractionInfo); - Map readColorControlPrimary4YCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlPrimary4YAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readPrimary4YAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary4YCommandParams - ); - readColorControlInteractionInfo.put("readPrimary4YAttribute", readColorControlPrimary4YAttributeInteractionInfo); - Map readColorControlPrimary4IntensityCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlPrimary4IntensityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readPrimary4IntensityAttribute( - ( ChipClusters.ColorControlCluster.Primary4IntensityAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedColorControlClusterPrimary4IntensityAttributeCallback(), - readColorControlPrimary4IntensityCommandParams - ); - readColorControlInteractionInfo.put("readPrimary4IntensityAttribute", readColorControlPrimary4IntensityAttributeInteractionInfo); - Map readColorControlPrimary5XCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlPrimary5XAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readPrimary5XAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary5XCommandParams - ); - readColorControlInteractionInfo.put("readPrimary5XAttribute", readColorControlPrimary5XAttributeInteractionInfo); - Map readColorControlPrimary5YCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlPrimary5YAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readPrimary5YAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary5YCommandParams - ); - readColorControlInteractionInfo.put("readPrimary5YAttribute", readColorControlPrimary5YAttributeInteractionInfo); - Map readColorControlPrimary5IntensityCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlPrimary5IntensityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readPrimary5IntensityAttribute( - ( ChipClusters.ColorControlCluster.Primary5IntensityAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedColorControlClusterPrimary5IntensityAttributeCallback(), - readColorControlPrimary5IntensityCommandParams - ); - readColorControlInteractionInfo.put("readPrimary5IntensityAttribute", readColorControlPrimary5IntensityAttributeInteractionInfo); - Map readColorControlPrimary6XCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlPrimary6XAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readPrimary6XAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary6XCommandParams - ); - readColorControlInteractionInfo.put("readPrimary6XAttribute", readColorControlPrimary6XAttributeInteractionInfo); - Map readColorControlPrimary6YCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlPrimary6YAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readPrimary6YAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlPrimary6YCommandParams - ); - readColorControlInteractionInfo.put("readPrimary6YAttribute", readColorControlPrimary6YAttributeInteractionInfo); - Map readColorControlPrimary6IntensityCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlPrimary6IntensityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readPrimary6IntensityAttribute( - ( ChipClusters.ColorControlCluster.Primary6IntensityAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedColorControlClusterPrimary6IntensityAttributeCallback(), - readColorControlPrimary6IntensityCommandParams - ); - readColorControlInteractionInfo.put("readPrimary6IntensityAttribute", readColorControlPrimary6IntensityAttributeInteractionInfo); - Map readColorControlWhitePointXCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlWhitePointXAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readWhitePointXAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlWhitePointXCommandParams - ); - readColorControlInteractionInfo.put("readWhitePointXAttribute", readColorControlWhitePointXAttributeInteractionInfo); - Map readColorControlWhitePointYCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlWhitePointYAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readWhitePointYAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlWhitePointYCommandParams - ); - readColorControlInteractionInfo.put("readWhitePointYAttribute", readColorControlWhitePointYAttributeInteractionInfo); - Map readColorControlColorPointRXCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlColorPointRXAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readColorPointRXAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorPointRXCommandParams - ); - readColorControlInteractionInfo.put("readColorPointRXAttribute", readColorControlColorPointRXAttributeInteractionInfo); - Map readColorControlColorPointRYCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlColorPointRYAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readColorPointRYAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorPointRYCommandParams - ); - readColorControlInteractionInfo.put("readColorPointRYAttribute", readColorControlColorPointRYAttributeInteractionInfo); - Map readColorControlColorPointRIntensityCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlColorPointRIntensityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readColorPointRIntensityAttribute( - ( ChipClusters.ColorControlCluster.ColorPointRIntensityAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedColorControlClusterColorPointRIntensityAttributeCallback(), - readColorControlColorPointRIntensityCommandParams - ); - readColorControlInteractionInfo.put("readColorPointRIntensityAttribute", readColorControlColorPointRIntensityAttributeInteractionInfo); - Map readColorControlColorPointGXCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlColorPointGXAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readColorPointGXAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorPointGXCommandParams - ); - readColorControlInteractionInfo.put("readColorPointGXAttribute", readColorControlColorPointGXAttributeInteractionInfo); - Map readColorControlColorPointGYCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlColorPointGYAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readColorPointGYAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorPointGYCommandParams - ); - readColorControlInteractionInfo.put("readColorPointGYAttribute", readColorControlColorPointGYAttributeInteractionInfo); - Map readColorControlColorPointGIntensityCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlColorPointGIntensityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readColorPointGIntensityAttribute( - ( ChipClusters.ColorControlCluster.ColorPointGIntensityAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedColorControlClusterColorPointGIntensityAttributeCallback(), - readColorControlColorPointGIntensityCommandParams - ); - readColorControlInteractionInfo.put("readColorPointGIntensityAttribute", readColorControlColorPointGIntensityAttributeInteractionInfo); - Map readColorControlColorPointBXCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlColorPointBXAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readColorPointBXAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorPointBXCommandParams - ); - readColorControlInteractionInfo.put("readColorPointBXAttribute", readColorControlColorPointBXAttributeInteractionInfo); - Map readColorControlColorPointBYCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlColorPointBYAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readColorPointBYAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorPointBYCommandParams - ); - readColorControlInteractionInfo.put("readColorPointBYAttribute", readColorControlColorPointBYAttributeInteractionInfo); - Map readColorControlColorPointBIntensityCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlColorPointBIntensityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readColorPointBIntensityAttribute( - ( ChipClusters.ColorControlCluster.ColorPointBIntensityAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedColorControlClusterColorPointBIntensityAttributeCallback(), - readColorControlColorPointBIntensityCommandParams - ); - readColorControlInteractionInfo.put("readColorPointBIntensityAttribute", readColorControlColorPointBIntensityAttributeInteractionInfo); - Map readColorControlEnhancedCurrentHueCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlEnhancedCurrentHueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readEnhancedCurrentHueAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlEnhancedCurrentHueCommandParams - ); - readColorControlInteractionInfo.put("readEnhancedCurrentHueAttribute", readColorControlEnhancedCurrentHueAttributeInteractionInfo); - Map readColorControlEnhancedColorModeCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlEnhancedColorModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readEnhancedColorModeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlEnhancedColorModeCommandParams - ); - readColorControlInteractionInfo.put("readEnhancedColorModeAttribute", readColorControlEnhancedColorModeAttributeInteractionInfo); - Map readColorControlColorLoopActiveCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlColorLoopActiveAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readColorLoopActiveAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorLoopActiveCommandParams - ); - readColorControlInteractionInfo.put("readColorLoopActiveAttribute", readColorControlColorLoopActiveAttributeInteractionInfo); - Map readColorControlColorLoopDirectionCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlColorLoopDirectionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readColorLoopDirectionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorLoopDirectionCommandParams - ); - readColorControlInteractionInfo.put("readColorLoopDirectionAttribute", readColorControlColorLoopDirectionAttributeInteractionInfo); - Map readColorControlColorLoopTimeCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlColorLoopTimeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readColorLoopTimeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorLoopTimeCommandParams - ); - readColorControlInteractionInfo.put("readColorLoopTimeAttribute", readColorControlColorLoopTimeAttributeInteractionInfo); - Map readColorControlColorLoopStartEnhancedHueCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlColorLoopStartEnhancedHueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readColorLoopStartEnhancedHueAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorLoopStartEnhancedHueCommandParams - ); - readColorControlInteractionInfo.put("readColorLoopStartEnhancedHueAttribute", readColorControlColorLoopStartEnhancedHueAttributeInteractionInfo); - Map readColorControlColorLoopStoredEnhancedHueCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlColorLoopStoredEnhancedHueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readColorLoopStoredEnhancedHueAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorLoopStoredEnhancedHueCommandParams - ); - readColorControlInteractionInfo.put("readColorLoopStoredEnhancedHueAttribute", readColorControlColorLoopStoredEnhancedHueAttributeInteractionInfo); - Map readColorControlColorCapabilitiesCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlColorCapabilitiesAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readColorCapabilitiesAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorCapabilitiesCommandParams - ); - readColorControlInteractionInfo.put("readColorCapabilitiesAttribute", readColorControlColorCapabilitiesAttributeInteractionInfo); - Map readColorControlColorTempPhysicalMinMiredsCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlColorTempPhysicalMinMiredsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readColorTempPhysicalMinMiredsAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorTempPhysicalMinMiredsCommandParams - ); - readColorControlInteractionInfo.put("readColorTempPhysicalMinMiredsAttribute", readColorControlColorTempPhysicalMinMiredsAttributeInteractionInfo); - Map readColorControlColorTempPhysicalMaxMiredsCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlColorTempPhysicalMaxMiredsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readColorTempPhysicalMaxMiredsAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlColorTempPhysicalMaxMiredsCommandParams - ); - readColorControlInteractionInfo.put("readColorTempPhysicalMaxMiredsAttribute", readColorControlColorTempPhysicalMaxMiredsAttributeInteractionInfo); - Map readColorControlCoupleColorTempToLevelMinMiredsCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlCoupleColorTempToLevelMinMiredsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readCoupleColorTempToLevelMinMiredsAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlCoupleColorTempToLevelMinMiredsCommandParams - ); - readColorControlInteractionInfo.put("readCoupleColorTempToLevelMinMiredsAttribute", readColorControlCoupleColorTempToLevelMinMiredsAttributeInteractionInfo); - Map readColorControlStartUpColorTemperatureMiredsCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlStartUpColorTemperatureMiredsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readStartUpColorTemperatureMiredsAttribute( - ( ChipClusters.ColorControlCluster.StartUpColorTemperatureMiredsAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedColorControlClusterStartUpColorTemperatureMiredsAttributeCallback(), - readColorControlStartUpColorTemperatureMiredsCommandParams - ); - readColorControlInteractionInfo.put("readStartUpColorTemperatureMiredsAttribute", readColorControlStartUpColorTemperatureMiredsAttributeInteractionInfo); - Map readColorControlGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.ColorControlCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedColorControlClusterGeneratedCommandListAttributeCallback(), - readColorControlGeneratedCommandListCommandParams - ); - readColorControlInteractionInfo.put("readGeneratedCommandListAttribute", readColorControlGeneratedCommandListAttributeInteractionInfo); - Map readColorControlAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.ColorControlCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedColorControlClusterAcceptedCommandListAttributeCallback(), - readColorControlAcceptedCommandListCommandParams - ); - readColorControlInteractionInfo.put("readAcceptedCommandListAttribute", readColorControlAcceptedCommandListAttributeInteractionInfo); - Map readColorControlEventListCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readEventListAttribute( - ( ChipClusters.ColorControlCluster.EventListAttributeCallback - ) callback - ); - }, + readColorControlCompensationTextCommandParams); + readColorControlInteractionInfo.put( + "readCompensationTextAttribute", readColorControlCompensationTextAttributeInteractionInfo); + Map readColorControlColorTemperatureMiredsCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorTemperatureMiredsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorTemperatureMiredsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorTemperatureMiredsCommandParams); + readColorControlInteractionInfo.put( + "readColorTemperatureMiredsAttribute", + readColorControlColorTemperatureMiredsAttributeInteractionInfo); + Map readColorControlColorModeCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorModeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorModeCommandParams); + readColorControlInteractionInfo.put( + "readColorModeAttribute", readColorControlColorModeAttributeInteractionInfo); + Map readColorControlOptionsCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlOptionsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readOptionsAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlOptionsCommandParams); + readColorControlInteractionInfo.put( + "readOptionsAttribute", readColorControlOptionsAttributeInteractionInfo); + Map readColorControlNumberOfPrimariesCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlNumberOfPrimariesAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readNumberOfPrimariesAttribute( + (ChipClusters.ColorControlCluster.NumberOfPrimariesAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterNumberOfPrimariesAttributeCallback(), + readColorControlNumberOfPrimariesCommandParams); + readColorControlInteractionInfo.put( + "readNumberOfPrimariesAttribute", + readColorControlNumberOfPrimariesAttributeInteractionInfo); + Map readColorControlPrimary1XCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary1XAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary1XAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary1XCommandParams); + readColorControlInteractionInfo.put( + "readPrimary1XAttribute", readColorControlPrimary1XAttributeInteractionInfo); + Map readColorControlPrimary1YCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary1YAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary1YAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary1YCommandParams); + readColorControlInteractionInfo.put( + "readPrimary1YAttribute", readColorControlPrimary1YAttributeInteractionInfo); + Map readColorControlPrimary1IntensityCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary1IntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary1IntensityAttribute( + (ChipClusters.ColorControlCluster.Primary1IntensityAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterPrimary1IntensityAttributeCallback(), + readColorControlPrimary1IntensityCommandParams); + readColorControlInteractionInfo.put( + "readPrimary1IntensityAttribute", + readColorControlPrimary1IntensityAttributeInteractionInfo); + Map readColorControlPrimary2XCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary2XAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary2XAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary2XCommandParams); + readColorControlInteractionInfo.put( + "readPrimary2XAttribute", readColorControlPrimary2XAttributeInteractionInfo); + Map readColorControlPrimary2YCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary2YAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary2YAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary2YCommandParams); + readColorControlInteractionInfo.put( + "readPrimary2YAttribute", readColorControlPrimary2YAttributeInteractionInfo); + Map readColorControlPrimary2IntensityCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary2IntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary2IntensityAttribute( + (ChipClusters.ColorControlCluster.Primary2IntensityAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterPrimary2IntensityAttributeCallback(), + readColorControlPrimary2IntensityCommandParams); + readColorControlInteractionInfo.put( + "readPrimary2IntensityAttribute", + readColorControlPrimary2IntensityAttributeInteractionInfo); + Map readColorControlPrimary3XCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary3XAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary3XAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary3XCommandParams); + readColorControlInteractionInfo.put( + "readPrimary3XAttribute", readColorControlPrimary3XAttributeInteractionInfo); + Map readColorControlPrimary3YCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary3YAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary3YAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary3YCommandParams); + readColorControlInteractionInfo.put( + "readPrimary3YAttribute", readColorControlPrimary3YAttributeInteractionInfo); + Map readColorControlPrimary3IntensityCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary3IntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary3IntensityAttribute( + (ChipClusters.ColorControlCluster.Primary3IntensityAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterPrimary3IntensityAttributeCallback(), + readColorControlPrimary3IntensityCommandParams); + readColorControlInteractionInfo.put( + "readPrimary3IntensityAttribute", + readColorControlPrimary3IntensityAttributeInteractionInfo); + Map readColorControlPrimary4XCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary4XAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary4XAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary4XCommandParams); + readColorControlInteractionInfo.put( + "readPrimary4XAttribute", readColorControlPrimary4XAttributeInteractionInfo); + Map readColorControlPrimary4YCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary4YAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary4YAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary4YCommandParams); + readColorControlInteractionInfo.put( + "readPrimary4YAttribute", readColorControlPrimary4YAttributeInteractionInfo); + Map readColorControlPrimary4IntensityCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary4IntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary4IntensityAttribute( + (ChipClusters.ColorControlCluster.Primary4IntensityAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterPrimary4IntensityAttributeCallback(), + readColorControlPrimary4IntensityCommandParams); + readColorControlInteractionInfo.put( + "readPrimary4IntensityAttribute", + readColorControlPrimary4IntensityAttributeInteractionInfo); + Map readColorControlPrimary5XCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary5XAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary5XAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary5XCommandParams); + readColorControlInteractionInfo.put( + "readPrimary5XAttribute", readColorControlPrimary5XAttributeInteractionInfo); + Map readColorControlPrimary5YCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary5YAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary5YAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary5YCommandParams); + readColorControlInteractionInfo.put( + "readPrimary5YAttribute", readColorControlPrimary5YAttributeInteractionInfo); + Map readColorControlPrimary5IntensityCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary5IntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary5IntensityAttribute( + (ChipClusters.ColorControlCluster.Primary5IntensityAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterPrimary5IntensityAttributeCallback(), + readColorControlPrimary5IntensityCommandParams); + readColorControlInteractionInfo.put( + "readPrimary5IntensityAttribute", + readColorControlPrimary5IntensityAttributeInteractionInfo); + Map readColorControlPrimary6XCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary6XAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary6XAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary6XCommandParams); + readColorControlInteractionInfo.put( + "readPrimary6XAttribute", readColorControlPrimary6XAttributeInteractionInfo); + Map readColorControlPrimary6YCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary6YAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary6YAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlPrimary6YCommandParams); + readColorControlInteractionInfo.put( + "readPrimary6YAttribute", readColorControlPrimary6YAttributeInteractionInfo); + Map readColorControlPrimary6IntensityCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlPrimary6IntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readPrimary6IntensityAttribute( + (ChipClusters.ColorControlCluster.Primary6IntensityAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterPrimary6IntensityAttributeCallback(), + readColorControlPrimary6IntensityCommandParams); + readColorControlInteractionInfo.put( + "readPrimary6IntensityAttribute", + readColorControlPrimary6IntensityAttributeInteractionInfo); + Map readColorControlWhitePointXCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlWhitePointXAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readWhitePointXAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlWhitePointXCommandParams); + readColorControlInteractionInfo.put( + "readWhitePointXAttribute", readColorControlWhitePointXAttributeInteractionInfo); + Map readColorControlWhitePointYCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlWhitePointYAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readWhitePointYAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlWhitePointYCommandParams); + readColorControlInteractionInfo.put( + "readWhitePointYAttribute", readColorControlWhitePointYAttributeInteractionInfo); + Map readColorControlColorPointRXCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorPointRXAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorPointRXAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorPointRXCommandParams); + readColorControlInteractionInfo.put( + "readColorPointRXAttribute", readColorControlColorPointRXAttributeInteractionInfo); + Map readColorControlColorPointRYCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorPointRYAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorPointRYAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorPointRYCommandParams); + readColorControlInteractionInfo.put( + "readColorPointRYAttribute", readColorControlColorPointRYAttributeInteractionInfo); + Map readColorControlColorPointRIntensityCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorPointRIntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorPointRIntensityAttribute( + (ChipClusters.ColorControlCluster.ColorPointRIntensityAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterColorPointRIntensityAttributeCallback(), + readColorControlColorPointRIntensityCommandParams); + readColorControlInteractionInfo.put( + "readColorPointRIntensityAttribute", + readColorControlColorPointRIntensityAttributeInteractionInfo); + Map readColorControlColorPointGXCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorPointGXAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorPointGXAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorPointGXCommandParams); + readColorControlInteractionInfo.put( + "readColorPointGXAttribute", readColorControlColorPointGXAttributeInteractionInfo); + Map readColorControlColorPointGYCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorPointGYAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorPointGYAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorPointGYCommandParams); + readColorControlInteractionInfo.put( + "readColorPointGYAttribute", readColorControlColorPointGYAttributeInteractionInfo); + Map readColorControlColorPointGIntensityCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorPointGIntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorPointGIntensityAttribute( + (ChipClusters.ColorControlCluster.ColorPointGIntensityAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterColorPointGIntensityAttributeCallback(), + readColorControlColorPointGIntensityCommandParams); + readColorControlInteractionInfo.put( + "readColorPointGIntensityAttribute", + readColorControlColorPointGIntensityAttributeInteractionInfo); + Map readColorControlColorPointBXCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorPointBXAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorPointBXAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorPointBXCommandParams); + readColorControlInteractionInfo.put( + "readColorPointBXAttribute", readColorControlColorPointBXAttributeInteractionInfo); + Map readColorControlColorPointBYCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorPointBYAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorPointBYAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorPointBYCommandParams); + readColorControlInteractionInfo.put( + "readColorPointBYAttribute", readColorControlColorPointBYAttributeInteractionInfo); + Map readColorControlColorPointBIntensityCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorPointBIntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorPointBIntensityAttribute( + (ChipClusters.ColorControlCluster.ColorPointBIntensityAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterColorPointBIntensityAttributeCallback(), + readColorControlColorPointBIntensityCommandParams); + readColorControlInteractionInfo.put( + "readColorPointBIntensityAttribute", + readColorControlColorPointBIntensityAttributeInteractionInfo); + Map readColorControlEnhancedCurrentHueCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlEnhancedCurrentHueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readEnhancedCurrentHueAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlEnhancedCurrentHueCommandParams); + readColorControlInteractionInfo.put( + "readEnhancedCurrentHueAttribute", + readColorControlEnhancedCurrentHueAttributeInteractionInfo); + Map readColorControlEnhancedColorModeCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlEnhancedColorModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readEnhancedColorModeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlEnhancedColorModeCommandParams); + readColorControlInteractionInfo.put( + "readEnhancedColorModeAttribute", + readColorControlEnhancedColorModeAttributeInteractionInfo); + Map readColorControlColorLoopActiveCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorLoopActiveAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorLoopActiveAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorLoopActiveCommandParams); + readColorControlInteractionInfo.put( + "readColorLoopActiveAttribute", readColorControlColorLoopActiveAttributeInteractionInfo); + Map readColorControlColorLoopDirectionCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorLoopDirectionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorLoopDirectionAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorLoopDirectionCommandParams); + readColorControlInteractionInfo.put( + "readColorLoopDirectionAttribute", + readColorControlColorLoopDirectionAttributeInteractionInfo); + Map readColorControlColorLoopTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorLoopTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorLoopTimeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorLoopTimeCommandParams); + readColorControlInteractionInfo.put( + "readColorLoopTimeAttribute", readColorControlColorLoopTimeAttributeInteractionInfo); + Map readColorControlColorLoopStartEnhancedHueCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorLoopStartEnhancedHueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorLoopStartEnhancedHueAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorLoopStartEnhancedHueCommandParams); + readColorControlInteractionInfo.put( + "readColorLoopStartEnhancedHueAttribute", + readColorControlColorLoopStartEnhancedHueAttributeInteractionInfo); + Map readColorControlColorLoopStoredEnhancedHueCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorLoopStoredEnhancedHueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorLoopStoredEnhancedHueAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorLoopStoredEnhancedHueCommandParams); + readColorControlInteractionInfo.put( + "readColorLoopStoredEnhancedHueAttribute", + readColorControlColorLoopStoredEnhancedHueAttributeInteractionInfo); + Map readColorControlColorCapabilitiesCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorCapabilitiesAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorCapabilitiesAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorCapabilitiesCommandParams); + readColorControlInteractionInfo.put( + "readColorCapabilitiesAttribute", + readColorControlColorCapabilitiesAttributeInteractionInfo); + Map readColorControlColorTempPhysicalMinMiredsCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorTempPhysicalMinMiredsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorTempPhysicalMinMiredsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorTempPhysicalMinMiredsCommandParams); + readColorControlInteractionInfo.put( + "readColorTempPhysicalMinMiredsAttribute", + readColorControlColorTempPhysicalMinMiredsAttributeInteractionInfo); + Map readColorControlColorTempPhysicalMaxMiredsCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlColorTempPhysicalMaxMiredsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readColorTempPhysicalMaxMiredsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlColorTempPhysicalMaxMiredsCommandParams); + readColorControlInteractionInfo.put( + "readColorTempPhysicalMaxMiredsAttribute", + readColorControlColorTempPhysicalMaxMiredsAttributeInteractionInfo); + Map readColorControlCoupleColorTempToLevelMinMiredsCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlCoupleColorTempToLevelMinMiredsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readCoupleColorTempToLevelMinMiredsAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlCoupleColorTempToLevelMinMiredsCommandParams); + readColorControlInteractionInfo.put( + "readCoupleColorTempToLevelMinMiredsAttribute", + readColorControlCoupleColorTempToLevelMinMiredsAttributeInteractionInfo); + Map readColorControlStartUpColorTemperatureMiredsCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlStartUpColorTemperatureMiredsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readStartUpColorTemperatureMiredsAttribute( + (ChipClusters.ColorControlCluster + .StartUpColorTemperatureMiredsAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterStartUpColorTemperatureMiredsAttributeCallback(), + readColorControlStartUpColorTemperatureMiredsCommandParams); + readColorControlInteractionInfo.put( + "readStartUpColorTemperatureMiredsAttribute", + readColorControlStartUpColorTemperatureMiredsAttributeInteractionInfo); + Map readColorControlGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.ColorControlCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterGeneratedCommandListAttributeCallback(), + readColorControlGeneratedCommandListCommandParams); + readColorControlInteractionInfo.put( + "readGeneratedCommandListAttribute", + readColorControlGeneratedCommandListAttributeInteractionInfo); + Map readColorControlAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.ColorControlCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedColorControlClusterAcceptedCommandListAttributeCallback(), + readColorControlAcceptedCommandListCommandParams); + readColorControlInteractionInfo.put( + "readAcceptedCommandListAttribute", + readColorControlAcceptedCommandListAttributeInteractionInfo); + Map readColorControlEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readEventListAttribute( + (ChipClusters.ColorControlCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedColorControlClusterEventListAttributeCallback(), - readColorControlEventListCommandParams - ); - readColorControlInteractionInfo.put("readEventListAttribute", readColorControlEventListAttributeInteractionInfo); - Map readColorControlAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readAttributeListAttribute( - ( ChipClusters.ColorControlCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedColorControlClusterAttributeListAttributeCallback(), - readColorControlAttributeListCommandParams - ); - readColorControlInteractionInfo.put("readAttributeListAttribute", readColorControlAttributeListAttributeInteractionInfo); - Map readColorControlFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readColorControlFeatureMapCommandParams - ); - readColorControlInteractionInfo.put("readFeatureMapAttribute", readColorControlFeatureMapAttributeInteractionInfo); - Map readColorControlClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readColorControlClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readColorControlClusterRevisionCommandParams - ); - readColorControlInteractionInfo.put("readClusterRevisionAttribute", readColorControlClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("colorControl", readColorControlInteractionInfo); - Map readBallastConfigurationInteractionInfo = new LinkedHashMap<>(); - Map readBallastConfigurationPhysicalMinLevelCommandParams = new LinkedHashMap(); - InteractionInfo readBallastConfigurationPhysicalMinLevelAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).readPhysicalMinLevelAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBallastConfigurationPhysicalMinLevelCommandParams - ); - readBallastConfigurationInteractionInfo.put("readPhysicalMinLevelAttribute", readBallastConfigurationPhysicalMinLevelAttributeInteractionInfo); - Map readBallastConfigurationPhysicalMaxLevelCommandParams = new LinkedHashMap(); - InteractionInfo readBallastConfigurationPhysicalMaxLevelAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).readPhysicalMaxLevelAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBallastConfigurationPhysicalMaxLevelCommandParams - ); - readBallastConfigurationInteractionInfo.put("readPhysicalMaxLevelAttribute", readBallastConfigurationPhysicalMaxLevelAttributeInteractionInfo); - Map readBallastConfigurationBallastStatusCommandParams = new LinkedHashMap(); - InteractionInfo readBallastConfigurationBallastStatusAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).readBallastStatusAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBallastConfigurationBallastStatusCommandParams - ); - readBallastConfigurationInteractionInfo.put("readBallastStatusAttribute", readBallastConfigurationBallastStatusAttributeInteractionInfo); - Map readBallastConfigurationMinLevelCommandParams = new LinkedHashMap(); - InteractionInfo readBallastConfigurationMinLevelAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).readMinLevelAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBallastConfigurationMinLevelCommandParams - ); - readBallastConfigurationInteractionInfo.put("readMinLevelAttribute", readBallastConfigurationMinLevelAttributeInteractionInfo); - Map readBallastConfigurationMaxLevelCommandParams = new LinkedHashMap(); - InteractionInfo readBallastConfigurationMaxLevelAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).readMaxLevelAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBallastConfigurationMaxLevelCommandParams - ); - readBallastConfigurationInteractionInfo.put("readMaxLevelAttribute", readBallastConfigurationMaxLevelAttributeInteractionInfo); - Map readBallastConfigurationIntrinsicBallastFactorCommandParams = new LinkedHashMap(); - InteractionInfo readBallastConfigurationIntrinsicBallastFactorAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).readIntrinsicBallastFactorAttribute( - ( ChipClusters.BallastConfigurationCluster.IntrinsicBallastFactorAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBallastConfigurationClusterIntrinsicBallastFactorAttributeCallback(), - readBallastConfigurationIntrinsicBallastFactorCommandParams - ); - readBallastConfigurationInteractionInfo.put("readIntrinsicBallastFactorAttribute", readBallastConfigurationIntrinsicBallastFactorAttributeInteractionInfo); - Map readBallastConfigurationBallastFactorAdjustmentCommandParams = new LinkedHashMap(); - InteractionInfo readBallastConfigurationBallastFactorAdjustmentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).readBallastFactorAdjustmentAttribute( - ( ChipClusters.BallastConfigurationCluster.BallastFactorAdjustmentAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBallastConfigurationClusterBallastFactorAdjustmentAttributeCallback(), - readBallastConfigurationBallastFactorAdjustmentCommandParams - ); - readBallastConfigurationInteractionInfo.put("readBallastFactorAdjustmentAttribute", readBallastConfigurationBallastFactorAdjustmentAttributeInteractionInfo); - Map readBallastConfigurationLampQuantityCommandParams = new LinkedHashMap(); - InteractionInfo readBallastConfigurationLampQuantityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).readLampQuantityAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBallastConfigurationLampQuantityCommandParams - ); - readBallastConfigurationInteractionInfo.put("readLampQuantityAttribute", readBallastConfigurationLampQuantityAttributeInteractionInfo); - Map readBallastConfigurationLampTypeCommandParams = new LinkedHashMap(); - InteractionInfo readBallastConfigurationLampTypeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).readLampTypeAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readColorControlEventListCommandParams); + readColorControlInteractionInfo.put( + "readEventListAttribute", readColorControlEventListAttributeInteractionInfo); + Map readColorControlAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.ColorControlCluster.AttributeListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedColorControlClusterAttributeListAttributeCallback(), + readColorControlAttributeListCommandParams); + readColorControlInteractionInfo.put( + "readAttributeListAttribute", readColorControlAttributeListAttributeInteractionInfo); + Map readColorControlFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readColorControlFeatureMapCommandParams); + readColorControlInteractionInfo.put( + "readFeatureMapAttribute", readColorControlFeatureMapAttributeInteractionInfo); + Map readColorControlClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readColorControlClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readColorControlClusterRevisionCommandParams); + readColorControlInteractionInfo.put( + "readClusterRevisionAttribute", readColorControlClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("colorControl", readColorControlInteractionInfo); + Map readBallastConfigurationInteractionInfo = new LinkedHashMap<>(); + Map readBallastConfigurationPhysicalMinLevelCommandParams = + new LinkedHashMap(); + InteractionInfo readBallastConfigurationPhysicalMinLevelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .readPhysicalMinLevelAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBallastConfigurationPhysicalMinLevelCommandParams); + readBallastConfigurationInteractionInfo.put( + "readPhysicalMinLevelAttribute", + readBallastConfigurationPhysicalMinLevelAttributeInteractionInfo); + Map readBallastConfigurationPhysicalMaxLevelCommandParams = + new LinkedHashMap(); + InteractionInfo readBallastConfigurationPhysicalMaxLevelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .readPhysicalMaxLevelAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBallastConfigurationPhysicalMaxLevelCommandParams); + readBallastConfigurationInteractionInfo.put( + "readPhysicalMaxLevelAttribute", + readBallastConfigurationPhysicalMaxLevelAttributeInteractionInfo); + Map readBallastConfigurationBallastStatusCommandParams = + new LinkedHashMap(); + InteractionInfo readBallastConfigurationBallastStatusAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .readBallastStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBallastConfigurationBallastStatusCommandParams); + readBallastConfigurationInteractionInfo.put( + "readBallastStatusAttribute", + readBallastConfigurationBallastStatusAttributeInteractionInfo); + Map readBallastConfigurationMinLevelCommandParams = + new LinkedHashMap(); + InteractionInfo readBallastConfigurationMinLevelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .readMinLevelAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBallastConfigurationMinLevelCommandParams); + readBallastConfigurationInteractionInfo.put( + "readMinLevelAttribute", readBallastConfigurationMinLevelAttributeInteractionInfo); + Map readBallastConfigurationMaxLevelCommandParams = + new LinkedHashMap(); + InteractionInfo readBallastConfigurationMaxLevelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .readMaxLevelAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBallastConfigurationMaxLevelCommandParams); + readBallastConfigurationInteractionInfo.put( + "readMaxLevelAttribute", readBallastConfigurationMaxLevelAttributeInteractionInfo); + Map readBallastConfigurationIntrinsicBallastFactorCommandParams = + new LinkedHashMap(); + InteractionInfo readBallastConfigurationIntrinsicBallastFactorAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .readIntrinsicBallastFactorAttribute( + (ChipClusters.BallastConfigurationCluster + .IntrinsicBallastFactorAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBallastConfigurationClusterIntrinsicBallastFactorAttributeCallback(), + readBallastConfigurationIntrinsicBallastFactorCommandParams); + readBallastConfigurationInteractionInfo.put( + "readIntrinsicBallastFactorAttribute", + readBallastConfigurationIntrinsicBallastFactorAttributeInteractionInfo); + Map readBallastConfigurationBallastFactorAdjustmentCommandParams = + new LinkedHashMap(); + InteractionInfo readBallastConfigurationBallastFactorAdjustmentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .readBallastFactorAdjustmentAttribute( + (ChipClusters.BallastConfigurationCluster + .BallastFactorAdjustmentAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBallastConfigurationClusterBallastFactorAdjustmentAttributeCallback(), + readBallastConfigurationBallastFactorAdjustmentCommandParams); + readBallastConfigurationInteractionInfo.put( + "readBallastFactorAdjustmentAttribute", + readBallastConfigurationBallastFactorAdjustmentAttributeInteractionInfo); + Map readBallastConfigurationLampQuantityCommandParams = + new LinkedHashMap(); + InteractionInfo readBallastConfigurationLampQuantityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .readLampQuantityAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBallastConfigurationLampQuantityCommandParams); + readBallastConfigurationInteractionInfo.put( + "readLampQuantityAttribute", readBallastConfigurationLampQuantityAttributeInteractionInfo); + Map readBallastConfigurationLampTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readBallastConfigurationLampTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .readLampTypeAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBallastConfigurationLampTypeCommandParams - ); - readBallastConfigurationInteractionInfo.put("readLampTypeAttribute", readBallastConfigurationLampTypeAttributeInteractionInfo); - Map readBallastConfigurationLampManufacturerCommandParams = new LinkedHashMap(); - InteractionInfo readBallastConfigurationLampManufacturerAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).readLampManufacturerAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBallastConfigurationLampTypeCommandParams); + readBallastConfigurationInteractionInfo.put( + "readLampTypeAttribute", readBallastConfigurationLampTypeAttributeInteractionInfo); + Map readBallastConfigurationLampManufacturerCommandParams = + new LinkedHashMap(); + InteractionInfo readBallastConfigurationLampManufacturerAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .readLampManufacturerAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readBallastConfigurationLampManufacturerCommandParams - ); - readBallastConfigurationInteractionInfo.put("readLampManufacturerAttribute", readBallastConfigurationLampManufacturerAttributeInteractionInfo); - Map readBallastConfigurationLampRatedHoursCommandParams = new LinkedHashMap(); - InteractionInfo readBallastConfigurationLampRatedHoursAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).readLampRatedHoursAttribute( - ( ChipClusters.BallastConfigurationCluster.LampRatedHoursAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBallastConfigurationClusterLampRatedHoursAttributeCallback(), - readBallastConfigurationLampRatedHoursCommandParams - ); - readBallastConfigurationInteractionInfo.put("readLampRatedHoursAttribute", readBallastConfigurationLampRatedHoursAttributeInteractionInfo); - Map readBallastConfigurationLampBurnHoursCommandParams = new LinkedHashMap(); - InteractionInfo readBallastConfigurationLampBurnHoursAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).readLampBurnHoursAttribute( - ( ChipClusters.BallastConfigurationCluster.LampBurnHoursAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBallastConfigurationClusterLampBurnHoursAttributeCallback(), - readBallastConfigurationLampBurnHoursCommandParams - ); - readBallastConfigurationInteractionInfo.put("readLampBurnHoursAttribute", readBallastConfigurationLampBurnHoursAttributeInteractionInfo); - Map readBallastConfigurationLampAlarmModeCommandParams = new LinkedHashMap(); - InteractionInfo readBallastConfigurationLampAlarmModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).readLampAlarmModeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBallastConfigurationLampAlarmModeCommandParams - ); - readBallastConfigurationInteractionInfo.put("readLampAlarmModeAttribute", readBallastConfigurationLampAlarmModeAttributeInteractionInfo); - Map readBallastConfigurationLampBurnHoursTripPointCommandParams = new LinkedHashMap(); - InteractionInfo readBallastConfigurationLampBurnHoursTripPointAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).readLampBurnHoursTripPointAttribute( - ( ChipClusters.BallastConfigurationCluster.LampBurnHoursTripPointAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBallastConfigurationClusterLampBurnHoursTripPointAttributeCallback(), - readBallastConfigurationLampBurnHoursTripPointCommandParams - ); - readBallastConfigurationInteractionInfo.put("readLampBurnHoursTripPointAttribute", readBallastConfigurationLampBurnHoursTripPointAttributeInteractionInfo); - Map readBallastConfigurationGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readBallastConfigurationGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.BallastConfigurationCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBallastConfigurationClusterGeneratedCommandListAttributeCallback(), - readBallastConfigurationGeneratedCommandListCommandParams - ); - readBallastConfigurationInteractionInfo.put("readGeneratedCommandListAttribute", readBallastConfigurationGeneratedCommandListAttributeInteractionInfo); - Map readBallastConfigurationAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readBallastConfigurationAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.BallastConfigurationCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBallastConfigurationClusterAcceptedCommandListAttributeCallback(), - readBallastConfigurationAcceptedCommandListCommandParams - ); - readBallastConfigurationInteractionInfo.put("readAcceptedCommandListAttribute", readBallastConfigurationAcceptedCommandListAttributeInteractionInfo); - Map readBallastConfigurationEventListCommandParams = new LinkedHashMap(); - InteractionInfo readBallastConfigurationEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).readEventListAttribute( - ( ChipClusters.BallastConfigurationCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBallastConfigurationClusterEventListAttributeCallback(), - readBallastConfigurationEventListCommandParams - ); - readBallastConfigurationInteractionInfo.put("readEventListAttribute", readBallastConfigurationEventListAttributeInteractionInfo); - Map readBallastConfigurationAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readBallastConfigurationAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).readAttributeListAttribute( - ( ChipClusters.BallastConfigurationCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedBallastConfigurationClusterAttributeListAttributeCallback(), - readBallastConfigurationAttributeListCommandParams - ); - readBallastConfigurationInteractionInfo.put("readAttributeListAttribute", readBallastConfigurationAttributeListAttributeInteractionInfo); - Map readBallastConfigurationFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readBallastConfigurationFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readBallastConfigurationFeatureMapCommandParams - ); - readBallastConfigurationInteractionInfo.put("readFeatureMapAttribute", readBallastConfigurationFeatureMapAttributeInteractionInfo); - Map readBallastConfigurationClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readBallastConfigurationClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readBallastConfigurationClusterRevisionCommandParams - ); - readBallastConfigurationInteractionInfo.put("readClusterRevisionAttribute", readBallastConfigurationClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("ballastConfiguration", readBallastConfigurationInteractionInfo); - Map readIlluminanceMeasurementInteractionInfo = new LinkedHashMap<>(); - Map readIlluminanceMeasurementMeasuredValueCommandParams = new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementMeasuredValueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster).readMeasuredValueAttribute( - ( ChipClusters.IlluminanceMeasurementCluster.MeasuredValueAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIlluminanceMeasurementClusterMeasuredValueAttributeCallback(), - readIlluminanceMeasurementMeasuredValueCommandParams - ); - readIlluminanceMeasurementInteractionInfo.put("readMeasuredValueAttribute", readIlluminanceMeasurementMeasuredValueAttributeInteractionInfo); - Map readIlluminanceMeasurementMinMeasuredValueCommandParams = new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementMinMeasuredValueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster).readMinMeasuredValueAttribute( - ( ChipClusters.IlluminanceMeasurementCluster.MinMeasuredValueAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIlluminanceMeasurementClusterMinMeasuredValueAttributeCallback(), - readIlluminanceMeasurementMinMeasuredValueCommandParams - ); - readIlluminanceMeasurementInteractionInfo.put("readMinMeasuredValueAttribute", readIlluminanceMeasurementMinMeasuredValueAttributeInteractionInfo); - Map readIlluminanceMeasurementMaxMeasuredValueCommandParams = new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementMaxMeasuredValueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster).readMaxMeasuredValueAttribute( - ( ChipClusters.IlluminanceMeasurementCluster.MaxMeasuredValueAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIlluminanceMeasurementClusterMaxMeasuredValueAttributeCallback(), - readIlluminanceMeasurementMaxMeasuredValueCommandParams - ); - readIlluminanceMeasurementInteractionInfo.put("readMaxMeasuredValueAttribute", readIlluminanceMeasurementMaxMeasuredValueAttributeInteractionInfo); - Map readIlluminanceMeasurementToleranceCommandParams = new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementToleranceAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster).readToleranceAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readIlluminanceMeasurementToleranceCommandParams - ); - readIlluminanceMeasurementInteractionInfo.put("readToleranceAttribute", readIlluminanceMeasurementToleranceAttributeInteractionInfo); - Map readIlluminanceMeasurementLightSensorTypeCommandParams = new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementLightSensorTypeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster).readLightSensorTypeAttribute( - ( ChipClusters.IlluminanceMeasurementCluster.LightSensorTypeAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIlluminanceMeasurementClusterLightSensorTypeAttributeCallback(), - readIlluminanceMeasurementLightSensorTypeCommandParams - ); - readIlluminanceMeasurementInteractionInfo.put("readLightSensorTypeAttribute", readIlluminanceMeasurementLightSensorTypeAttributeInteractionInfo); - Map readIlluminanceMeasurementGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.IlluminanceMeasurementCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIlluminanceMeasurementClusterGeneratedCommandListAttributeCallback(), - readIlluminanceMeasurementGeneratedCommandListCommandParams - ); - readIlluminanceMeasurementInteractionInfo.put("readGeneratedCommandListAttribute", readIlluminanceMeasurementGeneratedCommandListAttributeInteractionInfo); - Map readIlluminanceMeasurementAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.IlluminanceMeasurementCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIlluminanceMeasurementClusterAcceptedCommandListAttributeCallback(), - readIlluminanceMeasurementAcceptedCommandListCommandParams - ); - readIlluminanceMeasurementInteractionInfo.put("readAcceptedCommandListAttribute", readIlluminanceMeasurementAcceptedCommandListAttributeInteractionInfo); - Map readIlluminanceMeasurementEventListCommandParams = new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster).readEventListAttribute( - ( ChipClusters.IlluminanceMeasurementCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIlluminanceMeasurementClusterEventListAttributeCallback(), - readIlluminanceMeasurementEventListCommandParams - ); - readIlluminanceMeasurementInteractionInfo.put("readEventListAttribute", readIlluminanceMeasurementEventListAttributeInteractionInfo); - Map readIlluminanceMeasurementAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster).readAttributeListAttribute( - ( ChipClusters.IlluminanceMeasurementCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIlluminanceMeasurementClusterAttributeListAttributeCallback(), - readIlluminanceMeasurementAttributeListCommandParams - ); - readIlluminanceMeasurementInteractionInfo.put("readAttributeListAttribute", readIlluminanceMeasurementAttributeListAttributeInteractionInfo); - Map readIlluminanceMeasurementFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readIlluminanceMeasurementFeatureMapCommandParams - ); - readIlluminanceMeasurementInteractionInfo.put("readFeatureMapAttribute", readIlluminanceMeasurementFeatureMapAttributeInteractionInfo); - Map readIlluminanceMeasurementClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readIlluminanceMeasurementClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IlluminanceMeasurementCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readIlluminanceMeasurementClusterRevisionCommandParams - ); - readIlluminanceMeasurementInteractionInfo.put("readClusterRevisionAttribute", readIlluminanceMeasurementClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("illuminanceMeasurement", readIlluminanceMeasurementInteractionInfo); - Map readTemperatureMeasurementInteractionInfo = new LinkedHashMap<>(); - Map readTemperatureMeasurementMeasuredValueCommandParams = new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementMeasuredValueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster).readMeasuredValueAttribute( - ( ChipClusters.TemperatureMeasurementCluster.MeasuredValueAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedTemperatureMeasurementClusterMeasuredValueAttributeCallback(), - readTemperatureMeasurementMeasuredValueCommandParams - ); - readTemperatureMeasurementInteractionInfo.put("readMeasuredValueAttribute", readTemperatureMeasurementMeasuredValueAttributeInteractionInfo); - Map readTemperatureMeasurementMinMeasuredValueCommandParams = new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementMinMeasuredValueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster).readMinMeasuredValueAttribute( - ( ChipClusters.TemperatureMeasurementCluster.MinMeasuredValueAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedTemperatureMeasurementClusterMinMeasuredValueAttributeCallback(), - readTemperatureMeasurementMinMeasuredValueCommandParams - ); - readTemperatureMeasurementInteractionInfo.put("readMinMeasuredValueAttribute", readTemperatureMeasurementMinMeasuredValueAttributeInteractionInfo); - Map readTemperatureMeasurementMaxMeasuredValueCommandParams = new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementMaxMeasuredValueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster).readMaxMeasuredValueAttribute( - ( ChipClusters.TemperatureMeasurementCluster.MaxMeasuredValueAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedTemperatureMeasurementClusterMaxMeasuredValueAttributeCallback(), - readTemperatureMeasurementMaxMeasuredValueCommandParams - ); - readTemperatureMeasurementInteractionInfo.put("readMaxMeasuredValueAttribute", readTemperatureMeasurementMaxMeasuredValueAttributeInteractionInfo); - Map readTemperatureMeasurementToleranceCommandParams = new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementToleranceAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster).readToleranceAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readTemperatureMeasurementToleranceCommandParams - ); - readTemperatureMeasurementInteractionInfo.put("readToleranceAttribute", readTemperatureMeasurementToleranceAttributeInteractionInfo); - Map readTemperatureMeasurementGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.TemperatureMeasurementCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedTemperatureMeasurementClusterGeneratedCommandListAttributeCallback(), - readTemperatureMeasurementGeneratedCommandListCommandParams - ); - readTemperatureMeasurementInteractionInfo.put("readGeneratedCommandListAttribute", readTemperatureMeasurementGeneratedCommandListAttributeInteractionInfo); - Map readTemperatureMeasurementAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.TemperatureMeasurementCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedTemperatureMeasurementClusterAcceptedCommandListAttributeCallback(), - readTemperatureMeasurementAcceptedCommandListCommandParams - ); - readTemperatureMeasurementInteractionInfo.put("readAcceptedCommandListAttribute", readTemperatureMeasurementAcceptedCommandListAttributeInteractionInfo); - Map readTemperatureMeasurementEventListCommandParams = new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster).readEventListAttribute( - ( ChipClusters.TemperatureMeasurementCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedTemperatureMeasurementClusterEventListAttributeCallback(), - readTemperatureMeasurementEventListCommandParams - ); - readTemperatureMeasurementInteractionInfo.put("readEventListAttribute", readTemperatureMeasurementEventListAttributeInteractionInfo); - Map readTemperatureMeasurementAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster).readAttributeListAttribute( - ( ChipClusters.TemperatureMeasurementCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedTemperatureMeasurementClusterAttributeListAttributeCallback(), - readTemperatureMeasurementAttributeListCommandParams - ); - readTemperatureMeasurementInteractionInfo.put("readAttributeListAttribute", readTemperatureMeasurementAttributeListAttributeInteractionInfo); - Map readTemperatureMeasurementFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readTemperatureMeasurementFeatureMapCommandParams - ); - readTemperatureMeasurementInteractionInfo.put("readFeatureMapAttribute", readTemperatureMeasurementFeatureMapAttributeInteractionInfo); - Map readTemperatureMeasurementClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readTemperatureMeasurementClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TemperatureMeasurementCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readTemperatureMeasurementClusterRevisionCommandParams - ); - readTemperatureMeasurementInteractionInfo.put("readClusterRevisionAttribute", readTemperatureMeasurementClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("temperatureMeasurement", readTemperatureMeasurementInteractionInfo); - Map readPressureMeasurementInteractionInfo = new LinkedHashMap<>(); - Map readPressureMeasurementMeasuredValueCommandParams = new LinkedHashMap(); - InteractionInfo readPressureMeasurementMeasuredValueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster).readMeasuredValueAttribute( - ( ChipClusters.PressureMeasurementCluster.MeasuredValueAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPressureMeasurementClusterMeasuredValueAttributeCallback(), - readPressureMeasurementMeasuredValueCommandParams - ); - readPressureMeasurementInteractionInfo.put("readMeasuredValueAttribute", readPressureMeasurementMeasuredValueAttributeInteractionInfo); - Map readPressureMeasurementMinMeasuredValueCommandParams = new LinkedHashMap(); - InteractionInfo readPressureMeasurementMinMeasuredValueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster).readMinMeasuredValueAttribute( - ( ChipClusters.PressureMeasurementCluster.MinMeasuredValueAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPressureMeasurementClusterMinMeasuredValueAttributeCallback(), - readPressureMeasurementMinMeasuredValueCommandParams - ); - readPressureMeasurementInteractionInfo.put("readMinMeasuredValueAttribute", readPressureMeasurementMinMeasuredValueAttributeInteractionInfo); - Map readPressureMeasurementMaxMeasuredValueCommandParams = new LinkedHashMap(); - InteractionInfo readPressureMeasurementMaxMeasuredValueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster).readMaxMeasuredValueAttribute( - ( ChipClusters.PressureMeasurementCluster.MaxMeasuredValueAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPressureMeasurementClusterMaxMeasuredValueAttributeCallback(), - readPressureMeasurementMaxMeasuredValueCommandParams - ); - readPressureMeasurementInteractionInfo.put("readMaxMeasuredValueAttribute", readPressureMeasurementMaxMeasuredValueAttributeInteractionInfo); - Map readPressureMeasurementToleranceCommandParams = new LinkedHashMap(); - InteractionInfo readPressureMeasurementToleranceAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster).readToleranceAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPressureMeasurementToleranceCommandParams - ); - readPressureMeasurementInteractionInfo.put("readToleranceAttribute", readPressureMeasurementToleranceAttributeInteractionInfo); - Map readPressureMeasurementScaledValueCommandParams = new LinkedHashMap(); - InteractionInfo readPressureMeasurementScaledValueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster).readScaledValueAttribute( - ( ChipClusters.PressureMeasurementCluster.ScaledValueAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPressureMeasurementClusterScaledValueAttributeCallback(), - readPressureMeasurementScaledValueCommandParams - ); - readPressureMeasurementInteractionInfo.put("readScaledValueAttribute", readPressureMeasurementScaledValueAttributeInteractionInfo); - Map readPressureMeasurementMinScaledValueCommandParams = new LinkedHashMap(); - InteractionInfo readPressureMeasurementMinScaledValueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster).readMinScaledValueAttribute( - ( ChipClusters.PressureMeasurementCluster.MinScaledValueAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPressureMeasurementClusterMinScaledValueAttributeCallback(), - readPressureMeasurementMinScaledValueCommandParams - ); - readPressureMeasurementInteractionInfo.put("readMinScaledValueAttribute", readPressureMeasurementMinScaledValueAttributeInteractionInfo); - Map readPressureMeasurementMaxScaledValueCommandParams = new LinkedHashMap(); - InteractionInfo readPressureMeasurementMaxScaledValueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster).readMaxScaledValueAttribute( - ( ChipClusters.PressureMeasurementCluster.MaxScaledValueAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPressureMeasurementClusterMaxScaledValueAttributeCallback(), - readPressureMeasurementMaxScaledValueCommandParams - ); - readPressureMeasurementInteractionInfo.put("readMaxScaledValueAttribute", readPressureMeasurementMaxScaledValueAttributeInteractionInfo); - Map readPressureMeasurementScaledToleranceCommandParams = new LinkedHashMap(); - InteractionInfo readPressureMeasurementScaledToleranceAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster).readScaledToleranceAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPressureMeasurementScaledToleranceCommandParams - ); - readPressureMeasurementInteractionInfo.put("readScaledToleranceAttribute", readPressureMeasurementScaledToleranceAttributeInteractionInfo); - Map readPressureMeasurementScaleCommandParams = new LinkedHashMap(); - InteractionInfo readPressureMeasurementScaleAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster).readScaleAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPressureMeasurementScaleCommandParams - ); - readPressureMeasurementInteractionInfo.put("readScaleAttribute", readPressureMeasurementScaleAttributeInteractionInfo); - Map readPressureMeasurementGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readPressureMeasurementGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.PressureMeasurementCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPressureMeasurementClusterGeneratedCommandListAttributeCallback(), - readPressureMeasurementGeneratedCommandListCommandParams - ); - readPressureMeasurementInteractionInfo.put("readGeneratedCommandListAttribute", readPressureMeasurementGeneratedCommandListAttributeInteractionInfo); - Map readPressureMeasurementAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readPressureMeasurementAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.PressureMeasurementCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPressureMeasurementClusterAcceptedCommandListAttributeCallback(), - readPressureMeasurementAcceptedCommandListCommandParams - ); - readPressureMeasurementInteractionInfo.put("readAcceptedCommandListAttribute", readPressureMeasurementAcceptedCommandListAttributeInteractionInfo); - Map readPressureMeasurementEventListCommandParams = new LinkedHashMap(); - InteractionInfo readPressureMeasurementEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster).readEventListAttribute( - ( ChipClusters.PressureMeasurementCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPressureMeasurementClusterEventListAttributeCallback(), - readPressureMeasurementEventListCommandParams - ); - readPressureMeasurementInteractionInfo.put("readEventListAttribute", readPressureMeasurementEventListAttributeInteractionInfo); - Map readPressureMeasurementAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readPressureMeasurementAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster).readAttributeListAttribute( - ( ChipClusters.PressureMeasurementCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedPressureMeasurementClusterAttributeListAttributeCallback(), - readPressureMeasurementAttributeListCommandParams - ); - readPressureMeasurementInteractionInfo.put("readAttributeListAttribute", readPressureMeasurementAttributeListAttributeInteractionInfo); - Map readPressureMeasurementFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readPressureMeasurementFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readPressureMeasurementFeatureMapCommandParams - ); - readPressureMeasurementInteractionInfo.put("readFeatureMapAttribute", readPressureMeasurementFeatureMapAttributeInteractionInfo); - Map readPressureMeasurementClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readPressureMeasurementClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PressureMeasurementCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readPressureMeasurementClusterRevisionCommandParams - ); - readPressureMeasurementInteractionInfo.put("readClusterRevisionAttribute", readPressureMeasurementClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("pressureMeasurement", readPressureMeasurementInteractionInfo); - Map readFlowMeasurementInteractionInfo = new LinkedHashMap<>(); - Map readFlowMeasurementMeasuredValueCommandParams = new LinkedHashMap(); - InteractionInfo readFlowMeasurementMeasuredValueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster).readMeasuredValueAttribute( - ( ChipClusters.FlowMeasurementCluster.MeasuredValueAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedFlowMeasurementClusterMeasuredValueAttributeCallback(), - readFlowMeasurementMeasuredValueCommandParams - ); - readFlowMeasurementInteractionInfo.put("readMeasuredValueAttribute", readFlowMeasurementMeasuredValueAttributeInteractionInfo); - Map readFlowMeasurementMinMeasuredValueCommandParams = new LinkedHashMap(); - InteractionInfo readFlowMeasurementMinMeasuredValueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster).readMinMeasuredValueAttribute( - ( ChipClusters.FlowMeasurementCluster.MinMeasuredValueAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedFlowMeasurementClusterMinMeasuredValueAttributeCallback(), - readFlowMeasurementMinMeasuredValueCommandParams - ); - readFlowMeasurementInteractionInfo.put("readMinMeasuredValueAttribute", readFlowMeasurementMinMeasuredValueAttributeInteractionInfo); - Map readFlowMeasurementMaxMeasuredValueCommandParams = new LinkedHashMap(); - InteractionInfo readFlowMeasurementMaxMeasuredValueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster).readMaxMeasuredValueAttribute( - ( ChipClusters.FlowMeasurementCluster.MaxMeasuredValueAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedFlowMeasurementClusterMaxMeasuredValueAttributeCallback(), - readFlowMeasurementMaxMeasuredValueCommandParams - ); - readFlowMeasurementInteractionInfo.put("readMaxMeasuredValueAttribute", readFlowMeasurementMaxMeasuredValueAttributeInteractionInfo); - Map readFlowMeasurementToleranceCommandParams = new LinkedHashMap(); - InteractionInfo readFlowMeasurementToleranceAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster).readToleranceAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFlowMeasurementToleranceCommandParams - ); - readFlowMeasurementInteractionInfo.put("readToleranceAttribute", readFlowMeasurementToleranceAttributeInteractionInfo); - Map readFlowMeasurementGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readFlowMeasurementGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.FlowMeasurementCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedFlowMeasurementClusterGeneratedCommandListAttributeCallback(), - readFlowMeasurementGeneratedCommandListCommandParams - ); - readFlowMeasurementInteractionInfo.put("readGeneratedCommandListAttribute", readFlowMeasurementGeneratedCommandListAttributeInteractionInfo); - Map readFlowMeasurementAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readFlowMeasurementAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.FlowMeasurementCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedFlowMeasurementClusterAcceptedCommandListAttributeCallback(), - readFlowMeasurementAcceptedCommandListCommandParams - ); - readFlowMeasurementInteractionInfo.put("readAcceptedCommandListAttribute", readFlowMeasurementAcceptedCommandListAttributeInteractionInfo); - Map readFlowMeasurementEventListCommandParams = new LinkedHashMap(); - InteractionInfo readFlowMeasurementEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster).readEventListAttribute( - ( ChipClusters.FlowMeasurementCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedFlowMeasurementClusterEventListAttributeCallback(), - readFlowMeasurementEventListCommandParams - ); - readFlowMeasurementInteractionInfo.put("readEventListAttribute", readFlowMeasurementEventListAttributeInteractionInfo); - Map readFlowMeasurementAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readFlowMeasurementAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster).readAttributeListAttribute( - ( ChipClusters.FlowMeasurementCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedFlowMeasurementClusterAttributeListAttributeCallback(), - readFlowMeasurementAttributeListCommandParams - ); - readFlowMeasurementInteractionInfo.put("readAttributeListAttribute", readFlowMeasurementAttributeListAttributeInteractionInfo); - Map readFlowMeasurementFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readFlowMeasurementFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readFlowMeasurementFeatureMapCommandParams - ); - readFlowMeasurementInteractionInfo.put("readFeatureMapAttribute", readFlowMeasurementFeatureMapAttributeInteractionInfo); - Map readFlowMeasurementClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readFlowMeasurementClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FlowMeasurementCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readFlowMeasurementClusterRevisionCommandParams - ); - readFlowMeasurementInteractionInfo.put("readClusterRevisionAttribute", readFlowMeasurementClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("flowMeasurement", readFlowMeasurementInteractionInfo); - Map readRelativeHumidityMeasurementInteractionInfo = new LinkedHashMap<>(); - Map readRelativeHumidityMeasurementMeasuredValueCommandParams = new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementMeasuredValueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster).readMeasuredValueAttribute( - ( ChipClusters.RelativeHumidityMeasurementCluster.MeasuredValueAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedRelativeHumidityMeasurementClusterMeasuredValueAttributeCallback(), - readRelativeHumidityMeasurementMeasuredValueCommandParams - ); - readRelativeHumidityMeasurementInteractionInfo.put("readMeasuredValueAttribute", readRelativeHumidityMeasurementMeasuredValueAttributeInteractionInfo); - Map readRelativeHumidityMeasurementMinMeasuredValueCommandParams = new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementMinMeasuredValueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster).readMinMeasuredValueAttribute( - ( ChipClusters.RelativeHumidityMeasurementCluster.MinMeasuredValueAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedRelativeHumidityMeasurementClusterMinMeasuredValueAttributeCallback(), - readRelativeHumidityMeasurementMinMeasuredValueCommandParams - ); - readRelativeHumidityMeasurementInteractionInfo.put("readMinMeasuredValueAttribute", readRelativeHumidityMeasurementMinMeasuredValueAttributeInteractionInfo); - Map readRelativeHumidityMeasurementMaxMeasuredValueCommandParams = new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementMaxMeasuredValueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster).readMaxMeasuredValueAttribute( - ( ChipClusters.RelativeHumidityMeasurementCluster.MaxMeasuredValueAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedRelativeHumidityMeasurementClusterMaxMeasuredValueAttributeCallback(), - readRelativeHumidityMeasurementMaxMeasuredValueCommandParams - ); - readRelativeHumidityMeasurementInteractionInfo.put("readMaxMeasuredValueAttribute", readRelativeHumidityMeasurementMaxMeasuredValueAttributeInteractionInfo); - Map readRelativeHumidityMeasurementToleranceCommandParams = new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementToleranceAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster).readToleranceAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readRelativeHumidityMeasurementToleranceCommandParams - ); - readRelativeHumidityMeasurementInteractionInfo.put("readToleranceAttribute", readRelativeHumidityMeasurementToleranceAttributeInteractionInfo); - Map readRelativeHumidityMeasurementGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.RelativeHumidityMeasurementCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedRelativeHumidityMeasurementClusterGeneratedCommandListAttributeCallback(), - readRelativeHumidityMeasurementGeneratedCommandListCommandParams - ); - readRelativeHumidityMeasurementInteractionInfo.put("readGeneratedCommandListAttribute", readRelativeHumidityMeasurementGeneratedCommandListAttributeInteractionInfo); - Map readRelativeHumidityMeasurementAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.RelativeHumidityMeasurementCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedRelativeHumidityMeasurementClusterAcceptedCommandListAttributeCallback(), - readRelativeHumidityMeasurementAcceptedCommandListCommandParams - ); - readRelativeHumidityMeasurementInteractionInfo.put("readAcceptedCommandListAttribute", readRelativeHumidityMeasurementAcceptedCommandListAttributeInteractionInfo); - Map readRelativeHumidityMeasurementEventListCommandParams = new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster).readEventListAttribute( - ( ChipClusters.RelativeHumidityMeasurementCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedRelativeHumidityMeasurementClusterEventListAttributeCallback(), - readRelativeHumidityMeasurementEventListCommandParams - ); - readRelativeHumidityMeasurementInteractionInfo.put("readEventListAttribute", readRelativeHumidityMeasurementEventListAttributeInteractionInfo); - Map readRelativeHumidityMeasurementAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster).readAttributeListAttribute( - ( ChipClusters.RelativeHumidityMeasurementCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedRelativeHumidityMeasurementClusterAttributeListAttributeCallback(), - readRelativeHumidityMeasurementAttributeListCommandParams - ); - readRelativeHumidityMeasurementInteractionInfo.put("readAttributeListAttribute", readRelativeHumidityMeasurementAttributeListAttributeInteractionInfo); - Map readRelativeHumidityMeasurementFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readRelativeHumidityMeasurementFeatureMapCommandParams - ); - readRelativeHumidityMeasurementInteractionInfo.put("readFeatureMapAttribute", readRelativeHumidityMeasurementFeatureMapAttributeInteractionInfo); - Map readRelativeHumidityMeasurementClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readRelativeHumidityMeasurementClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RelativeHumidityMeasurementCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readRelativeHumidityMeasurementClusterRevisionCommandParams - ); - readRelativeHumidityMeasurementInteractionInfo.put("readClusterRevisionAttribute", readRelativeHumidityMeasurementClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("relativeHumidityMeasurement", readRelativeHumidityMeasurementInteractionInfo); - Map readOccupancySensingInteractionInfo = new LinkedHashMap<>(); - Map readOccupancySensingOccupancyCommandParams = new LinkedHashMap(); - InteractionInfo readOccupancySensingOccupancyAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster).readOccupancyAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingOccupancyCommandParams - ); - readOccupancySensingInteractionInfo.put("readOccupancyAttribute", readOccupancySensingOccupancyAttributeInteractionInfo); - Map readOccupancySensingOccupancySensorTypeCommandParams = new LinkedHashMap(); - InteractionInfo readOccupancySensingOccupancySensorTypeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster).readOccupancySensorTypeAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingOccupancySensorTypeCommandParams - ); - readOccupancySensingInteractionInfo.put("readOccupancySensorTypeAttribute", readOccupancySensingOccupancySensorTypeAttributeInteractionInfo); - Map readOccupancySensingOccupancySensorTypeBitmapCommandParams = new LinkedHashMap(); - InteractionInfo readOccupancySensingOccupancySensorTypeBitmapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster).readOccupancySensorTypeBitmapAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingOccupancySensorTypeBitmapCommandParams - ); - readOccupancySensingInteractionInfo.put("readOccupancySensorTypeBitmapAttribute", readOccupancySensingOccupancySensorTypeBitmapAttributeInteractionInfo); - Map readOccupancySensingPIROccupiedToUnoccupiedDelayCommandParams = new LinkedHashMap(); - InteractionInfo readOccupancySensingPIROccupiedToUnoccupiedDelayAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster).readPIROccupiedToUnoccupiedDelayAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingPIROccupiedToUnoccupiedDelayCommandParams - ); - readOccupancySensingInteractionInfo.put("readPIROccupiedToUnoccupiedDelayAttribute", readOccupancySensingPIROccupiedToUnoccupiedDelayAttributeInteractionInfo); - Map readOccupancySensingPIRUnoccupiedToOccupiedDelayCommandParams = new LinkedHashMap(); - InteractionInfo readOccupancySensingPIRUnoccupiedToOccupiedDelayAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster).readPIRUnoccupiedToOccupiedDelayAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingPIRUnoccupiedToOccupiedDelayCommandParams - ); - readOccupancySensingInteractionInfo.put("readPIRUnoccupiedToOccupiedDelayAttribute", readOccupancySensingPIRUnoccupiedToOccupiedDelayAttributeInteractionInfo); - Map readOccupancySensingPIRUnoccupiedToOccupiedThresholdCommandParams = new LinkedHashMap(); - InteractionInfo readOccupancySensingPIRUnoccupiedToOccupiedThresholdAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster).readPIRUnoccupiedToOccupiedThresholdAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingPIRUnoccupiedToOccupiedThresholdCommandParams - ); - readOccupancySensingInteractionInfo.put("readPIRUnoccupiedToOccupiedThresholdAttribute", readOccupancySensingPIRUnoccupiedToOccupiedThresholdAttributeInteractionInfo); - Map readOccupancySensingUltrasonicOccupiedToUnoccupiedDelayCommandParams = new LinkedHashMap(); - InteractionInfo readOccupancySensingUltrasonicOccupiedToUnoccupiedDelayAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster).readUltrasonicOccupiedToUnoccupiedDelayAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingUltrasonicOccupiedToUnoccupiedDelayCommandParams - ); - readOccupancySensingInteractionInfo.put("readUltrasonicOccupiedToUnoccupiedDelayAttribute", readOccupancySensingUltrasonicOccupiedToUnoccupiedDelayAttributeInteractionInfo); - Map readOccupancySensingUltrasonicUnoccupiedToOccupiedDelayCommandParams = new LinkedHashMap(); - InteractionInfo readOccupancySensingUltrasonicUnoccupiedToOccupiedDelayAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster).readUltrasonicUnoccupiedToOccupiedDelayAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingUltrasonicUnoccupiedToOccupiedDelayCommandParams - ); - readOccupancySensingInteractionInfo.put("readUltrasonicUnoccupiedToOccupiedDelayAttribute", readOccupancySensingUltrasonicUnoccupiedToOccupiedDelayAttributeInteractionInfo); - Map readOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdCommandParams = new LinkedHashMap(); - InteractionInfo readOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster).readUltrasonicUnoccupiedToOccupiedThresholdAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdCommandParams - ); - readOccupancySensingInteractionInfo.put("readUltrasonicUnoccupiedToOccupiedThresholdAttribute", readOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdAttributeInteractionInfo); - Map readOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayCommandParams = new LinkedHashMap(); - InteractionInfo readOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster).readPhysicalContactOccupiedToUnoccupiedDelayAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayCommandParams - ); - readOccupancySensingInteractionInfo.put("readPhysicalContactOccupiedToUnoccupiedDelayAttribute", readOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayAttributeInteractionInfo); - Map readOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayCommandParams = new LinkedHashMap(); - InteractionInfo readOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster).readPhysicalContactUnoccupiedToOccupiedDelayAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayCommandParams - ); - readOccupancySensingInteractionInfo.put("readPhysicalContactUnoccupiedToOccupiedDelayAttribute", readOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayAttributeInteractionInfo); - Map readOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdCommandParams = new LinkedHashMap(); - InteractionInfo readOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster).readPhysicalContactUnoccupiedToOccupiedThresholdAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdCommandParams - ); - readOccupancySensingInteractionInfo.put("readPhysicalContactUnoccupiedToOccupiedThresholdAttribute", readOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdAttributeInteractionInfo); - Map readOccupancySensingGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readOccupancySensingGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.OccupancySensingCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOccupancySensingClusterGeneratedCommandListAttributeCallback(), - readOccupancySensingGeneratedCommandListCommandParams - ); - readOccupancySensingInteractionInfo.put("readGeneratedCommandListAttribute", readOccupancySensingGeneratedCommandListAttributeInteractionInfo); - Map readOccupancySensingAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readOccupancySensingAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.OccupancySensingCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOccupancySensingClusterAcceptedCommandListAttributeCallback(), - readOccupancySensingAcceptedCommandListCommandParams - ); - readOccupancySensingInteractionInfo.put("readAcceptedCommandListAttribute", readOccupancySensingAcceptedCommandListAttributeInteractionInfo); - Map readOccupancySensingEventListCommandParams = new LinkedHashMap(); - InteractionInfo readOccupancySensingEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster).readEventListAttribute( - ( ChipClusters.OccupancySensingCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOccupancySensingClusterEventListAttributeCallback(), - readOccupancySensingEventListCommandParams - ); - readOccupancySensingInteractionInfo.put("readEventListAttribute", readOccupancySensingEventListAttributeInteractionInfo); - Map readOccupancySensingAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readOccupancySensingAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster).readAttributeListAttribute( - ( ChipClusters.OccupancySensingCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedOccupancySensingClusterAttributeListAttributeCallback(), - readOccupancySensingAttributeListCommandParams - ); - readOccupancySensingInteractionInfo.put("readAttributeListAttribute", readOccupancySensingAttributeListAttributeInteractionInfo); - Map readOccupancySensingFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readOccupancySensingFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readOccupancySensingFeatureMapCommandParams - ); - readOccupancySensingInteractionInfo.put("readFeatureMapAttribute", readOccupancySensingFeatureMapAttributeInteractionInfo); - Map readOccupancySensingClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readOccupancySensingClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OccupancySensingCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readOccupancySensingClusterRevisionCommandParams - ); - readOccupancySensingInteractionInfo.put("readClusterRevisionAttribute", readOccupancySensingClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("occupancySensing", readOccupancySensingInteractionInfo); - Map readWakeOnLanInteractionInfo = new LinkedHashMap<>(); - Map readWakeOnLanMACAddressCommandParams = new LinkedHashMap(); - InteractionInfo readWakeOnLanMACAddressAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WakeOnLanCluster) cluster).readMACAddressAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readBallastConfigurationLampManufacturerCommandParams); + readBallastConfigurationInteractionInfo.put( + "readLampManufacturerAttribute", + readBallastConfigurationLampManufacturerAttributeInteractionInfo); + Map readBallastConfigurationLampRatedHoursCommandParams = + new LinkedHashMap(); + InteractionInfo readBallastConfigurationLampRatedHoursAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .readLampRatedHoursAttribute( + (ChipClusters.BallastConfigurationCluster.LampRatedHoursAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBallastConfigurationClusterLampRatedHoursAttributeCallback(), + readBallastConfigurationLampRatedHoursCommandParams); + readBallastConfigurationInteractionInfo.put( + "readLampRatedHoursAttribute", + readBallastConfigurationLampRatedHoursAttributeInteractionInfo); + Map readBallastConfigurationLampBurnHoursCommandParams = + new LinkedHashMap(); + InteractionInfo readBallastConfigurationLampBurnHoursAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .readLampBurnHoursAttribute( + (ChipClusters.BallastConfigurationCluster.LampBurnHoursAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBallastConfigurationClusterLampBurnHoursAttributeCallback(), + readBallastConfigurationLampBurnHoursCommandParams); + readBallastConfigurationInteractionInfo.put( + "readLampBurnHoursAttribute", + readBallastConfigurationLampBurnHoursAttributeInteractionInfo); + Map readBallastConfigurationLampAlarmModeCommandParams = + new LinkedHashMap(); + InteractionInfo readBallastConfigurationLampAlarmModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .readLampAlarmModeAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBallastConfigurationLampAlarmModeCommandParams); + readBallastConfigurationInteractionInfo.put( + "readLampAlarmModeAttribute", + readBallastConfigurationLampAlarmModeAttributeInteractionInfo); + Map readBallastConfigurationLampBurnHoursTripPointCommandParams = + new LinkedHashMap(); + InteractionInfo readBallastConfigurationLampBurnHoursTripPointAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .readLampBurnHoursTripPointAttribute( + (ChipClusters.BallastConfigurationCluster + .LampBurnHoursTripPointAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBallastConfigurationClusterLampBurnHoursTripPointAttributeCallback(), + readBallastConfigurationLampBurnHoursTripPointCommandParams); + readBallastConfigurationInteractionInfo.put( + "readLampBurnHoursTripPointAttribute", + readBallastConfigurationLampBurnHoursTripPointAttributeInteractionInfo); + Map readBallastConfigurationGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readBallastConfigurationGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.BallastConfigurationCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBallastConfigurationClusterGeneratedCommandListAttributeCallback(), + readBallastConfigurationGeneratedCommandListCommandParams); + readBallastConfigurationInteractionInfo.put( + "readGeneratedCommandListAttribute", + readBallastConfigurationGeneratedCommandListAttributeInteractionInfo); + Map readBallastConfigurationAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readBallastConfigurationAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.BallastConfigurationCluster + .AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBallastConfigurationClusterAcceptedCommandListAttributeCallback(), + readBallastConfigurationAcceptedCommandListCommandParams); + readBallastConfigurationInteractionInfo.put( + "readAcceptedCommandListAttribute", + readBallastConfigurationAcceptedCommandListAttributeInteractionInfo); + Map readBallastConfigurationEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readBallastConfigurationEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .readEventListAttribute( + (ChipClusters.BallastConfigurationCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBallastConfigurationClusterEventListAttributeCallback(), + readBallastConfigurationEventListCommandParams); + readBallastConfigurationInteractionInfo.put( + "readEventListAttribute", readBallastConfigurationEventListAttributeInteractionInfo); + Map readBallastConfigurationAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readBallastConfigurationAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.BallastConfigurationCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedBallastConfigurationClusterAttributeListAttributeCallback(), + readBallastConfigurationAttributeListCommandParams); + readBallastConfigurationInteractionInfo.put( + "readAttributeListAttribute", + readBallastConfigurationAttributeListAttributeInteractionInfo); + Map readBallastConfigurationFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readBallastConfigurationFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readBallastConfigurationFeatureMapCommandParams); + readBallastConfigurationInteractionInfo.put( + "readFeatureMapAttribute", readBallastConfigurationFeatureMapAttributeInteractionInfo); + Map readBallastConfigurationClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readBallastConfigurationClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readBallastConfigurationClusterRevisionCommandParams); + readBallastConfigurationInteractionInfo.put( + "readClusterRevisionAttribute", + readBallastConfigurationClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("ballastConfiguration", readBallastConfigurationInteractionInfo); + Map readIlluminanceMeasurementInteractionInfo = new LinkedHashMap<>(); + Map readIlluminanceMeasurementMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster) + .readMeasuredValueAttribute( + (ChipClusters.IlluminanceMeasurementCluster.MeasuredValueAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedIlluminanceMeasurementClusterMeasuredValueAttributeCallback(), + readIlluminanceMeasurementMeasuredValueCommandParams); + readIlluminanceMeasurementInteractionInfo.put( + "readMeasuredValueAttribute", + readIlluminanceMeasurementMeasuredValueAttributeInteractionInfo); + Map readIlluminanceMeasurementMinMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementMinMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster) + .readMinMeasuredValueAttribute( + (ChipClusters.IlluminanceMeasurementCluster.MinMeasuredValueAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedIlluminanceMeasurementClusterMinMeasuredValueAttributeCallback(), + readIlluminanceMeasurementMinMeasuredValueCommandParams); + readIlluminanceMeasurementInteractionInfo.put( + "readMinMeasuredValueAttribute", + readIlluminanceMeasurementMinMeasuredValueAttributeInteractionInfo); + Map readIlluminanceMeasurementMaxMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementMaxMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster) + .readMaxMeasuredValueAttribute( + (ChipClusters.IlluminanceMeasurementCluster.MaxMeasuredValueAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedIlluminanceMeasurementClusterMaxMeasuredValueAttributeCallback(), + readIlluminanceMeasurementMaxMeasuredValueCommandParams); + readIlluminanceMeasurementInteractionInfo.put( + "readMaxMeasuredValueAttribute", + readIlluminanceMeasurementMaxMeasuredValueAttributeInteractionInfo); + Map readIlluminanceMeasurementToleranceCommandParams = + new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementToleranceAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster) + .readToleranceAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readIlluminanceMeasurementToleranceCommandParams); + readIlluminanceMeasurementInteractionInfo.put( + "readToleranceAttribute", readIlluminanceMeasurementToleranceAttributeInteractionInfo); + Map readIlluminanceMeasurementLightSensorTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementLightSensorTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster) + .readLightSensorTypeAttribute( + (ChipClusters.IlluminanceMeasurementCluster.LightSensorTypeAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedIlluminanceMeasurementClusterLightSensorTypeAttributeCallback(), + readIlluminanceMeasurementLightSensorTypeCommandParams); + readIlluminanceMeasurementInteractionInfo.put( + "readLightSensorTypeAttribute", + readIlluminanceMeasurementLightSensorTypeAttributeInteractionInfo); + Map readIlluminanceMeasurementGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.IlluminanceMeasurementCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedIlluminanceMeasurementClusterGeneratedCommandListAttributeCallback(), + readIlluminanceMeasurementGeneratedCommandListCommandParams); + readIlluminanceMeasurementInteractionInfo.put( + "readGeneratedCommandListAttribute", + readIlluminanceMeasurementGeneratedCommandListAttributeInteractionInfo); + Map readIlluminanceMeasurementAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.IlluminanceMeasurementCluster + .AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedIlluminanceMeasurementClusterAcceptedCommandListAttributeCallback(), + readIlluminanceMeasurementAcceptedCommandListCommandParams); + readIlluminanceMeasurementInteractionInfo.put( + "readAcceptedCommandListAttribute", + readIlluminanceMeasurementAcceptedCommandListAttributeInteractionInfo); + Map readIlluminanceMeasurementEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster) + .readEventListAttribute( + (ChipClusters.IlluminanceMeasurementCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedIlluminanceMeasurementClusterEventListAttributeCallback(), + readIlluminanceMeasurementEventListCommandParams); + readIlluminanceMeasurementInteractionInfo.put( + "readEventListAttribute", readIlluminanceMeasurementEventListAttributeInteractionInfo); + Map readIlluminanceMeasurementAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.IlluminanceMeasurementCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedIlluminanceMeasurementClusterAttributeListAttributeCallback(), + readIlluminanceMeasurementAttributeListCommandParams); + readIlluminanceMeasurementInteractionInfo.put( + "readAttributeListAttribute", + readIlluminanceMeasurementAttributeListAttributeInteractionInfo); + Map readIlluminanceMeasurementFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readIlluminanceMeasurementFeatureMapCommandParams); + readIlluminanceMeasurementInteractionInfo.put( + "readFeatureMapAttribute", readIlluminanceMeasurementFeatureMapAttributeInteractionInfo); + Map readIlluminanceMeasurementClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readIlluminanceMeasurementClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IlluminanceMeasurementCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readIlluminanceMeasurementClusterRevisionCommandParams); + readIlluminanceMeasurementInteractionInfo.put( + "readClusterRevisionAttribute", + readIlluminanceMeasurementClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("illuminanceMeasurement", readIlluminanceMeasurementInteractionInfo); + Map readTemperatureMeasurementInteractionInfo = new LinkedHashMap<>(); + Map readTemperatureMeasurementMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster) + .readMeasuredValueAttribute( + (ChipClusters.TemperatureMeasurementCluster.MeasuredValueAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedTemperatureMeasurementClusterMeasuredValueAttributeCallback(), + readTemperatureMeasurementMeasuredValueCommandParams); + readTemperatureMeasurementInteractionInfo.put( + "readMeasuredValueAttribute", + readTemperatureMeasurementMeasuredValueAttributeInteractionInfo); + Map readTemperatureMeasurementMinMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementMinMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster) + .readMinMeasuredValueAttribute( + (ChipClusters.TemperatureMeasurementCluster.MinMeasuredValueAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedTemperatureMeasurementClusterMinMeasuredValueAttributeCallback(), + readTemperatureMeasurementMinMeasuredValueCommandParams); + readTemperatureMeasurementInteractionInfo.put( + "readMinMeasuredValueAttribute", + readTemperatureMeasurementMinMeasuredValueAttributeInteractionInfo); + Map readTemperatureMeasurementMaxMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementMaxMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster) + .readMaxMeasuredValueAttribute( + (ChipClusters.TemperatureMeasurementCluster.MaxMeasuredValueAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedTemperatureMeasurementClusterMaxMeasuredValueAttributeCallback(), + readTemperatureMeasurementMaxMeasuredValueCommandParams); + readTemperatureMeasurementInteractionInfo.put( + "readMaxMeasuredValueAttribute", + readTemperatureMeasurementMaxMeasuredValueAttributeInteractionInfo); + Map readTemperatureMeasurementToleranceCommandParams = + new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementToleranceAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster) + .readToleranceAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readTemperatureMeasurementToleranceCommandParams); + readTemperatureMeasurementInteractionInfo.put( + "readToleranceAttribute", readTemperatureMeasurementToleranceAttributeInteractionInfo); + Map readTemperatureMeasurementGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.TemperatureMeasurementCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedTemperatureMeasurementClusterGeneratedCommandListAttributeCallback(), + readTemperatureMeasurementGeneratedCommandListCommandParams); + readTemperatureMeasurementInteractionInfo.put( + "readGeneratedCommandListAttribute", + readTemperatureMeasurementGeneratedCommandListAttributeInteractionInfo); + Map readTemperatureMeasurementAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.TemperatureMeasurementCluster + .AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedTemperatureMeasurementClusterAcceptedCommandListAttributeCallback(), + readTemperatureMeasurementAcceptedCommandListCommandParams); + readTemperatureMeasurementInteractionInfo.put( + "readAcceptedCommandListAttribute", + readTemperatureMeasurementAcceptedCommandListAttributeInteractionInfo); + Map readTemperatureMeasurementEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster) + .readEventListAttribute( + (ChipClusters.TemperatureMeasurementCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedTemperatureMeasurementClusterEventListAttributeCallback(), + readTemperatureMeasurementEventListCommandParams); + readTemperatureMeasurementInteractionInfo.put( + "readEventListAttribute", readTemperatureMeasurementEventListAttributeInteractionInfo); + Map readTemperatureMeasurementAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.TemperatureMeasurementCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedTemperatureMeasurementClusterAttributeListAttributeCallback(), + readTemperatureMeasurementAttributeListCommandParams); + readTemperatureMeasurementInteractionInfo.put( + "readAttributeListAttribute", + readTemperatureMeasurementAttributeListAttributeInteractionInfo); + Map readTemperatureMeasurementFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readTemperatureMeasurementFeatureMapCommandParams); + readTemperatureMeasurementInteractionInfo.put( + "readFeatureMapAttribute", readTemperatureMeasurementFeatureMapAttributeInteractionInfo); + Map readTemperatureMeasurementClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readTemperatureMeasurementClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TemperatureMeasurementCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readTemperatureMeasurementClusterRevisionCommandParams); + readTemperatureMeasurementInteractionInfo.put( + "readClusterRevisionAttribute", + readTemperatureMeasurementClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("temperatureMeasurement", readTemperatureMeasurementInteractionInfo); + Map readPressureMeasurementInteractionInfo = new LinkedHashMap<>(); + Map readPressureMeasurementMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readPressureMeasurementMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster) + .readMeasuredValueAttribute( + (ChipClusters.PressureMeasurementCluster.MeasuredValueAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPressureMeasurementClusterMeasuredValueAttributeCallback(), + readPressureMeasurementMeasuredValueCommandParams); + readPressureMeasurementInteractionInfo.put( + "readMeasuredValueAttribute", readPressureMeasurementMeasuredValueAttributeInteractionInfo); + Map readPressureMeasurementMinMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readPressureMeasurementMinMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster) + .readMinMeasuredValueAttribute( + (ChipClusters.PressureMeasurementCluster.MinMeasuredValueAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPressureMeasurementClusterMinMeasuredValueAttributeCallback(), + readPressureMeasurementMinMeasuredValueCommandParams); + readPressureMeasurementInteractionInfo.put( + "readMinMeasuredValueAttribute", + readPressureMeasurementMinMeasuredValueAttributeInteractionInfo); + Map readPressureMeasurementMaxMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readPressureMeasurementMaxMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster) + .readMaxMeasuredValueAttribute( + (ChipClusters.PressureMeasurementCluster.MaxMeasuredValueAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPressureMeasurementClusterMaxMeasuredValueAttributeCallback(), + readPressureMeasurementMaxMeasuredValueCommandParams); + readPressureMeasurementInteractionInfo.put( + "readMaxMeasuredValueAttribute", + readPressureMeasurementMaxMeasuredValueAttributeInteractionInfo); + Map readPressureMeasurementToleranceCommandParams = + new LinkedHashMap(); + InteractionInfo readPressureMeasurementToleranceAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster) + .readToleranceAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPressureMeasurementToleranceCommandParams); + readPressureMeasurementInteractionInfo.put( + "readToleranceAttribute", readPressureMeasurementToleranceAttributeInteractionInfo); + Map readPressureMeasurementScaledValueCommandParams = + new LinkedHashMap(); + InteractionInfo readPressureMeasurementScaledValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster) + .readScaledValueAttribute( + (ChipClusters.PressureMeasurementCluster.ScaledValueAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPressureMeasurementClusterScaledValueAttributeCallback(), + readPressureMeasurementScaledValueCommandParams); + readPressureMeasurementInteractionInfo.put( + "readScaledValueAttribute", readPressureMeasurementScaledValueAttributeInteractionInfo); + Map readPressureMeasurementMinScaledValueCommandParams = + new LinkedHashMap(); + InteractionInfo readPressureMeasurementMinScaledValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster) + .readMinScaledValueAttribute( + (ChipClusters.PressureMeasurementCluster.MinScaledValueAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPressureMeasurementClusterMinScaledValueAttributeCallback(), + readPressureMeasurementMinScaledValueCommandParams); + readPressureMeasurementInteractionInfo.put( + "readMinScaledValueAttribute", + readPressureMeasurementMinScaledValueAttributeInteractionInfo); + Map readPressureMeasurementMaxScaledValueCommandParams = + new LinkedHashMap(); + InteractionInfo readPressureMeasurementMaxScaledValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster) + .readMaxScaledValueAttribute( + (ChipClusters.PressureMeasurementCluster.MaxScaledValueAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPressureMeasurementClusterMaxScaledValueAttributeCallback(), + readPressureMeasurementMaxScaledValueCommandParams); + readPressureMeasurementInteractionInfo.put( + "readMaxScaledValueAttribute", + readPressureMeasurementMaxScaledValueAttributeInteractionInfo); + Map readPressureMeasurementScaledToleranceCommandParams = + new LinkedHashMap(); + InteractionInfo readPressureMeasurementScaledToleranceAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster) + .readScaledToleranceAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPressureMeasurementScaledToleranceCommandParams); + readPressureMeasurementInteractionInfo.put( + "readScaledToleranceAttribute", + readPressureMeasurementScaledToleranceAttributeInteractionInfo); + Map readPressureMeasurementScaleCommandParams = + new LinkedHashMap(); + InteractionInfo readPressureMeasurementScaleAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster) + .readScaleAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPressureMeasurementScaleCommandParams); + readPressureMeasurementInteractionInfo.put( + "readScaleAttribute", readPressureMeasurementScaleAttributeInteractionInfo); + Map readPressureMeasurementGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readPressureMeasurementGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.PressureMeasurementCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPressureMeasurementClusterGeneratedCommandListAttributeCallback(), + readPressureMeasurementGeneratedCommandListCommandParams); + readPressureMeasurementInteractionInfo.put( + "readGeneratedCommandListAttribute", + readPressureMeasurementGeneratedCommandListAttributeInteractionInfo); + Map readPressureMeasurementAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readPressureMeasurementAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.PressureMeasurementCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPressureMeasurementClusterAcceptedCommandListAttributeCallback(), + readPressureMeasurementAcceptedCommandListCommandParams); + readPressureMeasurementInteractionInfo.put( + "readAcceptedCommandListAttribute", + readPressureMeasurementAcceptedCommandListAttributeInteractionInfo); + Map readPressureMeasurementEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readPressureMeasurementEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster) + .readEventListAttribute( + (ChipClusters.PressureMeasurementCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPressureMeasurementClusterEventListAttributeCallback(), + readPressureMeasurementEventListCommandParams); + readPressureMeasurementInteractionInfo.put( + "readEventListAttribute", readPressureMeasurementEventListAttributeInteractionInfo); + Map readPressureMeasurementAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readPressureMeasurementAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.PressureMeasurementCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedPressureMeasurementClusterAttributeListAttributeCallback(), + readPressureMeasurementAttributeListCommandParams); + readPressureMeasurementInteractionInfo.put( + "readAttributeListAttribute", readPressureMeasurementAttributeListAttributeInteractionInfo); + Map readPressureMeasurementFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readPressureMeasurementFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readPressureMeasurementFeatureMapCommandParams); + readPressureMeasurementInteractionInfo.put( + "readFeatureMapAttribute", readPressureMeasurementFeatureMapAttributeInteractionInfo); + Map readPressureMeasurementClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readPressureMeasurementClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PressureMeasurementCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readPressureMeasurementClusterRevisionCommandParams); + readPressureMeasurementInteractionInfo.put( + "readClusterRevisionAttribute", + readPressureMeasurementClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("pressureMeasurement", readPressureMeasurementInteractionInfo); + Map readFlowMeasurementInteractionInfo = new LinkedHashMap<>(); + Map readFlowMeasurementMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readFlowMeasurementMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster) + .readMeasuredValueAttribute( + (ChipClusters.FlowMeasurementCluster.MeasuredValueAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedFlowMeasurementClusterMeasuredValueAttributeCallback(), + readFlowMeasurementMeasuredValueCommandParams); + readFlowMeasurementInteractionInfo.put( + "readMeasuredValueAttribute", readFlowMeasurementMeasuredValueAttributeInteractionInfo); + Map readFlowMeasurementMinMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readFlowMeasurementMinMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster) + .readMinMeasuredValueAttribute( + (ChipClusters.FlowMeasurementCluster.MinMeasuredValueAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedFlowMeasurementClusterMinMeasuredValueAttributeCallback(), + readFlowMeasurementMinMeasuredValueCommandParams); + readFlowMeasurementInteractionInfo.put( + "readMinMeasuredValueAttribute", + readFlowMeasurementMinMeasuredValueAttributeInteractionInfo); + Map readFlowMeasurementMaxMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readFlowMeasurementMaxMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster) + .readMaxMeasuredValueAttribute( + (ChipClusters.FlowMeasurementCluster.MaxMeasuredValueAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedFlowMeasurementClusterMaxMeasuredValueAttributeCallback(), + readFlowMeasurementMaxMeasuredValueCommandParams); + readFlowMeasurementInteractionInfo.put( + "readMaxMeasuredValueAttribute", + readFlowMeasurementMaxMeasuredValueAttributeInteractionInfo); + Map readFlowMeasurementToleranceCommandParams = + new LinkedHashMap(); + InteractionInfo readFlowMeasurementToleranceAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster) + .readToleranceAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFlowMeasurementToleranceCommandParams); + readFlowMeasurementInteractionInfo.put( + "readToleranceAttribute", readFlowMeasurementToleranceAttributeInteractionInfo); + Map readFlowMeasurementGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readFlowMeasurementGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.FlowMeasurementCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedFlowMeasurementClusterGeneratedCommandListAttributeCallback(), + readFlowMeasurementGeneratedCommandListCommandParams); + readFlowMeasurementInteractionInfo.put( + "readGeneratedCommandListAttribute", + readFlowMeasurementGeneratedCommandListAttributeInteractionInfo); + Map readFlowMeasurementAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readFlowMeasurementAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.FlowMeasurementCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedFlowMeasurementClusterAcceptedCommandListAttributeCallback(), + readFlowMeasurementAcceptedCommandListCommandParams); + readFlowMeasurementInteractionInfo.put( + "readAcceptedCommandListAttribute", + readFlowMeasurementAcceptedCommandListAttributeInteractionInfo); + Map readFlowMeasurementEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readFlowMeasurementEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster) + .readEventListAttribute( + (ChipClusters.FlowMeasurementCluster.EventListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedFlowMeasurementClusterEventListAttributeCallback(), + readFlowMeasurementEventListCommandParams); + readFlowMeasurementInteractionInfo.put( + "readEventListAttribute", readFlowMeasurementEventListAttributeInteractionInfo); + Map readFlowMeasurementAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readFlowMeasurementAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.FlowMeasurementCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedFlowMeasurementClusterAttributeListAttributeCallback(), + readFlowMeasurementAttributeListCommandParams); + readFlowMeasurementInteractionInfo.put( + "readAttributeListAttribute", readFlowMeasurementAttributeListAttributeInteractionInfo); + Map readFlowMeasurementFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readFlowMeasurementFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readFlowMeasurementFeatureMapCommandParams); + readFlowMeasurementInteractionInfo.put( + "readFeatureMapAttribute", readFlowMeasurementFeatureMapAttributeInteractionInfo); + Map readFlowMeasurementClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readFlowMeasurementClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FlowMeasurementCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readFlowMeasurementClusterRevisionCommandParams); + readFlowMeasurementInteractionInfo.put( + "readClusterRevisionAttribute", readFlowMeasurementClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("flowMeasurement", readFlowMeasurementInteractionInfo); + Map readRelativeHumidityMeasurementInteractionInfo = + new LinkedHashMap<>(); + Map readRelativeHumidityMeasurementMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) + .readMeasuredValueAttribute( + (ChipClusters.RelativeHumidityMeasurementCluster + .MeasuredValueAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedRelativeHumidityMeasurementClusterMeasuredValueAttributeCallback(), + readRelativeHumidityMeasurementMeasuredValueCommandParams); + readRelativeHumidityMeasurementInteractionInfo.put( + "readMeasuredValueAttribute", + readRelativeHumidityMeasurementMeasuredValueAttributeInteractionInfo); + Map readRelativeHumidityMeasurementMinMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementMinMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) + .readMinMeasuredValueAttribute( + (ChipClusters.RelativeHumidityMeasurementCluster + .MinMeasuredValueAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedRelativeHumidityMeasurementClusterMinMeasuredValueAttributeCallback(), + readRelativeHumidityMeasurementMinMeasuredValueCommandParams); + readRelativeHumidityMeasurementInteractionInfo.put( + "readMinMeasuredValueAttribute", + readRelativeHumidityMeasurementMinMeasuredValueAttributeInteractionInfo); + Map readRelativeHumidityMeasurementMaxMeasuredValueCommandParams = + new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementMaxMeasuredValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) + .readMaxMeasuredValueAttribute( + (ChipClusters.RelativeHumidityMeasurementCluster + .MaxMeasuredValueAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedRelativeHumidityMeasurementClusterMaxMeasuredValueAttributeCallback(), + readRelativeHumidityMeasurementMaxMeasuredValueCommandParams); + readRelativeHumidityMeasurementInteractionInfo.put( + "readMaxMeasuredValueAttribute", + readRelativeHumidityMeasurementMaxMeasuredValueAttributeInteractionInfo); + Map readRelativeHumidityMeasurementToleranceCommandParams = + new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementToleranceAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) + .readToleranceAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readRelativeHumidityMeasurementToleranceCommandParams); + readRelativeHumidityMeasurementInteractionInfo.put( + "readToleranceAttribute", readRelativeHumidityMeasurementToleranceAttributeInteractionInfo); + Map + readRelativeHumidityMeasurementGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.RelativeHumidityMeasurementCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedRelativeHumidityMeasurementClusterGeneratedCommandListAttributeCallback(), + readRelativeHumidityMeasurementGeneratedCommandListCommandParams); + readRelativeHumidityMeasurementInteractionInfo.put( + "readGeneratedCommandListAttribute", + readRelativeHumidityMeasurementGeneratedCommandListAttributeInteractionInfo); + Map + readRelativeHumidityMeasurementAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.RelativeHumidityMeasurementCluster + .AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedRelativeHumidityMeasurementClusterAcceptedCommandListAttributeCallback(), + readRelativeHumidityMeasurementAcceptedCommandListCommandParams); + readRelativeHumidityMeasurementInteractionInfo.put( + "readAcceptedCommandListAttribute", + readRelativeHumidityMeasurementAcceptedCommandListAttributeInteractionInfo); + Map readRelativeHumidityMeasurementEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) + .readEventListAttribute( + (ChipClusters.RelativeHumidityMeasurementCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedRelativeHumidityMeasurementClusterEventListAttributeCallback(), + readRelativeHumidityMeasurementEventListCommandParams); + readRelativeHumidityMeasurementInteractionInfo.put( + "readEventListAttribute", readRelativeHumidityMeasurementEventListAttributeInteractionInfo); + Map readRelativeHumidityMeasurementAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.RelativeHumidityMeasurementCluster + .AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedRelativeHumidityMeasurementClusterAttributeListAttributeCallback(), + readRelativeHumidityMeasurementAttributeListCommandParams); + readRelativeHumidityMeasurementInteractionInfo.put( + "readAttributeListAttribute", + readRelativeHumidityMeasurementAttributeListAttributeInteractionInfo); + Map readRelativeHumidityMeasurementFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readRelativeHumidityMeasurementFeatureMapCommandParams); + readRelativeHumidityMeasurementInteractionInfo.put( + "readFeatureMapAttribute", + readRelativeHumidityMeasurementFeatureMapAttributeInteractionInfo); + Map readRelativeHumidityMeasurementClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readRelativeHumidityMeasurementClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RelativeHumidityMeasurementCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readRelativeHumidityMeasurementClusterRevisionCommandParams); + readRelativeHumidityMeasurementInteractionInfo.put( + "readClusterRevisionAttribute", + readRelativeHumidityMeasurementClusterRevisionAttributeInteractionInfo); + readAttributeMap.put( + "relativeHumidityMeasurement", readRelativeHumidityMeasurementInteractionInfo); + Map readOccupancySensingInteractionInfo = new LinkedHashMap<>(); + Map readOccupancySensingOccupancyCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingOccupancyAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readOccupancyAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingOccupancyCommandParams); + readOccupancySensingInteractionInfo.put( + "readOccupancyAttribute", readOccupancySensingOccupancyAttributeInteractionInfo); + Map readOccupancySensingOccupancySensorTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingOccupancySensorTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readOccupancySensorTypeAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingOccupancySensorTypeCommandParams); + readOccupancySensingInteractionInfo.put( + "readOccupancySensorTypeAttribute", + readOccupancySensingOccupancySensorTypeAttributeInteractionInfo); + Map readOccupancySensingOccupancySensorTypeBitmapCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingOccupancySensorTypeBitmapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readOccupancySensorTypeBitmapAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingOccupancySensorTypeBitmapCommandParams); + readOccupancySensingInteractionInfo.put( + "readOccupancySensorTypeBitmapAttribute", + readOccupancySensingOccupancySensorTypeBitmapAttributeInteractionInfo); + Map + readOccupancySensingPIROccupiedToUnoccupiedDelayCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingPIROccupiedToUnoccupiedDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readPIROccupiedToUnoccupiedDelayAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingPIROccupiedToUnoccupiedDelayCommandParams); + readOccupancySensingInteractionInfo.put( + "readPIROccupiedToUnoccupiedDelayAttribute", + readOccupancySensingPIROccupiedToUnoccupiedDelayAttributeInteractionInfo); + Map + readOccupancySensingPIRUnoccupiedToOccupiedDelayCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingPIRUnoccupiedToOccupiedDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readPIRUnoccupiedToOccupiedDelayAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingPIRUnoccupiedToOccupiedDelayCommandParams); + readOccupancySensingInteractionInfo.put( + "readPIRUnoccupiedToOccupiedDelayAttribute", + readOccupancySensingPIRUnoccupiedToOccupiedDelayAttributeInteractionInfo); + Map + readOccupancySensingPIRUnoccupiedToOccupiedThresholdCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingPIRUnoccupiedToOccupiedThresholdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readPIRUnoccupiedToOccupiedThresholdAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingPIRUnoccupiedToOccupiedThresholdCommandParams); + readOccupancySensingInteractionInfo.put( + "readPIRUnoccupiedToOccupiedThresholdAttribute", + readOccupancySensingPIRUnoccupiedToOccupiedThresholdAttributeInteractionInfo); + Map + readOccupancySensingUltrasonicOccupiedToUnoccupiedDelayCommandParams = + new LinkedHashMap(); + InteractionInfo + readOccupancySensingUltrasonicOccupiedToUnoccupiedDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readUltrasonicOccupiedToUnoccupiedDelayAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingUltrasonicOccupiedToUnoccupiedDelayCommandParams); + readOccupancySensingInteractionInfo.put( + "readUltrasonicOccupiedToUnoccupiedDelayAttribute", + readOccupancySensingUltrasonicOccupiedToUnoccupiedDelayAttributeInteractionInfo); + Map + readOccupancySensingUltrasonicUnoccupiedToOccupiedDelayCommandParams = + new LinkedHashMap(); + InteractionInfo + readOccupancySensingUltrasonicUnoccupiedToOccupiedDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readUltrasonicUnoccupiedToOccupiedDelayAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingUltrasonicUnoccupiedToOccupiedDelayCommandParams); + readOccupancySensingInteractionInfo.put( + "readUltrasonicUnoccupiedToOccupiedDelayAttribute", + readOccupancySensingUltrasonicUnoccupiedToOccupiedDelayAttributeInteractionInfo); + Map + readOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdCommandParams = + new LinkedHashMap(); + InteractionInfo + readOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readUltrasonicUnoccupiedToOccupiedThresholdAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdCommandParams); + readOccupancySensingInteractionInfo.put( + "readUltrasonicUnoccupiedToOccupiedThresholdAttribute", + readOccupancySensingUltrasonicUnoccupiedToOccupiedThresholdAttributeInteractionInfo); + Map + readOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayCommandParams = + new LinkedHashMap(); + InteractionInfo + readOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readPhysicalContactOccupiedToUnoccupiedDelayAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayCommandParams); + readOccupancySensingInteractionInfo.put( + "readPhysicalContactOccupiedToUnoccupiedDelayAttribute", + readOccupancySensingPhysicalContactOccupiedToUnoccupiedDelayAttributeInteractionInfo); + Map + readOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayCommandParams = + new LinkedHashMap(); + InteractionInfo + readOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readPhysicalContactUnoccupiedToOccupiedDelayAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayCommandParams); + readOccupancySensingInteractionInfo.put( + "readPhysicalContactUnoccupiedToOccupiedDelayAttribute", + readOccupancySensingPhysicalContactUnoccupiedToOccupiedDelayAttributeInteractionInfo); + Map + readOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdCommandParams = + new LinkedHashMap(); + InteractionInfo + readOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readPhysicalContactUnoccupiedToOccupiedThresholdAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdCommandParams); + readOccupancySensingInteractionInfo.put( + "readPhysicalContactUnoccupiedToOccupiedThresholdAttribute", + readOccupancySensingPhysicalContactUnoccupiedToOccupiedThresholdAttributeInteractionInfo); + Map readOccupancySensingGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.OccupancySensingCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOccupancySensingClusterGeneratedCommandListAttributeCallback(), + readOccupancySensingGeneratedCommandListCommandParams); + readOccupancySensingInteractionInfo.put( + "readGeneratedCommandListAttribute", + readOccupancySensingGeneratedCommandListAttributeInteractionInfo); + Map readOccupancySensingAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.OccupancySensingCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOccupancySensingClusterAcceptedCommandListAttributeCallback(), + readOccupancySensingAcceptedCommandListCommandParams); + readOccupancySensingInteractionInfo.put( + "readAcceptedCommandListAttribute", + readOccupancySensingAcceptedCommandListAttributeInteractionInfo); + Map readOccupancySensingEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readEventListAttribute( + (ChipClusters.OccupancySensingCluster.EventListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedOccupancySensingClusterEventListAttributeCallback(), + readOccupancySensingEventListCommandParams); + readOccupancySensingInteractionInfo.put( + "readEventListAttribute", readOccupancySensingEventListAttributeInteractionInfo); + Map readOccupancySensingAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.OccupancySensingCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedOccupancySensingClusterAttributeListAttributeCallback(), + readOccupancySensingAttributeListCommandParams); + readOccupancySensingInteractionInfo.put( + "readAttributeListAttribute", readOccupancySensingAttributeListAttributeInteractionInfo); + Map readOccupancySensingFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readOccupancySensingFeatureMapCommandParams); + readOccupancySensingInteractionInfo.put( + "readFeatureMapAttribute", readOccupancySensingFeatureMapAttributeInteractionInfo); + Map readOccupancySensingClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readOccupancySensingClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OccupancySensingCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readOccupancySensingClusterRevisionCommandParams); + readOccupancySensingInteractionInfo.put( + "readClusterRevisionAttribute", + readOccupancySensingClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("occupancySensing", readOccupancySensingInteractionInfo); + Map readWakeOnLanInteractionInfo = new LinkedHashMap<>(); + Map readWakeOnLanMACAddressCommandParams = + new LinkedHashMap(); + InteractionInfo readWakeOnLanMACAddressAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WakeOnLanCluster) cluster) + .readMACAddressAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readWakeOnLanMACAddressCommandParams - ); - readWakeOnLanInteractionInfo.put("readMACAddressAttribute", readWakeOnLanMACAddressAttributeInteractionInfo); - Map readWakeOnLanGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readWakeOnLanGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WakeOnLanCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.WakeOnLanCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWakeOnLanClusterGeneratedCommandListAttributeCallback(), - readWakeOnLanGeneratedCommandListCommandParams - ); - readWakeOnLanInteractionInfo.put("readGeneratedCommandListAttribute", readWakeOnLanGeneratedCommandListAttributeInteractionInfo); - Map readWakeOnLanAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readWakeOnLanAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WakeOnLanCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.WakeOnLanCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedWakeOnLanClusterAcceptedCommandListAttributeCallback(), - readWakeOnLanAcceptedCommandListCommandParams - ); - readWakeOnLanInteractionInfo.put("readAcceptedCommandListAttribute", readWakeOnLanAcceptedCommandListAttributeInteractionInfo); - Map readWakeOnLanEventListCommandParams = new LinkedHashMap(); - InteractionInfo readWakeOnLanEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WakeOnLanCluster) cluster).readEventListAttribute( - ( ChipClusters.WakeOnLanCluster.EventListAttributeCallback - ) callback - ); - }, + readWakeOnLanMACAddressCommandParams); + readWakeOnLanInteractionInfo.put( + "readMACAddressAttribute", readWakeOnLanMACAddressAttributeInteractionInfo); + Map readWakeOnLanGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readWakeOnLanGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WakeOnLanCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.WakeOnLanCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWakeOnLanClusterGeneratedCommandListAttributeCallback(), + readWakeOnLanGeneratedCommandListCommandParams); + readWakeOnLanInteractionInfo.put( + "readGeneratedCommandListAttribute", + readWakeOnLanGeneratedCommandListAttributeInteractionInfo); + Map readWakeOnLanAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readWakeOnLanAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WakeOnLanCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.WakeOnLanCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedWakeOnLanClusterAcceptedCommandListAttributeCallback(), + readWakeOnLanAcceptedCommandListCommandParams); + readWakeOnLanInteractionInfo.put( + "readAcceptedCommandListAttribute", + readWakeOnLanAcceptedCommandListAttributeInteractionInfo); + Map readWakeOnLanEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readWakeOnLanEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WakeOnLanCluster) cluster) + .readEventListAttribute( + (ChipClusters.WakeOnLanCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedWakeOnLanClusterEventListAttributeCallback(), - readWakeOnLanEventListCommandParams - ); - readWakeOnLanInteractionInfo.put("readEventListAttribute", readWakeOnLanEventListAttributeInteractionInfo); - Map readWakeOnLanAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readWakeOnLanAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WakeOnLanCluster) cluster).readAttributeListAttribute( - ( ChipClusters.WakeOnLanCluster.AttributeListAttributeCallback - ) callback - ); - }, + readWakeOnLanEventListCommandParams); + readWakeOnLanInteractionInfo.put( + "readEventListAttribute", readWakeOnLanEventListAttributeInteractionInfo); + Map readWakeOnLanAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readWakeOnLanAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WakeOnLanCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.WakeOnLanCluster.AttributeListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedWakeOnLanClusterAttributeListAttributeCallback(), - readWakeOnLanAttributeListCommandParams - ); - readWakeOnLanInteractionInfo.put("readAttributeListAttribute", readWakeOnLanAttributeListAttributeInteractionInfo); - Map readWakeOnLanFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readWakeOnLanFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WakeOnLanCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readWakeOnLanFeatureMapCommandParams - ); - readWakeOnLanInteractionInfo.put("readFeatureMapAttribute", readWakeOnLanFeatureMapAttributeInteractionInfo); - Map readWakeOnLanClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readWakeOnLanClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WakeOnLanCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readWakeOnLanClusterRevisionCommandParams - ); - readWakeOnLanInteractionInfo.put("readClusterRevisionAttribute", readWakeOnLanClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("wakeOnLan", readWakeOnLanInteractionInfo); - Map readChannelInteractionInfo = new LinkedHashMap<>(); - Map readChannelChannelListCommandParams = new LinkedHashMap(); - InteractionInfo readChannelChannelListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ChannelCluster) cluster).readChannelListAttribute( - ( ChipClusters.ChannelCluster.ChannelListAttributeCallback - ) callback - ); - }, + readWakeOnLanAttributeListCommandParams); + readWakeOnLanInteractionInfo.put( + "readAttributeListAttribute", readWakeOnLanAttributeListAttributeInteractionInfo); + Map readWakeOnLanFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readWakeOnLanFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WakeOnLanCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readWakeOnLanFeatureMapCommandParams); + readWakeOnLanInteractionInfo.put( + "readFeatureMapAttribute", readWakeOnLanFeatureMapAttributeInteractionInfo); + Map readWakeOnLanClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readWakeOnLanClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WakeOnLanCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readWakeOnLanClusterRevisionCommandParams); + readWakeOnLanInteractionInfo.put( + "readClusterRevisionAttribute", readWakeOnLanClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("wakeOnLan", readWakeOnLanInteractionInfo); + Map readChannelInteractionInfo = new LinkedHashMap<>(); + Map readChannelChannelListCommandParams = + new LinkedHashMap(); + InteractionInfo readChannelChannelListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ChannelCluster) cluster) + .readChannelListAttribute( + (ChipClusters.ChannelCluster.ChannelListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedChannelClusterChannelListAttributeCallback(), - readChannelChannelListCommandParams - ); - readChannelInteractionInfo.put("readChannelListAttribute", readChannelChannelListAttributeInteractionInfo); - Map readChannelGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readChannelGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ChannelCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.ChannelCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedChannelClusterGeneratedCommandListAttributeCallback(), - readChannelGeneratedCommandListCommandParams - ); - readChannelInteractionInfo.put("readGeneratedCommandListAttribute", readChannelGeneratedCommandListAttributeInteractionInfo); - Map readChannelAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readChannelAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ChannelCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.ChannelCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedChannelClusterAcceptedCommandListAttributeCallback(), - readChannelAcceptedCommandListCommandParams - ); - readChannelInteractionInfo.put("readAcceptedCommandListAttribute", readChannelAcceptedCommandListAttributeInteractionInfo); - Map readChannelEventListCommandParams = new LinkedHashMap(); - InteractionInfo readChannelEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ChannelCluster) cluster).readEventListAttribute( - ( ChipClusters.ChannelCluster.EventListAttributeCallback - ) callback - ); - }, + readChannelChannelListCommandParams); + readChannelInteractionInfo.put( + "readChannelListAttribute", readChannelChannelListAttributeInteractionInfo); + Map readChannelGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readChannelGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ChannelCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.ChannelCluster.GeneratedCommandListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedChannelClusterGeneratedCommandListAttributeCallback(), + readChannelGeneratedCommandListCommandParams); + readChannelInteractionInfo.put( + "readGeneratedCommandListAttribute", + readChannelGeneratedCommandListAttributeInteractionInfo); + Map readChannelAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readChannelAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ChannelCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.ChannelCluster.AcceptedCommandListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedChannelClusterAcceptedCommandListAttributeCallback(), + readChannelAcceptedCommandListCommandParams); + readChannelInteractionInfo.put( + "readAcceptedCommandListAttribute", readChannelAcceptedCommandListAttributeInteractionInfo); + Map readChannelEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readChannelEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ChannelCluster) cluster) + .readEventListAttribute( + (ChipClusters.ChannelCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedChannelClusterEventListAttributeCallback(), - readChannelEventListCommandParams - ); - readChannelInteractionInfo.put("readEventListAttribute", readChannelEventListAttributeInteractionInfo); - Map readChannelAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readChannelAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ChannelCluster) cluster).readAttributeListAttribute( - ( ChipClusters.ChannelCluster.AttributeListAttributeCallback - ) callback - ); - }, + readChannelEventListCommandParams); + readChannelInteractionInfo.put( + "readEventListAttribute", readChannelEventListAttributeInteractionInfo); + Map readChannelAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readChannelAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ChannelCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.ChannelCluster.AttributeListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedChannelClusterAttributeListAttributeCallback(), - readChannelAttributeListCommandParams - ); - readChannelInteractionInfo.put("readAttributeListAttribute", readChannelAttributeListAttributeInteractionInfo); - Map readChannelFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readChannelFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ChannelCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readChannelFeatureMapCommandParams - ); - readChannelInteractionInfo.put("readFeatureMapAttribute", readChannelFeatureMapAttributeInteractionInfo); - Map readChannelClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readChannelClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ChannelCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readChannelClusterRevisionCommandParams - ); - readChannelInteractionInfo.put("readClusterRevisionAttribute", readChannelClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("channel", readChannelInteractionInfo); - Map readTargetNavigatorInteractionInfo = new LinkedHashMap<>(); - Map readTargetNavigatorTargetListCommandParams = new LinkedHashMap(); - InteractionInfo readTargetNavigatorTargetListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TargetNavigatorCluster) cluster).readTargetListAttribute( - ( ChipClusters.TargetNavigatorCluster.TargetListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedTargetNavigatorClusterTargetListAttributeCallback(), - readTargetNavigatorTargetListCommandParams - ); - readTargetNavigatorInteractionInfo.put("readTargetListAttribute", readTargetNavigatorTargetListAttributeInteractionInfo); - Map readTargetNavigatorCurrentTargetCommandParams = new LinkedHashMap(); - InteractionInfo readTargetNavigatorCurrentTargetAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TargetNavigatorCluster) cluster).readCurrentTargetAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readTargetNavigatorCurrentTargetCommandParams - ); - readTargetNavigatorInteractionInfo.put("readCurrentTargetAttribute", readTargetNavigatorCurrentTargetAttributeInteractionInfo); - Map readTargetNavigatorGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readTargetNavigatorGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TargetNavigatorCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.TargetNavigatorCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedTargetNavigatorClusterGeneratedCommandListAttributeCallback(), - readTargetNavigatorGeneratedCommandListCommandParams - ); - readTargetNavigatorInteractionInfo.put("readGeneratedCommandListAttribute", readTargetNavigatorGeneratedCommandListAttributeInteractionInfo); - Map readTargetNavigatorAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readTargetNavigatorAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TargetNavigatorCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.TargetNavigatorCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedTargetNavigatorClusterAcceptedCommandListAttributeCallback(), - readTargetNavigatorAcceptedCommandListCommandParams - ); - readTargetNavigatorInteractionInfo.put("readAcceptedCommandListAttribute", readTargetNavigatorAcceptedCommandListAttributeInteractionInfo); - Map readTargetNavigatorEventListCommandParams = new LinkedHashMap(); - InteractionInfo readTargetNavigatorEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TargetNavigatorCluster) cluster).readEventListAttribute( - ( ChipClusters.TargetNavigatorCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedTargetNavigatorClusterEventListAttributeCallback(), - readTargetNavigatorEventListCommandParams - ); - readTargetNavigatorInteractionInfo.put("readEventListAttribute", readTargetNavigatorEventListAttributeInteractionInfo); - Map readTargetNavigatorAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readTargetNavigatorAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TargetNavigatorCluster) cluster).readAttributeListAttribute( - ( ChipClusters.TargetNavigatorCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedTargetNavigatorClusterAttributeListAttributeCallback(), - readTargetNavigatorAttributeListCommandParams - ); - readTargetNavigatorInteractionInfo.put("readAttributeListAttribute", readTargetNavigatorAttributeListAttributeInteractionInfo); - Map readTargetNavigatorFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readTargetNavigatorFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TargetNavigatorCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readTargetNavigatorFeatureMapCommandParams - ); - readTargetNavigatorInteractionInfo.put("readFeatureMapAttribute", readTargetNavigatorFeatureMapAttributeInteractionInfo); - Map readTargetNavigatorClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readTargetNavigatorClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TargetNavigatorCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readTargetNavigatorClusterRevisionCommandParams - ); - readTargetNavigatorInteractionInfo.put("readClusterRevisionAttribute", readTargetNavigatorClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("targetNavigator", readTargetNavigatorInteractionInfo); - Map readMediaPlaybackInteractionInfo = new LinkedHashMap<>(); - Map readMediaPlaybackCurrentStateCommandParams = new LinkedHashMap(); - InteractionInfo readMediaPlaybackCurrentStateAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster).readCurrentStateAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readMediaPlaybackCurrentStateCommandParams - ); - readMediaPlaybackInteractionInfo.put("readCurrentStateAttribute", readMediaPlaybackCurrentStateAttributeInteractionInfo); - Map readMediaPlaybackStartTimeCommandParams = new LinkedHashMap(); - InteractionInfo readMediaPlaybackStartTimeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster).readStartTimeAttribute( - ( ChipClusters.MediaPlaybackCluster.StartTimeAttributeCallback - ) callback - ); - }, + readChannelAttributeListCommandParams); + readChannelInteractionInfo.put( + "readAttributeListAttribute", readChannelAttributeListAttributeInteractionInfo); + Map readChannelFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readChannelFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ChannelCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readChannelFeatureMapCommandParams); + readChannelInteractionInfo.put( + "readFeatureMapAttribute", readChannelFeatureMapAttributeInteractionInfo); + Map readChannelClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readChannelClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ChannelCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readChannelClusterRevisionCommandParams); + readChannelInteractionInfo.put( + "readClusterRevisionAttribute", readChannelClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("channel", readChannelInteractionInfo); + Map readTargetNavigatorInteractionInfo = new LinkedHashMap<>(); + Map readTargetNavigatorTargetListCommandParams = + new LinkedHashMap(); + InteractionInfo readTargetNavigatorTargetListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TargetNavigatorCluster) cluster) + .readTargetListAttribute( + (ChipClusters.TargetNavigatorCluster.TargetListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedTargetNavigatorClusterTargetListAttributeCallback(), + readTargetNavigatorTargetListCommandParams); + readTargetNavigatorInteractionInfo.put( + "readTargetListAttribute", readTargetNavigatorTargetListAttributeInteractionInfo); + Map readTargetNavigatorCurrentTargetCommandParams = + new LinkedHashMap(); + InteractionInfo readTargetNavigatorCurrentTargetAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TargetNavigatorCluster) cluster) + .readCurrentTargetAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readTargetNavigatorCurrentTargetCommandParams); + readTargetNavigatorInteractionInfo.put( + "readCurrentTargetAttribute", readTargetNavigatorCurrentTargetAttributeInteractionInfo); + Map readTargetNavigatorGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readTargetNavigatorGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TargetNavigatorCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.TargetNavigatorCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedTargetNavigatorClusterGeneratedCommandListAttributeCallback(), + readTargetNavigatorGeneratedCommandListCommandParams); + readTargetNavigatorInteractionInfo.put( + "readGeneratedCommandListAttribute", + readTargetNavigatorGeneratedCommandListAttributeInteractionInfo); + Map readTargetNavigatorAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readTargetNavigatorAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TargetNavigatorCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.TargetNavigatorCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedTargetNavigatorClusterAcceptedCommandListAttributeCallback(), + readTargetNavigatorAcceptedCommandListCommandParams); + readTargetNavigatorInteractionInfo.put( + "readAcceptedCommandListAttribute", + readTargetNavigatorAcceptedCommandListAttributeInteractionInfo); + Map readTargetNavigatorEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readTargetNavigatorEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TargetNavigatorCluster) cluster) + .readEventListAttribute( + (ChipClusters.TargetNavigatorCluster.EventListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedTargetNavigatorClusterEventListAttributeCallback(), + readTargetNavigatorEventListCommandParams); + readTargetNavigatorInteractionInfo.put( + "readEventListAttribute", readTargetNavigatorEventListAttributeInteractionInfo); + Map readTargetNavigatorAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readTargetNavigatorAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TargetNavigatorCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.TargetNavigatorCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedTargetNavigatorClusterAttributeListAttributeCallback(), + readTargetNavigatorAttributeListCommandParams); + readTargetNavigatorInteractionInfo.put( + "readAttributeListAttribute", readTargetNavigatorAttributeListAttributeInteractionInfo); + Map readTargetNavigatorFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readTargetNavigatorFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TargetNavigatorCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readTargetNavigatorFeatureMapCommandParams); + readTargetNavigatorInteractionInfo.put( + "readFeatureMapAttribute", readTargetNavigatorFeatureMapAttributeInteractionInfo); + Map readTargetNavigatorClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readTargetNavigatorClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TargetNavigatorCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readTargetNavigatorClusterRevisionCommandParams); + readTargetNavigatorInteractionInfo.put( + "readClusterRevisionAttribute", readTargetNavigatorClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("targetNavigator", readTargetNavigatorInteractionInfo); + Map readMediaPlaybackInteractionInfo = new LinkedHashMap<>(); + Map readMediaPlaybackCurrentStateCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaPlaybackCurrentStateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .readCurrentStateAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readMediaPlaybackCurrentStateCommandParams); + readMediaPlaybackInteractionInfo.put( + "readCurrentStateAttribute", readMediaPlaybackCurrentStateAttributeInteractionInfo); + Map readMediaPlaybackStartTimeCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaPlaybackStartTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .readStartTimeAttribute( + (ChipClusters.MediaPlaybackCluster.StartTimeAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedMediaPlaybackClusterStartTimeAttributeCallback(), - readMediaPlaybackStartTimeCommandParams - ); - readMediaPlaybackInteractionInfo.put("readStartTimeAttribute", readMediaPlaybackStartTimeAttributeInteractionInfo); - Map readMediaPlaybackDurationCommandParams = new LinkedHashMap(); - InteractionInfo readMediaPlaybackDurationAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster).readDurationAttribute( - ( ChipClusters.MediaPlaybackCluster.DurationAttributeCallback - ) callback - ); - }, + readMediaPlaybackStartTimeCommandParams); + readMediaPlaybackInteractionInfo.put( + "readStartTimeAttribute", readMediaPlaybackStartTimeAttributeInteractionInfo); + Map readMediaPlaybackDurationCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaPlaybackDurationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .readDurationAttribute( + (ChipClusters.MediaPlaybackCluster.DurationAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedMediaPlaybackClusterDurationAttributeCallback(), - readMediaPlaybackDurationCommandParams - ); - readMediaPlaybackInteractionInfo.put("readDurationAttribute", readMediaPlaybackDurationAttributeInteractionInfo); - Map readMediaPlaybackPlaybackSpeedCommandParams = new LinkedHashMap(); - InteractionInfo readMediaPlaybackPlaybackSpeedAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster).readPlaybackSpeedAttribute( - ( - ChipClusters.FloatAttributeCallback -) callback - ); - }, + readMediaPlaybackDurationCommandParams); + readMediaPlaybackInteractionInfo.put( + "readDurationAttribute", readMediaPlaybackDurationAttributeInteractionInfo); + Map readMediaPlaybackPlaybackSpeedCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaPlaybackPlaybackSpeedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .readPlaybackSpeedAttribute((ChipClusters.FloatAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedFloatAttributeCallback(), - readMediaPlaybackPlaybackSpeedCommandParams - ); - readMediaPlaybackInteractionInfo.put("readPlaybackSpeedAttribute", readMediaPlaybackPlaybackSpeedAttributeInteractionInfo); - Map readMediaPlaybackSeekRangeEndCommandParams = new LinkedHashMap(); - InteractionInfo readMediaPlaybackSeekRangeEndAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster).readSeekRangeEndAttribute( - ( ChipClusters.MediaPlaybackCluster.SeekRangeEndAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedMediaPlaybackClusterSeekRangeEndAttributeCallback(), - readMediaPlaybackSeekRangeEndCommandParams - ); - readMediaPlaybackInteractionInfo.put("readSeekRangeEndAttribute", readMediaPlaybackSeekRangeEndAttributeInteractionInfo); - Map readMediaPlaybackSeekRangeStartCommandParams = new LinkedHashMap(); - InteractionInfo readMediaPlaybackSeekRangeStartAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster).readSeekRangeStartAttribute( - ( ChipClusters.MediaPlaybackCluster.SeekRangeStartAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedMediaPlaybackClusterSeekRangeStartAttributeCallback(), - readMediaPlaybackSeekRangeStartCommandParams - ); - readMediaPlaybackInteractionInfo.put("readSeekRangeStartAttribute", readMediaPlaybackSeekRangeStartAttributeInteractionInfo); - Map readMediaPlaybackGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readMediaPlaybackGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.MediaPlaybackCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedMediaPlaybackClusterGeneratedCommandListAttributeCallback(), - readMediaPlaybackGeneratedCommandListCommandParams - ); - readMediaPlaybackInteractionInfo.put("readGeneratedCommandListAttribute", readMediaPlaybackGeneratedCommandListAttributeInteractionInfo); - Map readMediaPlaybackAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readMediaPlaybackAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.MediaPlaybackCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedMediaPlaybackClusterAcceptedCommandListAttributeCallback(), - readMediaPlaybackAcceptedCommandListCommandParams - ); - readMediaPlaybackInteractionInfo.put("readAcceptedCommandListAttribute", readMediaPlaybackAcceptedCommandListAttributeInteractionInfo); - Map readMediaPlaybackEventListCommandParams = new LinkedHashMap(); - InteractionInfo readMediaPlaybackEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster).readEventListAttribute( - ( ChipClusters.MediaPlaybackCluster.EventListAttributeCallback - ) callback - ); - }, + readMediaPlaybackPlaybackSpeedCommandParams); + readMediaPlaybackInteractionInfo.put( + "readPlaybackSpeedAttribute", readMediaPlaybackPlaybackSpeedAttributeInteractionInfo); + Map readMediaPlaybackSeekRangeEndCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaPlaybackSeekRangeEndAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .readSeekRangeEndAttribute( + (ChipClusters.MediaPlaybackCluster.SeekRangeEndAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedMediaPlaybackClusterSeekRangeEndAttributeCallback(), + readMediaPlaybackSeekRangeEndCommandParams); + readMediaPlaybackInteractionInfo.put( + "readSeekRangeEndAttribute", readMediaPlaybackSeekRangeEndAttributeInteractionInfo); + Map readMediaPlaybackSeekRangeStartCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaPlaybackSeekRangeStartAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .readSeekRangeStartAttribute( + (ChipClusters.MediaPlaybackCluster.SeekRangeStartAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedMediaPlaybackClusterSeekRangeStartAttributeCallback(), + readMediaPlaybackSeekRangeStartCommandParams); + readMediaPlaybackInteractionInfo.put( + "readSeekRangeStartAttribute", readMediaPlaybackSeekRangeStartAttributeInteractionInfo); + Map readMediaPlaybackGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaPlaybackGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.MediaPlaybackCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedMediaPlaybackClusterGeneratedCommandListAttributeCallback(), + readMediaPlaybackGeneratedCommandListCommandParams); + readMediaPlaybackInteractionInfo.put( + "readGeneratedCommandListAttribute", + readMediaPlaybackGeneratedCommandListAttributeInteractionInfo); + Map readMediaPlaybackAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaPlaybackAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.MediaPlaybackCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedMediaPlaybackClusterAcceptedCommandListAttributeCallback(), + readMediaPlaybackAcceptedCommandListCommandParams); + readMediaPlaybackInteractionInfo.put( + "readAcceptedCommandListAttribute", + readMediaPlaybackAcceptedCommandListAttributeInteractionInfo); + Map readMediaPlaybackEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaPlaybackEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .readEventListAttribute( + (ChipClusters.MediaPlaybackCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedMediaPlaybackClusterEventListAttributeCallback(), - readMediaPlaybackEventListCommandParams - ); - readMediaPlaybackInteractionInfo.put("readEventListAttribute", readMediaPlaybackEventListAttributeInteractionInfo); - Map readMediaPlaybackAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readMediaPlaybackAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster).readAttributeListAttribute( - ( ChipClusters.MediaPlaybackCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedMediaPlaybackClusterAttributeListAttributeCallback(), - readMediaPlaybackAttributeListCommandParams - ); - readMediaPlaybackInteractionInfo.put("readAttributeListAttribute", readMediaPlaybackAttributeListAttributeInteractionInfo); - Map readMediaPlaybackFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readMediaPlaybackFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readMediaPlaybackFeatureMapCommandParams - ); - readMediaPlaybackInteractionInfo.put("readFeatureMapAttribute", readMediaPlaybackFeatureMapAttributeInteractionInfo); - Map readMediaPlaybackClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readMediaPlaybackClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readMediaPlaybackClusterRevisionCommandParams - ); - readMediaPlaybackInteractionInfo.put("readClusterRevisionAttribute", readMediaPlaybackClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("mediaPlayback", readMediaPlaybackInteractionInfo); - Map readMediaInputInteractionInfo = new LinkedHashMap<>(); - Map readMediaInputInputListCommandParams = new LinkedHashMap(); - InteractionInfo readMediaInputInputListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster).readInputListAttribute( - ( ChipClusters.MediaInputCluster.InputListAttributeCallback - ) callback - ); - }, + readMediaPlaybackEventListCommandParams); + readMediaPlaybackInteractionInfo.put( + "readEventListAttribute", readMediaPlaybackEventListAttributeInteractionInfo); + Map readMediaPlaybackAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaPlaybackAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.MediaPlaybackCluster.AttributeListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedMediaPlaybackClusterAttributeListAttributeCallback(), + readMediaPlaybackAttributeListCommandParams); + readMediaPlaybackInteractionInfo.put( + "readAttributeListAttribute", readMediaPlaybackAttributeListAttributeInteractionInfo); + Map readMediaPlaybackFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaPlaybackFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readMediaPlaybackFeatureMapCommandParams); + readMediaPlaybackInteractionInfo.put( + "readFeatureMapAttribute", readMediaPlaybackFeatureMapAttributeInteractionInfo); + Map readMediaPlaybackClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaPlaybackClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readMediaPlaybackClusterRevisionCommandParams); + readMediaPlaybackInteractionInfo.put( + "readClusterRevisionAttribute", readMediaPlaybackClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("mediaPlayback", readMediaPlaybackInteractionInfo); + Map readMediaInputInteractionInfo = new LinkedHashMap<>(); + Map readMediaInputInputListCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaInputInputListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster) + .readInputListAttribute( + (ChipClusters.MediaInputCluster.InputListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedMediaInputClusterInputListAttributeCallback(), - readMediaInputInputListCommandParams - ); - readMediaInputInteractionInfo.put("readInputListAttribute", readMediaInputInputListAttributeInteractionInfo); - Map readMediaInputCurrentInputCommandParams = new LinkedHashMap(); - InteractionInfo readMediaInputCurrentInputAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster).readCurrentInputAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readMediaInputCurrentInputCommandParams - ); - readMediaInputInteractionInfo.put("readCurrentInputAttribute", readMediaInputCurrentInputAttributeInteractionInfo); - Map readMediaInputGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readMediaInputGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.MediaInputCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedMediaInputClusterGeneratedCommandListAttributeCallback(), - readMediaInputGeneratedCommandListCommandParams - ); - readMediaInputInteractionInfo.put("readGeneratedCommandListAttribute", readMediaInputGeneratedCommandListAttributeInteractionInfo); - Map readMediaInputAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readMediaInputAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.MediaInputCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedMediaInputClusterAcceptedCommandListAttributeCallback(), - readMediaInputAcceptedCommandListCommandParams - ); - readMediaInputInteractionInfo.put("readAcceptedCommandListAttribute", readMediaInputAcceptedCommandListAttributeInteractionInfo); - Map readMediaInputEventListCommandParams = new LinkedHashMap(); - InteractionInfo readMediaInputEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster).readEventListAttribute( - ( ChipClusters.MediaInputCluster.EventListAttributeCallback - ) callback - ); - }, + readMediaInputInputListCommandParams); + readMediaInputInteractionInfo.put( + "readInputListAttribute", readMediaInputInputListAttributeInteractionInfo); + Map readMediaInputCurrentInputCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaInputCurrentInputAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster) + .readCurrentInputAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readMediaInputCurrentInputCommandParams); + readMediaInputInteractionInfo.put( + "readCurrentInputAttribute", readMediaInputCurrentInputAttributeInteractionInfo); + Map readMediaInputGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaInputGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.MediaInputCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedMediaInputClusterGeneratedCommandListAttributeCallback(), + readMediaInputGeneratedCommandListCommandParams); + readMediaInputInteractionInfo.put( + "readGeneratedCommandListAttribute", + readMediaInputGeneratedCommandListAttributeInteractionInfo); + Map readMediaInputAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaInputAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.MediaInputCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedMediaInputClusterAcceptedCommandListAttributeCallback(), + readMediaInputAcceptedCommandListCommandParams); + readMediaInputInteractionInfo.put( + "readAcceptedCommandListAttribute", + readMediaInputAcceptedCommandListAttributeInteractionInfo); + Map readMediaInputEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaInputEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster) + .readEventListAttribute( + (ChipClusters.MediaInputCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedMediaInputClusterEventListAttributeCallback(), - readMediaInputEventListCommandParams - ); - readMediaInputInteractionInfo.put("readEventListAttribute", readMediaInputEventListAttributeInteractionInfo); - Map readMediaInputAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readMediaInputAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster).readAttributeListAttribute( - ( ChipClusters.MediaInputCluster.AttributeListAttributeCallback - ) callback - ); - }, + readMediaInputEventListCommandParams); + readMediaInputInteractionInfo.put( + "readEventListAttribute", readMediaInputEventListAttributeInteractionInfo); + Map readMediaInputAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaInputAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.MediaInputCluster.AttributeListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedMediaInputClusterAttributeListAttributeCallback(), - readMediaInputAttributeListCommandParams - ); - readMediaInputInteractionInfo.put("readAttributeListAttribute", readMediaInputAttributeListAttributeInteractionInfo); - Map readMediaInputFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readMediaInputFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readMediaInputFeatureMapCommandParams - ); - readMediaInputInteractionInfo.put("readFeatureMapAttribute", readMediaInputFeatureMapAttributeInteractionInfo); - Map readMediaInputClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readMediaInputClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readMediaInputClusterRevisionCommandParams - ); - readMediaInputInteractionInfo.put("readClusterRevisionAttribute", readMediaInputClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("mediaInput", readMediaInputInteractionInfo); - Map readLowPowerInteractionInfo = new LinkedHashMap<>(); - Map readLowPowerGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readLowPowerGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LowPowerCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.LowPowerCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLowPowerClusterGeneratedCommandListAttributeCallback(), - readLowPowerGeneratedCommandListCommandParams - ); - readLowPowerInteractionInfo.put("readGeneratedCommandListAttribute", readLowPowerGeneratedCommandListAttributeInteractionInfo); - Map readLowPowerAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readLowPowerAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LowPowerCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.LowPowerCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLowPowerClusterAcceptedCommandListAttributeCallback(), - readLowPowerAcceptedCommandListCommandParams - ); - readLowPowerInteractionInfo.put("readAcceptedCommandListAttribute", readLowPowerAcceptedCommandListAttributeInteractionInfo); - Map readLowPowerEventListCommandParams = new LinkedHashMap(); - InteractionInfo readLowPowerEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LowPowerCluster) cluster).readEventListAttribute( - ( ChipClusters.LowPowerCluster.EventListAttributeCallback - ) callback - ); - }, + readMediaInputAttributeListCommandParams); + readMediaInputInteractionInfo.put( + "readAttributeListAttribute", readMediaInputAttributeListAttributeInteractionInfo); + Map readMediaInputFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaInputFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readMediaInputFeatureMapCommandParams); + readMediaInputInteractionInfo.put( + "readFeatureMapAttribute", readMediaInputFeatureMapAttributeInteractionInfo); + Map readMediaInputClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readMediaInputClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readMediaInputClusterRevisionCommandParams); + readMediaInputInteractionInfo.put( + "readClusterRevisionAttribute", readMediaInputClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("mediaInput", readMediaInputInteractionInfo); + Map readLowPowerInteractionInfo = new LinkedHashMap<>(); + Map readLowPowerGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readLowPowerGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LowPowerCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.LowPowerCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedLowPowerClusterGeneratedCommandListAttributeCallback(), + readLowPowerGeneratedCommandListCommandParams); + readLowPowerInteractionInfo.put( + "readGeneratedCommandListAttribute", + readLowPowerGeneratedCommandListAttributeInteractionInfo); + Map readLowPowerAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readLowPowerAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LowPowerCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.LowPowerCluster.AcceptedCommandListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedLowPowerClusterAcceptedCommandListAttributeCallback(), + readLowPowerAcceptedCommandListCommandParams); + readLowPowerInteractionInfo.put( + "readAcceptedCommandListAttribute", + readLowPowerAcceptedCommandListAttributeInteractionInfo); + Map readLowPowerEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readLowPowerEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LowPowerCluster) cluster) + .readEventListAttribute( + (ChipClusters.LowPowerCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedLowPowerClusterEventListAttributeCallback(), - readLowPowerEventListCommandParams - ); - readLowPowerInteractionInfo.put("readEventListAttribute", readLowPowerEventListAttributeInteractionInfo); - Map readLowPowerAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readLowPowerAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LowPowerCluster) cluster).readAttributeListAttribute( - ( ChipClusters.LowPowerCluster.AttributeListAttributeCallback - ) callback - ); - }, + readLowPowerEventListCommandParams); + readLowPowerInteractionInfo.put( + "readEventListAttribute", readLowPowerEventListAttributeInteractionInfo); + Map readLowPowerAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readLowPowerAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LowPowerCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.LowPowerCluster.AttributeListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedLowPowerClusterAttributeListAttributeCallback(), - readLowPowerAttributeListCommandParams - ); - readLowPowerInteractionInfo.put("readAttributeListAttribute", readLowPowerAttributeListAttributeInteractionInfo); - Map readLowPowerFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readLowPowerFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LowPowerCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readLowPowerFeatureMapCommandParams - ); - readLowPowerInteractionInfo.put("readFeatureMapAttribute", readLowPowerFeatureMapAttributeInteractionInfo); - Map readLowPowerClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readLowPowerClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LowPowerCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readLowPowerClusterRevisionCommandParams - ); - readLowPowerInteractionInfo.put("readClusterRevisionAttribute", readLowPowerClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("lowPower", readLowPowerInteractionInfo); - Map readKeypadInputInteractionInfo = new LinkedHashMap<>(); - Map readKeypadInputGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readKeypadInputGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.KeypadInputCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.KeypadInputCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedKeypadInputClusterGeneratedCommandListAttributeCallback(), - readKeypadInputGeneratedCommandListCommandParams - ); - readKeypadInputInteractionInfo.put("readGeneratedCommandListAttribute", readKeypadInputGeneratedCommandListAttributeInteractionInfo); - Map readKeypadInputAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readKeypadInputAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.KeypadInputCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.KeypadInputCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedKeypadInputClusterAcceptedCommandListAttributeCallback(), - readKeypadInputAcceptedCommandListCommandParams - ); - readKeypadInputInteractionInfo.put("readAcceptedCommandListAttribute", readKeypadInputAcceptedCommandListAttributeInteractionInfo); - Map readKeypadInputEventListCommandParams = new LinkedHashMap(); - InteractionInfo readKeypadInputEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.KeypadInputCluster) cluster).readEventListAttribute( - ( ChipClusters.KeypadInputCluster.EventListAttributeCallback - ) callback - ); - }, + readLowPowerAttributeListCommandParams); + readLowPowerInteractionInfo.put( + "readAttributeListAttribute", readLowPowerAttributeListAttributeInteractionInfo); + Map readLowPowerFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readLowPowerFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LowPowerCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readLowPowerFeatureMapCommandParams); + readLowPowerInteractionInfo.put( + "readFeatureMapAttribute", readLowPowerFeatureMapAttributeInteractionInfo); + Map readLowPowerClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readLowPowerClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LowPowerCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readLowPowerClusterRevisionCommandParams); + readLowPowerInteractionInfo.put( + "readClusterRevisionAttribute", readLowPowerClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("lowPower", readLowPowerInteractionInfo); + Map readKeypadInputInteractionInfo = new LinkedHashMap<>(); + Map readKeypadInputGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readKeypadInputGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.KeypadInputCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.KeypadInputCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedKeypadInputClusterGeneratedCommandListAttributeCallback(), + readKeypadInputGeneratedCommandListCommandParams); + readKeypadInputInteractionInfo.put( + "readGeneratedCommandListAttribute", + readKeypadInputGeneratedCommandListAttributeInteractionInfo); + Map readKeypadInputAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readKeypadInputAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.KeypadInputCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.KeypadInputCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedKeypadInputClusterAcceptedCommandListAttributeCallback(), + readKeypadInputAcceptedCommandListCommandParams); + readKeypadInputInteractionInfo.put( + "readAcceptedCommandListAttribute", + readKeypadInputAcceptedCommandListAttributeInteractionInfo); + Map readKeypadInputEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readKeypadInputEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.KeypadInputCluster) cluster) + .readEventListAttribute( + (ChipClusters.KeypadInputCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedKeypadInputClusterEventListAttributeCallback(), - readKeypadInputEventListCommandParams - ); - readKeypadInputInteractionInfo.put("readEventListAttribute", readKeypadInputEventListAttributeInteractionInfo); - Map readKeypadInputAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readKeypadInputAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.KeypadInputCluster) cluster).readAttributeListAttribute( - ( ChipClusters.KeypadInputCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedKeypadInputClusterAttributeListAttributeCallback(), - readKeypadInputAttributeListCommandParams - ); - readKeypadInputInteractionInfo.put("readAttributeListAttribute", readKeypadInputAttributeListAttributeInteractionInfo); - Map readKeypadInputFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readKeypadInputFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.KeypadInputCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readKeypadInputFeatureMapCommandParams - ); - readKeypadInputInteractionInfo.put("readFeatureMapAttribute", readKeypadInputFeatureMapAttributeInteractionInfo); - Map readKeypadInputClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readKeypadInputClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.KeypadInputCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readKeypadInputClusterRevisionCommandParams - ); - readKeypadInputInteractionInfo.put("readClusterRevisionAttribute", readKeypadInputClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("keypadInput", readKeypadInputInteractionInfo); - Map readContentLauncherInteractionInfo = new LinkedHashMap<>(); - Map readContentLauncherAcceptHeaderCommandParams = new LinkedHashMap(); - InteractionInfo readContentLauncherAcceptHeaderAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ContentLauncherCluster) cluster).readAcceptHeaderAttribute( - ( ChipClusters.ContentLauncherCluster.AcceptHeaderAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedContentLauncherClusterAcceptHeaderAttributeCallback(), - readContentLauncherAcceptHeaderCommandParams - ); - readContentLauncherInteractionInfo.put("readAcceptHeaderAttribute", readContentLauncherAcceptHeaderAttributeInteractionInfo); - Map readContentLauncherSupportedStreamingProtocolsCommandParams = new LinkedHashMap(); - InteractionInfo readContentLauncherSupportedStreamingProtocolsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ContentLauncherCluster) cluster).readSupportedStreamingProtocolsAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readContentLauncherSupportedStreamingProtocolsCommandParams - ); - readContentLauncherInteractionInfo.put("readSupportedStreamingProtocolsAttribute", readContentLauncherSupportedStreamingProtocolsAttributeInteractionInfo); - Map readContentLauncherGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readContentLauncherGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ContentLauncherCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.ContentLauncherCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedContentLauncherClusterGeneratedCommandListAttributeCallback(), - readContentLauncherGeneratedCommandListCommandParams - ); - readContentLauncherInteractionInfo.put("readGeneratedCommandListAttribute", readContentLauncherGeneratedCommandListAttributeInteractionInfo); - Map readContentLauncherAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readContentLauncherAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ContentLauncherCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.ContentLauncherCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedContentLauncherClusterAcceptedCommandListAttributeCallback(), - readContentLauncherAcceptedCommandListCommandParams - ); - readContentLauncherInteractionInfo.put("readAcceptedCommandListAttribute", readContentLauncherAcceptedCommandListAttributeInteractionInfo); - Map readContentLauncherEventListCommandParams = new LinkedHashMap(); - InteractionInfo readContentLauncherEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ContentLauncherCluster) cluster).readEventListAttribute( - ( ChipClusters.ContentLauncherCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedContentLauncherClusterEventListAttributeCallback(), - readContentLauncherEventListCommandParams - ); - readContentLauncherInteractionInfo.put("readEventListAttribute", readContentLauncherEventListAttributeInteractionInfo); - Map readContentLauncherAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readContentLauncherAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ContentLauncherCluster) cluster).readAttributeListAttribute( - ( ChipClusters.ContentLauncherCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedContentLauncherClusterAttributeListAttributeCallback(), - readContentLauncherAttributeListCommandParams - ); - readContentLauncherInteractionInfo.put("readAttributeListAttribute", readContentLauncherAttributeListAttributeInteractionInfo); - Map readContentLauncherFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readContentLauncherFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ContentLauncherCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readContentLauncherFeatureMapCommandParams - ); - readContentLauncherInteractionInfo.put("readFeatureMapAttribute", readContentLauncherFeatureMapAttributeInteractionInfo); - Map readContentLauncherClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readContentLauncherClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ContentLauncherCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readContentLauncherClusterRevisionCommandParams - ); - readContentLauncherInteractionInfo.put("readClusterRevisionAttribute", readContentLauncherClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("contentLauncher", readContentLauncherInteractionInfo); - Map readAudioOutputInteractionInfo = new LinkedHashMap<>(); - Map readAudioOutputOutputListCommandParams = new LinkedHashMap(); - InteractionInfo readAudioOutputOutputListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AudioOutputCluster) cluster).readOutputListAttribute( - ( ChipClusters.AudioOutputCluster.OutputListAttributeCallback - ) callback - ); - }, + readKeypadInputEventListCommandParams); + readKeypadInputInteractionInfo.put( + "readEventListAttribute", readKeypadInputEventListAttributeInteractionInfo); + Map readKeypadInputAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readKeypadInputAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.KeypadInputCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.KeypadInputCluster.AttributeListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedKeypadInputClusterAttributeListAttributeCallback(), + readKeypadInputAttributeListCommandParams); + readKeypadInputInteractionInfo.put( + "readAttributeListAttribute", readKeypadInputAttributeListAttributeInteractionInfo); + Map readKeypadInputFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readKeypadInputFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.KeypadInputCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readKeypadInputFeatureMapCommandParams); + readKeypadInputInteractionInfo.put( + "readFeatureMapAttribute", readKeypadInputFeatureMapAttributeInteractionInfo); + Map readKeypadInputClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readKeypadInputClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.KeypadInputCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readKeypadInputClusterRevisionCommandParams); + readKeypadInputInteractionInfo.put( + "readClusterRevisionAttribute", readKeypadInputClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("keypadInput", readKeypadInputInteractionInfo); + Map readContentLauncherInteractionInfo = new LinkedHashMap<>(); + Map readContentLauncherAcceptHeaderCommandParams = + new LinkedHashMap(); + InteractionInfo readContentLauncherAcceptHeaderAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ContentLauncherCluster) cluster) + .readAcceptHeaderAttribute( + (ChipClusters.ContentLauncherCluster.AcceptHeaderAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedContentLauncherClusterAcceptHeaderAttributeCallback(), + readContentLauncherAcceptHeaderCommandParams); + readContentLauncherInteractionInfo.put( + "readAcceptHeaderAttribute", readContentLauncherAcceptHeaderAttributeInteractionInfo); + Map readContentLauncherSupportedStreamingProtocolsCommandParams = + new LinkedHashMap(); + InteractionInfo readContentLauncherSupportedStreamingProtocolsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ContentLauncherCluster) cluster) + .readSupportedStreamingProtocolsAttribute( + (ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readContentLauncherSupportedStreamingProtocolsCommandParams); + readContentLauncherInteractionInfo.put( + "readSupportedStreamingProtocolsAttribute", + readContentLauncherSupportedStreamingProtocolsAttributeInteractionInfo); + Map readContentLauncherGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readContentLauncherGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ContentLauncherCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.ContentLauncherCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedContentLauncherClusterGeneratedCommandListAttributeCallback(), + readContentLauncherGeneratedCommandListCommandParams); + readContentLauncherInteractionInfo.put( + "readGeneratedCommandListAttribute", + readContentLauncherGeneratedCommandListAttributeInteractionInfo); + Map readContentLauncherAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readContentLauncherAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ContentLauncherCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.ContentLauncherCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedContentLauncherClusterAcceptedCommandListAttributeCallback(), + readContentLauncherAcceptedCommandListCommandParams); + readContentLauncherInteractionInfo.put( + "readAcceptedCommandListAttribute", + readContentLauncherAcceptedCommandListAttributeInteractionInfo); + Map readContentLauncherEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readContentLauncherEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ContentLauncherCluster) cluster) + .readEventListAttribute( + (ChipClusters.ContentLauncherCluster.EventListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedContentLauncherClusterEventListAttributeCallback(), + readContentLauncherEventListCommandParams); + readContentLauncherInteractionInfo.put( + "readEventListAttribute", readContentLauncherEventListAttributeInteractionInfo); + Map readContentLauncherAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readContentLauncherAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ContentLauncherCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.ContentLauncherCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedContentLauncherClusterAttributeListAttributeCallback(), + readContentLauncherAttributeListCommandParams); + readContentLauncherInteractionInfo.put( + "readAttributeListAttribute", readContentLauncherAttributeListAttributeInteractionInfo); + Map readContentLauncherFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readContentLauncherFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ContentLauncherCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readContentLauncherFeatureMapCommandParams); + readContentLauncherInteractionInfo.put( + "readFeatureMapAttribute", readContentLauncherFeatureMapAttributeInteractionInfo); + Map readContentLauncherClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readContentLauncherClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ContentLauncherCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readContentLauncherClusterRevisionCommandParams); + readContentLauncherInteractionInfo.put( + "readClusterRevisionAttribute", readContentLauncherClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("contentLauncher", readContentLauncherInteractionInfo); + Map readAudioOutputInteractionInfo = new LinkedHashMap<>(); + Map readAudioOutputOutputListCommandParams = + new LinkedHashMap(); + InteractionInfo readAudioOutputOutputListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AudioOutputCluster) cluster) + .readOutputListAttribute( + (ChipClusters.AudioOutputCluster.OutputListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedAudioOutputClusterOutputListAttributeCallback(), - readAudioOutputOutputListCommandParams - ); - readAudioOutputInteractionInfo.put("readOutputListAttribute", readAudioOutputOutputListAttributeInteractionInfo); - Map readAudioOutputCurrentOutputCommandParams = new LinkedHashMap(); - InteractionInfo readAudioOutputCurrentOutputAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AudioOutputCluster) cluster).readCurrentOutputAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readAudioOutputCurrentOutputCommandParams - ); - readAudioOutputInteractionInfo.put("readCurrentOutputAttribute", readAudioOutputCurrentOutputAttributeInteractionInfo); - Map readAudioOutputGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readAudioOutputGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AudioOutputCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.AudioOutputCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedAudioOutputClusterGeneratedCommandListAttributeCallback(), - readAudioOutputGeneratedCommandListCommandParams - ); - readAudioOutputInteractionInfo.put("readGeneratedCommandListAttribute", readAudioOutputGeneratedCommandListAttributeInteractionInfo); - Map readAudioOutputAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readAudioOutputAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AudioOutputCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.AudioOutputCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedAudioOutputClusterAcceptedCommandListAttributeCallback(), - readAudioOutputAcceptedCommandListCommandParams - ); - readAudioOutputInteractionInfo.put("readAcceptedCommandListAttribute", readAudioOutputAcceptedCommandListAttributeInteractionInfo); - Map readAudioOutputEventListCommandParams = new LinkedHashMap(); - InteractionInfo readAudioOutputEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AudioOutputCluster) cluster).readEventListAttribute( - ( ChipClusters.AudioOutputCluster.EventListAttributeCallback - ) callback - ); - }, + readAudioOutputOutputListCommandParams); + readAudioOutputInteractionInfo.put( + "readOutputListAttribute", readAudioOutputOutputListAttributeInteractionInfo); + Map readAudioOutputCurrentOutputCommandParams = + new LinkedHashMap(); + InteractionInfo readAudioOutputCurrentOutputAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AudioOutputCluster) cluster) + .readCurrentOutputAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readAudioOutputCurrentOutputCommandParams); + readAudioOutputInteractionInfo.put( + "readCurrentOutputAttribute", readAudioOutputCurrentOutputAttributeInteractionInfo); + Map readAudioOutputGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readAudioOutputGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AudioOutputCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.AudioOutputCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedAudioOutputClusterGeneratedCommandListAttributeCallback(), + readAudioOutputGeneratedCommandListCommandParams); + readAudioOutputInteractionInfo.put( + "readGeneratedCommandListAttribute", + readAudioOutputGeneratedCommandListAttributeInteractionInfo); + Map readAudioOutputAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readAudioOutputAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AudioOutputCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.AudioOutputCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedAudioOutputClusterAcceptedCommandListAttributeCallback(), + readAudioOutputAcceptedCommandListCommandParams); + readAudioOutputInteractionInfo.put( + "readAcceptedCommandListAttribute", + readAudioOutputAcceptedCommandListAttributeInteractionInfo); + Map readAudioOutputEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readAudioOutputEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AudioOutputCluster) cluster) + .readEventListAttribute( + (ChipClusters.AudioOutputCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedAudioOutputClusterEventListAttributeCallback(), - readAudioOutputEventListCommandParams - ); - readAudioOutputInteractionInfo.put("readEventListAttribute", readAudioOutputEventListAttributeInteractionInfo); - Map readAudioOutputAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readAudioOutputAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AudioOutputCluster) cluster).readAttributeListAttribute( - ( ChipClusters.AudioOutputCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedAudioOutputClusterAttributeListAttributeCallback(), - readAudioOutputAttributeListCommandParams - ); - readAudioOutputInteractionInfo.put("readAttributeListAttribute", readAudioOutputAttributeListAttributeInteractionInfo); - Map readAudioOutputFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readAudioOutputFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AudioOutputCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readAudioOutputFeatureMapCommandParams - ); - readAudioOutputInteractionInfo.put("readFeatureMapAttribute", readAudioOutputFeatureMapAttributeInteractionInfo); - Map readAudioOutputClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readAudioOutputClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AudioOutputCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readAudioOutputClusterRevisionCommandParams - ); - readAudioOutputInteractionInfo.put("readClusterRevisionAttribute", readAudioOutputClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("audioOutput", readAudioOutputInteractionInfo); - Map readApplicationLauncherInteractionInfo = new LinkedHashMap<>(); - Map readApplicationLauncherCatalogListCommandParams = new LinkedHashMap(); - InteractionInfo readApplicationLauncherCatalogListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationLauncherCluster) cluster).readCatalogListAttribute( - ( ChipClusters.ApplicationLauncherCluster.CatalogListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedApplicationLauncherClusterCatalogListAttributeCallback(), - readApplicationLauncherCatalogListCommandParams - ); - readApplicationLauncherInteractionInfo.put("readCatalogListAttribute", readApplicationLauncherCatalogListAttributeInteractionInfo); - Map readApplicationLauncherGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readApplicationLauncherGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationLauncherCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.ApplicationLauncherCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedApplicationLauncherClusterGeneratedCommandListAttributeCallback(), - readApplicationLauncherGeneratedCommandListCommandParams - ); - readApplicationLauncherInteractionInfo.put("readGeneratedCommandListAttribute", readApplicationLauncherGeneratedCommandListAttributeInteractionInfo); - Map readApplicationLauncherAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readApplicationLauncherAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationLauncherCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.ApplicationLauncherCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedApplicationLauncherClusterAcceptedCommandListAttributeCallback(), - readApplicationLauncherAcceptedCommandListCommandParams - ); - readApplicationLauncherInteractionInfo.put("readAcceptedCommandListAttribute", readApplicationLauncherAcceptedCommandListAttributeInteractionInfo); - Map readApplicationLauncherEventListCommandParams = new LinkedHashMap(); - InteractionInfo readApplicationLauncherEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationLauncherCluster) cluster).readEventListAttribute( - ( ChipClusters.ApplicationLauncherCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedApplicationLauncherClusterEventListAttributeCallback(), - readApplicationLauncherEventListCommandParams - ); - readApplicationLauncherInteractionInfo.put("readEventListAttribute", readApplicationLauncherEventListAttributeInteractionInfo); - Map readApplicationLauncherAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readApplicationLauncherAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationLauncherCluster) cluster).readAttributeListAttribute( - ( ChipClusters.ApplicationLauncherCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedApplicationLauncherClusterAttributeListAttributeCallback(), - readApplicationLauncherAttributeListCommandParams - ); - readApplicationLauncherInteractionInfo.put("readAttributeListAttribute", readApplicationLauncherAttributeListAttributeInteractionInfo); - Map readApplicationLauncherFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readApplicationLauncherFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationLauncherCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readApplicationLauncherFeatureMapCommandParams - ); - readApplicationLauncherInteractionInfo.put("readFeatureMapAttribute", readApplicationLauncherFeatureMapAttributeInteractionInfo); - Map readApplicationLauncherClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readApplicationLauncherClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationLauncherCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readApplicationLauncherClusterRevisionCommandParams - ); - readApplicationLauncherInteractionInfo.put("readClusterRevisionAttribute", readApplicationLauncherClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("applicationLauncher", readApplicationLauncherInteractionInfo); - Map readApplicationBasicInteractionInfo = new LinkedHashMap<>(); - Map readApplicationBasicVendorNameCommandParams = new LinkedHashMap(); - InteractionInfo readApplicationBasicVendorNameAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster).readVendorNameAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readAudioOutputEventListCommandParams); + readAudioOutputInteractionInfo.put( + "readEventListAttribute", readAudioOutputEventListAttributeInteractionInfo); + Map readAudioOutputAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readAudioOutputAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AudioOutputCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.AudioOutputCluster.AttributeListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedAudioOutputClusterAttributeListAttributeCallback(), + readAudioOutputAttributeListCommandParams); + readAudioOutputInteractionInfo.put( + "readAttributeListAttribute", readAudioOutputAttributeListAttributeInteractionInfo); + Map readAudioOutputFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readAudioOutputFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AudioOutputCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readAudioOutputFeatureMapCommandParams); + readAudioOutputInteractionInfo.put( + "readFeatureMapAttribute", readAudioOutputFeatureMapAttributeInteractionInfo); + Map readAudioOutputClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readAudioOutputClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AudioOutputCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readAudioOutputClusterRevisionCommandParams); + readAudioOutputInteractionInfo.put( + "readClusterRevisionAttribute", readAudioOutputClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("audioOutput", readAudioOutputInteractionInfo); + Map readApplicationLauncherInteractionInfo = new LinkedHashMap<>(); + Map readApplicationLauncherCatalogListCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationLauncherCatalogListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationLauncherCluster) cluster) + .readCatalogListAttribute( + (ChipClusters.ApplicationLauncherCluster.CatalogListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedApplicationLauncherClusterCatalogListAttributeCallback(), + readApplicationLauncherCatalogListCommandParams); + readApplicationLauncherInteractionInfo.put( + "readCatalogListAttribute", readApplicationLauncherCatalogListAttributeInteractionInfo); + Map readApplicationLauncherGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationLauncherGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationLauncherCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.ApplicationLauncherCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedApplicationLauncherClusterGeneratedCommandListAttributeCallback(), + readApplicationLauncherGeneratedCommandListCommandParams); + readApplicationLauncherInteractionInfo.put( + "readGeneratedCommandListAttribute", + readApplicationLauncherGeneratedCommandListAttributeInteractionInfo); + Map readApplicationLauncherAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationLauncherAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationLauncherCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.ApplicationLauncherCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedApplicationLauncherClusterAcceptedCommandListAttributeCallback(), + readApplicationLauncherAcceptedCommandListCommandParams); + readApplicationLauncherInteractionInfo.put( + "readAcceptedCommandListAttribute", + readApplicationLauncherAcceptedCommandListAttributeInteractionInfo); + Map readApplicationLauncherEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationLauncherEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationLauncherCluster) cluster) + .readEventListAttribute( + (ChipClusters.ApplicationLauncherCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedApplicationLauncherClusterEventListAttributeCallback(), + readApplicationLauncherEventListCommandParams); + readApplicationLauncherInteractionInfo.put( + "readEventListAttribute", readApplicationLauncherEventListAttributeInteractionInfo); + Map readApplicationLauncherAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationLauncherAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationLauncherCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.ApplicationLauncherCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedApplicationLauncherClusterAttributeListAttributeCallback(), + readApplicationLauncherAttributeListCommandParams); + readApplicationLauncherInteractionInfo.put( + "readAttributeListAttribute", readApplicationLauncherAttributeListAttributeInteractionInfo); + Map readApplicationLauncherFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationLauncherFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationLauncherCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readApplicationLauncherFeatureMapCommandParams); + readApplicationLauncherInteractionInfo.put( + "readFeatureMapAttribute", readApplicationLauncherFeatureMapAttributeInteractionInfo); + Map readApplicationLauncherClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationLauncherClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationLauncherCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readApplicationLauncherClusterRevisionCommandParams); + readApplicationLauncherInteractionInfo.put( + "readClusterRevisionAttribute", + readApplicationLauncherClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("applicationLauncher", readApplicationLauncherInteractionInfo); + Map readApplicationBasicInteractionInfo = new LinkedHashMap<>(); + Map readApplicationBasicVendorNameCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationBasicVendorNameAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster) + .readVendorNameAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readApplicationBasicVendorNameCommandParams - ); - readApplicationBasicInteractionInfo.put("readVendorNameAttribute", readApplicationBasicVendorNameAttributeInteractionInfo); - Map readApplicationBasicVendorIDCommandParams = new LinkedHashMap(); - InteractionInfo readApplicationBasicVendorIDAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster).readVendorIDAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readApplicationBasicVendorIDCommandParams - ); - readApplicationBasicInteractionInfo.put("readVendorIDAttribute", readApplicationBasicVendorIDAttributeInteractionInfo); - Map readApplicationBasicApplicationNameCommandParams = new LinkedHashMap(); - InteractionInfo readApplicationBasicApplicationNameAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster).readApplicationNameAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readApplicationBasicVendorNameCommandParams); + readApplicationBasicInteractionInfo.put( + "readVendorNameAttribute", readApplicationBasicVendorNameAttributeInteractionInfo); + Map readApplicationBasicVendorIDCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationBasicVendorIDAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster) + .readVendorIDAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readApplicationBasicVendorIDCommandParams); + readApplicationBasicInteractionInfo.put( + "readVendorIDAttribute", readApplicationBasicVendorIDAttributeInteractionInfo); + Map readApplicationBasicApplicationNameCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationBasicApplicationNameAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster) + .readApplicationNameAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readApplicationBasicApplicationNameCommandParams - ); - readApplicationBasicInteractionInfo.put("readApplicationNameAttribute", readApplicationBasicApplicationNameAttributeInteractionInfo); - Map readApplicationBasicProductIDCommandParams = new LinkedHashMap(); - InteractionInfo readApplicationBasicProductIDAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster).readProductIDAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readApplicationBasicProductIDCommandParams - ); - readApplicationBasicInteractionInfo.put("readProductIDAttribute", readApplicationBasicProductIDAttributeInteractionInfo); - Map readApplicationBasicStatusCommandParams = new LinkedHashMap(); - InteractionInfo readApplicationBasicStatusAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster).readStatusAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readApplicationBasicStatusCommandParams - ); - readApplicationBasicInteractionInfo.put("readStatusAttribute", readApplicationBasicStatusAttributeInteractionInfo); - Map readApplicationBasicApplicationVersionCommandParams = new LinkedHashMap(); - InteractionInfo readApplicationBasicApplicationVersionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster).readApplicationVersionAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readApplicationBasicApplicationNameCommandParams); + readApplicationBasicInteractionInfo.put( + "readApplicationNameAttribute", + readApplicationBasicApplicationNameAttributeInteractionInfo); + Map readApplicationBasicProductIDCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationBasicProductIDAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster) + .readProductIDAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readApplicationBasicProductIDCommandParams); + readApplicationBasicInteractionInfo.put( + "readProductIDAttribute", readApplicationBasicProductIDAttributeInteractionInfo); + Map readApplicationBasicStatusCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationBasicStatusAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster) + .readStatusAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readApplicationBasicStatusCommandParams); + readApplicationBasicInteractionInfo.put( + "readStatusAttribute", readApplicationBasicStatusAttributeInteractionInfo); + Map readApplicationBasicApplicationVersionCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationBasicApplicationVersionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster) + .readApplicationVersionAttribute( + (ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readApplicationBasicApplicationVersionCommandParams - ); - readApplicationBasicInteractionInfo.put("readApplicationVersionAttribute", readApplicationBasicApplicationVersionAttributeInteractionInfo); - Map readApplicationBasicAllowedVendorListCommandParams = new LinkedHashMap(); - InteractionInfo readApplicationBasicAllowedVendorListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster).readAllowedVendorListAttribute( - ( ChipClusters.ApplicationBasicCluster.AllowedVendorListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedApplicationBasicClusterAllowedVendorListAttributeCallback(), - readApplicationBasicAllowedVendorListCommandParams - ); - readApplicationBasicInteractionInfo.put("readAllowedVendorListAttribute", readApplicationBasicAllowedVendorListAttributeInteractionInfo); - Map readApplicationBasicGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readApplicationBasicGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.ApplicationBasicCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedApplicationBasicClusterGeneratedCommandListAttributeCallback(), - readApplicationBasicGeneratedCommandListCommandParams - ); - readApplicationBasicInteractionInfo.put("readGeneratedCommandListAttribute", readApplicationBasicGeneratedCommandListAttributeInteractionInfo); - Map readApplicationBasicAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readApplicationBasicAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.ApplicationBasicCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedApplicationBasicClusterAcceptedCommandListAttributeCallback(), - readApplicationBasicAcceptedCommandListCommandParams - ); - readApplicationBasicInteractionInfo.put("readAcceptedCommandListAttribute", readApplicationBasicAcceptedCommandListAttributeInteractionInfo); - Map readApplicationBasicEventListCommandParams = new LinkedHashMap(); - InteractionInfo readApplicationBasicEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster).readEventListAttribute( - ( ChipClusters.ApplicationBasicCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedApplicationBasicClusterEventListAttributeCallback(), - readApplicationBasicEventListCommandParams - ); - readApplicationBasicInteractionInfo.put("readEventListAttribute", readApplicationBasicEventListAttributeInteractionInfo); - Map readApplicationBasicAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readApplicationBasicAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster).readAttributeListAttribute( - ( ChipClusters.ApplicationBasicCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedApplicationBasicClusterAttributeListAttributeCallback(), - readApplicationBasicAttributeListCommandParams - ); - readApplicationBasicInteractionInfo.put("readAttributeListAttribute", readApplicationBasicAttributeListAttributeInteractionInfo); - Map readApplicationBasicFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readApplicationBasicFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readApplicationBasicFeatureMapCommandParams - ); - readApplicationBasicInteractionInfo.put("readFeatureMapAttribute", readApplicationBasicFeatureMapAttributeInteractionInfo); - Map readApplicationBasicClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readApplicationBasicClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationBasicCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readApplicationBasicClusterRevisionCommandParams - ); - readApplicationBasicInteractionInfo.put("readClusterRevisionAttribute", readApplicationBasicClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("applicationBasic", readApplicationBasicInteractionInfo); - Map readAccountLoginInteractionInfo = new LinkedHashMap<>(); - Map readAccountLoginGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readAccountLoginGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccountLoginCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.AccountLoginCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedAccountLoginClusterGeneratedCommandListAttributeCallback(), - readAccountLoginGeneratedCommandListCommandParams - ); - readAccountLoginInteractionInfo.put("readGeneratedCommandListAttribute", readAccountLoginGeneratedCommandListAttributeInteractionInfo); - Map readAccountLoginAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readAccountLoginAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccountLoginCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.AccountLoginCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedAccountLoginClusterAcceptedCommandListAttributeCallback(), - readAccountLoginAcceptedCommandListCommandParams - ); - readAccountLoginInteractionInfo.put("readAcceptedCommandListAttribute", readAccountLoginAcceptedCommandListAttributeInteractionInfo); - Map readAccountLoginEventListCommandParams = new LinkedHashMap(); - InteractionInfo readAccountLoginEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccountLoginCluster) cluster).readEventListAttribute( - ( ChipClusters.AccountLoginCluster.EventListAttributeCallback - ) callback - ); - }, + readApplicationBasicApplicationVersionCommandParams); + readApplicationBasicInteractionInfo.put( + "readApplicationVersionAttribute", + readApplicationBasicApplicationVersionAttributeInteractionInfo); + Map readApplicationBasicAllowedVendorListCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationBasicAllowedVendorListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster) + .readAllowedVendorListAttribute( + (ChipClusters.ApplicationBasicCluster.AllowedVendorListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedApplicationBasicClusterAllowedVendorListAttributeCallback(), + readApplicationBasicAllowedVendorListCommandParams); + readApplicationBasicInteractionInfo.put( + "readAllowedVendorListAttribute", + readApplicationBasicAllowedVendorListAttributeInteractionInfo); + Map readApplicationBasicGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationBasicGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.ApplicationBasicCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedApplicationBasicClusterGeneratedCommandListAttributeCallback(), + readApplicationBasicGeneratedCommandListCommandParams); + readApplicationBasicInteractionInfo.put( + "readGeneratedCommandListAttribute", + readApplicationBasicGeneratedCommandListAttributeInteractionInfo); + Map readApplicationBasicAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationBasicAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.ApplicationBasicCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedApplicationBasicClusterAcceptedCommandListAttributeCallback(), + readApplicationBasicAcceptedCommandListCommandParams); + readApplicationBasicInteractionInfo.put( + "readAcceptedCommandListAttribute", + readApplicationBasicAcceptedCommandListAttributeInteractionInfo); + Map readApplicationBasicEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationBasicEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster) + .readEventListAttribute( + (ChipClusters.ApplicationBasicCluster.EventListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedApplicationBasicClusterEventListAttributeCallback(), + readApplicationBasicEventListCommandParams); + readApplicationBasicInteractionInfo.put( + "readEventListAttribute", readApplicationBasicEventListAttributeInteractionInfo); + Map readApplicationBasicAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationBasicAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.ApplicationBasicCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedApplicationBasicClusterAttributeListAttributeCallback(), + readApplicationBasicAttributeListCommandParams); + readApplicationBasicInteractionInfo.put( + "readAttributeListAttribute", readApplicationBasicAttributeListAttributeInteractionInfo); + Map readApplicationBasicFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationBasicFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readApplicationBasicFeatureMapCommandParams); + readApplicationBasicInteractionInfo.put( + "readFeatureMapAttribute", readApplicationBasicFeatureMapAttributeInteractionInfo); + Map readApplicationBasicClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readApplicationBasicClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationBasicCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readApplicationBasicClusterRevisionCommandParams); + readApplicationBasicInteractionInfo.put( + "readClusterRevisionAttribute", + readApplicationBasicClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("applicationBasic", readApplicationBasicInteractionInfo); + Map readAccountLoginInteractionInfo = new LinkedHashMap<>(); + Map readAccountLoginGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readAccountLoginGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccountLoginCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.AccountLoginCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedAccountLoginClusterGeneratedCommandListAttributeCallback(), + readAccountLoginGeneratedCommandListCommandParams); + readAccountLoginInteractionInfo.put( + "readGeneratedCommandListAttribute", + readAccountLoginGeneratedCommandListAttributeInteractionInfo); + Map readAccountLoginAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readAccountLoginAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccountLoginCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.AccountLoginCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedAccountLoginClusterAcceptedCommandListAttributeCallback(), + readAccountLoginAcceptedCommandListCommandParams); + readAccountLoginInteractionInfo.put( + "readAcceptedCommandListAttribute", + readAccountLoginAcceptedCommandListAttributeInteractionInfo); + Map readAccountLoginEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readAccountLoginEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccountLoginCluster) cluster) + .readEventListAttribute( + (ChipClusters.AccountLoginCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedAccountLoginClusterEventListAttributeCallback(), - readAccountLoginEventListCommandParams - ); - readAccountLoginInteractionInfo.put("readEventListAttribute", readAccountLoginEventListAttributeInteractionInfo); - Map readAccountLoginAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readAccountLoginAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccountLoginCluster) cluster).readAttributeListAttribute( - ( ChipClusters.AccountLoginCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedAccountLoginClusterAttributeListAttributeCallback(), - readAccountLoginAttributeListCommandParams - ); - readAccountLoginInteractionInfo.put("readAttributeListAttribute", readAccountLoginAttributeListAttributeInteractionInfo); - Map readAccountLoginFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readAccountLoginFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccountLoginCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readAccountLoginFeatureMapCommandParams - ); - readAccountLoginInteractionInfo.put("readFeatureMapAttribute", readAccountLoginFeatureMapAttributeInteractionInfo); - Map readAccountLoginClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readAccountLoginClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccountLoginCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readAccountLoginClusterRevisionCommandParams - ); - readAccountLoginInteractionInfo.put("readClusterRevisionAttribute", readAccountLoginClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("accountLogin", readAccountLoginInteractionInfo); - Map readElectricalMeasurementInteractionInfo = new LinkedHashMap<>(); - Map readElectricalMeasurementMeasurementTypeCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementMeasurementTypeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasurementTypeAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readElectricalMeasurementMeasurementTypeCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readMeasurementTypeAttribute", readElectricalMeasurementMeasurementTypeAttributeInteractionInfo); - Map readElectricalMeasurementDcVoltageCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcVoltageAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcVoltageAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcVoltageCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readDcVoltageAttribute", readElectricalMeasurementDcVoltageAttributeInteractionInfo); - Map readElectricalMeasurementDcVoltageMinCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcVoltageMinAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcVoltageMinAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcVoltageMinCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readDcVoltageMinAttribute", readElectricalMeasurementDcVoltageMinAttributeInteractionInfo); - Map readElectricalMeasurementDcVoltageMaxCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcVoltageMaxAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcVoltageMaxAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcVoltageMaxCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readDcVoltageMaxAttribute", readElectricalMeasurementDcVoltageMaxAttributeInteractionInfo); - Map readElectricalMeasurementDcCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcCurrentAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcCurrentCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readDcCurrentAttribute", readElectricalMeasurementDcCurrentAttributeInteractionInfo); - Map readElectricalMeasurementDcCurrentMinCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcCurrentMinAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcCurrentMinAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcCurrentMinCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readDcCurrentMinAttribute", readElectricalMeasurementDcCurrentMinAttributeInteractionInfo); - Map readElectricalMeasurementDcCurrentMaxCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcCurrentMaxAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcCurrentMaxAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcCurrentMaxCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readDcCurrentMaxAttribute", readElectricalMeasurementDcCurrentMaxAttributeInteractionInfo); - Map readElectricalMeasurementDcPowerCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcPowerAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcPowerAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcPowerCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readDcPowerAttribute", readElectricalMeasurementDcPowerAttributeInteractionInfo); - Map readElectricalMeasurementDcPowerMinCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcPowerMinAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcPowerMinAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcPowerMinCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readDcPowerMinAttribute", readElectricalMeasurementDcPowerMinAttributeInteractionInfo); - Map readElectricalMeasurementDcPowerMaxCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcPowerMaxAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcPowerMaxAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcPowerMaxCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readDcPowerMaxAttribute", readElectricalMeasurementDcPowerMaxAttributeInteractionInfo); - Map readElectricalMeasurementDcVoltageMultiplierCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcVoltageMultiplierAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcVoltageMultiplierAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcVoltageMultiplierCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readDcVoltageMultiplierAttribute", readElectricalMeasurementDcVoltageMultiplierAttributeInteractionInfo); - Map readElectricalMeasurementDcVoltageDivisorCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcVoltageDivisorAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcVoltageDivisorAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcVoltageDivisorCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readDcVoltageDivisorAttribute", readElectricalMeasurementDcVoltageDivisorAttributeInteractionInfo); - Map readElectricalMeasurementDcCurrentMultiplierCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcCurrentMultiplierAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcCurrentMultiplierAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcCurrentMultiplierCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readDcCurrentMultiplierAttribute", readElectricalMeasurementDcCurrentMultiplierAttributeInteractionInfo); - Map readElectricalMeasurementDcCurrentDivisorCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcCurrentDivisorAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcCurrentDivisorAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcCurrentDivisorCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readDcCurrentDivisorAttribute", readElectricalMeasurementDcCurrentDivisorAttributeInteractionInfo); - Map readElectricalMeasurementDcPowerMultiplierCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcPowerMultiplierAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcPowerMultiplierAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcPowerMultiplierCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readDcPowerMultiplierAttribute", readElectricalMeasurementDcPowerMultiplierAttributeInteractionInfo); - Map readElectricalMeasurementDcPowerDivisorCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementDcPowerDivisorAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readDcPowerDivisorAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementDcPowerDivisorCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readDcPowerDivisorAttribute", readElectricalMeasurementDcPowerDivisorAttributeInteractionInfo); - Map readElectricalMeasurementAcFrequencyCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcFrequencyAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcFrequencyAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcFrequencyCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAcFrequencyAttribute", readElectricalMeasurementAcFrequencyAttributeInteractionInfo); - Map readElectricalMeasurementAcFrequencyMinCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcFrequencyMinAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcFrequencyMinAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcFrequencyMinCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAcFrequencyMinAttribute", readElectricalMeasurementAcFrequencyMinAttributeInteractionInfo); - Map readElectricalMeasurementAcFrequencyMaxCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcFrequencyMaxAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcFrequencyMaxAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcFrequencyMaxCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAcFrequencyMaxAttribute", readElectricalMeasurementAcFrequencyMaxAttributeInteractionInfo); - Map readElectricalMeasurementNeutralCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementNeutralCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readNeutralCurrentAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementNeutralCurrentCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readNeutralCurrentAttribute", readElectricalMeasurementNeutralCurrentAttributeInteractionInfo); - Map readElectricalMeasurementTotalActivePowerCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementTotalActivePowerAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readTotalActivePowerAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readElectricalMeasurementTotalActivePowerCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readTotalActivePowerAttribute", readElectricalMeasurementTotalActivePowerAttributeInteractionInfo); - Map readElectricalMeasurementTotalReactivePowerCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementTotalReactivePowerAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readTotalReactivePowerAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readElectricalMeasurementTotalReactivePowerCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readTotalReactivePowerAttribute", readElectricalMeasurementTotalReactivePowerAttributeInteractionInfo); - Map readElectricalMeasurementTotalApparentPowerCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementTotalApparentPowerAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readTotalApparentPowerAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readElectricalMeasurementTotalApparentPowerCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readTotalApparentPowerAttribute", readElectricalMeasurementTotalApparentPowerAttributeInteractionInfo); - Map readElectricalMeasurementMeasured1stHarmonicCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementMeasured1stHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasured1stHarmonicCurrentAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasured1stHarmonicCurrentCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readMeasured1stHarmonicCurrentAttribute", readElectricalMeasurementMeasured1stHarmonicCurrentAttributeInteractionInfo); - Map readElectricalMeasurementMeasured3rdHarmonicCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementMeasured3rdHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasured3rdHarmonicCurrentAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasured3rdHarmonicCurrentCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readMeasured3rdHarmonicCurrentAttribute", readElectricalMeasurementMeasured3rdHarmonicCurrentAttributeInteractionInfo); - Map readElectricalMeasurementMeasured5thHarmonicCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementMeasured5thHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasured5thHarmonicCurrentAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasured5thHarmonicCurrentCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readMeasured5thHarmonicCurrentAttribute", readElectricalMeasurementMeasured5thHarmonicCurrentAttributeInteractionInfo); - Map readElectricalMeasurementMeasured7thHarmonicCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementMeasured7thHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasured7thHarmonicCurrentAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasured7thHarmonicCurrentCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readMeasured7thHarmonicCurrentAttribute", readElectricalMeasurementMeasured7thHarmonicCurrentAttributeInteractionInfo); - Map readElectricalMeasurementMeasured9thHarmonicCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementMeasured9thHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasured9thHarmonicCurrentAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasured9thHarmonicCurrentCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readMeasured9thHarmonicCurrentAttribute", readElectricalMeasurementMeasured9thHarmonicCurrentAttributeInteractionInfo); - Map readElectricalMeasurementMeasured11thHarmonicCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementMeasured11thHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasured11thHarmonicCurrentAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasured11thHarmonicCurrentCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readMeasured11thHarmonicCurrentAttribute", readElectricalMeasurementMeasured11thHarmonicCurrentAttributeInteractionInfo); - Map readElectricalMeasurementMeasuredPhase1stHarmonicCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementMeasuredPhase1stHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasuredPhase1stHarmonicCurrentAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasuredPhase1stHarmonicCurrentCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readMeasuredPhase1stHarmonicCurrentAttribute", readElectricalMeasurementMeasuredPhase1stHarmonicCurrentAttributeInteractionInfo); - Map readElectricalMeasurementMeasuredPhase3rdHarmonicCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementMeasuredPhase3rdHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasuredPhase3rdHarmonicCurrentAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasuredPhase3rdHarmonicCurrentCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readMeasuredPhase3rdHarmonicCurrentAttribute", readElectricalMeasurementMeasuredPhase3rdHarmonicCurrentAttributeInteractionInfo); - Map readElectricalMeasurementMeasuredPhase5thHarmonicCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementMeasuredPhase5thHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasuredPhase5thHarmonicCurrentAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasuredPhase5thHarmonicCurrentCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readMeasuredPhase5thHarmonicCurrentAttribute", readElectricalMeasurementMeasuredPhase5thHarmonicCurrentAttributeInteractionInfo); - Map readElectricalMeasurementMeasuredPhase7thHarmonicCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementMeasuredPhase7thHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasuredPhase7thHarmonicCurrentAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasuredPhase7thHarmonicCurrentCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readMeasuredPhase7thHarmonicCurrentAttribute", readElectricalMeasurementMeasuredPhase7thHarmonicCurrentAttributeInteractionInfo); - Map readElectricalMeasurementMeasuredPhase9thHarmonicCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementMeasuredPhase9thHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasuredPhase9thHarmonicCurrentAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasuredPhase9thHarmonicCurrentCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readMeasuredPhase9thHarmonicCurrentAttribute", readElectricalMeasurementMeasuredPhase9thHarmonicCurrentAttributeInteractionInfo); - Map readElectricalMeasurementMeasuredPhase11thHarmonicCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementMeasuredPhase11thHarmonicCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readMeasuredPhase11thHarmonicCurrentAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementMeasuredPhase11thHarmonicCurrentCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readMeasuredPhase11thHarmonicCurrentAttribute", readElectricalMeasurementMeasuredPhase11thHarmonicCurrentAttributeInteractionInfo); - Map readElectricalMeasurementAcFrequencyMultiplierCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcFrequencyMultiplierAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcFrequencyMultiplierAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcFrequencyMultiplierCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAcFrequencyMultiplierAttribute", readElectricalMeasurementAcFrequencyMultiplierAttributeInteractionInfo); - Map readElectricalMeasurementAcFrequencyDivisorCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcFrequencyDivisorAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcFrequencyDivisorAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcFrequencyDivisorCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAcFrequencyDivisorAttribute", readElectricalMeasurementAcFrequencyDivisorAttributeInteractionInfo); - Map readElectricalMeasurementPowerMultiplierCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementPowerMultiplierAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readPowerMultiplierAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readElectricalMeasurementPowerMultiplierCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readPowerMultiplierAttribute", readElectricalMeasurementPowerMultiplierAttributeInteractionInfo); - Map readElectricalMeasurementPowerDivisorCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementPowerDivisorAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readPowerDivisorAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readElectricalMeasurementPowerDivisorCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readPowerDivisorAttribute", readElectricalMeasurementPowerDivisorAttributeInteractionInfo); - Map readElectricalMeasurementHarmonicCurrentMultiplierCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementHarmonicCurrentMultiplierAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readHarmonicCurrentMultiplierAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementHarmonicCurrentMultiplierCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readHarmonicCurrentMultiplierAttribute", readElectricalMeasurementHarmonicCurrentMultiplierAttributeInteractionInfo); - Map readElectricalMeasurementPhaseHarmonicCurrentMultiplierCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementPhaseHarmonicCurrentMultiplierAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readPhaseHarmonicCurrentMultiplierAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementPhaseHarmonicCurrentMultiplierCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readPhaseHarmonicCurrentMultiplierAttribute", readElectricalMeasurementPhaseHarmonicCurrentMultiplierAttributeInteractionInfo); - Map readElectricalMeasurementInstantaneousVoltageCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementInstantaneousVoltageAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readInstantaneousVoltageAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementInstantaneousVoltageCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readInstantaneousVoltageAttribute", readElectricalMeasurementInstantaneousVoltageAttributeInteractionInfo); - Map readElectricalMeasurementInstantaneousLineCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementInstantaneousLineCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readInstantaneousLineCurrentAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementInstantaneousLineCurrentCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readInstantaneousLineCurrentAttribute", readElectricalMeasurementInstantaneousLineCurrentAttributeInteractionInfo); - Map readElectricalMeasurementInstantaneousActiveCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementInstantaneousActiveCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readInstantaneousActiveCurrentAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementInstantaneousActiveCurrentCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readInstantaneousActiveCurrentAttribute", readElectricalMeasurementInstantaneousActiveCurrentAttributeInteractionInfo); - Map readElectricalMeasurementInstantaneousReactiveCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementInstantaneousReactiveCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readInstantaneousReactiveCurrentAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementInstantaneousReactiveCurrentCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readInstantaneousReactiveCurrentAttribute", readElectricalMeasurementInstantaneousReactiveCurrentAttributeInteractionInfo); - Map readElectricalMeasurementInstantaneousPowerCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementInstantaneousPowerAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readInstantaneousPowerAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementInstantaneousPowerCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readInstantaneousPowerAttribute", readElectricalMeasurementInstantaneousPowerAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsVoltageAttribute", readElectricalMeasurementRmsVoltageAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageMinCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageMinAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageMinAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageMinCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsVoltageMinAttribute", readElectricalMeasurementRmsVoltageMinAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageMaxCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageMaxAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageMaxAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageMaxCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsVoltageMaxAttribute", readElectricalMeasurementRmsVoltageMaxAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsCurrentAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsCurrentAttribute", readElectricalMeasurementRmsCurrentAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentMinCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentMinAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsCurrentMinAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentMinCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsCurrentMinAttribute", readElectricalMeasurementRmsCurrentMinAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentMaxCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentMaxAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsCurrentMaxAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentMaxCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsCurrentMaxAttribute", readElectricalMeasurementRmsCurrentMaxAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readActivePowerAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readActivePowerAttribute", readElectricalMeasurementActivePowerAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerMinCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerMinAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readActivePowerMinAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerMinCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readActivePowerMinAttribute", readElectricalMeasurementActivePowerMinAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerMaxCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerMaxAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readActivePowerMaxAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerMaxCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readActivePowerMaxAttribute", readElectricalMeasurementActivePowerMaxAttributeInteractionInfo); - Map readElectricalMeasurementReactivePowerCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementReactivePowerAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readReactivePowerAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementReactivePowerCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readReactivePowerAttribute", readElectricalMeasurementReactivePowerAttributeInteractionInfo); - Map readElectricalMeasurementApparentPowerCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementApparentPowerAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readApparentPowerAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementApparentPowerCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readApparentPowerAttribute", readElectricalMeasurementApparentPowerAttributeInteractionInfo); - Map readElectricalMeasurementPowerFactorCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementPowerFactorAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readPowerFactorAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementPowerFactorCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readPowerFactorAttribute", readElectricalMeasurementPowerFactorAttributeInteractionInfo); - Map readElectricalMeasurementAverageRmsVoltageMeasurementPeriodCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAverageRmsVoltageMeasurementPeriodAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAverageRmsVoltageMeasurementPeriodAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAverageRmsVoltageMeasurementPeriodCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAverageRmsVoltageMeasurementPeriodAttribute", readElectricalMeasurementAverageRmsVoltageMeasurementPeriodAttributeInteractionInfo); - Map readElectricalMeasurementAverageRmsUnderVoltageCounterCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAverageRmsUnderVoltageCounterAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAverageRmsUnderVoltageCounterAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAverageRmsUnderVoltageCounterCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAverageRmsUnderVoltageCounterAttribute", readElectricalMeasurementAverageRmsUnderVoltageCounterAttributeInteractionInfo); - Map readElectricalMeasurementRmsExtremeOverVoltagePeriodCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsExtremeOverVoltagePeriodAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsExtremeOverVoltagePeriodAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsExtremeOverVoltagePeriodCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsExtremeOverVoltagePeriodAttribute", readElectricalMeasurementRmsExtremeOverVoltagePeriodAttributeInteractionInfo); - Map readElectricalMeasurementRmsExtremeUnderVoltagePeriodCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsExtremeUnderVoltagePeriodAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsExtremeUnderVoltagePeriodAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsExtremeUnderVoltagePeriodCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsExtremeUnderVoltagePeriodAttribute", readElectricalMeasurementRmsExtremeUnderVoltagePeriodAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageSagPeriodCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageSagPeriodAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageSagPeriodAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageSagPeriodCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsVoltageSagPeriodAttribute", readElectricalMeasurementRmsVoltageSagPeriodAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageSwellPeriodCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageSwellPeriodAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageSwellPeriodAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageSwellPeriodCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsVoltageSwellPeriodAttribute", readElectricalMeasurementRmsVoltageSwellPeriodAttributeInteractionInfo); - Map readElectricalMeasurementAcVoltageMultiplierCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcVoltageMultiplierAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcVoltageMultiplierAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcVoltageMultiplierCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAcVoltageMultiplierAttribute", readElectricalMeasurementAcVoltageMultiplierAttributeInteractionInfo); - Map readElectricalMeasurementAcVoltageDivisorCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcVoltageDivisorAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcVoltageDivisorAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcVoltageDivisorCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAcVoltageDivisorAttribute", readElectricalMeasurementAcVoltageDivisorAttributeInteractionInfo); - Map readElectricalMeasurementAcCurrentMultiplierCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcCurrentMultiplierAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcCurrentMultiplierAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcCurrentMultiplierCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAcCurrentMultiplierAttribute", readElectricalMeasurementAcCurrentMultiplierAttributeInteractionInfo); - Map readElectricalMeasurementAcCurrentDivisorCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcCurrentDivisorAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcCurrentDivisorAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcCurrentDivisorCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAcCurrentDivisorAttribute", readElectricalMeasurementAcCurrentDivisorAttributeInteractionInfo); - Map readElectricalMeasurementAcPowerMultiplierCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcPowerMultiplierAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcPowerMultiplierAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcPowerMultiplierCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAcPowerMultiplierAttribute", readElectricalMeasurementAcPowerMultiplierAttributeInteractionInfo); - Map readElectricalMeasurementAcPowerDivisorCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcPowerDivisorAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcPowerDivisorAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcPowerDivisorCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAcPowerDivisorAttribute", readElectricalMeasurementAcPowerDivisorAttributeInteractionInfo); - Map readElectricalMeasurementOverloadAlarmsMaskCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementOverloadAlarmsMaskAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readOverloadAlarmsMaskAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementOverloadAlarmsMaskCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readOverloadAlarmsMaskAttribute", readElectricalMeasurementOverloadAlarmsMaskAttributeInteractionInfo); - Map readElectricalMeasurementVoltageOverloadCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementVoltageOverloadAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readVoltageOverloadAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementVoltageOverloadCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readVoltageOverloadAttribute", readElectricalMeasurementVoltageOverloadAttributeInteractionInfo); - Map readElectricalMeasurementCurrentOverloadCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementCurrentOverloadAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readCurrentOverloadAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementCurrentOverloadCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readCurrentOverloadAttribute", readElectricalMeasurementCurrentOverloadAttributeInteractionInfo); - Map readElectricalMeasurementAcOverloadAlarmsMaskCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcOverloadAlarmsMaskAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcOverloadAlarmsMaskAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcOverloadAlarmsMaskCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAcOverloadAlarmsMaskAttribute", readElectricalMeasurementAcOverloadAlarmsMaskAttributeInteractionInfo); - Map readElectricalMeasurementAcVoltageOverloadCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcVoltageOverloadAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcVoltageOverloadAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcVoltageOverloadCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAcVoltageOverloadAttribute", readElectricalMeasurementAcVoltageOverloadAttributeInteractionInfo); - Map readElectricalMeasurementAcCurrentOverloadCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcCurrentOverloadAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcCurrentOverloadAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcCurrentOverloadCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAcCurrentOverloadAttribute", readElectricalMeasurementAcCurrentOverloadAttributeInteractionInfo); - Map readElectricalMeasurementAcActivePowerOverloadCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcActivePowerOverloadAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcActivePowerOverloadAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcActivePowerOverloadCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAcActivePowerOverloadAttribute", readElectricalMeasurementAcActivePowerOverloadAttributeInteractionInfo); - Map readElectricalMeasurementAcReactivePowerOverloadCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcReactivePowerOverloadAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcReactivePowerOverloadAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAcReactivePowerOverloadCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAcReactivePowerOverloadAttribute", readElectricalMeasurementAcReactivePowerOverloadAttributeInteractionInfo); - Map readElectricalMeasurementAverageRmsOverVoltageCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAverageRmsOverVoltageAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAverageRmsOverVoltageAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAverageRmsOverVoltageCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAverageRmsOverVoltageAttribute", readElectricalMeasurementAverageRmsOverVoltageAttributeInteractionInfo); - Map readElectricalMeasurementAverageRmsUnderVoltageCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAverageRmsUnderVoltageAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAverageRmsUnderVoltageAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAverageRmsUnderVoltageCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAverageRmsUnderVoltageAttribute", readElectricalMeasurementAverageRmsUnderVoltageAttributeInteractionInfo); - Map readElectricalMeasurementRmsExtremeOverVoltageCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsExtremeOverVoltageAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsExtremeOverVoltageAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsExtremeOverVoltageCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsExtremeOverVoltageAttribute", readElectricalMeasurementRmsExtremeOverVoltageAttributeInteractionInfo); - Map readElectricalMeasurementRmsExtremeUnderVoltageCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsExtremeUnderVoltageAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsExtremeUnderVoltageAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsExtremeUnderVoltageCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsExtremeUnderVoltageAttribute", readElectricalMeasurementRmsExtremeUnderVoltageAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageSagCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageSagAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageSagAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageSagCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsVoltageSagAttribute", readElectricalMeasurementRmsVoltageSagAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageSwellCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageSwellAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageSwellAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageSwellCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsVoltageSwellAttribute", readElectricalMeasurementRmsVoltageSwellAttributeInteractionInfo); - Map readElectricalMeasurementLineCurrentPhaseBCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementLineCurrentPhaseBAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readLineCurrentPhaseBAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementLineCurrentPhaseBCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readLineCurrentPhaseBAttribute", readElectricalMeasurementLineCurrentPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementActiveCurrentPhaseBCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActiveCurrentPhaseBAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readActiveCurrentPhaseBAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActiveCurrentPhaseBCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readActiveCurrentPhaseBAttribute", readElectricalMeasurementActiveCurrentPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementReactiveCurrentPhaseBCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementReactiveCurrentPhaseBAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readReactiveCurrentPhaseBAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementReactiveCurrentPhaseBCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readReactiveCurrentPhaseBAttribute", readElectricalMeasurementReactiveCurrentPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltagePhaseBCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltagePhaseBAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltagePhaseBAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltagePhaseBCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsVoltagePhaseBAttribute", readElectricalMeasurementRmsVoltagePhaseBAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageMinPhaseBCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageMinPhaseBAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageMinPhaseBAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageMinPhaseBCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsVoltageMinPhaseBAttribute", readElectricalMeasurementRmsVoltageMinPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageMaxPhaseBCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageMaxPhaseBAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageMaxPhaseBAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageMaxPhaseBCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsVoltageMaxPhaseBAttribute", readElectricalMeasurementRmsVoltageMaxPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentPhaseBCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentPhaseBAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsCurrentPhaseBAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentPhaseBCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsCurrentPhaseBAttribute", readElectricalMeasurementRmsCurrentPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentMinPhaseBCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentMinPhaseBAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsCurrentMinPhaseBAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentMinPhaseBCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsCurrentMinPhaseBAttribute", readElectricalMeasurementRmsCurrentMinPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentMaxPhaseBCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentMaxPhaseBAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsCurrentMaxPhaseBAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentMaxPhaseBCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsCurrentMaxPhaseBAttribute", readElectricalMeasurementRmsCurrentMaxPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerPhaseBCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerPhaseBAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readActivePowerPhaseBAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerPhaseBCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readActivePowerPhaseBAttribute", readElectricalMeasurementActivePowerPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerMinPhaseBCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerMinPhaseBAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readActivePowerMinPhaseBAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerMinPhaseBCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readActivePowerMinPhaseBAttribute", readElectricalMeasurementActivePowerMinPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerMaxPhaseBCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerMaxPhaseBAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readActivePowerMaxPhaseBAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerMaxPhaseBCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readActivePowerMaxPhaseBAttribute", readElectricalMeasurementActivePowerMaxPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementReactivePowerPhaseBCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementReactivePowerPhaseBAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readReactivePowerPhaseBAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementReactivePowerPhaseBCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readReactivePowerPhaseBAttribute", readElectricalMeasurementReactivePowerPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementApparentPowerPhaseBCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementApparentPowerPhaseBAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readApparentPowerPhaseBAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementApparentPowerPhaseBCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readApparentPowerPhaseBAttribute", readElectricalMeasurementApparentPowerPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementPowerFactorPhaseBCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementPowerFactorPhaseBAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readPowerFactorPhaseBAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementPowerFactorPhaseBCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readPowerFactorPhaseBAttribute", readElectricalMeasurementPowerFactorPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseBCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseBAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAverageRmsVoltageMeasurementPeriodPhaseBAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseBCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAverageRmsVoltageMeasurementPeriodPhaseBAttribute", readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementAverageRmsOverVoltageCounterPhaseBCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAverageRmsOverVoltageCounterPhaseBAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAverageRmsOverVoltageCounterPhaseBAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAverageRmsOverVoltageCounterPhaseBCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAverageRmsOverVoltageCounterPhaseBAttribute", readElectricalMeasurementAverageRmsOverVoltageCounterPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseBCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseBAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAverageRmsUnderVoltageCounterPhaseBAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseBCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAverageRmsUnderVoltageCounterPhaseBAttribute", readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseBCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseBAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsExtremeOverVoltagePeriodPhaseBAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseBCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsExtremeOverVoltagePeriodPhaseBAttribute", readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseBCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseBAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsExtremeUnderVoltagePeriodPhaseBAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseBCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsExtremeUnderVoltagePeriodPhaseBAttribute", readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageSagPeriodPhaseBCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageSagPeriodPhaseBAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageSagPeriodPhaseBAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageSagPeriodPhaseBCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsVoltageSagPeriodPhaseBAttribute", readElectricalMeasurementRmsVoltageSagPeriodPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageSwellPeriodPhaseBCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageSwellPeriodPhaseBAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageSwellPeriodPhaseBAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageSwellPeriodPhaseBCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsVoltageSwellPeriodPhaseBAttribute", readElectricalMeasurementRmsVoltageSwellPeriodPhaseBAttributeInteractionInfo); - Map readElectricalMeasurementLineCurrentPhaseCCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementLineCurrentPhaseCAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readLineCurrentPhaseCAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementLineCurrentPhaseCCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readLineCurrentPhaseCAttribute", readElectricalMeasurementLineCurrentPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementActiveCurrentPhaseCCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActiveCurrentPhaseCAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readActiveCurrentPhaseCAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActiveCurrentPhaseCCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readActiveCurrentPhaseCAttribute", readElectricalMeasurementActiveCurrentPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementReactiveCurrentPhaseCCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementReactiveCurrentPhaseCAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readReactiveCurrentPhaseCAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementReactiveCurrentPhaseCCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readReactiveCurrentPhaseCAttribute", readElectricalMeasurementReactiveCurrentPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltagePhaseCCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltagePhaseCAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltagePhaseCAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltagePhaseCCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsVoltagePhaseCAttribute", readElectricalMeasurementRmsVoltagePhaseCAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageMinPhaseCCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageMinPhaseCAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageMinPhaseCAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageMinPhaseCCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsVoltageMinPhaseCAttribute", readElectricalMeasurementRmsVoltageMinPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageMaxPhaseCCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageMaxPhaseCAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageMaxPhaseCAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageMaxPhaseCCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsVoltageMaxPhaseCAttribute", readElectricalMeasurementRmsVoltageMaxPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentPhaseCCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentPhaseCAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsCurrentPhaseCAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentPhaseCCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsCurrentPhaseCAttribute", readElectricalMeasurementRmsCurrentPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentMinPhaseCCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentMinPhaseCAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsCurrentMinPhaseCAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentMinPhaseCCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsCurrentMinPhaseCAttribute", readElectricalMeasurementRmsCurrentMinPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementRmsCurrentMaxPhaseCCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsCurrentMaxPhaseCAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsCurrentMaxPhaseCAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsCurrentMaxPhaseCCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsCurrentMaxPhaseCAttribute", readElectricalMeasurementRmsCurrentMaxPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerPhaseCCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerPhaseCAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readActivePowerPhaseCAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerPhaseCCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readActivePowerPhaseCAttribute", readElectricalMeasurementActivePowerPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerMinPhaseCCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerMinPhaseCAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readActivePowerMinPhaseCAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerMinPhaseCCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readActivePowerMinPhaseCAttribute", readElectricalMeasurementActivePowerMinPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementActivePowerMaxPhaseCCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementActivePowerMaxPhaseCAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readActivePowerMaxPhaseCAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementActivePowerMaxPhaseCCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readActivePowerMaxPhaseCAttribute", readElectricalMeasurementActivePowerMaxPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementReactivePowerPhaseCCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementReactivePowerPhaseCAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readReactivePowerPhaseCAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementReactivePowerPhaseCCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readReactivePowerPhaseCAttribute", readElectricalMeasurementReactivePowerPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementApparentPowerPhaseCCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementApparentPowerPhaseCAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readApparentPowerPhaseCAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementApparentPowerPhaseCCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readApparentPowerPhaseCAttribute", readElectricalMeasurementApparentPowerPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementPowerFactorPhaseCCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementPowerFactorPhaseCAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readPowerFactorPhaseCAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementPowerFactorPhaseCCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readPowerFactorPhaseCAttribute", readElectricalMeasurementPowerFactorPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseCCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseCAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAverageRmsVoltageMeasurementPeriodPhaseCAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseCCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAverageRmsVoltageMeasurementPeriodPhaseCAttribute", readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementAverageRmsOverVoltageCounterPhaseCCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAverageRmsOverVoltageCounterPhaseCAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAverageRmsOverVoltageCounterPhaseCAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAverageRmsOverVoltageCounterPhaseCCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAverageRmsOverVoltageCounterPhaseCAttribute", readElectricalMeasurementAverageRmsOverVoltageCounterPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseCCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseCAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAverageRmsUnderVoltageCounterPhaseCAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseCCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAverageRmsUnderVoltageCounterPhaseCAttribute", readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseCCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseCAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsExtremeOverVoltagePeriodPhaseCAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseCCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsExtremeOverVoltagePeriodPhaseCAttribute", readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseCCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseCAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsExtremeUnderVoltagePeriodPhaseCAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseCCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsExtremeUnderVoltagePeriodPhaseCAttribute", readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageSagPeriodPhaseCCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageSagPeriodPhaseCAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageSagPeriodPhaseCAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageSagPeriodPhaseCCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsVoltageSagPeriodPhaseCAttribute", readElectricalMeasurementRmsVoltageSagPeriodPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementRmsVoltageSwellPeriodPhaseCCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementRmsVoltageSwellPeriodPhaseCAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readRmsVoltageSwellPeriodPhaseCAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementRmsVoltageSwellPeriodPhaseCCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readRmsVoltageSwellPeriodPhaseCAttribute", readElectricalMeasurementRmsVoltageSwellPeriodPhaseCAttributeInteractionInfo); - Map readElectricalMeasurementGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.ElectricalMeasurementCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedElectricalMeasurementClusterGeneratedCommandListAttributeCallback(), - readElectricalMeasurementGeneratedCommandListCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readGeneratedCommandListAttribute", readElectricalMeasurementGeneratedCommandListAttributeInteractionInfo); - Map readElectricalMeasurementAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.ElectricalMeasurementCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedElectricalMeasurementClusterAcceptedCommandListAttributeCallback(), - readElectricalMeasurementAcceptedCommandListCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAcceptedCommandListAttribute", readElectricalMeasurementAcceptedCommandListAttributeInteractionInfo); - Map readElectricalMeasurementEventListCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readEventListAttribute( - ( ChipClusters.ElectricalMeasurementCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedElectricalMeasurementClusterEventListAttributeCallback(), - readElectricalMeasurementEventListCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readEventListAttribute", readElectricalMeasurementEventListAttributeInteractionInfo); - Map readElectricalMeasurementAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readAttributeListAttribute( - ( ChipClusters.ElectricalMeasurementCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedElectricalMeasurementClusterAttributeListAttributeCallback(), - readElectricalMeasurementAttributeListCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readAttributeListAttribute", readElectricalMeasurementAttributeListAttributeInteractionInfo); - Map readElectricalMeasurementFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readElectricalMeasurementFeatureMapCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readFeatureMapAttribute", readElectricalMeasurementFeatureMapAttributeInteractionInfo); - Map readElectricalMeasurementClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readElectricalMeasurementClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ElectricalMeasurementCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readElectricalMeasurementClusterRevisionCommandParams - ); - readElectricalMeasurementInteractionInfo.put("readClusterRevisionAttribute", readElectricalMeasurementClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("electricalMeasurement", readElectricalMeasurementInteractionInfo); - Map readClientMonitoringInteractionInfo = new LinkedHashMap<>(); - Map readClientMonitoringIdleModeIntervalCommandParams = new LinkedHashMap(); - InteractionInfo readClientMonitoringIdleModeIntervalAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster).readIdleModeIntervalAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readClientMonitoringIdleModeIntervalCommandParams - ); - readClientMonitoringInteractionInfo.put("readIdleModeIntervalAttribute", readClientMonitoringIdleModeIntervalAttributeInteractionInfo); - Map readClientMonitoringActiveModeIntervalCommandParams = new LinkedHashMap(); - InteractionInfo readClientMonitoringActiveModeIntervalAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster).readActiveModeIntervalAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readClientMonitoringActiveModeIntervalCommandParams - ); - readClientMonitoringInteractionInfo.put("readActiveModeIntervalAttribute", readClientMonitoringActiveModeIntervalAttributeInteractionInfo); - Map readClientMonitoringActiveModeThresholdCommandParams = new LinkedHashMap(); - InteractionInfo readClientMonitoringActiveModeThresholdAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster).readActiveModeThresholdAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readClientMonitoringActiveModeThresholdCommandParams - ); - readClientMonitoringInteractionInfo.put("readActiveModeThresholdAttribute", readClientMonitoringActiveModeThresholdAttributeInteractionInfo); - Map readClientMonitoringExpectedClientsCommandParams = new LinkedHashMap(); - InteractionInfo readClientMonitoringExpectedClientsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster).readExpectedClientsAttribute( - ( ChipClusters.ClientMonitoringCluster.ExpectedClientsAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedClientMonitoringClusterExpectedClientsAttributeCallback(), - readClientMonitoringExpectedClientsCommandParams - ); - readClientMonitoringInteractionInfo.put("readExpectedClientsAttribute", readClientMonitoringExpectedClientsAttributeInteractionInfo); - Map readClientMonitoringGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readClientMonitoringGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.ClientMonitoringCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedClientMonitoringClusterGeneratedCommandListAttributeCallback(), - readClientMonitoringGeneratedCommandListCommandParams - ); - readClientMonitoringInteractionInfo.put("readGeneratedCommandListAttribute", readClientMonitoringGeneratedCommandListAttributeInteractionInfo); - Map readClientMonitoringAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readClientMonitoringAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.ClientMonitoringCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedClientMonitoringClusterAcceptedCommandListAttributeCallback(), - readClientMonitoringAcceptedCommandListCommandParams - ); - readClientMonitoringInteractionInfo.put("readAcceptedCommandListAttribute", readClientMonitoringAcceptedCommandListAttributeInteractionInfo); - Map readClientMonitoringEventListCommandParams = new LinkedHashMap(); - InteractionInfo readClientMonitoringEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster).readEventListAttribute( - ( ChipClusters.ClientMonitoringCluster.EventListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedClientMonitoringClusterEventListAttributeCallback(), - readClientMonitoringEventListCommandParams - ); - readClientMonitoringInteractionInfo.put("readEventListAttribute", readClientMonitoringEventListAttributeInteractionInfo); - Map readClientMonitoringAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readClientMonitoringAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster).readAttributeListAttribute( - ( ChipClusters.ClientMonitoringCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedClientMonitoringClusterAttributeListAttributeCallback(), - readClientMonitoringAttributeListCommandParams - ); - readClientMonitoringInteractionInfo.put("readAttributeListAttribute", readClientMonitoringAttributeListAttributeInteractionInfo); - Map readClientMonitoringFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readClientMonitoringFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readClientMonitoringFeatureMapCommandParams - ); - readClientMonitoringInteractionInfo.put("readFeatureMapAttribute", readClientMonitoringFeatureMapAttributeInteractionInfo); - Map readClientMonitoringClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readClientMonitoringClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ClientMonitoringCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readClientMonitoringClusterRevisionCommandParams - ); - readClientMonitoringInteractionInfo.put("readClusterRevisionAttribute", readClientMonitoringClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("clientMonitoring", readClientMonitoringInteractionInfo); - Map readUnitTestingInteractionInfo = new LinkedHashMap<>(); - Map readUnitTestingBooleanCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingBooleanAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readBooleanAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readAccountLoginEventListCommandParams); + readAccountLoginInteractionInfo.put( + "readEventListAttribute", readAccountLoginEventListAttributeInteractionInfo); + Map readAccountLoginAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readAccountLoginAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccountLoginCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.AccountLoginCluster.AttributeListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedAccountLoginClusterAttributeListAttributeCallback(), + readAccountLoginAttributeListCommandParams); + readAccountLoginInteractionInfo.put( + "readAttributeListAttribute", readAccountLoginAttributeListAttributeInteractionInfo); + Map readAccountLoginFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readAccountLoginFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccountLoginCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readAccountLoginFeatureMapCommandParams); + readAccountLoginInteractionInfo.put( + "readFeatureMapAttribute", readAccountLoginFeatureMapAttributeInteractionInfo); + Map readAccountLoginClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readAccountLoginClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccountLoginCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readAccountLoginClusterRevisionCommandParams); + readAccountLoginInteractionInfo.put( + "readClusterRevisionAttribute", readAccountLoginClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("accountLogin", readAccountLoginInteractionInfo); + Map readElectricalMeasurementInteractionInfo = new LinkedHashMap<>(); + Map readElectricalMeasurementMeasurementTypeCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasurementTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasurementTypeAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readElectricalMeasurementMeasurementTypeCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasurementTypeAttribute", + readElectricalMeasurementMeasurementTypeAttributeInteractionInfo); + Map readElectricalMeasurementDcVoltageCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcVoltageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readDcVoltageAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcVoltageCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readDcVoltageAttribute", readElectricalMeasurementDcVoltageAttributeInteractionInfo); + Map readElectricalMeasurementDcVoltageMinCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcVoltageMinAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readDcVoltageMinAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcVoltageMinCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readDcVoltageMinAttribute", readElectricalMeasurementDcVoltageMinAttributeInteractionInfo); + Map readElectricalMeasurementDcVoltageMaxCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcVoltageMaxAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readDcVoltageMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcVoltageMaxCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readDcVoltageMaxAttribute", readElectricalMeasurementDcVoltageMaxAttributeInteractionInfo); + Map readElectricalMeasurementDcCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readDcCurrentAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readDcCurrentAttribute", readElectricalMeasurementDcCurrentAttributeInteractionInfo); + Map readElectricalMeasurementDcCurrentMinCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcCurrentMinAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readDcCurrentMinAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcCurrentMinCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readDcCurrentMinAttribute", readElectricalMeasurementDcCurrentMinAttributeInteractionInfo); + Map readElectricalMeasurementDcCurrentMaxCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcCurrentMaxAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readDcCurrentMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcCurrentMaxCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readDcCurrentMaxAttribute", readElectricalMeasurementDcCurrentMaxAttributeInteractionInfo); + Map readElectricalMeasurementDcPowerCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcPowerAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readDcPowerAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcPowerCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readDcPowerAttribute", readElectricalMeasurementDcPowerAttributeInteractionInfo); + Map readElectricalMeasurementDcPowerMinCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcPowerMinAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readDcPowerMinAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcPowerMinCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readDcPowerMinAttribute", readElectricalMeasurementDcPowerMinAttributeInteractionInfo); + Map readElectricalMeasurementDcPowerMaxCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcPowerMaxAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readDcPowerMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcPowerMaxCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readDcPowerMaxAttribute", readElectricalMeasurementDcPowerMaxAttributeInteractionInfo); + Map readElectricalMeasurementDcVoltageMultiplierCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcVoltageMultiplierAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readDcVoltageMultiplierAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcVoltageMultiplierCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readDcVoltageMultiplierAttribute", + readElectricalMeasurementDcVoltageMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementDcVoltageDivisorCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcVoltageDivisorAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readDcVoltageDivisorAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcVoltageDivisorCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readDcVoltageDivisorAttribute", + readElectricalMeasurementDcVoltageDivisorAttributeInteractionInfo); + Map readElectricalMeasurementDcCurrentMultiplierCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcCurrentMultiplierAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readDcCurrentMultiplierAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcCurrentMultiplierCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readDcCurrentMultiplierAttribute", + readElectricalMeasurementDcCurrentMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementDcCurrentDivisorCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcCurrentDivisorAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readDcCurrentDivisorAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcCurrentDivisorCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readDcCurrentDivisorAttribute", + readElectricalMeasurementDcCurrentDivisorAttributeInteractionInfo); + Map readElectricalMeasurementDcPowerMultiplierCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcPowerMultiplierAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readDcPowerMultiplierAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcPowerMultiplierCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readDcPowerMultiplierAttribute", + readElectricalMeasurementDcPowerMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementDcPowerDivisorCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementDcPowerDivisorAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readDcPowerDivisorAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementDcPowerDivisorCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readDcPowerDivisorAttribute", + readElectricalMeasurementDcPowerDivisorAttributeInteractionInfo); + Map readElectricalMeasurementAcFrequencyCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcFrequencyAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcFrequencyAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcFrequencyCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcFrequencyAttribute", readElectricalMeasurementAcFrequencyAttributeInteractionInfo); + Map readElectricalMeasurementAcFrequencyMinCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcFrequencyMinAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcFrequencyMinAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcFrequencyMinCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcFrequencyMinAttribute", + readElectricalMeasurementAcFrequencyMinAttributeInteractionInfo); + Map readElectricalMeasurementAcFrequencyMaxCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcFrequencyMaxAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcFrequencyMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcFrequencyMaxCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcFrequencyMaxAttribute", + readElectricalMeasurementAcFrequencyMaxAttributeInteractionInfo); + Map readElectricalMeasurementNeutralCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementNeutralCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readNeutralCurrentAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementNeutralCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readNeutralCurrentAttribute", + readElectricalMeasurementNeutralCurrentAttributeInteractionInfo); + Map readElectricalMeasurementTotalActivePowerCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementTotalActivePowerAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readTotalActivePowerAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readElectricalMeasurementTotalActivePowerCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readTotalActivePowerAttribute", + readElectricalMeasurementTotalActivePowerAttributeInteractionInfo); + Map readElectricalMeasurementTotalReactivePowerCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementTotalReactivePowerAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readTotalReactivePowerAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readElectricalMeasurementTotalReactivePowerCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readTotalReactivePowerAttribute", + readElectricalMeasurementTotalReactivePowerAttributeInteractionInfo); + Map readElectricalMeasurementTotalApparentPowerCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementTotalApparentPowerAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readTotalApparentPowerAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readElectricalMeasurementTotalApparentPowerCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readTotalApparentPowerAttribute", + readElectricalMeasurementTotalApparentPowerAttributeInteractionInfo); + Map + readElectricalMeasurementMeasured1stHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasured1stHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasured1stHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasured1stHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasured1stHarmonicCurrentAttribute", + readElectricalMeasurementMeasured1stHarmonicCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementMeasured3rdHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasured3rdHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasured3rdHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasured3rdHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasured3rdHarmonicCurrentAttribute", + readElectricalMeasurementMeasured3rdHarmonicCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementMeasured5thHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasured5thHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasured5thHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasured5thHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasured5thHarmonicCurrentAttribute", + readElectricalMeasurementMeasured5thHarmonicCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementMeasured7thHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasured7thHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasured7thHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasured7thHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasured7thHarmonicCurrentAttribute", + readElectricalMeasurementMeasured7thHarmonicCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementMeasured9thHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasured9thHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasured9thHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasured9thHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasured9thHarmonicCurrentAttribute", + readElectricalMeasurementMeasured9thHarmonicCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementMeasured11thHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementMeasured11thHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasured11thHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasured11thHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasured11thHarmonicCurrentAttribute", + readElectricalMeasurementMeasured11thHarmonicCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementMeasuredPhase1stHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementMeasuredPhase1stHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasuredPhase1stHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasuredPhase1stHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasuredPhase1stHarmonicCurrentAttribute", + readElectricalMeasurementMeasuredPhase1stHarmonicCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementMeasuredPhase3rdHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementMeasuredPhase3rdHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasuredPhase3rdHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasuredPhase3rdHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasuredPhase3rdHarmonicCurrentAttribute", + readElectricalMeasurementMeasuredPhase3rdHarmonicCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementMeasuredPhase5thHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementMeasuredPhase5thHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasuredPhase5thHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasuredPhase5thHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasuredPhase5thHarmonicCurrentAttribute", + readElectricalMeasurementMeasuredPhase5thHarmonicCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementMeasuredPhase7thHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementMeasuredPhase7thHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasuredPhase7thHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasuredPhase7thHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasuredPhase7thHarmonicCurrentAttribute", + readElectricalMeasurementMeasuredPhase7thHarmonicCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementMeasuredPhase9thHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementMeasuredPhase9thHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasuredPhase9thHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasuredPhase9thHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasuredPhase9thHarmonicCurrentAttribute", + readElectricalMeasurementMeasuredPhase9thHarmonicCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementMeasuredPhase11thHarmonicCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementMeasuredPhase11thHarmonicCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readMeasuredPhase11thHarmonicCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementMeasuredPhase11thHarmonicCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readMeasuredPhase11thHarmonicCurrentAttribute", + readElectricalMeasurementMeasuredPhase11thHarmonicCurrentAttributeInteractionInfo); + Map readElectricalMeasurementAcFrequencyMultiplierCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcFrequencyMultiplierAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcFrequencyMultiplierAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcFrequencyMultiplierCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcFrequencyMultiplierAttribute", + readElectricalMeasurementAcFrequencyMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementAcFrequencyDivisorCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcFrequencyDivisorAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcFrequencyDivisorAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcFrequencyDivisorCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcFrequencyDivisorAttribute", + readElectricalMeasurementAcFrequencyDivisorAttributeInteractionInfo); + Map readElectricalMeasurementPowerMultiplierCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementPowerMultiplierAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readPowerMultiplierAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readElectricalMeasurementPowerMultiplierCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readPowerMultiplierAttribute", + readElectricalMeasurementPowerMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementPowerDivisorCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementPowerDivisorAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readPowerDivisorAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readElectricalMeasurementPowerDivisorCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readPowerDivisorAttribute", readElectricalMeasurementPowerDivisorAttributeInteractionInfo); + Map + readElectricalMeasurementHarmonicCurrentMultiplierCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementHarmonicCurrentMultiplierAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readHarmonicCurrentMultiplierAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementHarmonicCurrentMultiplierCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readHarmonicCurrentMultiplierAttribute", + readElectricalMeasurementHarmonicCurrentMultiplierAttributeInteractionInfo); + Map + readElectricalMeasurementPhaseHarmonicCurrentMultiplierCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementPhaseHarmonicCurrentMultiplierAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readPhaseHarmonicCurrentMultiplierAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementPhaseHarmonicCurrentMultiplierCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readPhaseHarmonicCurrentMultiplierAttribute", + readElectricalMeasurementPhaseHarmonicCurrentMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementInstantaneousVoltageCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementInstantaneousVoltageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readInstantaneousVoltageAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementInstantaneousVoltageCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readInstantaneousVoltageAttribute", + readElectricalMeasurementInstantaneousVoltageAttributeInteractionInfo); + Map + readElectricalMeasurementInstantaneousLineCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementInstantaneousLineCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readInstantaneousLineCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementInstantaneousLineCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readInstantaneousLineCurrentAttribute", + readElectricalMeasurementInstantaneousLineCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementInstantaneousActiveCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementInstantaneousActiveCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readInstantaneousActiveCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementInstantaneousActiveCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readInstantaneousActiveCurrentAttribute", + readElectricalMeasurementInstantaneousActiveCurrentAttributeInteractionInfo); + Map + readElectricalMeasurementInstantaneousReactiveCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementInstantaneousReactiveCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readInstantaneousReactiveCurrentAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementInstantaneousReactiveCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readInstantaneousReactiveCurrentAttribute", + readElectricalMeasurementInstantaneousReactiveCurrentAttributeInteractionInfo); + Map readElectricalMeasurementInstantaneousPowerCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementInstantaneousPowerAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readInstantaneousPowerAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementInstantaneousPowerCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readInstantaneousPowerAttribute", + readElectricalMeasurementInstantaneousPowerAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageAttribute", readElectricalMeasurementRmsVoltageAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageMinCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageMinAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageMinAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageMinCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageMinAttribute", + readElectricalMeasurementRmsVoltageMinAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageMaxCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageMaxAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageMaxCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageMaxAttribute", + readElectricalMeasurementRmsVoltageMaxAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsCurrentAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsCurrentAttribute", readElectricalMeasurementRmsCurrentAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentMinCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentMinAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsCurrentMinAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentMinCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsCurrentMinAttribute", + readElectricalMeasurementRmsCurrentMinAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentMaxCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentMaxAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsCurrentMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentMaxCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsCurrentMaxAttribute", + readElectricalMeasurementRmsCurrentMaxAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActivePowerAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActivePowerAttribute", readElectricalMeasurementActivePowerAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerMinCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerMinAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActivePowerMinAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerMinCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActivePowerMinAttribute", + readElectricalMeasurementActivePowerMinAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerMaxCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerMaxAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActivePowerMaxAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerMaxCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActivePowerMaxAttribute", + readElectricalMeasurementActivePowerMaxAttributeInteractionInfo); + Map readElectricalMeasurementReactivePowerCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementReactivePowerAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readReactivePowerAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementReactivePowerCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readReactivePowerAttribute", + readElectricalMeasurementReactivePowerAttributeInteractionInfo); + Map readElectricalMeasurementApparentPowerCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementApparentPowerAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readApparentPowerAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementApparentPowerCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readApparentPowerAttribute", + readElectricalMeasurementApparentPowerAttributeInteractionInfo); + Map readElectricalMeasurementPowerFactorCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementPowerFactorAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readPowerFactorAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementPowerFactorCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readPowerFactorAttribute", readElectricalMeasurementPowerFactorAttributeInteractionInfo); + Map + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAverageRmsVoltageMeasurementPeriodAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAverageRmsVoltageMeasurementPeriodAttribute", + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodAttributeInteractionInfo); + Map + readElectricalMeasurementAverageRmsUnderVoltageCounterCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAverageRmsUnderVoltageCounterAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAverageRmsUnderVoltageCounterAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsUnderVoltageCounterCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAverageRmsUnderVoltageCounterAttribute", + readElectricalMeasurementAverageRmsUnderVoltageCounterAttributeInteractionInfo); + Map + readElectricalMeasurementRmsExtremeOverVoltagePeriodCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsExtremeOverVoltagePeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsExtremeOverVoltagePeriodAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeOverVoltagePeriodCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsExtremeOverVoltagePeriodAttribute", + readElectricalMeasurementRmsExtremeOverVoltagePeriodAttributeInteractionInfo); + Map + readElectricalMeasurementRmsExtremeUnderVoltagePeriodCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsExtremeUnderVoltagePeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsExtremeUnderVoltagePeriodAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeUnderVoltagePeriodCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsExtremeUnderVoltagePeriodAttribute", + readElectricalMeasurementRmsExtremeUnderVoltagePeriodAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageSagPeriodCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSagPeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageSagPeriodAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSagPeriodCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageSagPeriodAttribute", + readElectricalMeasurementRmsVoltageSagPeriodAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageSwellPeriodCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSwellPeriodAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageSwellPeriodAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSwellPeriodCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageSwellPeriodAttribute", + readElectricalMeasurementRmsVoltageSwellPeriodAttributeInteractionInfo); + Map readElectricalMeasurementAcVoltageMultiplierCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcVoltageMultiplierAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcVoltageMultiplierAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcVoltageMultiplierCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcVoltageMultiplierAttribute", + readElectricalMeasurementAcVoltageMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementAcVoltageDivisorCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcVoltageDivisorAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcVoltageDivisorAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcVoltageDivisorCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcVoltageDivisorAttribute", + readElectricalMeasurementAcVoltageDivisorAttributeInteractionInfo); + Map readElectricalMeasurementAcCurrentMultiplierCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcCurrentMultiplierAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcCurrentMultiplierAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcCurrentMultiplierCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcCurrentMultiplierAttribute", + readElectricalMeasurementAcCurrentMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementAcCurrentDivisorCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcCurrentDivisorAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcCurrentDivisorAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcCurrentDivisorCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcCurrentDivisorAttribute", + readElectricalMeasurementAcCurrentDivisorAttributeInteractionInfo); + Map readElectricalMeasurementAcPowerMultiplierCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcPowerMultiplierAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcPowerMultiplierAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcPowerMultiplierCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcPowerMultiplierAttribute", + readElectricalMeasurementAcPowerMultiplierAttributeInteractionInfo); + Map readElectricalMeasurementAcPowerDivisorCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcPowerDivisorAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcPowerDivisorAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcPowerDivisorCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcPowerDivisorAttribute", + readElectricalMeasurementAcPowerDivisorAttributeInteractionInfo); + Map readElectricalMeasurementOverloadAlarmsMaskCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementOverloadAlarmsMaskAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readOverloadAlarmsMaskAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementOverloadAlarmsMaskCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readOverloadAlarmsMaskAttribute", + readElectricalMeasurementOverloadAlarmsMaskAttributeInteractionInfo); + Map readElectricalMeasurementVoltageOverloadCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementVoltageOverloadAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readVoltageOverloadAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementVoltageOverloadCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readVoltageOverloadAttribute", + readElectricalMeasurementVoltageOverloadAttributeInteractionInfo); + Map readElectricalMeasurementCurrentOverloadCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementCurrentOverloadAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readCurrentOverloadAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementCurrentOverloadCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readCurrentOverloadAttribute", + readElectricalMeasurementCurrentOverloadAttributeInteractionInfo); + Map readElectricalMeasurementAcOverloadAlarmsMaskCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcOverloadAlarmsMaskAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcOverloadAlarmsMaskAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcOverloadAlarmsMaskCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcOverloadAlarmsMaskAttribute", + readElectricalMeasurementAcOverloadAlarmsMaskAttributeInteractionInfo); + Map readElectricalMeasurementAcVoltageOverloadCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcVoltageOverloadAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcVoltageOverloadAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcVoltageOverloadCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcVoltageOverloadAttribute", + readElectricalMeasurementAcVoltageOverloadAttributeInteractionInfo); + Map readElectricalMeasurementAcCurrentOverloadCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcCurrentOverloadAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcCurrentOverloadAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcCurrentOverloadCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcCurrentOverloadAttribute", + readElectricalMeasurementAcCurrentOverloadAttributeInteractionInfo); + Map readElectricalMeasurementAcActivePowerOverloadCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcActivePowerOverloadAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcActivePowerOverloadAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcActivePowerOverloadCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcActivePowerOverloadAttribute", + readElectricalMeasurementAcActivePowerOverloadAttributeInteractionInfo); + Map + readElectricalMeasurementAcReactivePowerOverloadCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcReactivePowerOverloadAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcReactivePowerOverloadAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAcReactivePowerOverloadCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcReactivePowerOverloadAttribute", + readElectricalMeasurementAcReactivePowerOverloadAttributeInteractionInfo); + Map readElectricalMeasurementAverageRmsOverVoltageCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAverageRmsOverVoltageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAverageRmsOverVoltageAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsOverVoltageCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAverageRmsOverVoltageAttribute", + readElectricalMeasurementAverageRmsOverVoltageAttributeInteractionInfo); + Map readElectricalMeasurementAverageRmsUnderVoltageCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAverageRmsUnderVoltageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAverageRmsUnderVoltageAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsUnderVoltageCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAverageRmsUnderVoltageAttribute", + readElectricalMeasurementAverageRmsUnderVoltageAttributeInteractionInfo); + Map readElectricalMeasurementRmsExtremeOverVoltageCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsExtremeOverVoltageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsExtremeOverVoltageAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeOverVoltageCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsExtremeOverVoltageAttribute", + readElectricalMeasurementRmsExtremeOverVoltageAttributeInteractionInfo); + Map readElectricalMeasurementRmsExtremeUnderVoltageCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsExtremeUnderVoltageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsExtremeUnderVoltageAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeUnderVoltageCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsExtremeUnderVoltageAttribute", + readElectricalMeasurementRmsExtremeUnderVoltageAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageSagCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSagAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageSagAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSagCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageSagAttribute", + readElectricalMeasurementRmsVoltageSagAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageSwellCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSwellAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageSwellAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSwellCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageSwellAttribute", + readElectricalMeasurementRmsVoltageSwellAttributeInteractionInfo); + Map readElectricalMeasurementLineCurrentPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementLineCurrentPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readLineCurrentPhaseBAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementLineCurrentPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readLineCurrentPhaseBAttribute", + readElectricalMeasurementLineCurrentPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementActiveCurrentPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActiveCurrentPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActiveCurrentPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActiveCurrentPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActiveCurrentPhaseBAttribute", + readElectricalMeasurementActiveCurrentPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementReactiveCurrentPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementReactiveCurrentPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readReactiveCurrentPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementReactiveCurrentPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readReactiveCurrentPhaseBAttribute", + readElectricalMeasurementReactiveCurrentPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltagePhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltagePhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltagePhaseBAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltagePhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltagePhaseBAttribute", + readElectricalMeasurementRmsVoltagePhaseBAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageMinPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageMinPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageMinPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageMinPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageMinPhaseBAttribute", + readElectricalMeasurementRmsVoltageMinPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageMaxPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageMaxPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageMaxPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageMaxPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageMaxPhaseBAttribute", + readElectricalMeasurementRmsVoltageMaxPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsCurrentPhaseBAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsCurrentPhaseBAttribute", + readElectricalMeasurementRmsCurrentPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentMinPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentMinPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsCurrentMinPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentMinPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsCurrentMinPhaseBAttribute", + readElectricalMeasurementRmsCurrentMinPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentMaxPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentMaxPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsCurrentMaxPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentMaxPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsCurrentMaxPhaseBAttribute", + readElectricalMeasurementRmsCurrentMaxPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActivePowerPhaseBAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActivePowerPhaseBAttribute", + readElectricalMeasurementActivePowerPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerMinPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerMinPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActivePowerMinPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerMinPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActivePowerMinPhaseBAttribute", + readElectricalMeasurementActivePowerMinPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerMaxPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerMaxPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActivePowerMaxPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerMaxPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActivePowerMaxPhaseBAttribute", + readElectricalMeasurementActivePowerMaxPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementReactivePowerPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementReactivePowerPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readReactivePowerPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementReactivePowerPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readReactivePowerPhaseBAttribute", + readElectricalMeasurementReactivePowerPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementApparentPowerPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementApparentPowerPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readApparentPowerPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementApparentPowerPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readApparentPowerPhaseBAttribute", + readElectricalMeasurementApparentPowerPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementPowerFactorPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementPowerFactorPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readPowerFactorPhaseBAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementPowerFactorPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readPowerFactorPhaseBAttribute", + readElectricalMeasurementPowerFactorPhaseBAttributeInteractionInfo); + Map + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAverageRmsVoltageMeasurementPeriodPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAverageRmsVoltageMeasurementPeriodPhaseBAttribute", + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseBAttributeInteractionInfo); + Map + readElectricalMeasurementAverageRmsOverVoltageCounterPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementAverageRmsOverVoltageCounterPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAverageRmsOverVoltageCounterPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsOverVoltageCounterPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAverageRmsOverVoltageCounterPhaseBAttribute", + readElectricalMeasurementAverageRmsOverVoltageCounterPhaseBAttributeInteractionInfo); + Map + readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAverageRmsUnderVoltageCounterPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAverageRmsUnderVoltageCounterPhaseBAttribute", + readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseBAttributeInteractionInfo); + Map + readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsExtremeOverVoltagePeriodPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsExtremeOverVoltagePeriodPhaseBAttribute", + readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseBAttributeInteractionInfo); + Map + readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsExtremeUnderVoltagePeriodPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsExtremeUnderVoltagePeriodPhaseBAttribute", + readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseBAttributeInteractionInfo); + Map + readElectricalMeasurementRmsVoltageSagPeriodPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSagPeriodPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageSagPeriodPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSagPeriodPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageSagPeriodPhaseBAttribute", + readElectricalMeasurementRmsVoltageSagPeriodPhaseBAttributeInteractionInfo); + Map + readElectricalMeasurementRmsVoltageSwellPeriodPhaseBCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSwellPeriodPhaseBAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageSwellPeriodPhaseBAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSwellPeriodPhaseBCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageSwellPeriodPhaseBAttribute", + readElectricalMeasurementRmsVoltageSwellPeriodPhaseBAttributeInteractionInfo); + Map readElectricalMeasurementLineCurrentPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementLineCurrentPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readLineCurrentPhaseCAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementLineCurrentPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readLineCurrentPhaseCAttribute", + readElectricalMeasurementLineCurrentPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementActiveCurrentPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActiveCurrentPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActiveCurrentPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActiveCurrentPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActiveCurrentPhaseCAttribute", + readElectricalMeasurementActiveCurrentPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementReactiveCurrentPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementReactiveCurrentPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readReactiveCurrentPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementReactiveCurrentPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readReactiveCurrentPhaseCAttribute", + readElectricalMeasurementReactiveCurrentPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltagePhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltagePhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltagePhaseCAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltagePhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltagePhaseCAttribute", + readElectricalMeasurementRmsVoltagePhaseCAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageMinPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageMinPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageMinPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageMinPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageMinPhaseCAttribute", + readElectricalMeasurementRmsVoltageMinPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementRmsVoltageMaxPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageMaxPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageMaxPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageMaxPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageMaxPhaseCAttribute", + readElectricalMeasurementRmsVoltageMaxPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsCurrentPhaseCAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsCurrentPhaseCAttribute", + readElectricalMeasurementRmsCurrentPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentMinPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentMinPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsCurrentMinPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentMinPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsCurrentMinPhaseCAttribute", + readElectricalMeasurementRmsCurrentMinPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementRmsCurrentMaxPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsCurrentMaxPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsCurrentMaxPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsCurrentMaxPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsCurrentMaxPhaseCAttribute", + readElectricalMeasurementRmsCurrentMaxPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActivePowerPhaseCAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActivePowerPhaseCAttribute", + readElectricalMeasurementActivePowerPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerMinPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerMinPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActivePowerMinPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerMinPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActivePowerMinPhaseCAttribute", + readElectricalMeasurementActivePowerMinPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementActivePowerMaxPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementActivePowerMaxPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readActivePowerMaxPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementActivePowerMaxPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readActivePowerMaxPhaseCAttribute", + readElectricalMeasurementActivePowerMaxPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementReactivePowerPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementReactivePowerPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readReactivePowerPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementReactivePowerPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readReactivePowerPhaseCAttribute", + readElectricalMeasurementReactivePowerPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementApparentPowerPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementApparentPowerPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readApparentPowerPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementApparentPowerPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readApparentPowerPhaseCAttribute", + readElectricalMeasurementApparentPowerPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementPowerFactorPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementPowerFactorPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readPowerFactorPhaseCAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementPowerFactorPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readPowerFactorPhaseCAttribute", + readElectricalMeasurementPowerFactorPhaseCAttributeInteractionInfo); + Map + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAverageRmsVoltageMeasurementPeriodPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAverageRmsVoltageMeasurementPeriodPhaseCAttribute", + readElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseCAttributeInteractionInfo); + Map + readElectricalMeasurementAverageRmsOverVoltageCounterPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementAverageRmsOverVoltageCounterPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAverageRmsOverVoltageCounterPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsOverVoltageCounterPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAverageRmsOverVoltageCounterPhaseCAttribute", + readElectricalMeasurementAverageRmsOverVoltageCounterPhaseCAttributeInteractionInfo); + Map + readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAverageRmsUnderVoltageCounterPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAverageRmsUnderVoltageCounterPhaseCAttribute", + readElectricalMeasurementAverageRmsUnderVoltageCounterPhaseCAttributeInteractionInfo); + Map + readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsExtremeOverVoltagePeriodPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsExtremeOverVoltagePeriodPhaseCAttribute", + readElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseCAttributeInteractionInfo); + Map + readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo + readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsExtremeUnderVoltagePeriodPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsExtremeUnderVoltagePeriodPhaseCAttribute", + readElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseCAttributeInteractionInfo); + Map + readElectricalMeasurementRmsVoltageSagPeriodPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSagPeriodPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageSagPeriodPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSagPeriodPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageSagPeriodPhaseCAttribute", + readElectricalMeasurementRmsVoltageSagPeriodPhaseCAttributeInteractionInfo); + Map + readElectricalMeasurementRmsVoltageSwellPeriodPhaseCCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementRmsVoltageSwellPeriodPhaseCAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readRmsVoltageSwellPeriodPhaseCAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementRmsVoltageSwellPeriodPhaseCCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readRmsVoltageSwellPeriodPhaseCAttribute", + readElectricalMeasurementRmsVoltageSwellPeriodPhaseCAttributeInteractionInfo); + Map readElectricalMeasurementGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.ElectricalMeasurementCluster + .GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedElectricalMeasurementClusterGeneratedCommandListAttributeCallback(), + readElectricalMeasurementGeneratedCommandListCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readGeneratedCommandListAttribute", + readElectricalMeasurementGeneratedCommandListAttributeInteractionInfo); + Map readElectricalMeasurementAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.ElectricalMeasurementCluster + .AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedElectricalMeasurementClusterAcceptedCommandListAttributeCallback(), + readElectricalMeasurementAcceptedCommandListCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAcceptedCommandListAttribute", + readElectricalMeasurementAcceptedCommandListAttributeInteractionInfo); + Map readElectricalMeasurementEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readEventListAttribute( + (ChipClusters.ElectricalMeasurementCluster.EventListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedElectricalMeasurementClusterEventListAttributeCallback(), + readElectricalMeasurementEventListCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readEventListAttribute", readElectricalMeasurementEventListAttributeInteractionInfo); + Map readElectricalMeasurementAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.ElectricalMeasurementCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedElectricalMeasurementClusterAttributeListAttributeCallback(), + readElectricalMeasurementAttributeListCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readAttributeListAttribute", + readElectricalMeasurementAttributeListAttributeInteractionInfo); + Map readElectricalMeasurementFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readElectricalMeasurementFeatureMapCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readFeatureMapAttribute", readElectricalMeasurementFeatureMapAttributeInteractionInfo); + Map readElectricalMeasurementClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readElectricalMeasurementClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ElectricalMeasurementCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readElectricalMeasurementClusterRevisionCommandParams); + readElectricalMeasurementInteractionInfo.put( + "readClusterRevisionAttribute", + readElectricalMeasurementClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("electricalMeasurement", readElectricalMeasurementInteractionInfo); + Map readClientMonitoringInteractionInfo = new LinkedHashMap<>(); + Map readClientMonitoringIdleModeIntervalCommandParams = + new LinkedHashMap(); + InteractionInfo readClientMonitoringIdleModeIntervalAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster) + .readIdleModeIntervalAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readClientMonitoringIdleModeIntervalCommandParams); + readClientMonitoringInteractionInfo.put( + "readIdleModeIntervalAttribute", + readClientMonitoringIdleModeIntervalAttributeInteractionInfo); + Map readClientMonitoringActiveModeIntervalCommandParams = + new LinkedHashMap(); + InteractionInfo readClientMonitoringActiveModeIntervalAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster) + .readActiveModeIntervalAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readClientMonitoringActiveModeIntervalCommandParams); + readClientMonitoringInteractionInfo.put( + "readActiveModeIntervalAttribute", + readClientMonitoringActiveModeIntervalAttributeInteractionInfo); + Map readClientMonitoringActiveModeThresholdCommandParams = + new LinkedHashMap(); + InteractionInfo readClientMonitoringActiveModeThresholdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster) + .readActiveModeThresholdAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readClientMonitoringActiveModeThresholdCommandParams); + readClientMonitoringInteractionInfo.put( + "readActiveModeThresholdAttribute", + readClientMonitoringActiveModeThresholdAttributeInteractionInfo); + Map readClientMonitoringExpectedClientsCommandParams = + new LinkedHashMap(); + InteractionInfo readClientMonitoringExpectedClientsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster) + .readExpectedClientsAttribute( + (ChipClusters.ClientMonitoringCluster.ExpectedClientsAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedClientMonitoringClusterExpectedClientsAttributeCallback(), + readClientMonitoringExpectedClientsCommandParams); + readClientMonitoringInteractionInfo.put( + "readExpectedClientsAttribute", + readClientMonitoringExpectedClientsAttributeInteractionInfo); + Map readClientMonitoringGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readClientMonitoringGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.ClientMonitoringCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedClientMonitoringClusterGeneratedCommandListAttributeCallback(), + readClientMonitoringGeneratedCommandListCommandParams); + readClientMonitoringInteractionInfo.put( + "readGeneratedCommandListAttribute", + readClientMonitoringGeneratedCommandListAttributeInteractionInfo); + Map readClientMonitoringAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readClientMonitoringAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.ClientMonitoringCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedClientMonitoringClusterAcceptedCommandListAttributeCallback(), + readClientMonitoringAcceptedCommandListCommandParams); + readClientMonitoringInteractionInfo.put( + "readAcceptedCommandListAttribute", + readClientMonitoringAcceptedCommandListAttributeInteractionInfo); + Map readClientMonitoringEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readClientMonitoringEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster) + .readEventListAttribute( + (ChipClusters.ClientMonitoringCluster.EventListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedClientMonitoringClusterEventListAttributeCallback(), + readClientMonitoringEventListCommandParams); + readClientMonitoringInteractionInfo.put( + "readEventListAttribute", readClientMonitoringEventListAttributeInteractionInfo); + Map readClientMonitoringAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readClientMonitoringAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.ClientMonitoringCluster.AttributeListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedClientMonitoringClusterAttributeListAttributeCallback(), + readClientMonitoringAttributeListCommandParams); + readClientMonitoringInteractionInfo.put( + "readAttributeListAttribute", readClientMonitoringAttributeListAttributeInteractionInfo); + Map readClientMonitoringFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readClientMonitoringFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readClientMonitoringFeatureMapCommandParams); + readClientMonitoringInteractionInfo.put( + "readFeatureMapAttribute", readClientMonitoringFeatureMapAttributeInteractionInfo); + Map readClientMonitoringClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readClientMonitoringClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ClientMonitoringCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readClientMonitoringClusterRevisionCommandParams); + readClientMonitoringInteractionInfo.put( + "readClusterRevisionAttribute", + readClientMonitoringClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("clientMonitoring", readClientMonitoringInteractionInfo); + Map readUnitTestingInteractionInfo = new LinkedHashMap<>(); + Map readUnitTestingBooleanCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingBooleanAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readBooleanAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readUnitTestingBooleanCommandParams - ); - readUnitTestingInteractionInfo.put("readBooleanAttribute", readUnitTestingBooleanAttributeInteractionInfo); - Map readUnitTestingBitmap8CommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingBitmap8AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readBitmap8Attribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingBitmap8CommandParams - ); - readUnitTestingInteractionInfo.put("readBitmap8Attribute", readUnitTestingBitmap8AttributeInteractionInfo); - Map readUnitTestingBitmap16CommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingBitmap16AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readBitmap16Attribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingBitmap16CommandParams - ); - readUnitTestingInteractionInfo.put("readBitmap16Attribute", readUnitTestingBitmap16AttributeInteractionInfo); - Map readUnitTestingBitmap32CommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingBitmap32AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readBitmap32Attribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingBitmap32CommandParams - ); - readUnitTestingInteractionInfo.put("readBitmap32Attribute", readUnitTestingBitmap32AttributeInteractionInfo); - Map readUnitTestingBitmap64CommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingBitmap64AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readBitmap64Attribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingBitmap64CommandParams - ); - readUnitTestingInteractionInfo.put("readBitmap64Attribute", readUnitTestingBitmap64AttributeInteractionInfo); - Map readUnitTestingInt8uCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingInt8uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readInt8uAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingInt8uCommandParams - ); - readUnitTestingInteractionInfo.put("readInt8uAttribute", readUnitTestingInt8uAttributeInteractionInfo); - Map readUnitTestingInt16uCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingInt16uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readInt16uAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingInt16uCommandParams - ); - readUnitTestingInteractionInfo.put("readInt16uAttribute", readUnitTestingInt16uAttributeInteractionInfo); - Map readUnitTestingInt24uCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingInt24uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readInt24uAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt24uCommandParams - ); - readUnitTestingInteractionInfo.put("readInt24uAttribute", readUnitTestingInt24uAttributeInteractionInfo); - Map readUnitTestingInt32uCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingInt32uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readInt32uAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt32uCommandParams - ); - readUnitTestingInteractionInfo.put("readInt32uAttribute", readUnitTestingInt32uAttributeInteractionInfo); - Map readUnitTestingInt40uCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingInt40uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readInt40uAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt40uCommandParams - ); - readUnitTestingInteractionInfo.put("readInt40uAttribute", readUnitTestingInt40uAttributeInteractionInfo); - Map readUnitTestingInt48uCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingInt48uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readInt48uAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt48uCommandParams - ); - readUnitTestingInteractionInfo.put("readInt48uAttribute", readUnitTestingInt48uAttributeInteractionInfo); - Map readUnitTestingInt56uCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingInt56uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readInt56uAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt56uCommandParams - ); - readUnitTestingInteractionInfo.put("readInt56uAttribute", readUnitTestingInt56uAttributeInteractionInfo); - Map readUnitTestingInt64uCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingInt64uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readInt64uAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt64uCommandParams - ); - readUnitTestingInteractionInfo.put("readInt64uAttribute", readUnitTestingInt64uAttributeInteractionInfo); - Map readUnitTestingInt8sCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingInt8sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readInt8sAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingInt8sCommandParams - ); - readUnitTestingInteractionInfo.put("readInt8sAttribute", readUnitTestingInt8sAttributeInteractionInfo); - Map readUnitTestingInt16sCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingInt16sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readInt16sAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingInt16sCommandParams - ); - readUnitTestingInteractionInfo.put("readInt16sAttribute", readUnitTestingInt16sAttributeInteractionInfo); - Map readUnitTestingInt24sCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingInt24sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readInt24sAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt24sCommandParams - ); - readUnitTestingInteractionInfo.put("readInt24sAttribute", readUnitTestingInt24sAttributeInteractionInfo); - Map readUnitTestingInt32sCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingInt32sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readInt32sAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt32sCommandParams - ); - readUnitTestingInteractionInfo.put("readInt32sAttribute", readUnitTestingInt32sAttributeInteractionInfo); - Map readUnitTestingInt40sCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingInt40sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readInt40sAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt40sCommandParams - ); - readUnitTestingInteractionInfo.put("readInt40sAttribute", readUnitTestingInt40sAttributeInteractionInfo); - Map readUnitTestingInt48sCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingInt48sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readInt48sAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt48sCommandParams - ); - readUnitTestingInteractionInfo.put("readInt48sAttribute", readUnitTestingInt48sAttributeInteractionInfo); - Map readUnitTestingInt56sCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingInt56sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readInt56sAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt56sCommandParams - ); - readUnitTestingInteractionInfo.put("readInt56sAttribute", readUnitTestingInt56sAttributeInteractionInfo); - Map readUnitTestingInt64sCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingInt64sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readInt64sAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingInt64sCommandParams - ); - readUnitTestingInteractionInfo.put("readInt64sAttribute", readUnitTestingInt64sAttributeInteractionInfo); - Map readUnitTestingEnum8CommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingEnum8AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readEnum8Attribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingEnum8CommandParams - ); - readUnitTestingInteractionInfo.put("readEnum8Attribute", readUnitTestingEnum8AttributeInteractionInfo); - Map readUnitTestingEnum16CommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingEnum16AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readEnum16Attribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingEnum16CommandParams - ); - readUnitTestingInteractionInfo.put("readEnum16Attribute", readUnitTestingEnum16AttributeInteractionInfo); - Map readUnitTestingFloatSingleCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingFloatSingleAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readFloatSingleAttribute( - ( - ChipClusters.FloatAttributeCallback -) callback - ); - }, + readUnitTestingBooleanCommandParams); + readUnitTestingInteractionInfo.put( + "readBooleanAttribute", readUnitTestingBooleanAttributeInteractionInfo); + Map readUnitTestingBitmap8CommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingBitmap8AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readBitmap8Attribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingBitmap8CommandParams); + readUnitTestingInteractionInfo.put( + "readBitmap8Attribute", readUnitTestingBitmap8AttributeInteractionInfo); + Map readUnitTestingBitmap16CommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingBitmap16AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readBitmap16Attribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingBitmap16CommandParams); + readUnitTestingInteractionInfo.put( + "readBitmap16Attribute", readUnitTestingBitmap16AttributeInteractionInfo); + Map readUnitTestingBitmap32CommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingBitmap32AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readBitmap32Attribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingBitmap32CommandParams); + readUnitTestingInteractionInfo.put( + "readBitmap32Attribute", readUnitTestingBitmap32AttributeInteractionInfo); + Map readUnitTestingBitmap64CommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingBitmap64AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readBitmap64Attribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingBitmap64CommandParams); + readUnitTestingInteractionInfo.put( + "readBitmap64Attribute", readUnitTestingBitmap64AttributeInteractionInfo); + Map readUnitTestingInt8uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingInt8uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readInt8uAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingInt8uCommandParams); + readUnitTestingInteractionInfo.put( + "readInt8uAttribute", readUnitTestingInt8uAttributeInteractionInfo); + Map readUnitTestingInt16uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingInt16uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readInt16uAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingInt16uCommandParams); + readUnitTestingInteractionInfo.put( + "readInt16uAttribute", readUnitTestingInt16uAttributeInteractionInfo); + Map readUnitTestingInt24uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingInt24uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readInt24uAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt24uCommandParams); + readUnitTestingInteractionInfo.put( + "readInt24uAttribute", readUnitTestingInt24uAttributeInteractionInfo); + Map readUnitTestingInt32uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingInt32uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readInt32uAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt32uCommandParams); + readUnitTestingInteractionInfo.put( + "readInt32uAttribute", readUnitTestingInt32uAttributeInteractionInfo); + Map readUnitTestingInt40uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingInt40uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readInt40uAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt40uCommandParams); + readUnitTestingInteractionInfo.put( + "readInt40uAttribute", readUnitTestingInt40uAttributeInteractionInfo); + Map readUnitTestingInt48uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingInt48uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readInt48uAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt48uCommandParams); + readUnitTestingInteractionInfo.put( + "readInt48uAttribute", readUnitTestingInt48uAttributeInteractionInfo); + Map readUnitTestingInt56uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingInt56uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readInt56uAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt56uCommandParams); + readUnitTestingInteractionInfo.put( + "readInt56uAttribute", readUnitTestingInt56uAttributeInteractionInfo); + Map readUnitTestingInt64uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingInt64uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readInt64uAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt64uCommandParams); + readUnitTestingInteractionInfo.put( + "readInt64uAttribute", readUnitTestingInt64uAttributeInteractionInfo); + Map readUnitTestingInt8sCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingInt8sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readInt8sAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingInt8sCommandParams); + readUnitTestingInteractionInfo.put( + "readInt8sAttribute", readUnitTestingInt8sAttributeInteractionInfo); + Map readUnitTestingInt16sCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingInt16sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readInt16sAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingInt16sCommandParams); + readUnitTestingInteractionInfo.put( + "readInt16sAttribute", readUnitTestingInt16sAttributeInteractionInfo); + Map readUnitTestingInt24sCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingInt24sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readInt24sAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt24sCommandParams); + readUnitTestingInteractionInfo.put( + "readInt24sAttribute", readUnitTestingInt24sAttributeInteractionInfo); + Map readUnitTestingInt32sCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingInt32sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readInt32sAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt32sCommandParams); + readUnitTestingInteractionInfo.put( + "readInt32sAttribute", readUnitTestingInt32sAttributeInteractionInfo); + Map readUnitTestingInt40sCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingInt40sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readInt40sAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt40sCommandParams); + readUnitTestingInteractionInfo.put( + "readInt40sAttribute", readUnitTestingInt40sAttributeInteractionInfo); + Map readUnitTestingInt48sCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingInt48sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readInt48sAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt48sCommandParams); + readUnitTestingInteractionInfo.put( + "readInt48sAttribute", readUnitTestingInt48sAttributeInteractionInfo); + Map readUnitTestingInt56sCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingInt56sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readInt56sAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt56sCommandParams); + readUnitTestingInteractionInfo.put( + "readInt56sAttribute", readUnitTestingInt56sAttributeInteractionInfo); + Map readUnitTestingInt64sCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingInt64sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readInt64sAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingInt64sCommandParams); + readUnitTestingInteractionInfo.put( + "readInt64sAttribute", readUnitTestingInt64sAttributeInteractionInfo); + Map readUnitTestingEnum8CommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingEnum8AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readEnum8Attribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingEnum8CommandParams); + readUnitTestingInteractionInfo.put( + "readEnum8Attribute", readUnitTestingEnum8AttributeInteractionInfo); + Map readUnitTestingEnum16CommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingEnum16AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readEnum16Attribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingEnum16CommandParams); + readUnitTestingInteractionInfo.put( + "readEnum16Attribute", readUnitTestingEnum16AttributeInteractionInfo); + Map readUnitTestingFloatSingleCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingFloatSingleAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readFloatSingleAttribute((ChipClusters.FloatAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedFloatAttributeCallback(), - readUnitTestingFloatSingleCommandParams - ); - readUnitTestingInteractionInfo.put("readFloatSingleAttribute", readUnitTestingFloatSingleAttributeInteractionInfo); - Map readUnitTestingFloatDoubleCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingFloatDoubleAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readFloatDoubleAttribute( - ( - ChipClusters.DoubleAttributeCallback -) callback - ); - }, + readUnitTestingFloatSingleCommandParams); + readUnitTestingInteractionInfo.put( + "readFloatSingleAttribute", readUnitTestingFloatSingleAttributeInteractionInfo); + Map readUnitTestingFloatDoubleCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingFloatDoubleAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readFloatDoubleAttribute((ChipClusters.DoubleAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedDoubleAttributeCallback(), - readUnitTestingFloatDoubleCommandParams - ); - readUnitTestingInteractionInfo.put("readFloatDoubleAttribute", readUnitTestingFloatDoubleAttributeInteractionInfo); - Map readUnitTestingOctetStringCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingOctetStringAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readOctetStringAttribute( - ( - ChipClusters.OctetStringAttributeCallback -) callback - ); - }, + readUnitTestingFloatDoubleCommandParams); + readUnitTestingInteractionInfo.put( + "readFloatDoubleAttribute", readUnitTestingFloatDoubleAttributeInteractionInfo); + Map readUnitTestingOctetStringCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingOctetStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readOctetStringAttribute((ChipClusters.OctetStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedOctetStringAttributeCallback(), - readUnitTestingOctetStringCommandParams - ); - readUnitTestingInteractionInfo.put("readOctetStringAttribute", readUnitTestingOctetStringAttributeInteractionInfo); - Map readUnitTestingListInt8uCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingListInt8uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readListInt8uAttribute( - ( ChipClusters.UnitTestingCluster.ListInt8uAttributeCallback - ) callback - ); - }, + readUnitTestingOctetStringCommandParams); + readUnitTestingInteractionInfo.put( + "readOctetStringAttribute", readUnitTestingOctetStringAttributeInteractionInfo); + Map readUnitTestingListInt8uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingListInt8uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readListInt8uAttribute( + (ChipClusters.UnitTestingCluster.ListInt8uAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedUnitTestingClusterListInt8uAttributeCallback(), - readUnitTestingListInt8uCommandParams - ); - readUnitTestingInteractionInfo.put("readListInt8uAttribute", readUnitTestingListInt8uAttributeInteractionInfo); - Map readUnitTestingListOctetStringCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingListOctetStringAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readListOctetStringAttribute( - ( ChipClusters.UnitTestingCluster.ListOctetStringAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterListOctetStringAttributeCallback(), - readUnitTestingListOctetStringCommandParams - ); - readUnitTestingInteractionInfo.put("readListOctetStringAttribute", readUnitTestingListOctetStringAttributeInteractionInfo); - Map readUnitTestingListStructOctetStringCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingListStructOctetStringAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readListStructOctetStringAttribute( - ( ChipClusters.UnitTestingCluster.ListStructOctetStringAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterListStructOctetStringAttributeCallback(), - readUnitTestingListStructOctetStringCommandParams - ); - readUnitTestingInteractionInfo.put("readListStructOctetStringAttribute", readUnitTestingListStructOctetStringAttributeInteractionInfo); - Map readUnitTestingLongOctetStringCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingLongOctetStringAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readLongOctetStringAttribute( - ( - ChipClusters.OctetStringAttributeCallback -) callback - ); - }, + readUnitTestingListInt8uCommandParams); + readUnitTestingInteractionInfo.put( + "readListInt8uAttribute", readUnitTestingListInt8uAttributeInteractionInfo); + Map readUnitTestingListOctetStringCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingListOctetStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readListOctetStringAttribute( + (ChipClusters.UnitTestingCluster.ListOctetStringAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterListOctetStringAttributeCallback(), + readUnitTestingListOctetStringCommandParams); + readUnitTestingInteractionInfo.put( + "readListOctetStringAttribute", readUnitTestingListOctetStringAttributeInteractionInfo); + Map readUnitTestingListStructOctetStringCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingListStructOctetStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readListStructOctetStringAttribute( + (ChipClusters.UnitTestingCluster.ListStructOctetStringAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterListStructOctetStringAttributeCallback(), + readUnitTestingListStructOctetStringCommandParams); + readUnitTestingInteractionInfo.put( + "readListStructOctetStringAttribute", + readUnitTestingListStructOctetStringAttributeInteractionInfo); + Map readUnitTestingLongOctetStringCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingLongOctetStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readLongOctetStringAttribute( + (ChipClusters.OctetStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedOctetStringAttributeCallback(), - readUnitTestingLongOctetStringCommandParams - ); - readUnitTestingInteractionInfo.put("readLongOctetStringAttribute", readUnitTestingLongOctetStringAttributeInteractionInfo); - Map readUnitTestingCharStringCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingCharStringAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readCharStringAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readUnitTestingLongOctetStringCommandParams); + readUnitTestingInteractionInfo.put( + "readLongOctetStringAttribute", readUnitTestingLongOctetStringAttributeInteractionInfo); + Map readUnitTestingCharStringCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingCharStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readCharStringAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readUnitTestingCharStringCommandParams - ); - readUnitTestingInteractionInfo.put("readCharStringAttribute", readUnitTestingCharStringAttributeInteractionInfo); - Map readUnitTestingLongCharStringCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingLongCharStringAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readLongCharStringAttribute( - ( - ChipClusters.CharStringAttributeCallback -) callback - ); - }, + readUnitTestingCharStringCommandParams); + readUnitTestingInteractionInfo.put( + "readCharStringAttribute", readUnitTestingCharStringAttributeInteractionInfo); + Map readUnitTestingLongCharStringCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingLongCharStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readLongCharStringAttribute((ChipClusters.CharStringAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(), - readUnitTestingLongCharStringCommandParams - ); - readUnitTestingInteractionInfo.put("readLongCharStringAttribute", readUnitTestingLongCharStringAttributeInteractionInfo); - Map readUnitTestingEpochUsCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingEpochUsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readEpochUsAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingEpochUsCommandParams - ); - readUnitTestingInteractionInfo.put("readEpochUsAttribute", readUnitTestingEpochUsAttributeInteractionInfo); - Map readUnitTestingEpochSCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingEpochSAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readEpochSAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingEpochSCommandParams - ); - readUnitTestingInteractionInfo.put("readEpochSAttribute", readUnitTestingEpochSAttributeInteractionInfo); - Map readUnitTestingVendorIdCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingVendorIdAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readVendorIdAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingVendorIdCommandParams - ); - readUnitTestingInteractionInfo.put("readVendorIdAttribute", readUnitTestingVendorIdAttributeInteractionInfo); - Map readUnitTestingListNullablesAndOptionalsStructCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingListNullablesAndOptionalsStructAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readListNullablesAndOptionalsStructAttribute( - ( ChipClusters.UnitTestingCluster.ListNullablesAndOptionalsStructAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterListNullablesAndOptionalsStructAttributeCallback(), - readUnitTestingListNullablesAndOptionalsStructCommandParams - ); - readUnitTestingInteractionInfo.put("readListNullablesAndOptionalsStructAttribute", readUnitTestingListNullablesAndOptionalsStructAttributeInteractionInfo); - Map readUnitTestingEnumAttrCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingEnumAttrAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readEnumAttrAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingEnumAttrCommandParams - ); - readUnitTestingInteractionInfo.put("readEnumAttrAttribute", readUnitTestingEnumAttrAttributeInteractionInfo); - Map readUnitTestingRangeRestrictedInt8uCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingRangeRestrictedInt8uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readRangeRestrictedInt8uAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingRangeRestrictedInt8uCommandParams - ); - readUnitTestingInteractionInfo.put("readRangeRestrictedInt8uAttribute", readUnitTestingRangeRestrictedInt8uAttributeInteractionInfo); - Map readUnitTestingRangeRestrictedInt8sCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingRangeRestrictedInt8sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readRangeRestrictedInt8sAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingRangeRestrictedInt8sCommandParams - ); - readUnitTestingInteractionInfo.put("readRangeRestrictedInt8sAttribute", readUnitTestingRangeRestrictedInt8sAttributeInteractionInfo); - Map readUnitTestingRangeRestrictedInt16uCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingRangeRestrictedInt16uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readRangeRestrictedInt16uAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingRangeRestrictedInt16uCommandParams - ); - readUnitTestingInteractionInfo.put("readRangeRestrictedInt16uAttribute", readUnitTestingRangeRestrictedInt16uAttributeInteractionInfo); - Map readUnitTestingRangeRestrictedInt16sCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingRangeRestrictedInt16sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readRangeRestrictedInt16sAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingRangeRestrictedInt16sCommandParams - ); - readUnitTestingInteractionInfo.put("readRangeRestrictedInt16sAttribute", readUnitTestingRangeRestrictedInt16sAttributeInteractionInfo); - Map readUnitTestingListLongOctetStringCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingListLongOctetStringAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readListLongOctetStringAttribute( - ( ChipClusters.UnitTestingCluster.ListLongOctetStringAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterListLongOctetStringAttributeCallback(), - readUnitTestingListLongOctetStringCommandParams - ); - readUnitTestingInteractionInfo.put("readListLongOctetStringAttribute", readUnitTestingListLongOctetStringAttributeInteractionInfo); - Map readUnitTestingListFabricScopedCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingListFabricScopedAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readListFabricScopedAttribute( - ( ChipClusters.UnitTestingCluster.ListFabricScopedAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterListFabricScopedAttributeCallback(), - readUnitTestingListFabricScopedCommandParams - ); - readUnitTestingInteractionInfo.put("readListFabricScopedAttribute", readUnitTestingListFabricScopedAttributeInteractionInfo); - Map readUnitTestingTimedWriteBooleanCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingTimedWriteBooleanAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readTimedWriteBooleanAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readUnitTestingLongCharStringCommandParams); + readUnitTestingInteractionInfo.put( + "readLongCharStringAttribute", readUnitTestingLongCharStringAttributeInteractionInfo); + Map readUnitTestingEpochUsCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingEpochUsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readEpochUsAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingEpochUsCommandParams); + readUnitTestingInteractionInfo.put( + "readEpochUsAttribute", readUnitTestingEpochUsAttributeInteractionInfo); + Map readUnitTestingEpochSCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingEpochSAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readEpochSAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingEpochSCommandParams); + readUnitTestingInteractionInfo.put( + "readEpochSAttribute", readUnitTestingEpochSAttributeInteractionInfo); + Map readUnitTestingVendorIdCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingVendorIdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readVendorIdAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingVendorIdCommandParams); + readUnitTestingInteractionInfo.put( + "readVendorIdAttribute", readUnitTestingVendorIdAttributeInteractionInfo); + Map readUnitTestingListNullablesAndOptionalsStructCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingListNullablesAndOptionalsStructAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readListNullablesAndOptionalsStructAttribute( + (ChipClusters.UnitTestingCluster + .ListNullablesAndOptionalsStructAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterListNullablesAndOptionalsStructAttributeCallback(), + readUnitTestingListNullablesAndOptionalsStructCommandParams); + readUnitTestingInteractionInfo.put( + "readListNullablesAndOptionalsStructAttribute", + readUnitTestingListNullablesAndOptionalsStructAttributeInteractionInfo); + Map readUnitTestingEnumAttrCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingEnumAttrAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readEnumAttrAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingEnumAttrCommandParams); + readUnitTestingInteractionInfo.put( + "readEnumAttrAttribute", readUnitTestingEnumAttrAttributeInteractionInfo); + Map readUnitTestingRangeRestrictedInt8uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingRangeRestrictedInt8uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readRangeRestrictedInt8uAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingRangeRestrictedInt8uCommandParams); + readUnitTestingInteractionInfo.put( + "readRangeRestrictedInt8uAttribute", + readUnitTestingRangeRestrictedInt8uAttributeInteractionInfo); + Map readUnitTestingRangeRestrictedInt8sCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingRangeRestrictedInt8sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readRangeRestrictedInt8sAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingRangeRestrictedInt8sCommandParams); + readUnitTestingInteractionInfo.put( + "readRangeRestrictedInt8sAttribute", + readUnitTestingRangeRestrictedInt8sAttributeInteractionInfo); + Map readUnitTestingRangeRestrictedInt16uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingRangeRestrictedInt16uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readRangeRestrictedInt16uAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingRangeRestrictedInt16uCommandParams); + readUnitTestingInteractionInfo.put( + "readRangeRestrictedInt16uAttribute", + readUnitTestingRangeRestrictedInt16uAttributeInteractionInfo); + Map readUnitTestingRangeRestrictedInt16sCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingRangeRestrictedInt16sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readRangeRestrictedInt16sAttribute( + (ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingRangeRestrictedInt16sCommandParams); + readUnitTestingInteractionInfo.put( + "readRangeRestrictedInt16sAttribute", + readUnitTestingRangeRestrictedInt16sAttributeInteractionInfo); + Map readUnitTestingListLongOctetStringCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingListLongOctetStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readListLongOctetStringAttribute( + (ChipClusters.UnitTestingCluster.ListLongOctetStringAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterListLongOctetStringAttributeCallback(), + readUnitTestingListLongOctetStringCommandParams); + readUnitTestingInteractionInfo.put( + "readListLongOctetStringAttribute", + readUnitTestingListLongOctetStringAttributeInteractionInfo); + Map readUnitTestingListFabricScopedCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingListFabricScopedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readListFabricScopedAttribute( + (ChipClusters.UnitTestingCluster.ListFabricScopedAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterListFabricScopedAttributeCallback(), + readUnitTestingListFabricScopedCommandParams); + readUnitTestingInteractionInfo.put( + "readListFabricScopedAttribute", readUnitTestingListFabricScopedAttributeInteractionInfo); + Map readUnitTestingTimedWriteBooleanCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingTimedWriteBooleanAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readTimedWriteBooleanAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readUnitTestingTimedWriteBooleanCommandParams - ); - readUnitTestingInteractionInfo.put("readTimedWriteBooleanAttribute", readUnitTestingTimedWriteBooleanAttributeInteractionInfo); - Map readUnitTestingGeneralErrorBooleanCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingGeneralErrorBooleanAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readGeneralErrorBooleanAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readUnitTestingTimedWriteBooleanCommandParams); + readUnitTestingInteractionInfo.put( + "readTimedWriteBooleanAttribute", readUnitTestingTimedWriteBooleanAttributeInteractionInfo); + Map readUnitTestingGeneralErrorBooleanCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingGeneralErrorBooleanAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readGeneralErrorBooleanAttribute( + (ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readUnitTestingGeneralErrorBooleanCommandParams - ); - readUnitTestingInteractionInfo.put("readGeneralErrorBooleanAttribute", readUnitTestingGeneralErrorBooleanAttributeInteractionInfo); - Map readUnitTestingClusterErrorBooleanCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingClusterErrorBooleanAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readClusterErrorBooleanAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readUnitTestingGeneralErrorBooleanCommandParams); + readUnitTestingInteractionInfo.put( + "readGeneralErrorBooleanAttribute", + readUnitTestingGeneralErrorBooleanAttributeInteractionInfo); + Map readUnitTestingClusterErrorBooleanCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingClusterErrorBooleanAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readClusterErrorBooleanAttribute( + (ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readUnitTestingClusterErrorBooleanCommandParams - ); - readUnitTestingInteractionInfo.put("readClusterErrorBooleanAttribute", readUnitTestingClusterErrorBooleanAttributeInteractionInfo); - Map readUnitTestingUnsupportedCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingUnsupportedAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readUnsupportedAttribute( - ( - ChipClusters.BooleanAttributeCallback -) callback - ); - }, + readUnitTestingClusterErrorBooleanCommandParams); + readUnitTestingInteractionInfo.put( + "readClusterErrorBooleanAttribute", + readUnitTestingClusterErrorBooleanAttributeInteractionInfo); + Map readUnitTestingUnsupportedCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingUnsupportedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readUnsupportedAttribute((ChipClusters.BooleanAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedBooleanAttributeCallback(), - readUnitTestingUnsupportedCommandParams - ); - readUnitTestingInteractionInfo.put("readUnsupportedAttribute", readUnitTestingUnsupportedAttributeInteractionInfo); - Map readUnitTestingNullableBooleanCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableBooleanAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableBooleanAttribute( - ( ChipClusters.UnitTestingCluster.NullableBooleanAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableBooleanAttributeCallback(), - readUnitTestingNullableBooleanCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableBooleanAttribute", readUnitTestingNullableBooleanAttributeInteractionInfo); - Map readUnitTestingNullableBitmap8CommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableBitmap8AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableBitmap8Attribute( - ( ChipClusters.UnitTestingCluster.NullableBitmap8AttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableBitmap8AttributeCallback(), - readUnitTestingNullableBitmap8CommandParams - ); - readUnitTestingInteractionInfo.put("readNullableBitmap8Attribute", readUnitTestingNullableBitmap8AttributeInteractionInfo); - Map readUnitTestingNullableBitmap16CommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableBitmap16AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableBitmap16Attribute( - ( ChipClusters.UnitTestingCluster.NullableBitmap16AttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableBitmap16AttributeCallback(), - readUnitTestingNullableBitmap16CommandParams - ); - readUnitTestingInteractionInfo.put("readNullableBitmap16Attribute", readUnitTestingNullableBitmap16AttributeInteractionInfo); - Map readUnitTestingNullableBitmap32CommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableBitmap32AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableBitmap32Attribute( - ( ChipClusters.UnitTestingCluster.NullableBitmap32AttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableBitmap32AttributeCallback(), - readUnitTestingNullableBitmap32CommandParams - ); - readUnitTestingInteractionInfo.put("readNullableBitmap32Attribute", readUnitTestingNullableBitmap32AttributeInteractionInfo); - Map readUnitTestingNullableBitmap64CommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableBitmap64AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableBitmap64Attribute( - ( ChipClusters.UnitTestingCluster.NullableBitmap64AttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableBitmap64AttributeCallback(), - readUnitTestingNullableBitmap64CommandParams - ); - readUnitTestingInteractionInfo.put("readNullableBitmap64Attribute", readUnitTestingNullableBitmap64AttributeInteractionInfo); - Map readUnitTestingNullableInt8uCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt8uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableInt8uAttribute( - ( ChipClusters.UnitTestingCluster.NullableInt8uAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt8uAttributeCallback(), - readUnitTestingNullableInt8uCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableInt8uAttribute", readUnitTestingNullableInt8uAttributeInteractionInfo); - Map readUnitTestingNullableInt16uCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt16uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableInt16uAttribute( - ( ChipClusters.UnitTestingCluster.NullableInt16uAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt16uAttributeCallback(), - readUnitTestingNullableInt16uCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableInt16uAttribute", readUnitTestingNullableInt16uAttributeInteractionInfo); - Map readUnitTestingNullableInt24uCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt24uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableInt24uAttribute( - ( ChipClusters.UnitTestingCluster.NullableInt24uAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt24uAttributeCallback(), - readUnitTestingNullableInt24uCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableInt24uAttribute", readUnitTestingNullableInt24uAttributeInteractionInfo); - Map readUnitTestingNullableInt32uCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt32uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableInt32uAttribute( - ( ChipClusters.UnitTestingCluster.NullableInt32uAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt32uAttributeCallback(), - readUnitTestingNullableInt32uCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableInt32uAttribute", readUnitTestingNullableInt32uAttributeInteractionInfo); - Map readUnitTestingNullableInt40uCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt40uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableInt40uAttribute( - ( ChipClusters.UnitTestingCluster.NullableInt40uAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt40uAttributeCallback(), - readUnitTestingNullableInt40uCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableInt40uAttribute", readUnitTestingNullableInt40uAttributeInteractionInfo); - Map readUnitTestingNullableInt48uCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt48uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableInt48uAttribute( - ( ChipClusters.UnitTestingCluster.NullableInt48uAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt48uAttributeCallback(), - readUnitTestingNullableInt48uCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableInt48uAttribute", readUnitTestingNullableInt48uAttributeInteractionInfo); - Map readUnitTestingNullableInt56uCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt56uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableInt56uAttribute( - ( ChipClusters.UnitTestingCluster.NullableInt56uAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt56uAttributeCallback(), - readUnitTestingNullableInt56uCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableInt56uAttribute", readUnitTestingNullableInt56uAttributeInteractionInfo); - Map readUnitTestingNullableInt64uCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt64uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableInt64uAttribute( - ( ChipClusters.UnitTestingCluster.NullableInt64uAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt64uAttributeCallback(), - readUnitTestingNullableInt64uCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableInt64uAttribute", readUnitTestingNullableInt64uAttributeInteractionInfo); - Map readUnitTestingNullableInt8sCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt8sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableInt8sAttribute( - ( ChipClusters.UnitTestingCluster.NullableInt8sAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt8sAttributeCallback(), - readUnitTestingNullableInt8sCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableInt8sAttribute", readUnitTestingNullableInt8sAttributeInteractionInfo); - Map readUnitTestingNullableInt16sCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt16sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableInt16sAttribute( - ( ChipClusters.UnitTestingCluster.NullableInt16sAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt16sAttributeCallback(), - readUnitTestingNullableInt16sCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableInt16sAttribute", readUnitTestingNullableInt16sAttributeInteractionInfo); - Map readUnitTestingNullableInt24sCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt24sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableInt24sAttribute( - ( ChipClusters.UnitTestingCluster.NullableInt24sAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt24sAttributeCallback(), - readUnitTestingNullableInt24sCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableInt24sAttribute", readUnitTestingNullableInt24sAttributeInteractionInfo); - Map readUnitTestingNullableInt32sCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt32sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableInt32sAttribute( - ( ChipClusters.UnitTestingCluster.NullableInt32sAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt32sAttributeCallback(), - readUnitTestingNullableInt32sCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableInt32sAttribute", readUnitTestingNullableInt32sAttributeInteractionInfo); - Map readUnitTestingNullableInt40sCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt40sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableInt40sAttribute( - ( ChipClusters.UnitTestingCluster.NullableInt40sAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt40sAttributeCallback(), - readUnitTestingNullableInt40sCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableInt40sAttribute", readUnitTestingNullableInt40sAttributeInteractionInfo); - Map readUnitTestingNullableInt48sCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt48sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableInt48sAttribute( - ( ChipClusters.UnitTestingCluster.NullableInt48sAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt48sAttributeCallback(), - readUnitTestingNullableInt48sCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableInt48sAttribute", readUnitTestingNullableInt48sAttributeInteractionInfo); - Map readUnitTestingNullableInt56sCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt56sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableInt56sAttribute( - ( ChipClusters.UnitTestingCluster.NullableInt56sAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt56sAttributeCallback(), - readUnitTestingNullableInt56sCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableInt56sAttribute", readUnitTestingNullableInt56sAttributeInteractionInfo); - Map readUnitTestingNullableInt64sCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableInt64sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableInt64sAttribute( - ( ChipClusters.UnitTestingCluster.NullableInt64sAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt64sAttributeCallback(), - readUnitTestingNullableInt64sCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableInt64sAttribute", readUnitTestingNullableInt64sAttributeInteractionInfo); - Map readUnitTestingNullableEnum8CommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableEnum8AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableEnum8Attribute( - ( ChipClusters.UnitTestingCluster.NullableEnum8AttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableEnum8AttributeCallback(), - readUnitTestingNullableEnum8CommandParams - ); - readUnitTestingInteractionInfo.put("readNullableEnum8Attribute", readUnitTestingNullableEnum8AttributeInteractionInfo); - Map readUnitTestingNullableEnum16CommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableEnum16AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableEnum16Attribute( - ( ChipClusters.UnitTestingCluster.NullableEnum16AttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableEnum16AttributeCallback(), - readUnitTestingNullableEnum16CommandParams - ); - readUnitTestingInteractionInfo.put("readNullableEnum16Attribute", readUnitTestingNullableEnum16AttributeInteractionInfo); - Map readUnitTestingNullableFloatSingleCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableFloatSingleAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableFloatSingleAttribute( - ( ChipClusters.UnitTestingCluster.NullableFloatSingleAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableFloatSingleAttributeCallback(), - readUnitTestingNullableFloatSingleCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableFloatSingleAttribute", readUnitTestingNullableFloatSingleAttributeInteractionInfo); - Map readUnitTestingNullableFloatDoubleCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableFloatDoubleAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableFloatDoubleAttribute( - ( ChipClusters.UnitTestingCluster.NullableFloatDoubleAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableFloatDoubleAttributeCallback(), - readUnitTestingNullableFloatDoubleCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableFloatDoubleAttribute", readUnitTestingNullableFloatDoubleAttributeInteractionInfo); - Map readUnitTestingNullableOctetStringCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableOctetStringAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableOctetStringAttribute( - ( ChipClusters.UnitTestingCluster.NullableOctetStringAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableOctetStringAttributeCallback(), - readUnitTestingNullableOctetStringCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableOctetStringAttribute", readUnitTestingNullableOctetStringAttributeInteractionInfo); - Map readUnitTestingNullableCharStringCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableCharStringAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableCharStringAttribute( - ( ChipClusters.UnitTestingCluster.NullableCharStringAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableCharStringAttributeCallback(), - readUnitTestingNullableCharStringCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableCharStringAttribute", readUnitTestingNullableCharStringAttributeInteractionInfo); - Map readUnitTestingNullableEnumAttrCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableEnumAttrAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableEnumAttrAttribute( - ( ChipClusters.UnitTestingCluster.NullableEnumAttrAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableEnumAttrAttributeCallback(), - readUnitTestingNullableEnumAttrCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableEnumAttrAttribute", readUnitTestingNullableEnumAttrAttributeInteractionInfo); - Map readUnitTestingNullableRangeRestrictedInt8uCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableRangeRestrictedInt8uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableRangeRestrictedInt8uAttribute( - ( ChipClusters.UnitTestingCluster.NullableRangeRestrictedInt8uAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableRangeRestrictedInt8uAttributeCallback(), - readUnitTestingNullableRangeRestrictedInt8uCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableRangeRestrictedInt8uAttribute", readUnitTestingNullableRangeRestrictedInt8uAttributeInteractionInfo); - Map readUnitTestingNullableRangeRestrictedInt8sCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableRangeRestrictedInt8sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableRangeRestrictedInt8sAttribute( - ( ChipClusters.UnitTestingCluster.NullableRangeRestrictedInt8sAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableRangeRestrictedInt8sAttributeCallback(), - readUnitTestingNullableRangeRestrictedInt8sCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableRangeRestrictedInt8sAttribute", readUnitTestingNullableRangeRestrictedInt8sAttributeInteractionInfo); - Map readUnitTestingNullableRangeRestrictedInt16uCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableRangeRestrictedInt16uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableRangeRestrictedInt16uAttribute( - ( ChipClusters.UnitTestingCluster.NullableRangeRestrictedInt16uAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableRangeRestrictedInt16uAttributeCallback(), - readUnitTestingNullableRangeRestrictedInt16uCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableRangeRestrictedInt16uAttribute", readUnitTestingNullableRangeRestrictedInt16uAttributeInteractionInfo); - Map readUnitTestingNullableRangeRestrictedInt16sCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingNullableRangeRestrictedInt16sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readNullableRangeRestrictedInt16sAttribute( - ( ChipClusters.UnitTestingCluster.NullableRangeRestrictedInt16sAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterNullableRangeRestrictedInt16sAttributeCallback(), - readUnitTestingNullableRangeRestrictedInt16sCommandParams - ); - readUnitTestingInteractionInfo.put("readNullableRangeRestrictedInt16sAttribute", readUnitTestingNullableRangeRestrictedInt16sAttributeInteractionInfo); - Map readUnitTestingWriteOnlyInt8uCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingWriteOnlyInt8uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readWriteOnlyInt8uAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingWriteOnlyInt8uCommandParams - ); - readUnitTestingInteractionInfo.put("readWriteOnlyInt8uAttribute", readUnitTestingWriteOnlyInt8uAttributeInteractionInfo); - Map readUnitTestingGeneratedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingGeneratedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readGeneratedCommandListAttribute( - ( ChipClusters.UnitTestingCluster.GeneratedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterGeneratedCommandListAttributeCallback(), - readUnitTestingGeneratedCommandListCommandParams - ); - readUnitTestingInteractionInfo.put("readGeneratedCommandListAttribute", readUnitTestingGeneratedCommandListAttributeInteractionInfo); - Map readUnitTestingAcceptedCommandListCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingAcceptedCommandListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readAcceptedCommandListAttribute( - ( ChipClusters.UnitTestingCluster.AcceptedCommandListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterAcceptedCommandListAttributeCallback(), - readUnitTestingAcceptedCommandListCommandParams - ); - readUnitTestingInteractionInfo.put("readAcceptedCommandListAttribute", readUnitTestingAcceptedCommandListAttributeInteractionInfo); - Map readUnitTestingEventListCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingEventListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readEventListAttribute( - ( ChipClusters.UnitTestingCluster.EventListAttributeCallback - ) callback - ); - }, + readUnitTestingUnsupportedCommandParams); + readUnitTestingInteractionInfo.put( + "readUnsupportedAttribute", readUnitTestingUnsupportedAttributeInteractionInfo); + Map readUnitTestingNullableBooleanCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableBooleanAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableBooleanAttribute( + (ChipClusters.UnitTestingCluster.NullableBooleanAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableBooleanAttributeCallback(), + readUnitTestingNullableBooleanCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableBooleanAttribute", readUnitTestingNullableBooleanAttributeInteractionInfo); + Map readUnitTestingNullableBitmap8CommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableBitmap8AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableBitmap8Attribute( + (ChipClusters.UnitTestingCluster.NullableBitmap8AttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableBitmap8AttributeCallback(), + readUnitTestingNullableBitmap8CommandParams); + readUnitTestingInteractionInfo.put( + "readNullableBitmap8Attribute", readUnitTestingNullableBitmap8AttributeInteractionInfo); + Map readUnitTestingNullableBitmap16CommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableBitmap16AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableBitmap16Attribute( + (ChipClusters.UnitTestingCluster.NullableBitmap16AttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableBitmap16AttributeCallback(), + readUnitTestingNullableBitmap16CommandParams); + readUnitTestingInteractionInfo.put( + "readNullableBitmap16Attribute", readUnitTestingNullableBitmap16AttributeInteractionInfo); + Map readUnitTestingNullableBitmap32CommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableBitmap32AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableBitmap32Attribute( + (ChipClusters.UnitTestingCluster.NullableBitmap32AttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableBitmap32AttributeCallback(), + readUnitTestingNullableBitmap32CommandParams); + readUnitTestingInteractionInfo.put( + "readNullableBitmap32Attribute", readUnitTestingNullableBitmap32AttributeInteractionInfo); + Map readUnitTestingNullableBitmap64CommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableBitmap64AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableBitmap64Attribute( + (ChipClusters.UnitTestingCluster.NullableBitmap64AttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableBitmap64AttributeCallback(), + readUnitTestingNullableBitmap64CommandParams); + readUnitTestingInteractionInfo.put( + "readNullableBitmap64Attribute", readUnitTestingNullableBitmap64AttributeInteractionInfo); + Map readUnitTestingNullableInt8uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt8uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableInt8uAttribute( + (ChipClusters.UnitTestingCluster.NullableInt8uAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt8uAttributeCallback(), + readUnitTestingNullableInt8uCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableInt8uAttribute", readUnitTestingNullableInt8uAttributeInteractionInfo); + Map readUnitTestingNullableInt16uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt16uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableInt16uAttribute( + (ChipClusters.UnitTestingCluster.NullableInt16uAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt16uAttributeCallback(), + readUnitTestingNullableInt16uCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableInt16uAttribute", readUnitTestingNullableInt16uAttributeInteractionInfo); + Map readUnitTestingNullableInt24uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt24uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableInt24uAttribute( + (ChipClusters.UnitTestingCluster.NullableInt24uAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt24uAttributeCallback(), + readUnitTestingNullableInt24uCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableInt24uAttribute", readUnitTestingNullableInt24uAttributeInteractionInfo); + Map readUnitTestingNullableInt32uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt32uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableInt32uAttribute( + (ChipClusters.UnitTestingCluster.NullableInt32uAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt32uAttributeCallback(), + readUnitTestingNullableInt32uCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableInt32uAttribute", readUnitTestingNullableInt32uAttributeInteractionInfo); + Map readUnitTestingNullableInt40uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt40uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableInt40uAttribute( + (ChipClusters.UnitTestingCluster.NullableInt40uAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt40uAttributeCallback(), + readUnitTestingNullableInt40uCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableInt40uAttribute", readUnitTestingNullableInt40uAttributeInteractionInfo); + Map readUnitTestingNullableInt48uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt48uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableInt48uAttribute( + (ChipClusters.UnitTestingCluster.NullableInt48uAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt48uAttributeCallback(), + readUnitTestingNullableInt48uCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableInt48uAttribute", readUnitTestingNullableInt48uAttributeInteractionInfo); + Map readUnitTestingNullableInt56uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt56uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableInt56uAttribute( + (ChipClusters.UnitTestingCluster.NullableInt56uAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt56uAttributeCallback(), + readUnitTestingNullableInt56uCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableInt56uAttribute", readUnitTestingNullableInt56uAttributeInteractionInfo); + Map readUnitTestingNullableInt64uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt64uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableInt64uAttribute( + (ChipClusters.UnitTestingCluster.NullableInt64uAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt64uAttributeCallback(), + readUnitTestingNullableInt64uCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableInt64uAttribute", readUnitTestingNullableInt64uAttributeInteractionInfo); + Map readUnitTestingNullableInt8sCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt8sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableInt8sAttribute( + (ChipClusters.UnitTestingCluster.NullableInt8sAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt8sAttributeCallback(), + readUnitTestingNullableInt8sCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableInt8sAttribute", readUnitTestingNullableInt8sAttributeInteractionInfo); + Map readUnitTestingNullableInt16sCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt16sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableInt16sAttribute( + (ChipClusters.UnitTestingCluster.NullableInt16sAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt16sAttributeCallback(), + readUnitTestingNullableInt16sCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableInt16sAttribute", readUnitTestingNullableInt16sAttributeInteractionInfo); + Map readUnitTestingNullableInt24sCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt24sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableInt24sAttribute( + (ChipClusters.UnitTestingCluster.NullableInt24sAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt24sAttributeCallback(), + readUnitTestingNullableInt24sCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableInt24sAttribute", readUnitTestingNullableInt24sAttributeInteractionInfo); + Map readUnitTestingNullableInt32sCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt32sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableInt32sAttribute( + (ChipClusters.UnitTestingCluster.NullableInt32sAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt32sAttributeCallback(), + readUnitTestingNullableInt32sCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableInt32sAttribute", readUnitTestingNullableInt32sAttributeInteractionInfo); + Map readUnitTestingNullableInt40sCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt40sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableInt40sAttribute( + (ChipClusters.UnitTestingCluster.NullableInt40sAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt40sAttributeCallback(), + readUnitTestingNullableInt40sCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableInt40sAttribute", readUnitTestingNullableInt40sAttributeInteractionInfo); + Map readUnitTestingNullableInt48sCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt48sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableInt48sAttribute( + (ChipClusters.UnitTestingCluster.NullableInt48sAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt48sAttributeCallback(), + readUnitTestingNullableInt48sCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableInt48sAttribute", readUnitTestingNullableInt48sAttributeInteractionInfo); + Map readUnitTestingNullableInt56sCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt56sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableInt56sAttribute( + (ChipClusters.UnitTestingCluster.NullableInt56sAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt56sAttributeCallback(), + readUnitTestingNullableInt56sCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableInt56sAttribute", readUnitTestingNullableInt56sAttributeInteractionInfo); + Map readUnitTestingNullableInt64sCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableInt64sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableInt64sAttribute( + (ChipClusters.UnitTestingCluster.NullableInt64sAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableInt64sAttributeCallback(), + readUnitTestingNullableInt64sCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableInt64sAttribute", readUnitTestingNullableInt64sAttributeInteractionInfo); + Map readUnitTestingNullableEnum8CommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableEnum8AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableEnum8Attribute( + (ChipClusters.UnitTestingCluster.NullableEnum8AttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableEnum8AttributeCallback(), + readUnitTestingNullableEnum8CommandParams); + readUnitTestingInteractionInfo.put( + "readNullableEnum8Attribute", readUnitTestingNullableEnum8AttributeInteractionInfo); + Map readUnitTestingNullableEnum16CommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableEnum16AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableEnum16Attribute( + (ChipClusters.UnitTestingCluster.NullableEnum16AttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterNullableEnum16AttributeCallback(), + readUnitTestingNullableEnum16CommandParams); + readUnitTestingInteractionInfo.put( + "readNullableEnum16Attribute", readUnitTestingNullableEnum16AttributeInteractionInfo); + Map readUnitTestingNullableFloatSingleCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableFloatSingleAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableFloatSingleAttribute( + (ChipClusters.UnitTestingCluster.NullableFloatSingleAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableFloatSingleAttributeCallback(), + readUnitTestingNullableFloatSingleCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableFloatSingleAttribute", + readUnitTestingNullableFloatSingleAttributeInteractionInfo); + Map readUnitTestingNullableFloatDoubleCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableFloatDoubleAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableFloatDoubleAttribute( + (ChipClusters.UnitTestingCluster.NullableFloatDoubleAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableFloatDoubleAttributeCallback(), + readUnitTestingNullableFloatDoubleCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableFloatDoubleAttribute", + readUnitTestingNullableFloatDoubleAttributeInteractionInfo); + Map readUnitTestingNullableOctetStringCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableOctetStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableOctetStringAttribute( + (ChipClusters.UnitTestingCluster.NullableOctetStringAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableOctetStringAttributeCallback(), + readUnitTestingNullableOctetStringCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableOctetStringAttribute", + readUnitTestingNullableOctetStringAttributeInteractionInfo); + Map readUnitTestingNullableCharStringCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableCharStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableCharStringAttribute( + (ChipClusters.UnitTestingCluster.NullableCharStringAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableCharStringAttributeCallback(), + readUnitTestingNullableCharStringCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableCharStringAttribute", + readUnitTestingNullableCharStringAttributeInteractionInfo); + Map readUnitTestingNullableEnumAttrCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableEnumAttrAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableEnumAttrAttribute( + (ChipClusters.UnitTestingCluster.NullableEnumAttrAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableEnumAttrAttributeCallback(), + readUnitTestingNullableEnumAttrCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableEnumAttrAttribute", readUnitTestingNullableEnumAttrAttributeInteractionInfo); + Map readUnitTestingNullableRangeRestrictedInt8uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableRangeRestrictedInt8uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableRangeRestrictedInt8uAttribute( + (ChipClusters.UnitTestingCluster + .NullableRangeRestrictedInt8uAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableRangeRestrictedInt8uAttributeCallback(), + readUnitTestingNullableRangeRestrictedInt8uCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableRangeRestrictedInt8uAttribute", + readUnitTestingNullableRangeRestrictedInt8uAttributeInteractionInfo); + Map readUnitTestingNullableRangeRestrictedInt8sCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableRangeRestrictedInt8sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableRangeRestrictedInt8sAttribute( + (ChipClusters.UnitTestingCluster + .NullableRangeRestrictedInt8sAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableRangeRestrictedInt8sAttributeCallback(), + readUnitTestingNullableRangeRestrictedInt8sCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableRangeRestrictedInt8sAttribute", + readUnitTestingNullableRangeRestrictedInt8sAttributeInteractionInfo); + Map readUnitTestingNullableRangeRestrictedInt16uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableRangeRestrictedInt16uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableRangeRestrictedInt16uAttribute( + (ChipClusters.UnitTestingCluster + .NullableRangeRestrictedInt16uAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableRangeRestrictedInt16uAttributeCallback(), + readUnitTestingNullableRangeRestrictedInt16uCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableRangeRestrictedInt16uAttribute", + readUnitTestingNullableRangeRestrictedInt16uAttributeInteractionInfo); + Map readUnitTestingNullableRangeRestrictedInt16sCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingNullableRangeRestrictedInt16sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readNullableRangeRestrictedInt16sAttribute( + (ChipClusters.UnitTestingCluster + .NullableRangeRestrictedInt16sAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterNullableRangeRestrictedInt16sAttributeCallback(), + readUnitTestingNullableRangeRestrictedInt16sCommandParams); + readUnitTestingInteractionInfo.put( + "readNullableRangeRestrictedInt16sAttribute", + readUnitTestingNullableRangeRestrictedInt16sAttributeInteractionInfo); + Map readUnitTestingWriteOnlyInt8uCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingWriteOnlyInt8uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readWriteOnlyInt8uAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingWriteOnlyInt8uCommandParams); + readUnitTestingInteractionInfo.put( + "readWriteOnlyInt8uAttribute", readUnitTestingWriteOnlyInt8uAttributeInteractionInfo); + Map readUnitTestingGeneratedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingGeneratedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readGeneratedCommandListAttribute( + (ChipClusters.UnitTestingCluster.GeneratedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterGeneratedCommandListAttributeCallback(), + readUnitTestingGeneratedCommandListCommandParams); + readUnitTestingInteractionInfo.put( + "readGeneratedCommandListAttribute", + readUnitTestingGeneratedCommandListAttributeInteractionInfo); + Map readUnitTestingAcceptedCommandListCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingAcceptedCommandListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readAcceptedCommandListAttribute( + (ChipClusters.UnitTestingCluster.AcceptedCommandListAttributeCallback) + callback); + }, + () -> + new ClusterInfoMapping + .DelegatedUnitTestingClusterAcceptedCommandListAttributeCallback(), + readUnitTestingAcceptedCommandListCommandParams); + readUnitTestingInteractionInfo.put( + "readAcceptedCommandListAttribute", + readUnitTestingAcceptedCommandListAttributeInteractionInfo); + Map readUnitTestingEventListCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingEventListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readEventListAttribute( + (ChipClusters.UnitTestingCluster.EventListAttributeCallback) callback); + }, () -> new ClusterInfoMapping.DelegatedUnitTestingClusterEventListAttributeCallback(), - readUnitTestingEventListCommandParams - ); - readUnitTestingInteractionInfo.put("readEventListAttribute", readUnitTestingEventListAttributeInteractionInfo); - Map readUnitTestingAttributeListCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingAttributeListAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readAttributeListAttribute( - ( ChipClusters.UnitTestingCluster.AttributeListAttributeCallback - ) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedUnitTestingClusterAttributeListAttributeCallback(), - readUnitTestingAttributeListCommandParams - ); - readUnitTestingInteractionInfo.put("readAttributeListAttribute", readUnitTestingAttributeListAttributeInteractionInfo); - Map readUnitTestingFeatureMapCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingFeatureMapAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readFeatureMapAttribute( - ( - ChipClusters.LongAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), - readUnitTestingFeatureMapCommandParams - ); - readUnitTestingInteractionInfo.put("readFeatureMapAttribute", readUnitTestingFeatureMapAttributeInteractionInfo); - Map readUnitTestingClusterRevisionCommandParams = new LinkedHashMap(); - InteractionInfo readUnitTestingClusterRevisionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).readClusterRevisionAttribute( - ( - ChipClusters.IntegerAttributeCallback -) callback - ); - }, - () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), - readUnitTestingClusterRevisionCommandParams - ); - readUnitTestingInteractionInfo.put("readClusterRevisionAttribute", readUnitTestingClusterRevisionAttributeInteractionInfo); - readAttributeMap.put("unitTesting", readUnitTestingInteractionInfo); - return readAttributeMap; + readUnitTestingEventListCommandParams); + readUnitTestingInteractionInfo.put( + "readEventListAttribute", readUnitTestingEventListAttributeInteractionInfo); + Map readUnitTestingAttributeListCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingAttributeListAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readAttributeListAttribute( + (ChipClusters.UnitTestingCluster.AttributeListAttributeCallback) callback); + }, + () -> + new ClusterInfoMapping.DelegatedUnitTestingClusterAttributeListAttributeCallback(), + readUnitTestingAttributeListCommandParams); + readUnitTestingInteractionInfo.put( + "readAttributeListAttribute", readUnitTestingAttributeListAttributeInteractionInfo); + Map readUnitTestingFeatureMapCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingFeatureMapAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readFeatureMapAttribute((ChipClusters.LongAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedLongAttributeCallback(), + readUnitTestingFeatureMapCommandParams); + readUnitTestingInteractionInfo.put( + "readFeatureMapAttribute", readUnitTestingFeatureMapAttributeInteractionInfo); + Map readUnitTestingClusterRevisionCommandParams = + new LinkedHashMap(); + InteractionInfo readUnitTestingClusterRevisionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .readClusterRevisionAttribute((ChipClusters.IntegerAttributeCallback) callback); + }, + () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(), + readUnitTestingClusterRevisionCommandParams); + readUnitTestingInteractionInfo.put( + "readClusterRevisionAttribute", readUnitTestingClusterRevisionAttributeInteractionInfo); + readAttributeMap.put("unitTesting", readUnitTestingInteractionInfo); + return readAttributeMap; } } - From 652f8939997b01306573ab2590f0d841c3f77fae Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Thu, 23 Mar 2023 10:45:24 -0400 Subject: [PATCH 11/13] minor whitespace adjustment in zapt comment --- src/app/zap-templates/templates/app/MatterIDL.zapt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/zap-templates/templates/app/MatterIDL.zapt b/src/app/zap-templates/templates/app/MatterIDL.zapt index 7bc2cac03b04f6..6dffbb4c64e4c4 100644 --- a/src/app/zap-templates/templates/app/MatterIDL.zapt +++ b/src/app/zap-templates/templates/app/MatterIDL.zapt @@ -57,7 +57,7 @@ {{/unless}} {{/enabled_attributes_for_cluster_and_side~}} - {{~!--Global attributes: spec 7.13 describes these as mandatory --}} + {{~!--Global attributes: spec 7.13 describes these as mandatory --}} readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; From 6d8942ed4e35d6d8ef45164e48e18b06f39479aa Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Thu, 23 Mar 2023 11:46:01 -0400 Subject: [PATCH 12/13] Remove compatibility workaround for codegen in java - zap should not treat things differently anymore --- scripts/py_matter_idl/matter_idl/generators/java/__init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/py_matter_idl/matter_idl/generators/java/__init__.py b/scripts/py_matter_idl/matter_idl/generators/java/__init__.py index 562f589301d010..51e2c9e145d7b6 100644 --- a/scripts/py_matter_idl/matter_idl/generators/java/__init__.py +++ b/scripts/py_matter_idl/matter_idl/generators/java/__init__.py @@ -49,10 +49,6 @@ def FieldToGlobalName(field: Field, context: TypeLookupContext) -> Union[str, No else: return 'CharString' elif type(actual) == BasicInteger: - # TODO: unclear why this, but tries to match zap: - if actual.idl_name.lower() in ['vendor_id', 'fabric_idx']: - return None - if actual.is_signed: return "Int{}s".format(actual.power_of_two_bits) else: From cf699c92df561a72df7c7445b460ebd644147458 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Thu, 23 Mar 2023 12:07:59 -0400 Subject: [PATCH 13/13] Make android chip-tool compile --- .../google/chip/chiptool/clusterclient/BasicClientFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/BasicClientFragment.kt b/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/BasicClientFragment.kt index ee9cf567aeb54b..792850b7bc3f1a 100644 --- a/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/BasicClientFragment.kt +++ b/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/BasicClientFragment.kt @@ -182,7 +182,7 @@ class BasicClientFragment : Fragment() { } private suspend fun sendReadVendorIDAttribute() { - getBasicClusterForDevice().readVendorIDAttribute(object : ChipClusters.BasicInformationCluster.VendorIDAttributeCallback { + getBasicClusterForDevice().readVendorIDAttribute(object : ChipClusters.IntegerAttributeCallback { override fun onSuccess(value: Int) { Log.i(TAG,"[Read Success] VendorID: $value") showMessage("[Read Success] VendorID: $value")