You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/controller/java/generated/java/chip/devicecontroller/ClusterInfoMapping.java
+219
Original file line number
Diff line number
Diff line change
@@ -19576,6 +19576,216 @@ public void onError(Exception ex) {
19576
19576
}
19577
19577
}
19578
19578
19579
+
public static class DelegatedMeterIdentificationClusterMeterTypeAttributeCallback implements ChipClusters.MeterIdentificationCluster.MeterTypeAttributeCallback, DelegatedClusterCallback {
19580
+
private ClusterCommandCallback callback;
19581
+
@Override
19582
+
public void setCallbackDelegate(ClusterCommandCallback callback) {
19583
+
this.callback = callback;
19584
+
}
19585
+
19586
+
@Override
19587
+
public void onSuccess(@Nullable Integer value) {
19588
+
Map<CommandResponseInfo, Object> responseValues = new LinkedHashMap<>();
19589
+
CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer");
19590
+
responseValues.put(commandResponseInfo, value);
19591
+
callback.onSuccess(responseValues);
19592
+
}
19593
+
19594
+
@Override
19595
+
public void onError(Exception ex) {
19596
+
callback.onFailure(ex);
19597
+
}
19598
+
}
19599
+
19600
+
public static class DelegatedMeterIdentificationClusterCustomerNameAttributeCallback implements ChipClusters.MeterIdentificationCluster.CustomerNameAttributeCallback, DelegatedClusterCallback {
19601
+
private ClusterCommandCallback callback;
19602
+
@Override
19603
+
public void setCallbackDelegate(ClusterCommandCallback callback) {
19604
+
this.callback = callback;
19605
+
}
19606
+
19607
+
@Override
19608
+
public void onSuccess(@Nullable String value) {
19609
+
Map<CommandResponseInfo, Object> responseValues = new LinkedHashMap<>();
19610
+
CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "String");
19611
+
responseValues.put(commandResponseInfo, value);
19612
+
callback.onSuccess(responseValues);
19613
+
}
19614
+
19615
+
@Override
19616
+
public void onError(Exception ex) {
19617
+
callback.onFailure(ex);
19618
+
}
19619
+
}
19620
+
19621
+
public static class DelegatedMeterIdentificationClusterUtilityNameAttributeCallback implements ChipClusters.MeterIdentificationCluster.UtilityNameAttributeCallback, DelegatedClusterCallback {
19622
+
private ClusterCommandCallback callback;
19623
+
@Override
19624
+
public void setCallbackDelegate(ClusterCommandCallback callback) {
19625
+
this.callback = callback;
19626
+
}
19627
+
19628
+
@Override
19629
+
public void onSuccess(@Nullable String value) {
19630
+
Map<CommandResponseInfo, Object> responseValues = new LinkedHashMap<>();
19631
+
CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "String");
19632
+
responseValues.put(commandResponseInfo, value);
19633
+
callback.onSuccess(responseValues);
19634
+
}
19635
+
19636
+
@Override
19637
+
public void onError(Exception ex) {
19638
+
callback.onFailure(ex);
19639
+
}
19640
+
}
19641
+
19642
+
public static class DelegatedMeterIdentificationClusterPointOfDeliveryAttributeCallback implements ChipClusters.MeterIdentificationCluster.PointOfDeliveryAttributeCallback, DelegatedClusterCallback {
19643
+
private ClusterCommandCallback callback;
19644
+
@Override
19645
+
public void setCallbackDelegate(ClusterCommandCallback callback) {
19646
+
this.callback = callback;
19647
+
}
19648
+
19649
+
@Override
19650
+
public void onSuccess(@Nullable String value) {
19651
+
Map<CommandResponseInfo, Object> responseValues = new LinkedHashMap<>();
19652
+
CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "String");
19653
+
responseValues.put(commandResponseInfo, value);
19654
+
callback.onSuccess(responseValues);
19655
+
}
19656
+
19657
+
@Override
19658
+
public void onError(Exception ex) {
19659
+
callback.onFailure(ex);
19660
+
}
19661
+
}
19662
+
19663
+
public static class DelegatedMeterIdentificationClusterPowerThresholdAttributeCallback implements ChipClusters.MeterIdentificationCluster.PowerThresholdAttributeCallback, DelegatedClusterCallback {
19664
+
private ClusterCommandCallback callback;
19665
+
@Override
19666
+
public void setCallbackDelegate(ClusterCommandCallback callback) {
19667
+
this.callback = callback;
19668
+
}
19669
+
19670
+
@Override
19671
+
public void onSuccess(@Nullable Long value) {
19672
+
Map<CommandResponseInfo, Object> responseValues = new LinkedHashMap<>();
19673
+
CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long");
19674
+
responseValues.put(commandResponseInfo, value);
19675
+
callback.onSuccess(responseValues);
19676
+
}
19677
+
19678
+
@Override
19679
+
public void onError(Exception ex) {
19680
+
callback.onFailure(ex);
19681
+
}
19682
+
}
19683
+
19684
+
public static class DelegatedMeterIdentificationClusterPowerThresholdSourceAttributeCallback implements ChipClusters.MeterIdentificationCluster.PowerThresholdSourceAttributeCallback, DelegatedClusterCallback {
19685
+
private ClusterCommandCallback callback;
19686
+
@Override
19687
+
public void setCallbackDelegate(ClusterCommandCallback callback) {
19688
+
this.callback = callback;
19689
+
}
19690
+
19691
+
@Override
19692
+
public void onSuccess(@Nullable Integer value) {
19693
+
Map<CommandResponseInfo, Object> responseValues = new LinkedHashMap<>();
19694
+
CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer");
19695
+
responseValues.put(commandResponseInfo, value);
19696
+
callback.onSuccess(responseValues);
19697
+
}
19698
+
19699
+
@Override
19700
+
public void onError(Exception ex) {
19701
+
callback.onFailure(ex);
19702
+
}
19703
+
}
19704
+
19705
+
public static class DelegatedMeterIdentificationClusterGeneratedCommandListAttributeCallback implements ChipClusters.MeterIdentificationCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback {
19706
+
private ClusterCommandCallback callback;
19707
+
@Override
19708
+
public void setCallbackDelegate(ClusterCommandCallback callback) {
19709
+
this.callback = callback;
19710
+
}
19711
+
19712
+
@Override
19713
+
public void onSuccess(List<Long> valueList) {
19714
+
Map<CommandResponseInfo, Object> responseValues = new LinkedHashMap<>();
19715
+
CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List<Long>");
public static class DelegatedMeterIdentificationClusterAcceptedCommandListAttributeCallback implements ChipClusters.MeterIdentificationCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback {
19727
+
private ClusterCommandCallback callback;
19728
+
@Override
19729
+
public void setCallbackDelegate(ClusterCommandCallback callback) {
19730
+
this.callback = callback;
19731
+
}
19732
+
19733
+
@Override
19734
+
public void onSuccess(List<Long> valueList) {
19735
+
Map<CommandResponseInfo, Object> responseValues = new LinkedHashMap<>();
19736
+
CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List<Long>");
public static class DelegatedMeterIdentificationClusterEventListAttributeCallback implements ChipClusters.MeterIdentificationCluster.EventListAttributeCallback, DelegatedClusterCallback {
19748
+
private ClusterCommandCallback callback;
19749
+
@Override
19750
+
public void setCallbackDelegate(ClusterCommandCallback callback) {
19751
+
this.callback = callback;
19752
+
}
19753
+
19754
+
@Override
19755
+
public void onSuccess(List<Long> valueList) {
19756
+
Map<CommandResponseInfo, Object> responseValues = new LinkedHashMap<>();
19757
+
CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List<Long>");
public static class DelegatedMeterIdentificationClusterAttributeListAttributeCallback implements ChipClusters.MeterIdentificationCluster.AttributeListAttributeCallback, DelegatedClusterCallback {
19769
+
private ClusterCommandCallback callback;
19770
+
@Override
19771
+
public void setCallbackDelegate(ClusterCommandCallback callback) {
19772
+
this.callback = callback;
19773
+
}
19774
+
19775
+
@Override
19776
+
public void onSuccess(List<Long> valueList) {
19777
+
Map<CommandResponseInfo, Object> responseValues = new LinkedHashMap<>();
19778
+
CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List<Long>");
public static class DelegatedElectricalMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.ElectricalMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback {
19580
19790
private ClusterCommandCallback callback;
19581
19791
@Override
@@ -21647,6 +21857,10 @@ public Map<String, ClusterInfo> initializeClusterMap() {
21647
21857
(ptr, endpointId) -> new ChipClusters.ContentAppObserverCluster(ptr, endpointId), new HashMap<>());
0 commit comments