From ee93936d761558c26b00432d1b043875177a81f6 Mon Sep 17 00:00:00 2001 From: Yufeng Wang Date: Wed, 25 Oct 2023 11:11:48 -0700 Subject: [PATCH] Implement initial Kotlin generator --- kotlin-detect-config.yaml | 4 + .../generators/kotlin/MatterClusters.jinja | 171 + .../generators/kotlin/MatterFiles_gni.jinja | 9 + .../matter_idl/generators/kotlin/__init__.py | 690 ++++ .../matter_idl/generators/registry.py | 5 + .../cluster/clusters/AccessControlCluster.kt | 275 ++ .../cluster/clusters/AccountLoginCluster.kt | 162 + .../cluster/clusters/ActionsCluster.kt | 295 ++ .../ActivatedCarbonFilterMonitoringCluster.kt | 267 ++ .../AdministratorCommissioningCluster.kt | 214 ++ .../cluster/clusters/AirQualityCluster.kt | 157 + .../clusters/ApplicationBasicCluster.kt | 274 ++ .../clusters/ApplicationLauncherCluster.kt | 228 ++ .../cluster/clusters/AudioOutputCluster.kt | 194 ++ .../clusters/BallastConfigurationCluster.kt | 532 +++ .../cluster/clusters/BarrierControlCluster.kt | 398 +++ .../clusters/BasicInformationCluster.kt | 522 +++ .../clusters/BinaryInputBasicCluster.kt | 367 ++ .../cluster/clusters/BindingCluster.kt | 186 + .../cluster/clusters/BooleanStateCluster.kt | 157 + .../BridgedDeviceBasicInformationCluster.kt | 403 +++ ...nDioxideConcentrationMeasurementCluster.kt | 337 ++ ...MonoxideConcentrationMeasurementCluster.kt | 337 ++ .../cluster/clusters/ChannelCluster.kt | 234 ++ .../cluster/clusters/ColorControlCluster.kt | 1335 +++++++ .../clusters/ContentLauncherCluster.kt | 214 ++ .../cluster/clusters/DescriptorCluster.kt | 247 ++ .../cluster/clusters/DiagnosticLogsCluster.kt | 155 + .../clusters/DishwasherAlarmCluster.kt | 218 ++ .../cluster/clusters/DishwasherModeCluster.kt | 263 ++ .../cluster/clusters/DoorLockCluster.kt | 1122 ++++++ .../clusters/ElectricalMeasurementCluster.kt | 2198 ++++++++++++ .../EthernetNetworkDiagnosticsCluster.kt | 303 ++ .../cluster/clusters/FanControlCluster.kt | 447 +++ .../cluster/clusters/FaultInjectionCluster.kt | 158 + .../cluster/clusters/FixedLabelCluster.kt | 163 + .../clusters/FlowMeasurementCluster.kt | 220 ++ ...aldehydeConcentrationMeasurementCluster.kt | 337 ++ .../clusters/GeneralCommissioningCluster.kt | 277 ++ .../clusters/GeneralDiagnosticsCluster.kt | 324 ++ .../clusters/GroupKeyManagementCluster.kt | 287 ++ .../cluster/clusters/GroupsCluster.kt | 225 ++ .../clusters/HepaFilterMonitoringCluster.kt | 267 ++ .../cluster/clusters/IcdManagementCluster.kt | 275 ++ .../cluster/clusters/IdentifyCluster.kt | 203 ++ .../clusters/IlluminanceMeasurementCluster.kt | 241 ++ .../cluster/clusters/KeypadInputCluster.kt | 155 + .../clusters/LaundryWasherControlsCluster.kt | 250 ++ .../clusters/LaundryWasherModeCluster.kt | 263 ++ .../cluster/clusters/LevelControlCluster.kt | 565 +++ .../LocalizationConfigurationCluster.kt | 193 ++ .../cluster/clusters/LowPowerCluster.kt | 150 + .../cluster/clusters/MediaInputCluster.kt | 210 ++ .../cluster/clusters/MediaPlaybackCluster.kt | 370 ++ .../cluster/clusters/ModeSelectCluster.kt | 294 ++ .../clusters/NetworkCommissioningCluster.kt | 415 +++ ...nDioxideConcentrationMeasurementCluster.kt | 337 ++ .../clusters/OccupancySensingCluster.kt | 457 +++ .../cluster/clusters/OnOffCluster.kt | 316 ++ .../OnOffSwitchConfigurationCluster.kt | 187 + .../clusters/OperationalCredentialsCluster.kt | 350 ++ .../clusters/OperationalStateCluster.kt | 299 ++ .../OtaSoftwareUpdateProviderCluster.kt | 176 + .../OtaSoftwareUpdateRequestorCluster.kt | 245 ++ .../OzoneConcentrationMeasurementCluster.kt | 337 ++ .../Pm10ConcentrationMeasurementCluster.kt | 337 ++ .../Pm1ConcentrationMeasurementCluster.kt | 337 ++ .../Pm25ConcentrationMeasurementCluster.kt | 337 ++ .../cluster/clusters/PowerSourceCluster.kt | 694 ++++ .../PowerSourceConfigurationCluster.kt | 163 + .../clusters/PressureMeasurementCluster.kt | 313 ++ .../clusters/ProxyConfigurationCluster.kt | 142 + .../cluster/clusters/ProxyDiscoveryCluster.kt | 142 + .../cluster/clusters/ProxyValidCluster.kt | 142 + .../clusters/PulseWidthModulationCluster.kt | 142 + .../PumpConfigurationAndControlCluster.kt | 655 ++++ .../RadonConcentrationMeasurementCluster.kt | 337 ++ .../clusters/RefrigeratorAlarmCluster.kt | 187 + ...TemperatureControlledCabinetModeCluster.kt | 263 ++ .../RelativeHumidityMeasurementCluster.kt | 220 ++ .../cluster/clusters/RvcCleanModeCluster.kt | 227 ++ .../clusters/RvcOperationalStateCluster.kt | 299 ++ .../cluster/clusters/RvcRunModeCluster.kt | 227 ++ .../cluster/clusters/SampleMeiCluster.kt | 193 ++ .../cluster/clusters/ScenesCluster.kt | 393 +++ .../cluster/clusters/SmokeCoAlarmCluster.kt | 360 ++ .../clusters/SoftwareDiagnosticsCluster.kt | 216 ++ .../cluster/clusters/SwitchCluster.kt | 187 + .../clusters/TargetNavigatorCluster.kt | 191 + .../clusters/TemperatureControlCluster.kt | 246 ++ .../clusters/TemperatureMeasurementCluster.kt | 220 ++ .../cluster/clusters/ThermostatCluster.kt | 1385 ++++++++ ...mostatUserInterfaceConfigurationCluster.kt | 232 ++ .../ThreadNetworkDiagnosticsCluster.kt | 1215 +++++++ .../clusters/TimeFormatLocalizationCluster.kt | 223 ++ .../clusters/TimeSynchronizationCluster.kt | 418 +++ ...ompoundsConcentrationMeasurementCluster.kt | 337 ++ .../clusters/UnitLocalizationCluster.kt | 172 + .../cluster/clusters/UnitTestingCluster.kt | 3076 +++++++++++++++++ .../cluster/clusters/UserLabelCluster.kt | 178 + .../cluster/clusters/WakeOnLanCluster.kt | 157 + .../clusters/WiFiNetworkDiagnosticsCluster.kt | 423 +++ .../cluster/clusters/WindowCoveringCluster.kt | 591 ++++ .../matter/devicecontroller/cluster/files.gni | 103 + 104 files changed, 37146 insertions(+) create mode 100644 scripts/py_matter_idl/matter_idl/generators/kotlin/MatterClusters.jinja create mode 100644 scripts/py_matter_idl/matter_idl/generators/kotlin/MatterFiles_gni.jinja create mode 100644 scripts/py_matter_idl/matter_idl/generators/kotlin/__init__.py create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AccessControlCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AccountLoginCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ActionsCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ActivatedCarbonFilterMonitoringCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AdministratorCommissioningCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AirQualityCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ApplicationBasicCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ApplicationLauncherCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AudioOutputCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BallastConfigurationCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BarrierControlCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BasicInformationCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BinaryInputBasicCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BindingCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BooleanStateCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BridgedDeviceBasicInformationCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/CarbonDioxideConcentrationMeasurementCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/CarbonMonoxideConcentrationMeasurementCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ChannelCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ColorControlCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ContentLauncherCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DescriptorCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DiagnosticLogsCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DishwasherAlarmCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DishwasherModeCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DoorLockCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ElectricalMeasurementCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/EthernetNetworkDiagnosticsCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FanControlCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FaultInjectionCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FixedLabelCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FlowMeasurementCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FormaldehydeConcentrationMeasurementCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/GeneralCommissioningCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/GeneralDiagnosticsCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/GroupKeyManagementCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/GroupsCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/HepaFilterMonitoringCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/IcdManagementCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/IdentifyCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/IlluminanceMeasurementCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/KeypadInputCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LaundryWasherControlsCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LaundryWasherModeCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LevelControlCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LocalizationConfigurationCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LowPowerCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/MediaInputCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/MediaPlaybackCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ModeSelectCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/NetworkCommissioningCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/NitrogenDioxideConcentrationMeasurementCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OccupancySensingCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OnOffCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OnOffSwitchConfigurationCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OperationalCredentialsCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OperationalStateCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OtaSoftwareUpdateProviderCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OtaSoftwareUpdateRequestorCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OzoneConcentrationMeasurementCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/Pm10ConcentrationMeasurementCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/Pm1ConcentrationMeasurementCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/Pm25ConcentrationMeasurementCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PowerSourceCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PowerSourceConfigurationCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PressureMeasurementCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ProxyConfigurationCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ProxyDiscoveryCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ProxyValidCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PulseWidthModulationCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PumpConfigurationAndControlCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RadonConcentrationMeasurementCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RefrigeratorAlarmCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RefrigeratorAndTemperatureControlledCabinetModeCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RelativeHumidityMeasurementCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RvcCleanModeCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RvcOperationalStateCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RvcRunModeCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/SampleMeiCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ScenesCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/SmokeCoAlarmCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/SoftwareDiagnosticsCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/SwitchCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TargetNavigatorCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TemperatureControlCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TemperatureMeasurementCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ThermostatCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ThermostatUserInterfaceConfigurationCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ThreadNetworkDiagnosticsCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TimeFormatLocalizationCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TimeSynchronizationCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TotalVolatileOrganicCompoundsConcentrationMeasurementCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/UnitLocalizationCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/UnitTestingCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/UserLabelCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/WakeOnLanCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/WiFiNetworkDiagnosticsCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/WindowCoveringCluster.kt create mode 100644 src/controller/java/generated/java/matter/devicecontroller/cluster/files.gni diff --git a/kotlin-detect-config.yaml b/kotlin-detect-config.yaml index b5d9c53b5949bc..dcac54ab12d584 100644 --- a/kotlin-detect-config.yaml +++ b/kotlin-detect-config.yaml @@ -155,6 +155,7 @@ style: - "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/provisioning/EnterNetworkFragment.kt" - "**/examples/java-matter-controller/java/src/com/matter/controller/commands/common/MatterCommand.kt" - "**/src/controller/java/src/matter/onboardingpayload/Base38.kt" + - "**/src/controller/java/generated/java/**/*" ForbiddenComment: excludes: - "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/MultiAdminClientFragment.kt" @@ -246,6 +247,9 @@ naming: excludes: - "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/HistoryCommandAdapter.kt" - "**/src/controller/java/generated/java/**/*" + FunctionParameterNaming: + excludes: + - "**/src/controller/java/generated/java/**/*" TopLevelPropertyNaming: excludes: - "**/src/controller/java/generated/java/**/*" diff --git a/scripts/py_matter_idl/matter_idl/generators/kotlin/MatterClusters.jinja b/scripts/py_matter_idl/matter_idl/generators/kotlin/MatterClusters.jinja new file mode 100644 index 00000000000000..28bf01a045162d --- /dev/null +++ b/scripts/py_matter_idl/matter_idl/generators/kotlin/MatterClusters.jinja @@ -0,0 +1,171 @@ +{%- macro encode_value(source, encodable, depth) -%} + {%- if encodable.is_nullable and encodable.is_optional -%} + {{encode_value(source, encodable.without_nullable().without_optional(), depth + 1)}}? + {%- elif encodable.is_nullable -%} + {{encode_value(source, encodable.without_nullable(), depth + 1)}}? + {%- elif encodable.is_optional -%} + {{encode_value(source, encodable.without_optional(), depth + 1)}}? + {%- elif encodable.is_list -%} + ArrayList<{{encode_value(source, encodable.without_list(), depth + 1)}}> + {%- elif encodable.is_struct -%} + {%- set struct = encodable.get_underlying_struct() -%} + ChipStructs.{{source.name}}Cluster{{struct.name}} + {%- else -%} + {{encodable.boxed_java_type}} + {%- endif -%} +{%- endmacro -%} + +{%- macro encode_value_without_optional(source, encodable, depth) -%} + {%- if encodable.is_nullable -%} + {{encode_value_without_optional(source, encodable.without_nullable(), depth + 1)}}? + {%- elif encodable.is_list -%} + List<{{encode_value_without_optional(source, encodable.without_list(), depth + 1)}}> + {%- elif encodable.is_struct -%} + {%- set struct = encodable.get_underlying_struct() -%} + ChipStructs.{{source.name}}Cluster{{struct.name}} + {%- else -%} + {{encodable.boxed_java_type}} + {%- endif -%} +{%- endmacro -%} + +{%- macro encode_value_without_optional_nullable(source, encodable, depth) -%} + {%- if encodable.is_list -%} + ArrayList<{{encode_value_without_optional_nullable(source, encodable.without_list(), depth + 1)}}> + {%- elif encodable.is_struct -%} + {%- set struct = encodable.get_underlying_struct() -%} + ChipStructs.{{source.name}}Cluster{{struct.name}} + {%- else -%} + {{encodable.boxed_java_type}} + {%- endif -%} +{%- endmacro -%} + +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List +{% set typeLookup = idl | createLookupContext(cluster) %} +class {{cluster.name}}Cluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = {{cluster.code}}u + } +{% for command in cluster.commands | sort(attribute='code') -%} +{%- set callbackName = command | javaCommandCallbackName() -%} +{%- if not command.is_timed_invoke %} + fun {{command.name | lowfirst_except_acronym}}(callback: {{callbackName}}Callback +{%- if command.input_param -%} +{%- for field in (cluster.structs | named(command.input_param)).fields -%} + , {{field.name | lowfirst_except_acronym}}: {{encode_value(cluster, field | asEncodable(typeLookup), 0)}} +{%- endfor -%} +{%- endif -%} + ) { + // Implemantion need to be added here + } +{%- endif %} + + fun {{command.name | lowfirst_except_acronym}}(callback: {{callbackName}}Callback +{%- if command.input_param -%} +{%- for field in (cluster.structs | named(command.input_param)).fields -%} + , {{field.name | lowfirst_except_acronym}}: {{encode_value(cluster, field | asEncodable(typeLookup), 0)}} +{%- endfor -%} +{%- endif -%} + , timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } +{% endfor %} +{%- set already_handled_command = [] -%} +{%- for command in cluster.commands | sort(attribute='code') -%} +{%- if command | isCommandNotDefaultCallback() -%} +{%- set callbackName = command | javaCommandCallbackName() -%} +{%- if callbackName not in already_handled_command %} + interface {{callbackName}}Callback { + fun onSuccess( +{%- for field in (cluster.structs | named(command.output_param)).fields -%} + {{field.name | lowfirst_except_acronym}}: {{encode_value(cluster, field | asEncodable(typeLookup), 0)}}{% if not loop.last %}, {% endif %} +{%- endfor -%} + ) + fun onError(error: Exception) + } +{% if already_handled_command.append(callbackName) -%} +{%- endif -%} +{%- endif -%} +{%- endif -%} +{%- endfor %} +{%- set already_handled_attribute = [] -%} +{% for attribute in cluster.attributes | rejectattr('definition', 'is_field_global_name', typeLookup) %} +{%- set encodable = attribute.definition | asEncodable(typeLookup) -%} +{%- set interfaceName = attribute | javaAttributeCallbackName(typeLookup) -%} +{%- if interfaceName not in already_handled_attribute %} + interface {{interfaceName}} { + fun onSuccess(value: {{encode_value(cluster, encodable, 0)}}) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } +{% if already_handled_attribute.append(interfaceName) -%} +{#- This block does nothing, it only exists to append to already_handled_attribute. -#} +{%- endif -%} +{%- endif -%} +{% endfor -%} +{% for attribute in cluster.attributes | sort(attribute='code') %} + fun read{{ attribute.definition.name | upfirst }}Attribute( + callback: {{ attribute | javaAttributeCallbackName(typeLookup) }} + ) { + // Implemantion need to be added here + ) + } +{% if attribute | isFabricScopedList(typeLookup) %} + fun read{{ attribute.definition.name | upfirst }}AttributeWithFabricFilter( + callback: {{ attribute | javaAttributeCallbackName(typeLookup) }}, + isFabricFiltered: Boolean + ) { + // Implemantion need to be added here + } + +{% endif -%} +{%- if attribute.is_writable %} +{%- set encodable = attribute.definition | asEncodable(typeLookup) -%} +{%- set encodable2 = attribute.definition | asEncodable(typeLookup) -%} +{%- if not attribute.requires_timed_write %} + fun write{{ attribute.definition.name | upfirst }}Attribute( + callback: DefaultClusterCallback, + value: {{ encode_value_without_optional_nullable(cluster, encodable, 0) }} + ) { + // Implemantion need to be added here + } +{% endif %} + fun write{{ attribute.definition.name | upfirst }}Attribute( + callback: DefaultClusterCallback, + value: {{ encode_value_without_optional_nullable(cluster, encodable2, 0) }}, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } +{% endif %} +{%- if attribute.is_subscribable %} + fun subscribe{{ attribute.definition.name | upfirst }}Attribute( + callback: {{ attribute | javaAttributeCallbackName(typeLookup) }}, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +{% endif -%} +{%- endfor -%} +} diff --git a/scripts/py_matter_idl/matter_idl/generators/kotlin/MatterFiles_gni.jinja b/scripts/py_matter_idl/matter_idl/generators/kotlin/MatterFiles_gni.jinja new file mode 100644 index 00000000000000..b9fbf099f29eed --- /dev/null +++ b/scripts/py_matter_idl/matter_idl/generators/kotlin/MatterFiles_gni.jinja @@ -0,0 +1,9 @@ +import("//build_overrides/build.gni") +import("//build_overrides/chip.gni") + +matter_clusters_sources = [ +{%- for cluster in clientClusters | sort(attribute='name') %} +{%- set typeLookup = idl | createLookupContext(cluster) %} + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/{{cluster.name}}Cluster.kt", +{%- endfor %} +] \ No newline at end of file diff --git a/scripts/py_matter_idl/matter_idl/generators/kotlin/__init__.py b/scripts/py_matter_idl/matter_idl/generators/kotlin/__init__.py new file mode 100644 index 00000000000000..e2221196196f35 --- /dev/null +++ b/scripts/py_matter_idl/matter_idl/generators/kotlin/__init__.py @@ -0,0 +1,690 @@ +#!/usr/bin/env python +# Copyright (c) 2023 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import dataclasses +import enum +import logging +import os +from typing import List, Optional, Set + +from matter_idl.generators import CodeGenerator, GeneratorStorage +from matter_idl.generators.types import (BasicInteger, BasicString, FundamentalType, IdlBitmapType, IdlEnumType, IdlType, + ParseDataType, TypeLookupContext) +from matter_idl.matter_idl_types import (Attribute, Cluster, ClusterSide, Command, DataType, Field, FieldQuality, Idl, Struct, + StructQuality, StructTag) +from stringcase import capitalcase + + +@dataclasses.dataclass +class GenerateTarget: + template: str + output_name: str + + +@dataclasses.dataclass +class GlobalType: + name: str # java name + cpp_type: str # underlying type + idl_type: str # assumed IDL type + + +# types that java should see globally +_GLOBAL_TYPES = [ + GlobalType("Boolean", "bool", "boolean"), + GlobalType("CharString", "const chip::CharSpan", "char_string"), + GlobalType("Double", "double", "double"), + GlobalType("Float", "float", "single"), + GlobalType("Int8s", "int8_t", "int8s"), + GlobalType("Int8u", "uint8_t", "int8u"), + GlobalType("Int16s", "int16_t", "int16s"), + GlobalType("Int16u", "uint16_t", "int16u"), + GlobalType("Int32s", "int32_t", "int32s"), + GlobalType("Int32u", "uint32_t", "int32u"), + GlobalType("Int64s", "int64_t", "int64s"), + GlobalType("Int64u", "uint64_t", "int64u"), + GlobalType("OctetString", "const chip::ByteSpan", "octet_string"), +] + + +def _UnderlyingType(field: Field, context: TypeLookupContext) -> Optional[str]: + actual = ParseDataType(field.data_type, context) + if isinstance(actual, (IdlEnumType, IdlBitmapType)): + actual = actual.base_type + + if isinstance(actual, BasicString): + if actual.is_binary: + return 'OctetString' + else: + return 'CharString' + elif isinstance(actual, BasicInteger): + if actual.is_signed: + return "Int{}s".format(actual.power_of_two_bits) + else: + return "Int{}u".format(actual.power_of_two_bits) + elif isinstance(actual, FundamentalType): + if actual == FundamentalType.BOOL: + return 'Boolean' + elif actual == FundamentalType.FLOAT: + return 'Float' + elif actual == FundamentalType.DOUBLE: + return 'Double' + else: + logging.warn('Unknown fundamental type: %r' % actual) + + return None + + +def FieldToGlobalName(field: Field, context: TypeLookupContext) -> Optional[str]: + """Global names are used for generic callbacks shared across + all clusters (e.g. for bool/float/uint32 and similar) + """ + if field.is_list: + return None # lists are always specific per cluster + + if FieldQuality.NULLABLE & field.qualities: + return None + + return _UnderlyingType(field, context) + + +# Based on atomicType in ZAP: +# src-electron/generator/matter/app/zap-templates/common/override.js +_KNOWN_DECODABLE_TYPES = { + 'action_id': 'chip::ActionId', + 'attrib_id': 'chip::AttributeId', + 'cluster_id': 'chip::ClusterId', + 'command_id': 'chip::CommandId', + 'data_ver': 'chip::DataVersion', + 'devtype_id': 'chip::DeviceTypeId', + 'endpoint_no': 'chip::EndpointId', + 'eui64': 'chip::NodeId', + 'event_id': 'chip::EventId', + 'event_no': 'chip::EventNumber', + 'fabric_id': 'chip::FabricId', + 'fabric_idx': 'chip::FabricIndex', + 'fabric_idx': 'chip::FabricIndex', + 'field_id': 'chip::FieldId', + 'group_id': 'chip::GroupId', + 'node_id': 'chip::NodeId', + 'percent': 'chip::Percent', + 'percent100ths': 'chip::Percent100ths', + 'transaction_id': 'chip::TransactionId', + 'vendor_id': 'chip::VendorId', + + # non-named enums + 'enum8': 'uint8_t', + 'enum16': 'uint16_t', + 'enum32': 'uint32_t', + 'enum64': 'uint64_t', +} + +def GlobalNameToJavaName(name: str) -> str: + if name in {'Int8u', 'Int8s', 'Int16u', 'Int16s'}: + return 'Integer' + + if name.startswith('Int'): + return 'Long' + + # Double/Float/Booleans/CharString/OctetString + return name + + +def DelegatedCallbackName(attr: Attribute, context: TypeLookupContext) -> str: + """ + Figure out what callback name to use for delegate callback construction. + """ + global_name = FieldToGlobalName(attr.definition, context) + + if global_name: + return 'Delegated{}AttributeCallback'.format(GlobalNameToJavaName(global_name)) + + return 'Delegated{}Cluster{}AttributeCallback'.format(context.cluster.name, capitalcase(attr.definition.name)) + + +def ChipClustersCallbackName(attr: Attribute, context: TypeLookupContext) -> str: + """ + Figure out what callback name to use when building a ChipCluster.*AttributeCallback + in java codegen. + """ + global_name = FieldToGlobalName(attr.definition, context) + + if global_name: + return 'ChipClusters.{}AttributeCallback'.format(GlobalNameToJavaName(global_name)) + + return 'ChipClusters.{}Cluster.{}AttributeCallback'.format(context.cluster.name, capitalcase(attr.definition.name)) + + +def CallbackName(attr: Attribute, context: TypeLookupContext) -> str: + """ + Figure out what callback name to use when a variable requires a read callback. + + These are split into native types, like Boolean/Float/Double/CharString, where + one callback type can support anything. + + For specific types (e.g. A struct) codegen will generate its own callback name + specific to that type. + """ + global_name = FieldToGlobalName(attr.definition, context) + + if global_name: + return 'CHIP{}AttributeCallback'.format(capitalcase(global_name)) + + return 'CHIP{}{}AttributeCallback'.format( + capitalcase(context.cluster.name), + capitalcase(attr.definition.name) + ) + + +def CommandCallbackName(command: Command, cluster: Cluster): + if command.output_param.lower() == 'defaultsuccess': + return 'DefaultSuccess' + return '{}Cluster{}'.format(cluster.name, command.output_param) + + +def JavaCommandCallbackName(command: Command): + if command.output_param.lower() == 'defaultsuccess': + return 'DefaultCluster' + return '{}'.format(command.output_param) + + +def IsCommandNotDefaultCallback(command: Command) -> bool: + return command.output_param.lower() != 'defaultsuccess' + + +def JavaAttributeCallbackName(attr: Attribute, context: TypeLookupContext) -> str: + """ + Figure out what callback name to use when building a *AttributeCallback + in java codegen. + """ + global_name = FieldToGlobalName(attr.definition, context) + + if global_name: + return '{}AttributeCallback'.format(GlobalNameToJavaName(global_name)) + + return '{}AttributeCallback'.format(capitalcase(attr.definition.name)) + + +def IsFieldGlobalName(field: Field, context: TypeLookupContext) -> bool: + global_name = FieldToGlobalName(field, context) + if global_name: + return True + + return False + + +def attributesWithSupportedCallback(attrs, context: TypeLookupContext): + for attr in attrs: + # Attributes will be generated for all types + # except non-list structures + if not attr.definition.is_list: + underlying = ParseDataType(attr.definition.data_type, context) + if isinstance(underlying, IdlType): + continue + + yield attr + + +def _IsUsingGlobalCallback(field: Field, context: TypeLookupContext): + """Test to determine if the data type of a field can use one of + the global callbacks (i.e. it is a basic double/integer/bool etc.) + """ + if field.is_list: + return False + + if field.is_nullable: + return False + + return field.data_type.name in { + "boolean", + "single", + "double", + "int8s", + "int8u", + "int16s", + "int16u", + "int24s", + "int24u", + "int32s", + "int32u", + "int40s", + "int40u", + "int48s", + "int48u", + "int56s", + "int56u", + "int64s", + "int64u", + "enum8", + "enum16", + "enum32", + "enum64", + "bitmap8", + "bitmap16", + "bitmap32", + "bitmap64", + "char_string", + "long_char_string", + "octet_string", + "long_octet_string", + } + + +def NamedFilter(choices: List, name: str): + for choice in choices: + if choice.name == name: + return choice + raise Exception("No item named %s in %r" % (name, choices)) + + +def ToBoxedJavaType(field: Field): + if field.is_optional: + return 'jobject' + elif field.data_type.name.lower() in ['octet_string', 'long_octet_string']: + return 'jbyteArray' + elif field.data_type.name.lower() in ['char_string', 'long_char_string']: + return 'jstring' + else: + return 'jobject' + + +def LowercaseFirst(name: str) -> str: + """ + Change the first letter of a string to lowercase as long as the 2nd + letter is not uppercase. + + Can be used for variable naming, eg insider structures, codegen will + call things "Foo foo" (notice variable name is lowercase). + """ + if len(name) > 1 and name[1].lower() != name[1]: + # Odd workaround: PAKEVerifier should not become pAKEVerifier + return name + return name[0].lower() + name[1:] + + +class EncodableValueAttr(enum.Enum): + LIST = enum.auto() + NULLABLE = enum.auto() + OPTIONAL = enum.auto() + + +class EncodableValue: + """ + Contains helpers for encoding values, specifically lookups + for optionality, lists and recursive data type lookups within + the IDL and cluster + + Intended use is to be able to: + - derive types (see clone and without_* methods) such that codegen + can implement things like 'if x != null { treat non-null x}' + - Java specific conversions: get boxed types and JNI string signautes + for the underlying types. + """ + + def __init__(self, context: TypeLookupContext, data_type: DataType, attrs: Set[EncodableValueAttr]): + self.context = context + self.data_type = data_type + self.attrs = attrs + + @property + def is_nullable(self): + return EncodableValueAttr.NULLABLE in self.attrs + + @property + def is_optional(self): + return EncodableValueAttr.OPTIONAL in self.attrs + + @property + def is_list(self): + return EncodableValueAttr.LIST in self.attrs + + @property + def is_octet_string(self): + return self.data_type.name.lower() in ['octet_string', 'long_octet_string'] + + @property + def is_char_string(self): + return self.data_type.name.lower() in ['char_string', 'long_char_string'] + + @property + def is_struct(self): + return self.context.is_struct_type(self.data_type.name) + + @property + def is_enum(self): + return self.context.is_enum_type(self.data_type.name) + + @property + def is_bitmap(self): + return self.context.is_bitmap_type(self.data_type.name) + + @property + def is_untyped_bitmap(self): + return self.context.is_untyped_bitmap_type(self.data_type.name) + + def clone(self): + return EncodableValue(self.context, self.data_type, self.attrs) + + def without_nullable(self): + result = self.clone() + result.attrs.remove(EncodableValueAttr.NULLABLE) + return result + + def without_optional(self): + result = self.clone() + result.attrs.remove(EncodableValueAttr.OPTIONAL) + return result + + def without_list(self): + result = self.clone() + result.attrs.remove(EncodableValueAttr.LIST) + return result + + def get_underlying_struct(self): + s = self.context.find_struct(self.data_type.name) + if not s: + raise Exception("Struct %s not found" % self.data_type.name) + return s + + def get_underlying_enum(self): + e = self.context.find_enum(self.data_type.name) + if not e: + raise Exception("Enum %s not found" % self.data_type.name) + return e + + @property + def boxed_java_type(self): + t = ParseDataType(self.data_type, self.context) + + if isinstance(t, FundamentalType): + if t == FundamentalType.BOOL: + return "Boolean" + elif t == FundamentalType.FLOAT: + return "Float" + elif t == FundamentalType.DOUBLE: + return "Double" + else: + raise Exception("Unknown fundamental type") + elif isinstance(t, BasicInteger): + # the >= 3 will include int24_t to be considered "long" + if t.byte_count >= 3: + return "Long" + else: + return "Integer" + elif isinstance(t, BasicString): + if t.is_binary: + return "byte[]" + else: + return "String" + elif isinstance(t, IdlEnumType): + if t.base_type.byte_count >= 3: + return "Long" + else: + return "Integer" + elif isinstance(t, IdlBitmapType): + if t.base_type.byte_count >= 3: + return "Long" + else: + return "Integer" + else: + return "Object" + + @property + def kotlin_type(self): + t = ParseDataType(self.data_type, self.context) + + if isinstance(t, FundamentalType): + if t == FundamentalType.BOOL: + return "Boolean" + elif t == FundamentalType.FLOAT: + return "Float" + elif t == FundamentalType.DOUBLE: + return "Double" + else: + raise Exception("Unknown fundamental type") + elif isinstance(t, BasicInteger): + # the >= 3 will include int24_t to be considered "long" + if t.is_signed: + if t.byte_count >= 3: + return "Long" + else: + return "Int" + else: + if t.byte_count >= 3: + return "ULong" + else: + return "UInt" + elif isinstance(t, BasicString): + if t.is_binary: + return "ByteArray" + else: + return "String" + elif isinstance(t, IdlEnumType): + if t.base_type.byte_count >= 3: + return "ULong" + else: + return "UInt" + elif isinstance(t, IdlBitmapType): + if t.base_type.byte_count >= 3: + return "ULong" + else: + return "UInt" + else: + return "Any" + + @property + def unboxed_java_signature(self): + if self.is_optional or self.is_list: + raise Exception("Not a basic type: %r" % self) + + t = ParseDataType(self.data_type, self.context) + + if isinstance(t, FundamentalType): + if t == FundamentalType.BOOL: + return "Z" + elif t == FundamentalType.FLOAT: + return "F" + elif t == FundamentalType.DOUBLE: + return "D" + else: + raise Exception("Unknown fundamental type") + elif isinstance(t, BasicInteger): + if t.byte_count >= 3: + return "J" + else: + return "I" + else: + raise Exception("Not a basic type: %r" % self) + + @property + def boxed_java_signature(self): + # Optional takes precedence over list - Optional compiles down to just java.util.Optional. + if self.is_optional: + return "Ljava/util/Optional;" + + if self.is_list: + return "Ljava/util/ArrayList;" + + t = ParseDataType(self.data_type, self.context) + + if isinstance(t, FundamentalType): + if t == FundamentalType.BOOL: + return "Ljava/lang/Boolean;" + elif t == FundamentalType.FLOAT: + return "Ljava/lang/Float;" + elif t == FundamentalType.DOUBLE: + return "Ljava/lang/Double;" + else: + raise Exception("Unknown fundamental type") + elif isinstance(t, BasicInteger): + if t.byte_count >= 3: + return "Ljava/lang/Long;" + else: + return "Ljava/lang/Integer;" + elif isinstance(t, BasicString): + if t.is_binary: + return "[B" + else: + return "Ljava/lang/String;" + elif isinstance(t, IdlEnumType): + if t.base_type.byte_count >= 3: + return "Ljava/lang/Long;" + else: + return "Ljava/lang/Integer;" + elif isinstance(t, IdlBitmapType): + if t.base_type.byte_count >= 3: + return "Ljava/lang/Long;" + else: + return "Ljava/lang/Integer;" + else: + return "Lchip/devicecontroller/ChipStructs${}Cluster{};".format(self.context.cluster.name, self.data_type.name) + + +def GlobalEncodableValueFrom(typeName: str, context: TypeLookupContext) -> EncodableValue: + """ + Filter to convert a global type name to an encodable value + """ + return EncodableValue(context, DataType(name=typeName), set()) + + +def EncodableValueFrom(field: Field, context: TypeLookupContext) -> EncodableValue: + """ + Filter to convert a standard field to an EncodableValue. + + This converts the AST information (field name/info + lookup context) into + a java-generator specific wrapper that can be manipulated and + queried for properties like java native name or JNI string signature. + """ + attrs = set() + + if field.is_optional: + attrs.add(EncodableValueAttr.OPTIONAL) + + if field.is_nullable: + attrs.add(EncodableValueAttr.NULLABLE) + + if field.is_list: + attrs.add(EncodableValueAttr.LIST) + + return EncodableValue(context, field.data_type, attrs) + + +def CreateLookupContext(idl: Idl, cluster: Optional[Cluster]) -> TypeLookupContext: + """ + A filter to mark a lookup context to be within a specific cluster. + + This is used to specify how structure/enum/other names are looked up. + Generally one looks up within the specific cluster then if cluster does + not contain a definition, we loop at global namespacing. + """ + return TypeLookupContext(idl, cluster) + + +def CanGenerateSubscribe(attr: Attribute, lookup: TypeLookupContext) -> bool: + """ + Filter that returns if an attribute can be subscribed to. + + Uses the given attribute and the lookupContext to figure out the attribute + type. + """ + # For backwards compatibility, we do not subscribe to structs + # (although list of structs is ok ...) + if attr.definition.is_list: + return True + + return not lookup.is_struct_type(attr.definition.data_type.name) + + +def IsFabricScopedList(attr: Attribute, lookup: TypeLookupContext) -> bool: + if not attr.definition.is_list: + return False + + struct = lookup.find_struct(attr.definition.data_type.name) + return struct and struct.qualities == StructQuality.FABRIC_SCOPED + + +def IsResponseStruct(s: Struct) -> bool: + return s.tag == StructTag.RESPONSE + + +class __KotlinCodeGenerator(CodeGenerator): + """ + Code generation for kotlin-specific files. + + Registers filters used by all kotlin generators. + """ + + def __init__(self, storage: GeneratorStorage, idl: Idl, **kargs): + """ + Inintialization is specific for kotlin generation and will add + filters as required by the kotlin .jinja templates to function. + """ + super().__init__(storage, idl, fs_loader_searchpath=os.path.dirname(__file__)) + + self.jinja_env.filters['attributesWithCallback'] = attributesWithSupportedCallback + self.jinja_env.filters['callbackName'] = CallbackName + self.jinja_env.filters['chipClustersCallbackName'] = ChipClustersCallbackName + self.jinja_env.filters['delegatedCallbackName'] = DelegatedCallbackName + self.jinja_env.filters['commandCallbackName'] = CommandCallbackName + self.jinja_env.filters['javaCommandCallbackName'] = JavaCommandCallbackName + self.jinja_env.filters['isCommandNotDefaultCallback'] = IsCommandNotDefaultCallback + self.jinja_env.filters['javaAttributeCallbackName'] = JavaAttributeCallbackName + self.jinja_env.filters['named'] = NamedFilter + self.jinja_env.filters['toBoxedJavaType'] = ToBoxedJavaType + self.jinja_env.filters['lowercaseFirst'] = LowercaseFirst + self.jinja_env.filters['asEncodable'] = EncodableValueFrom + self.jinja_env.filters['globalAsEncodable'] = GlobalEncodableValueFrom + self.jinja_env.filters['createLookupContext'] = CreateLookupContext + self.jinja_env.filters['canGenerateSubscribe'] = CanGenerateSubscribe + self.jinja_env.filters['isFabricScopedList'] = IsFabricScopedList + + self.jinja_env.tests['is_response_struct'] = IsResponseStruct + self.jinja_env.tests['is_using_global_callback'] = _IsUsingGlobalCallback + self.jinja_env.tests['is_field_global_name'] = IsFieldGlobalName + + +class KotlinClassGenerator(__KotlinCodeGenerator): + """Generates .kt files """ + + def __init__(self, *args, **kargs): + super().__init__(*args, **kargs) + + def internal_render_all(self): + """ + Renders .kt files required for kotlin matter support + """ + + clientClusters = [ + c for c in self.idl.clusters if c.side == ClusterSide.CLIENT] + + self.internal_render_one_output( + template_path="MatterFiles_gni.jinja", + output_file_name="java/matter/devicecontroller/cluster/files.gni", + vars={ + 'idl': self.idl, + 'clientClusters': clientClusters, + } + ) + + # Generate a `.kt` file for each cluster. + for cluster in clientClusters: + output_name = f"java/matter/devicecontroller/cluster/clusters/{cluster.name}Cluster.kt" + self.internal_render_one_output( + template_path="MatterClusters.jinja", + output_file_name=output_name, + vars={ + 'idl': self.idl, + 'cluster': cluster, + } + ) diff --git a/scripts/py_matter_idl/matter_idl/generators/registry.py b/scripts/py_matter_idl/matter_idl/generators/registry.py index b02b9bbcf12f0b..c91981e8ad7391 100644 --- a/scripts/py_matter_idl/matter_idl/generators/registry.py +++ b/scripts/py_matter_idl/matter_idl/generators/registry.py @@ -19,6 +19,7 @@ from matter_idl.generators.cpp.tlvmeta import TLVMetaDataGenerator from matter_idl.generators.idl import IdlGenerator from matter_idl.generators.java import JavaClassGenerator, JavaJNIGenerator +from matter_idl.generators.kotlin import KotlinClassGenerator class CodeGenerator(enum.Enum): @@ -29,6 +30,7 @@ class CodeGenerator(enum.Enum): """ JAVA_JNI = enum.auto() JAVA_CLASS = enum.auto() + KOTLIN_CLASS = enum.auto() CPP_APPLICATION = enum.auto() CPP_TLVMETA = enum.auto() IDL = enum.auto() @@ -39,6 +41,8 @@ def Create(self, *args, **kargs): return JavaJNIGenerator(*args, **kargs) elif self == CodeGenerator.JAVA_CLASS: return JavaClassGenerator(*args, **kargs) + elif self == CodeGenerator.KOTLIN_CLASS: + return KotlinClassGenerator(*args, **kargs) elif self == CodeGenerator.CPP_APPLICATION: return CppApplicationGenerator(*args, **kargs) elif self == CodeGenerator.CPP_TLVMETA: @@ -72,6 +76,7 @@ def FromString(name): GENERATORS = { 'java-jni': CodeGenerator.JAVA_JNI, 'java-class': CodeGenerator.JAVA_CLASS, + 'kotlin-class': CodeGenerator.KOTLIN_CLASS, 'cpp-app': CodeGenerator.CPP_APPLICATION, 'cpp-tlvmeta': CodeGenerator.CPP_TLVMETA, 'idl': CodeGenerator.IDL, diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AccessControlCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AccessControlCluster.kt new file mode 100644 index 00000000000000..a0ad10d321fca2 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AccessControlCluster.kt @@ -0,0 +1,275 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class AccessControlCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 31u + } + + interface AclAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ExtensionAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readAclAttribute( + callback: AclAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun readAclAttributeWithFabricFilter( + callback: AclAttributeCallback, + isFabricFiltered: Boolean + ) { + // Implemantion need to be added here + } + + + fun writeAclAttribute( + callback: DefaultClusterCallback, + value: ArrayList + ) { + // Implemantion need to be added here + } + + fun writeAclAttribute( + callback: DefaultClusterCallback, + value: ArrayList, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeAclAttribute( + callback: AclAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readExtensionAttribute( + callback: ExtensionAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun readExtensionAttributeWithFabricFilter( + callback: ExtensionAttributeCallback, + isFabricFiltered: Boolean + ) { + // Implemantion need to be added here + } + + + fun writeExtensionAttribute( + callback: DefaultClusterCallback, + value: ArrayList + ) { + // Implemantion need to be added here + } + + fun writeExtensionAttribute( + callback: DefaultClusterCallback, + value: ArrayList, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeExtensionAttribute( + callback: ExtensionAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSubjectsPerAccessControlEntryAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSubjectsPerAccessControlEntryAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTargetsPerAccessControlEntryAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTargetsPerAccessControlEntryAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAccessControlEntriesPerFabricAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAccessControlEntriesPerFabricAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AccountLoginCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AccountLoginCluster.kt new file mode 100644 index 00000000000000..23fa33f3cbf147 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AccountLoginCluster.kt @@ -0,0 +1,162 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class AccountLoginCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1294u + } + + + fun getSetupPIN(callback: GetSetupPINResponseCallback, tempAccountIdentifier: String, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + + fun login(callback: DefaultClusterCallback, tempAccountIdentifier: String, setupPIN: String, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + + fun logout(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface GetSetupPINResponseCallback { + fun onSuccess(setupPIN: String) + fun onError(error: Exception) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ActionsCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ActionsCluster.kt new file mode 100644 index 00000000000000..c7b70e672c01c6 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ActionsCluster.kt @@ -0,0 +1,295 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class ActionsCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 37u + } + + fun instantAction(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?) { + // Implemantion need to be added here + } + + fun instantAction(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun instantActionWithTransition(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?, transitionTime: Integer) { + // Implemantion need to be added here + } + + fun instantActionWithTransition(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?, transitionTime: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun startAction(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?) { + // Implemantion need to be added here + } + + fun startAction(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun startActionWithDuration(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?, duration: Long) { + // Implemantion need to be added here + } + + fun startActionWithDuration(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?, duration: Long, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun stopAction(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?) { + // Implemantion need to be added here + } + + fun stopAction(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun pauseAction(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?) { + // Implemantion need to be added here + } + + fun pauseAction(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun pauseActionWithDuration(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?, duration: Long) { + // Implemantion need to be added here + } + + fun pauseActionWithDuration(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?, duration: Long, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun resumeAction(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?) { + // Implemantion need to be added here + } + + fun resumeAction(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun enableAction(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?) { + // Implemantion need to be added here + } + + fun enableAction(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun enableActionWithDuration(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?, duration: Long) { + // Implemantion need to be added here + } + + fun enableActionWithDuration(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?, duration: Long, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun disableAction(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?) { + // Implemantion need to be added here + } + + fun disableAction(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun disableActionWithDuration(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?, duration: Long) { + // Implemantion need to be added here + } + + fun disableActionWithDuration(callback: DefaultClusterCallback, actionID: Integer, invokeID: Long?, duration: Long, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface ActionListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EndpointListsAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readActionListAttribute( + callback: ActionListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActionListAttribute( + callback: ActionListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEndpointListsAttribute( + callback: EndpointListsAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEndpointListsAttribute( + callback: EndpointListsAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSetupURLAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSetupURLAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ActivatedCarbonFilterMonitoringCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ActivatedCarbonFilterMonitoringCluster.kt new file mode 100644 index 00000000000000..1e90e51e1452b4 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ActivatedCarbonFilterMonitoringCluster.kt @@ -0,0 +1,267 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class ActivatedCarbonFilterMonitoringCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 114u + } + + fun resetCondition(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun resetCondition(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface LastChangedTimeAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ReplacementProductListAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readConditionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeConditionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDegradationDirectionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDegradationDirectionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readChangeIndicationAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeChangeIndicationAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInPlaceIndicatorAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeInPlaceIndicatorAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLastChangedTimeAttribute( + callback: LastChangedTimeAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeLastChangedTimeAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeLastChangedTimeAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeLastChangedTimeAttribute( + callback: LastChangedTimeAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readReplacementProductListAttribute( + callback: ReplacementProductListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeReplacementProductListAttribute( + callback: ReplacementProductListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AdministratorCommissioningCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AdministratorCommissioningCluster.kt new file mode 100644 index 00000000000000..a6725b1933a563 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AdministratorCommissioningCluster.kt @@ -0,0 +1,214 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class AdministratorCommissioningCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 60u + } + + + fun openCommissioningWindow(callback: DefaultClusterCallback, commissioningTimeout: Integer, PAKEPasscodeVerifier: byte[], discriminator: Integer, iterations: Long, salt: byte[], timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + + fun openBasicCommissioningWindow(callback: DefaultClusterCallback, commissioningTimeout: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + + fun revokeCommissioning(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface AdminFabricIndexAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AdminVendorIdAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readWindowStatusAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeWindowStatusAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAdminFabricIndexAttribute( + callback: AdminFabricIndexAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAdminFabricIndexAttribute( + callback: AdminFabricIndexAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAdminVendorIdAttribute( + callback: AdminVendorIdAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAdminVendorIdAttribute( + callback: AdminVendorIdAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AirQualityCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AirQualityCluster.kt new file mode 100644 index 00000000000000..755940b952471e --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AirQualityCluster.kt @@ -0,0 +1,157 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class AirQualityCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 91u + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readAirQualityAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAirQualityAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ApplicationBasicCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ApplicationBasicCluster.kt new file mode 100644 index 00000000000000..6bf74168e4988b --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ApplicationBasicCluster.kt @@ -0,0 +1,274 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class ApplicationBasicCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1293u + } + + interface ApplicationAttributeCallback { + fun onSuccess(value: ChipStructs.ApplicationBasicClusterApplicationStruct) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AllowedVendorListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readVendorNameAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeVendorNameAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readVendorIDAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeVendorIDAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readApplicationNameAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeApplicationNameAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readProductIDAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeProductIDAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readApplicationAttribute( + callback: ApplicationAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeApplicationAttribute( + callback: ApplicationAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readStatusAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeStatusAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readApplicationVersionAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeApplicationVersionAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAllowedVendorListAttribute( + callback: AllowedVendorListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAllowedVendorListAttribute( + callback: AllowedVendorListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ApplicationLauncherCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ApplicationLauncherCluster.kt new file mode 100644 index 00000000000000..12e44a8dd21583 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ApplicationLauncherCluster.kt @@ -0,0 +1,228 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class ApplicationLauncherCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1292u + } + + fun launchApp(callback: LauncherResponseCallback, application: ChipStructs.ApplicationLauncherClusterApplicationStruct?, data: byte[]?) { + // Implemantion need to be added here + } + + fun launchApp(callback: LauncherResponseCallback, application: ChipStructs.ApplicationLauncherClusterApplicationStruct?, data: byte[]?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun stopApp(callback: LauncherResponseCallback, application: ChipStructs.ApplicationLauncherClusterApplicationStruct?) { + // Implemantion need to be added here + } + + fun stopApp(callback: LauncherResponseCallback, application: ChipStructs.ApplicationLauncherClusterApplicationStruct?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun hideApp(callback: LauncherResponseCallback, application: ChipStructs.ApplicationLauncherClusterApplicationStruct?) { + // Implemantion need to be added here + } + + fun hideApp(callback: LauncherResponseCallback, application: ChipStructs.ApplicationLauncherClusterApplicationStruct?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface LauncherResponseCallback { + fun onSuccess(status: Integer, data: byte[]?) + fun onError(error: Exception) + } + + interface CatalogListAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface CurrentAppAttributeCallback { + fun onSuccess(value: ChipStructs.ApplicationLauncherClusterApplicationEPStruct?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readCatalogListAttribute( + callback: CatalogListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCatalogListAttribute( + callback: CatalogListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentAppAttribute( + callback: CurrentAppAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeCurrentAppAttribute( + callback: DefaultClusterCallback, + value: ChipStructs.ApplicationLauncherClusterApplicationEPStruct + ) { + // Implemantion need to be added here + } + + fun writeCurrentAppAttribute( + callback: DefaultClusterCallback, + value: ChipStructs.ApplicationLauncherClusterApplicationEPStruct, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeCurrentAppAttribute( + callback: CurrentAppAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AudioOutputCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AudioOutputCluster.kt new file mode 100644 index 00000000000000..f80e772115a0a0 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AudioOutputCluster.kt @@ -0,0 +1,194 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class AudioOutputCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1291u + } + + fun selectOutput(callback: DefaultClusterCallback, index: Integer) { + // Implemantion need to be added here + } + + fun selectOutput(callback: DefaultClusterCallback, index: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun renameOutput(callback: DefaultClusterCallback, index: Integer, name: String) { + // Implemantion need to be added here + } + + fun renameOutput(callback: DefaultClusterCallback, index: Integer, name: String, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface OutputListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readOutputListAttribute( + callback: OutputListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeOutputListAttribute( + callback: OutputListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentOutputAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentOutputAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BallastConfigurationCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BallastConfigurationCluster.kt new file mode 100644 index 00000000000000..7c2f86c1d7931a --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BallastConfigurationCluster.kt @@ -0,0 +1,532 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class BallastConfigurationCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 769u + } + + interface IntrinsicBallastFactorAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface BallastFactorAdjustmentAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface LampRatedHoursAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface LampBurnHoursAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface LampBurnHoursTripPointAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readPhysicalMinLevelAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePhysicalMinLevelAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPhysicalMaxLevelAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePhysicalMaxLevelAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBallastStatusAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBallastStatusAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinLevelAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeMinLevelAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeMinLevelAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeMinLevelAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxLevelAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeMaxLevelAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeMaxLevelAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeMaxLevelAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readIntrinsicBallastFactorAttribute( + callback: IntrinsicBallastFactorAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeIntrinsicBallastFactorAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeIntrinsicBallastFactorAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeIntrinsicBallastFactorAttribute( + callback: IntrinsicBallastFactorAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBallastFactorAdjustmentAttribute( + callback: BallastFactorAdjustmentAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeBallastFactorAdjustmentAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeBallastFactorAdjustmentAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeBallastFactorAdjustmentAttribute( + callback: BallastFactorAdjustmentAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLampQuantityAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLampQuantityAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLampTypeAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeLampTypeAttribute( + callback: DefaultClusterCallback, + value: String + ) { + // Implemantion need to be added here + } + + fun writeLampTypeAttribute( + callback: DefaultClusterCallback, + value: String, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeLampTypeAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLampManufacturerAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeLampManufacturerAttribute( + callback: DefaultClusterCallback, + value: String + ) { + // Implemantion need to be added here + } + + fun writeLampManufacturerAttribute( + callback: DefaultClusterCallback, + value: String, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeLampManufacturerAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLampRatedHoursAttribute( + callback: LampRatedHoursAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeLampRatedHoursAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeLampRatedHoursAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeLampRatedHoursAttribute( + callback: LampRatedHoursAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLampBurnHoursAttribute( + callback: LampBurnHoursAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeLampBurnHoursAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeLampBurnHoursAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeLampBurnHoursAttribute( + callback: LampBurnHoursAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLampAlarmModeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeLampAlarmModeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeLampAlarmModeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeLampAlarmModeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLampBurnHoursTripPointAttribute( + callback: LampBurnHoursTripPointAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeLampBurnHoursTripPointAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeLampBurnHoursTripPointAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeLampBurnHoursTripPointAttribute( + callback: LampBurnHoursTripPointAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BarrierControlCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BarrierControlCluster.kt new file mode 100644 index 00000000000000..fd7a697444b75a --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BarrierControlCluster.kt @@ -0,0 +1,398 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class BarrierControlCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 259u + } + + fun barrierControlGoToPercent(callback: DefaultClusterCallback, percentOpen: Integer) { + // Implemantion need to be added here + } + + fun barrierControlGoToPercent(callback: DefaultClusterCallback, percentOpen: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun barrierControlStop(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun barrierControlStop(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readBarrierMovingStateAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBarrierMovingStateAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBarrierSafetyStatusAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBarrierSafetyStatusAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBarrierCapabilitiesAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBarrierCapabilitiesAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBarrierOpenEventsAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeBarrierOpenEventsAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeBarrierOpenEventsAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeBarrierOpenEventsAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBarrierCloseEventsAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeBarrierCloseEventsAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeBarrierCloseEventsAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeBarrierCloseEventsAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBarrierCommandOpenEventsAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeBarrierCommandOpenEventsAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeBarrierCommandOpenEventsAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeBarrierCommandOpenEventsAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBarrierCommandCloseEventsAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeBarrierCommandCloseEventsAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeBarrierCommandCloseEventsAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeBarrierCommandCloseEventsAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBarrierOpenPeriodAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeBarrierOpenPeriodAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeBarrierOpenPeriodAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeBarrierOpenPeriodAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBarrierClosePeriodAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeBarrierClosePeriodAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeBarrierClosePeriodAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeBarrierClosePeriodAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBarrierPositionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBarrierPositionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BasicInformationCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BasicInformationCluster.kt new file mode 100644 index 00000000000000..a24c8d5649c91f --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BasicInformationCluster.kt @@ -0,0 +1,522 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class BasicInformationCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 40u + } + + fun mfgSpecificPing(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun mfgSpecificPing(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface CapabilityMinimaAttributeCallback { + fun onSuccess(value: ChipStructs.BasicInformationClusterCapabilityMinimaStruct) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ProductAppearanceAttributeCallback { + fun onSuccess(value: ChipStructs.BasicInformationClusterProductAppearanceStruct?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readDataModelRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDataModelRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readVendorNameAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeVendorNameAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readVendorIDAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeVendorIDAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readProductNameAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeProductNameAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readProductIDAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeProductIDAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNodeLabelAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNodeLabelAttribute( + callback: DefaultClusterCallback, + value: String + ) { + // Implemantion need to be added here + } + + fun writeNodeLabelAttribute( + callback: DefaultClusterCallback, + value: String, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNodeLabelAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLocationAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeLocationAttribute( + callback: DefaultClusterCallback, + value: String + ) { + // Implemantion need to be added here + } + + fun writeLocationAttribute( + callback: DefaultClusterCallback, + value: String, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeLocationAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readHardwareVersionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeHardwareVersionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readHardwareVersionStringAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeHardwareVersionStringAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSoftwareVersionAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSoftwareVersionAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSoftwareVersionStringAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSoftwareVersionStringAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readManufacturingDateAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeManufacturingDateAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPartNumberAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePartNumberAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readProductURLAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeProductURLAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readProductLabelAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeProductLabelAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSerialNumberAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSerialNumberAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLocalConfigDisabledAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeLocalConfigDisabledAttribute( + callback: DefaultClusterCallback, + value: Boolean + ) { + // Implemantion need to be added here + } + + fun writeLocalConfigDisabledAttribute( + callback: DefaultClusterCallback, + value: Boolean, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeLocalConfigDisabledAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readReachableAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeReachableAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUniqueIDAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeUniqueIDAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCapabilityMinimaAttribute( + callback: CapabilityMinimaAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCapabilityMinimaAttribute( + callback: CapabilityMinimaAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readProductAppearanceAttribute( + callback: ProductAppearanceAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeProductAppearanceAttribute( + callback: ProductAppearanceAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BinaryInputBasicCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BinaryInputBasicCluster.kt new file mode 100644 index 00000000000000..0cf5dbf4cbd5fe --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BinaryInputBasicCluster.kt @@ -0,0 +1,367 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class BinaryInputBasicCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 15u + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readActiveTextAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeActiveTextAttribute( + callback: DefaultClusterCallback, + value: String + ) { + // Implemantion need to be added here + } + + fun writeActiveTextAttribute( + callback: DefaultClusterCallback, + value: String, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeActiveTextAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDescriptionAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeDescriptionAttribute( + callback: DefaultClusterCallback, + value: String + ) { + // Implemantion need to be added here + } + + fun writeDescriptionAttribute( + callback: DefaultClusterCallback, + value: String, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeDescriptionAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInactiveTextAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeInactiveTextAttribute( + callback: DefaultClusterCallback, + value: String + ) { + // Implemantion need to be added here + } + + fun writeInactiveTextAttribute( + callback: DefaultClusterCallback, + value: String, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeInactiveTextAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOutOfServiceAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOutOfServiceAttribute( + callback: DefaultClusterCallback, + value: Boolean + ) { + // Implemantion need to be added here + } + + fun writeOutOfServiceAttribute( + callback: DefaultClusterCallback, + value: Boolean, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOutOfServiceAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPolarityAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePolarityAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPresentValueAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writePresentValueAttribute( + callback: DefaultClusterCallback, + value: Boolean + ) { + // Implemantion need to be added here + } + + fun writePresentValueAttribute( + callback: DefaultClusterCallback, + value: Boolean, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribePresentValueAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readReliabilityAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeReliabilityAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeReliabilityAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeReliabilityAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readStatusFlagsAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeStatusFlagsAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readApplicationTypeAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeApplicationTypeAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BindingCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BindingCluster.kt new file mode 100644 index 00000000000000..183e7ebc6f788c --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BindingCluster.kt @@ -0,0 +1,186 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class BindingCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 30u + } + + interface BindingAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readBindingAttribute( + callback: BindingAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun readBindingAttributeWithFabricFilter( + callback: BindingAttributeCallback, + isFabricFiltered: Boolean + ) { + // Implemantion need to be added here + } + + + fun writeBindingAttribute( + callback: DefaultClusterCallback, + value: ArrayList + ) { + // Implemantion need to be added here + } + + fun writeBindingAttribute( + callback: DefaultClusterCallback, + value: ArrayList, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeBindingAttribute( + callback: BindingAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BooleanStateCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BooleanStateCluster.kt new file mode 100644 index 00000000000000..01bc4143bb0ed4 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BooleanStateCluster.kt @@ -0,0 +1,157 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class BooleanStateCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 69u + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readStateValueAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeStateValueAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BridgedDeviceBasicInformationCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BridgedDeviceBasicInformationCluster.kt new file mode 100644 index 00000000000000..06b5a2c7937564 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BridgedDeviceBasicInformationCluster.kt @@ -0,0 +1,403 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class BridgedDeviceBasicInformationCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 57u + } + + interface ProductAppearanceAttributeCallback { + fun onSuccess(value: ChipStructs.BridgedDeviceBasicInformationClusterProductAppearanceStruct?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readVendorNameAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeVendorNameAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readVendorIDAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeVendorIDAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readProductNameAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeProductNameAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNodeLabelAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNodeLabelAttribute( + callback: DefaultClusterCallback, + value: String + ) { + // Implemantion need to be added here + } + + fun writeNodeLabelAttribute( + callback: DefaultClusterCallback, + value: String, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNodeLabelAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readHardwareVersionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeHardwareVersionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readHardwareVersionStringAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeHardwareVersionStringAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSoftwareVersionAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSoftwareVersionAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSoftwareVersionStringAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSoftwareVersionStringAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readManufacturingDateAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeManufacturingDateAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPartNumberAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePartNumberAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readProductURLAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeProductURLAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readProductLabelAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeProductLabelAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSerialNumberAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSerialNumberAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readReachableAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeReachableAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUniqueIDAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeUniqueIDAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readProductAppearanceAttribute( + callback: ProductAppearanceAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeProductAppearanceAttribute( + callback: ProductAppearanceAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/CarbonDioxideConcentrationMeasurementCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/CarbonDioxideConcentrationMeasurementCluster.kt new file mode 100644 index 00000000000000..2ec739e9a5c923 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/CarbonDioxideConcentrationMeasurementCluster.kt @@ -0,0 +1,337 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class CarbonDioxideConcentrationMeasurementCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1037u + } + + interface MeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MinMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface PeakMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AverageMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPeakMeasuredValueAttribute( + callback: PeakMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePeakMeasuredValueAttribute( + callback: PeakMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPeakMeasuredValueWindowAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePeakMeasuredValueWindowAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageMeasuredValueAttribute( + callback: AverageMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageMeasuredValueAttribute( + callback: AverageMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageMeasuredValueWindowAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageMeasuredValueWindowAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUncertaintyAttribute( + callback: FloatAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeUncertaintyAttribute( + callback: FloatAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasurementUnitAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasurementUnitAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasurementMediumAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasurementMediumAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLevelValueAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLevelValueAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/CarbonMonoxideConcentrationMeasurementCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/CarbonMonoxideConcentrationMeasurementCluster.kt new file mode 100644 index 00000000000000..19111a6bd8c847 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/CarbonMonoxideConcentrationMeasurementCluster.kt @@ -0,0 +1,337 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class CarbonMonoxideConcentrationMeasurementCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1036u + } + + interface MeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MinMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface PeakMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AverageMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPeakMeasuredValueAttribute( + callback: PeakMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePeakMeasuredValueAttribute( + callback: PeakMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPeakMeasuredValueWindowAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePeakMeasuredValueWindowAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageMeasuredValueAttribute( + callback: AverageMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageMeasuredValueAttribute( + callback: AverageMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageMeasuredValueWindowAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageMeasuredValueWindowAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUncertaintyAttribute( + callback: FloatAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeUncertaintyAttribute( + callback: FloatAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasurementUnitAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasurementUnitAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasurementMediumAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasurementMediumAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLevelValueAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLevelValueAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ChannelCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ChannelCluster.kt new file mode 100644 index 00000000000000..a4ab718f4c1664 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ChannelCluster.kt @@ -0,0 +1,234 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class ChannelCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1284u + } + + fun changeChannel(callback: ChangeChannelResponseCallback, match: String) { + // Implemantion need to be added here + } + + fun changeChannel(callback: ChangeChannelResponseCallback, match: String, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun changeChannelByNumber(callback: DefaultClusterCallback, majorNumber: Integer, minorNumber: Integer) { + // Implemantion need to be added here + } + + fun changeChannelByNumber(callback: DefaultClusterCallback, majorNumber: Integer, minorNumber: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun skipChannel(callback: DefaultClusterCallback, count: Integer) { + // Implemantion need to be added here + } + + fun skipChannel(callback: DefaultClusterCallback, count: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface ChangeChannelResponseCallback { + fun onSuccess(status: Integer, data: String?) + fun onError(error: Exception) + } + + interface ChannelListAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface LineupAttributeCallback { + fun onSuccess(value: ChipStructs.ChannelClusterLineupInfoStruct?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface CurrentChannelAttributeCallback { + fun onSuccess(value: ChipStructs.ChannelClusterChannelInfoStruct?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readChannelListAttribute( + callback: ChannelListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeChannelListAttribute( + callback: ChannelListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLineupAttribute( + callback: LineupAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLineupAttribute( + callback: LineupAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentChannelAttribute( + callback: CurrentChannelAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentChannelAttribute( + callback: CurrentChannelAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ColorControlCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ColorControlCluster.kt new file mode 100644 index 00000000000000..ad5e0676f353e7 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ColorControlCluster.kt @@ -0,0 +1,1335 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class ColorControlCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 768u + } + + fun moveToHue(callback: DefaultClusterCallback, hue: Integer, direction: Integer, transitionTime: Integer, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun moveToHue(callback: DefaultClusterCallback, hue: Integer, direction: Integer, transitionTime: Integer, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun moveHue(callback: DefaultClusterCallback, moveMode: Integer, rate: Integer, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun moveHue(callback: DefaultClusterCallback, moveMode: Integer, rate: Integer, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun stepHue(callback: DefaultClusterCallback, stepMode: Integer, stepSize: Integer, transitionTime: Integer, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun stepHue(callback: DefaultClusterCallback, stepMode: Integer, stepSize: Integer, transitionTime: Integer, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun moveToSaturation(callback: DefaultClusterCallback, saturation: Integer, transitionTime: Integer, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun moveToSaturation(callback: DefaultClusterCallback, saturation: Integer, transitionTime: Integer, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun moveSaturation(callback: DefaultClusterCallback, moveMode: Integer, rate: Integer, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun moveSaturation(callback: DefaultClusterCallback, moveMode: Integer, rate: Integer, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun stepSaturation(callback: DefaultClusterCallback, stepMode: Integer, stepSize: Integer, transitionTime: Integer, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun stepSaturation(callback: DefaultClusterCallback, stepMode: Integer, stepSize: Integer, transitionTime: Integer, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun moveToHueAndSaturation(callback: DefaultClusterCallback, hue: Integer, saturation: Integer, transitionTime: Integer, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun moveToHueAndSaturation(callback: DefaultClusterCallback, hue: Integer, saturation: Integer, transitionTime: Integer, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun moveToColor(callback: DefaultClusterCallback, colorX: Integer, colorY: Integer, transitionTime: Integer, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun moveToColor(callback: DefaultClusterCallback, colorX: Integer, colorY: Integer, transitionTime: Integer, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun moveColor(callback: DefaultClusterCallback, rateX: Integer, rateY: Integer, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun moveColor(callback: DefaultClusterCallback, rateX: Integer, rateY: Integer, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun stepColor(callback: DefaultClusterCallback, stepX: Integer, stepY: Integer, transitionTime: Integer, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun stepColor(callback: DefaultClusterCallback, stepX: Integer, stepY: Integer, transitionTime: Integer, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun moveToColorTemperature(callback: DefaultClusterCallback, colorTemperatureMireds: Integer, transitionTime: Integer, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun moveToColorTemperature(callback: DefaultClusterCallback, colorTemperatureMireds: Integer, transitionTime: Integer, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun enhancedMoveToHue(callback: DefaultClusterCallback, enhancedHue: Integer, direction: Integer, transitionTime: Integer, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun enhancedMoveToHue(callback: DefaultClusterCallback, enhancedHue: Integer, direction: Integer, transitionTime: Integer, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun enhancedMoveHue(callback: DefaultClusterCallback, moveMode: Integer, rate: Integer, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun enhancedMoveHue(callback: DefaultClusterCallback, moveMode: Integer, rate: Integer, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun enhancedStepHue(callback: DefaultClusterCallback, stepMode: Integer, stepSize: Integer, transitionTime: Integer, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun enhancedStepHue(callback: DefaultClusterCallback, stepMode: Integer, stepSize: Integer, transitionTime: Integer, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun enhancedMoveToHueAndSaturation(callback: DefaultClusterCallback, enhancedHue: Integer, saturation: Integer, transitionTime: Integer, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun enhancedMoveToHueAndSaturation(callback: DefaultClusterCallback, enhancedHue: Integer, saturation: Integer, transitionTime: Integer, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun colorLoopSet(callback: DefaultClusterCallback, updateFlags: Integer, action: Integer, direction: Integer, time: Integer, startHue: Integer, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun colorLoopSet(callback: DefaultClusterCallback, updateFlags: Integer, action: Integer, direction: Integer, time: Integer, startHue: Integer, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun stopMoveStep(callback: DefaultClusterCallback, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun stopMoveStep(callback: DefaultClusterCallback, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun moveColorTemperature(callback: DefaultClusterCallback, moveMode: Integer, rate: Integer, colorTemperatureMinimumMireds: Integer, colorTemperatureMaximumMireds: Integer, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun moveColorTemperature(callback: DefaultClusterCallback, moveMode: Integer, rate: Integer, colorTemperatureMinimumMireds: Integer, colorTemperatureMaximumMireds: Integer, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun stepColorTemperature(callback: DefaultClusterCallback, stepMode: Integer, stepSize: Integer, transitionTime: Integer, colorTemperatureMinimumMireds: Integer, colorTemperatureMaximumMireds: Integer, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun stepColorTemperature(callback: DefaultClusterCallback, stepMode: Integer, stepSize: Integer, transitionTime: Integer, colorTemperatureMinimumMireds: Integer, colorTemperatureMaximumMireds: Integer, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface NumberOfPrimariesAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface Primary1IntensityAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface Primary2IntensityAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface Primary3IntensityAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface Primary4IntensityAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface Primary5IntensityAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface Primary6IntensityAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ColorPointRIntensityAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ColorPointGIntensityAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ColorPointBIntensityAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface StartUpColorTemperatureMiredsAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readCurrentHueAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentHueAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentSaturationAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentSaturationAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRemainingTimeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRemainingTimeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentXAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentXAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentYAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentYAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDriftCompensationAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDriftCompensationAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCompensationTextAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCompensationTextAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readColorTemperatureMiredsAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeColorTemperatureMiredsAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readColorModeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeColorModeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOptionsAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOptionsAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeOptionsAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOptionsAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNumberOfPrimariesAttribute( + callback: NumberOfPrimariesAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeNumberOfPrimariesAttribute( + callback: NumberOfPrimariesAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPrimary1XAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePrimary1XAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPrimary1YAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePrimary1YAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPrimary1IntensityAttribute( + callback: Primary1IntensityAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePrimary1IntensityAttribute( + callback: Primary1IntensityAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPrimary2XAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePrimary2XAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPrimary2YAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePrimary2YAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPrimary2IntensityAttribute( + callback: Primary2IntensityAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePrimary2IntensityAttribute( + callback: Primary2IntensityAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPrimary3XAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePrimary3XAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPrimary3YAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePrimary3YAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPrimary3IntensityAttribute( + callback: Primary3IntensityAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePrimary3IntensityAttribute( + callback: Primary3IntensityAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPrimary4XAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePrimary4XAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPrimary4YAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePrimary4YAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPrimary4IntensityAttribute( + callback: Primary4IntensityAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePrimary4IntensityAttribute( + callback: Primary4IntensityAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPrimary5XAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePrimary5XAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPrimary5YAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePrimary5YAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPrimary5IntensityAttribute( + callback: Primary5IntensityAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePrimary5IntensityAttribute( + callback: Primary5IntensityAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPrimary6XAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePrimary6XAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPrimary6YAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePrimary6YAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPrimary6IntensityAttribute( + callback: Primary6IntensityAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePrimary6IntensityAttribute( + callback: Primary6IntensityAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readWhitePointXAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeWhitePointXAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeWhitePointXAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeWhitePointXAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readWhitePointYAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeWhitePointYAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeWhitePointYAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeWhitePointYAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readColorPointRXAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeColorPointRXAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeColorPointRXAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeColorPointRXAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readColorPointRYAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeColorPointRYAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeColorPointRYAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeColorPointRYAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readColorPointRIntensityAttribute( + callback: ColorPointRIntensityAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeColorPointRIntensityAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeColorPointRIntensityAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeColorPointRIntensityAttribute( + callback: ColorPointRIntensityAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readColorPointGXAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeColorPointGXAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeColorPointGXAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeColorPointGXAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readColorPointGYAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeColorPointGYAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeColorPointGYAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeColorPointGYAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readColorPointGIntensityAttribute( + callback: ColorPointGIntensityAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeColorPointGIntensityAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeColorPointGIntensityAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeColorPointGIntensityAttribute( + callback: ColorPointGIntensityAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readColorPointBXAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeColorPointBXAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeColorPointBXAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeColorPointBXAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readColorPointBYAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeColorPointBYAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeColorPointBYAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeColorPointBYAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readColorPointBIntensityAttribute( + callback: ColorPointBIntensityAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeColorPointBIntensityAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeColorPointBIntensityAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeColorPointBIntensityAttribute( + callback: ColorPointBIntensityAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEnhancedCurrentHueAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEnhancedCurrentHueAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEnhancedColorModeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEnhancedColorModeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readColorLoopActiveAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeColorLoopActiveAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readColorLoopDirectionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeColorLoopDirectionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readColorLoopTimeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeColorLoopTimeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readColorLoopStartEnhancedHueAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeColorLoopStartEnhancedHueAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readColorLoopStoredEnhancedHueAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeColorLoopStoredEnhancedHueAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readColorCapabilitiesAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeColorCapabilitiesAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readColorTempPhysicalMinMiredsAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeColorTempPhysicalMinMiredsAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readColorTempPhysicalMaxMiredsAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeColorTempPhysicalMaxMiredsAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCoupleColorTempToLevelMinMiredsAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCoupleColorTempToLevelMinMiredsAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readStartUpColorTemperatureMiredsAttribute( + callback: StartUpColorTemperatureMiredsAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeStartUpColorTemperatureMiredsAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeStartUpColorTemperatureMiredsAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeStartUpColorTemperatureMiredsAttribute( + callback: StartUpColorTemperatureMiredsAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ContentLauncherCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ContentLauncherCluster.kt new file mode 100644 index 00000000000000..7fc88be1d2415f --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ContentLauncherCluster.kt @@ -0,0 +1,214 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class ContentLauncherCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1290u + } + + fun launchContent(callback: LauncherResponseCallback, search: ChipStructs.ContentLauncherClusterContentSearchStruct, autoPlay: Boolean, data: String?) { + // Implemantion need to be added here + } + + fun launchContent(callback: LauncherResponseCallback, search: ChipStructs.ContentLauncherClusterContentSearchStruct, autoPlay: Boolean, data: String?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun launchURL(callback: LauncherResponseCallback, contentURL: String, displayString: String?, brandingInformation: ChipStructs.ContentLauncherClusterBrandingInformationStruct?) { + // Implemantion need to be added here + } + + fun launchURL(callback: LauncherResponseCallback, contentURL: String, displayString: String?, brandingInformation: ChipStructs.ContentLauncherClusterBrandingInformationStruct?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface LauncherResponseCallback { + fun onSuccess(status: Integer, data: String?) + fun onError(error: Exception) + } + + interface AcceptHeaderAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readAcceptHeaderAttribute( + callback: AcceptHeaderAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptHeaderAttribute( + callback: AcceptHeaderAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSupportedStreamingProtocolsAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeSupportedStreamingProtocolsAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeSupportedStreamingProtocolsAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeSupportedStreamingProtocolsAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DescriptorCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DescriptorCluster.kt new file mode 100644 index 00000000000000..7ace3950bdb195 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DescriptorCluster.kt @@ -0,0 +1,247 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class DescriptorCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 29u + } + + interface DeviceTypeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ServerListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ClientListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface PartsListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface TagListAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readDeviceTypeListAttribute( + callback: DeviceTypeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDeviceTypeListAttribute( + callback: DeviceTypeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readServerListAttribute( + callback: ServerListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeServerListAttribute( + callback: ServerListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClientListAttribute( + callback: ClientListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClientListAttribute( + callback: ClientListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPartsListAttribute( + callback: PartsListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePartsListAttribute( + callback: PartsListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTagListAttribute( + callback: TagListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTagListAttribute( + callback: TagListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DiagnosticLogsCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DiagnosticLogsCluster.kt new file mode 100644 index 00000000000000..25b480b63aabff --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DiagnosticLogsCluster.kt @@ -0,0 +1,155 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class DiagnosticLogsCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 50u + } + + fun retrieveLogsRequest(callback: RetrieveLogsResponseCallback, intent: Integer, requestedProtocol: Integer, transferFileDesignator: String?) { + // Implemantion need to be added here + } + + fun retrieveLogsRequest(callback: RetrieveLogsResponseCallback, intent: Integer, requestedProtocol: Integer, transferFileDesignator: String?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface RetrieveLogsResponseCallback { + fun onSuccess(status: Integer, logContent: byte[], UTCTimeStamp: Long?, timeSinceBoot: Long?) + fun onError(error: Exception) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DishwasherAlarmCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DishwasherAlarmCluster.kt new file mode 100644 index 00000000000000..bb41363728f8c4 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DishwasherAlarmCluster.kt @@ -0,0 +1,218 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class DishwasherAlarmCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 93u + } + + fun reset(callback: DefaultClusterCallback, alarms: Long) { + // Implemantion need to be added here + } + + fun reset(callback: DefaultClusterCallback, alarms: Long, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun modifyEnabledAlarms(callback: DefaultClusterCallback, mask: Long) { + // Implemantion need to be added here + } + + fun modifyEnabledAlarms(callback: DefaultClusterCallback, mask: Long, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readMaskAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaskAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLatchAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLatchAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readStateAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeStateAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSupportedAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSupportedAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DishwasherModeCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DishwasherModeCluster.kt new file mode 100644 index 00000000000000..79c66aa31911de --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DishwasherModeCluster.kt @@ -0,0 +1,263 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class DishwasherModeCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 89u + } + + fun changeToMode(callback: ChangeToModeResponseCallback, newMode: Integer) { + // Implemantion need to be added here + } + + fun changeToMode(callback: ChangeToModeResponseCallback, newMode: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface ChangeToModeResponseCallback { + fun onSuccess(status: Integer, statusText: String?) + fun onError(error: Exception) + } + + interface SupportedModesAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface StartUpModeAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface OnModeAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readSupportedModesAttribute( + callback: SupportedModesAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSupportedModesAttribute( + callback: SupportedModesAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentModeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentModeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readStartUpModeAttribute( + callback: StartUpModeAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeStartUpModeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeStartUpModeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeStartUpModeAttribute( + callback: StartUpModeAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOnModeAttribute( + callback: OnModeAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOnModeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeOnModeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOnModeAttribute( + callback: OnModeAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DoorLockCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DoorLockCluster.kt new file mode 100644 index 00000000000000..899b087cef7f96 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DoorLockCluster.kt @@ -0,0 +1,1122 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class DoorLockCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 257u + } + + + fun lockDoor(callback: DefaultClusterCallback, PINCode: byte[]?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + + fun unlockDoor(callback: DefaultClusterCallback, PINCode: byte[]?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + + fun unlockWithTimeout(callback: DefaultClusterCallback, timeout: Integer, PINCode: byte[]?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun setWeekDaySchedule(callback: DefaultClusterCallback, weekDayIndex: Integer, userIndex: Integer, daysMask: Integer, startHour: Integer, startMinute: Integer, endHour: Integer, endMinute: Integer) { + // Implemantion need to be added here + } + + fun setWeekDaySchedule(callback: DefaultClusterCallback, weekDayIndex: Integer, userIndex: Integer, daysMask: Integer, startHour: Integer, startMinute: Integer, endHour: Integer, endMinute: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun getWeekDaySchedule(callback: GetWeekDayScheduleResponseCallback, weekDayIndex: Integer, userIndex: Integer) { + // Implemantion need to be added here + } + + fun getWeekDaySchedule(callback: GetWeekDayScheduleResponseCallback, weekDayIndex: Integer, userIndex: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun clearWeekDaySchedule(callback: DefaultClusterCallback, weekDayIndex: Integer, userIndex: Integer) { + // Implemantion need to be added here + } + + fun clearWeekDaySchedule(callback: DefaultClusterCallback, weekDayIndex: Integer, userIndex: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun setYearDaySchedule(callback: DefaultClusterCallback, yearDayIndex: Integer, userIndex: Integer, localStartTime: Long, localEndTime: Long) { + // Implemantion need to be added here + } + + fun setYearDaySchedule(callback: DefaultClusterCallback, yearDayIndex: Integer, userIndex: Integer, localStartTime: Long, localEndTime: Long, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun getYearDaySchedule(callback: GetYearDayScheduleResponseCallback, yearDayIndex: Integer, userIndex: Integer) { + // Implemantion need to be added here + } + + fun getYearDaySchedule(callback: GetYearDayScheduleResponseCallback, yearDayIndex: Integer, userIndex: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun clearYearDaySchedule(callback: DefaultClusterCallback, yearDayIndex: Integer, userIndex: Integer) { + // Implemantion need to be added here + } + + fun clearYearDaySchedule(callback: DefaultClusterCallback, yearDayIndex: Integer, userIndex: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun setHolidaySchedule(callback: DefaultClusterCallback, holidayIndex: Integer, localStartTime: Long, localEndTime: Long, operatingMode: Integer) { + // Implemantion need to be added here + } + + fun setHolidaySchedule(callback: DefaultClusterCallback, holidayIndex: Integer, localStartTime: Long, localEndTime: Long, operatingMode: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun getHolidaySchedule(callback: GetHolidayScheduleResponseCallback, holidayIndex: Integer) { + // Implemantion need to be added here + } + + fun getHolidaySchedule(callback: GetHolidayScheduleResponseCallback, holidayIndex: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun clearHolidaySchedule(callback: DefaultClusterCallback, holidayIndex: Integer) { + // Implemantion need to be added here + } + + fun clearHolidaySchedule(callback: DefaultClusterCallback, holidayIndex: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + + fun setUser(callback: DefaultClusterCallback, operationType: Integer, userIndex: Integer, userName: String?, userUniqueID: Long?, userStatus: Integer?, userType: Integer?, credentialRule: Integer?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun getUser(callback: GetUserResponseCallback, userIndex: Integer) { + // Implemantion need to be added here + } + + fun getUser(callback: GetUserResponseCallback, userIndex: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + + fun clearUser(callback: DefaultClusterCallback, userIndex: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + + fun setCredential(callback: SetCredentialResponseCallback, operationType: Integer, credential: ChipStructs.DoorLockClusterCredentialStruct, credentialData: byte[], userIndex: Integer?, userStatus: Integer?, userType: Integer?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun getCredentialStatus(callback: GetCredentialStatusResponseCallback, credential: ChipStructs.DoorLockClusterCredentialStruct) { + // Implemantion need to be added here + } + + fun getCredentialStatus(callback: GetCredentialStatusResponseCallback, credential: ChipStructs.DoorLockClusterCredentialStruct, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + + fun clearCredential(callback: DefaultClusterCallback, credential: ChipStructs.DoorLockClusterCredentialStruct?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + + fun unboltDoor(callback: DefaultClusterCallback, PINCode: byte[]?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface GetWeekDayScheduleResponseCallback { + fun onSuccess(weekDayIndex: Integer, userIndex: Integer, status: Integer, daysMask: Integer?, startHour: Integer?, startMinute: Integer?, endHour: Integer?, endMinute: Integer?) + fun onError(error: Exception) + } + + interface GetYearDayScheduleResponseCallback { + fun onSuccess(yearDayIndex: Integer, userIndex: Integer, status: Integer, localStartTime: Long?, localEndTime: Long?) + fun onError(error: Exception) + } + + interface GetHolidayScheduleResponseCallback { + fun onSuccess(holidayIndex: Integer, status: Integer, localStartTime: Long?, localEndTime: Long?, operatingMode: Integer?) + fun onError(error: Exception) + } + + interface GetUserResponseCallback { + fun onSuccess(userIndex: Integer, userName: String?, userUniqueID: Long?, userStatus: Integer?, userType: Integer?, credentialRule: Integer?, credentials: ArrayList?, creatorFabricIndex: Integer?, lastModifiedFabricIndex: Integer?, nextUserIndex: Integer?) + fun onError(error: Exception) + } + + interface SetCredentialResponseCallback { + fun onSuccess(status: Integer, userIndex: Integer?, nextCredentialIndex: Integer?) + fun onError(error: Exception) + } + + interface GetCredentialStatusResponseCallback { + fun onSuccess(credentialExists: Boolean, userIndex: Integer?, creatorFabricIndex: Integer?, lastModifiedFabricIndex: Integer?, nextCredentialIndex: Integer?) + fun onError(error: Exception) + } + + interface LockStateAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface DoorStateAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readLockStateAttribute( + callback: LockStateAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLockStateAttribute( + callback: LockStateAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLockTypeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLockTypeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActuatorEnabledAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActuatorEnabledAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDoorStateAttribute( + callback: DoorStateAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDoorStateAttribute( + callback: DoorStateAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDoorOpenEventsAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeDoorOpenEventsAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeDoorOpenEventsAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeDoorOpenEventsAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDoorClosedEventsAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeDoorClosedEventsAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeDoorClosedEventsAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeDoorClosedEventsAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOpenPeriodAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOpenPeriodAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeOpenPeriodAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOpenPeriodAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNumberOfTotalUsersSupportedAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeNumberOfTotalUsersSupportedAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNumberOfPINUsersSupportedAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeNumberOfPINUsersSupportedAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNumberOfRFIDUsersSupportedAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeNumberOfRFIDUsersSupportedAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNumberOfWeekDaySchedulesSupportedPerUserAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeNumberOfWeekDaySchedulesSupportedPerUserAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNumberOfYearDaySchedulesSupportedPerUserAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeNumberOfYearDaySchedulesSupportedPerUserAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNumberOfHolidaySchedulesSupportedAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeNumberOfHolidaySchedulesSupportedAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxPINCodeLengthAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxPINCodeLengthAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinPINCodeLengthAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinPINCodeLengthAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxRFIDCodeLengthAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxRFIDCodeLengthAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinRFIDCodeLengthAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinRFIDCodeLengthAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCredentialRulesSupportAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCredentialRulesSupportAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNumberOfCredentialsSupportedPerUserAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeNumberOfCredentialsSupportedPerUserAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLanguageAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeLanguageAttribute( + callback: DefaultClusterCallback, + value: String + ) { + // Implemantion need to be added here + } + + fun writeLanguageAttribute( + callback: DefaultClusterCallback, + value: String, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeLanguageAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLEDSettingsAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeLEDSettingsAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeLEDSettingsAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeLEDSettingsAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAutoRelockTimeAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeAutoRelockTimeAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeAutoRelockTimeAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeAutoRelockTimeAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSoundVolumeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeSoundVolumeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeSoundVolumeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeSoundVolumeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOperatingModeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOperatingModeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeOperatingModeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOperatingModeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSupportedOperatingModesAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSupportedOperatingModesAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDefaultConfigurationRegisterAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDefaultConfigurationRegisterAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEnableLocalProgrammingAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeEnableLocalProgrammingAttribute( + callback: DefaultClusterCallback, + value: Boolean + ) { + // Implemantion need to be added here + } + + fun writeEnableLocalProgrammingAttribute( + callback: DefaultClusterCallback, + value: Boolean, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeEnableLocalProgrammingAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEnableOneTouchLockingAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeEnableOneTouchLockingAttribute( + callback: DefaultClusterCallback, + value: Boolean + ) { + // Implemantion need to be added here + } + + fun writeEnableOneTouchLockingAttribute( + callback: DefaultClusterCallback, + value: Boolean, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeEnableOneTouchLockingAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEnableInsideStatusLEDAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeEnableInsideStatusLEDAttribute( + callback: DefaultClusterCallback, + value: Boolean + ) { + // Implemantion need to be added here + } + + fun writeEnableInsideStatusLEDAttribute( + callback: DefaultClusterCallback, + value: Boolean, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeEnableInsideStatusLEDAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEnablePrivacyModeButtonAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeEnablePrivacyModeButtonAttribute( + callback: DefaultClusterCallback, + value: Boolean + ) { + // Implemantion need to be added here + } + + fun writeEnablePrivacyModeButtonAttribute( + callback: DefaultClusterCallback, + value: Boolean, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeEnablePrivacyModeButtonAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLocalProgrammingFeaturesAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeLocalProgrammingFeaturesAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeLocalProgrammingFeaturesAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeLocalProgrammingFeaturesAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readWrongCodeEntryLimitAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeWrongCodeEntryLimitAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeWrongCodeEntryLimitAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeWrongCodeEntryLimitAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUserCodeTemporaryDisableTimeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeUserCodeTemporaryDisableTimeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeUserCodeTemporaryDisableTimeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeUserCodeTemporaryDisableTimeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSendPINOverTheAirAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeSendPINOverTheAirAttribute( + callback: DefaultClusterCallback, + value: Boolean + ) { + // Implemantion need to be added here + } + + fun writeSendPINOverTheAirAttribute( + callback: DefaultClusterCallback, + value: Boolean, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeSendPINOverTheAirAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRequirePINforRemoteOperationAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeRequirePINforRemoteOperationAttribute( + callback: DefaultClusterCallback, + value: Boolean + ) { + // Implemantion need to be added here + } + + fun writeRequirePINforRemoteOperationAttribute( + callback: DefaultClusterCallback, + value: Boolean, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeRequirePINforRemoteOperationAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readExpiringUserTimeoutAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeExpiringUserTimeoutAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeExpiringUserTimeoutAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeExpiringUserTimeoutAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ElectricalMeasurementCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ElectricalMeasurementCluster.kt new file mode 100644 index 00000000000000..3bbf84413ff315 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ElectricalMeasurementCluster.kt @@ -0,0 +1,2198 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class ElectricalMeasurementCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 2820u + } + + fun getProfileInfoCommand(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun getProfileInfoCommand(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun getMeasurementProfileCommand(callback: DefaultClusterCallback, attributeId: Integer, startTime: Long, numberOfIntervals: Integer) { + // Implemantion need to be added here + } + + fun getMeasurementProfileCommand(callback: DefaultClusterCallback, attributeId: Integer, startTime: Long, numberOfIntervals: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readMeasurementTypeAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasurementTypeAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDcVoltageAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDcVoltageAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDcVoltageMinAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDcVoltageMinAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDcVoltageMaxAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDcVoltageMaxAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDcCurrentAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDcCurrentAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDcCurrentMinAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDcCurrentMinAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDcCurrentMaxAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDcCurrentMaxAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDcPowerAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDcPowerAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDcPowerMinAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDcPowerMinAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDcPowerMaxAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDcPowerMaxAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDcVoltageMultiplierAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDcVoltageMultiplierAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDcVoltageDivisorAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDcVoltageDivisorAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDcCurrentMultiplierAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDcCurrentMultiplierAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDcCurrentDivisorAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDcCurrentDivisorAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDcPowerMultiplierAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDcPowerMultiplierAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDcPowerDivisorAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDcPowerDivisorAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcFrequencyAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcFrequencyAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcFrequencyMinAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcFrequencyMinAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcFrequencyMaxAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcFrequencyMaxAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNeutralCurrentAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeNeutralCurrentAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTotalActivePowerAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTotalActivePowerAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTotalReactivePowerAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTotalReactivePowerAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTotalApparentPowerAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTotalApparentPowerAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasured1stHarmonicCurrentAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasured1stHarmonicCurrentAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasured3rdHarmonicCurrentAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasured3rdHarmonicCurrentAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasured5thHarmonicCurrentAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasured5thHarmonicCurrentAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasured7thHarmonicCurrentAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasured7thHarmonicCurrentAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasured9thHarmonicCurrentAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasured9thHarmonicCurrentAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasured11thHarmonicCurrentAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasured11thHarmonicCurrentAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasuredPhase1stHarmonicCurrentAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasuredPhase1stHarmonicCurrentAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasuredPhase3rdHarmonicCurrentAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasuredPhase3rdHarmonicCurrentAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasuredPhase5thHarmonicCurrentAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasuredPhase5thHarmonicCurrentAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasuredPhase7thHarmonicCurrentAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasuredPhase7thHarmonicCurrentAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasuredPhase9thHarmonicCurrentAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasuredPhase9thHarmonicCurrentAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasuredPhase11thHarmonicCurrentAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasuredPhase11thHarmonicCurrentAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcFrequencyMultiplierAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcFrequencyMultiplierAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcFrequencyDivisorAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcFrequencyDivisorAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPowerMultiplierAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePowerMultiplierAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPowerDivisorAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePowerDivisorAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readHarmonicCurrentMultiplierAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeHarmonicCurrentMultiplierAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPhaseHarmonicCurrentMultiplierAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePhaseHarmonicCurrentMultiplierAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInstantaneousVoltageAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeInstantaneousVoltageAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInstantaneousLineCurrentAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeInstantaneousLineCurrentAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInstantaneousActiveCurrentAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeInstantaneousActiveCurrentAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInstantaneousReactiveCurrentAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeInstantaneousReactiveCurrentAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInstantaneousPowerAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeInstantaneousPowerAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsVoltageAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsVoltageAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsVoltageMinAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsVoltageMinAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsVoltageMaxAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsVoltageMaxAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsCurrentAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsCurrentAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsCurrentMinAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsCurrentMinAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsCurrentMaxAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsCurrentMaxAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActivePowerAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActivePowerAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActivePowerMinAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActivePowerMinAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActivePowerMaxAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActivePowerMaxAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readReactivePowerAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeReactivePowerAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readApparentPowerAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeApparentPowerAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPowerFactorAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePowerFactorAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageRmsVoltageMeasurementPeriodAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeAverageRmsVoltageMeasurementPeriodAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeAverageRmsVoltageMeasurementPeriodAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeAverageRmsVoltageMeasurementPeriodAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageRmsUnderVoltageCounterAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeAverageRmsUnderVoltageCounterAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeAverageRmsUnderVoltageCounterAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeAverageRmsUnderVoltageCounterAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsExtremeOverVoltagePeriodAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeRmsExtremeOverVoltagePeriodAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeRmsExtremeOverVoltagePeriodAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeRmsExtremeOverVoltagePeriodAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsExtremeUnderVoltagePeriodAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeRmsExtremeUnderVoltagePeriodAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeRmsExtremeUnderVoltagePeriodAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeRmsExtremeUnderVoltagePeriodAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsVoltageSagPeriodAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeRmsVoltageSagPeriodAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeRmsVoltageSagPeriodAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeRmsVoltageSagPeriodAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsVoltageSwellPeriodAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeRmsVoltageSwellPeriodAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeRmsVoltageSwellPeriodAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeRmsVoltageSwellPeriodAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcVoltageMultiplierAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcVoltageMultiplierAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcVoltageDivisorAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcVoltageDivisorAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcCurrentMultiplierAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcCurrentMultiplierAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcCurrentDivisorAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcCurrentDivisorAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcPowerMultiplierAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcPowerMultiplierAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcPowerDivisorAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcPowerDivisorAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOverloadAlarmsMaskAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOverloadAlarmsMaskAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeOverloadAlarmsMaskAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOverloadAlarmsMaskAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readVoltageOverloadAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeVoltageOverloadAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentOverloadAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentOverloadAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcOverloadAlarmsMaskAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeAcOverloadAlarmsMaskAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeAcOverloadAlarmsMaskAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeAcOverloadAlarmsMaskAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcVoltageOverloadAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcVoltageOverloadAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcCurrentOverloadAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcCurrentOverloadAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcActivePowerOverloadAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcActivePowerOverloadAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcReactivePowerOverloadAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcReactivePowerOverloadAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageRmsOverVoltageAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageRmsOverVoltageAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageRmsUnderVoltageAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageRmsUnderVoltageAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsExtremeOverVoltageAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsExtremeOverVoltageAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsExtremeUnderVoltageAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsExtremeUnderVoltageAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsVoltageSagAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsVoltageSagAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsVoltageSwellAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsVoltageSwellAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLineCurrentPhaseBAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLineCurrentPhaseBAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActiveCurrentPhaseBAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActiveCurrentPhaseBAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readReactiveCurrentPhaseBAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeReactiveCurrentPhaseBAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsVoltagePhaseBAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsVoltagePhaseBAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsVoltageMinPhaseBAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsVoltageMinPhaseBAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsVoltageMaxPhaseBAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsVoltageMaxPhaseBAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsCurrentPhaseBAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsCurrentPhaseBAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsCurrentMinPhaseBAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsCurrentMinPhaseBAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsCurrentMaxPhaseBAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsCurrentMaxPhaseBAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActivePowerPhaseBAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActivePowerPhaseBAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActivePowerMinPhaseBAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActivePowerMinPhaseBAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActivePowerMaxPhaseBAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActivePowerMaxPhaseBAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readReactivePowerPhaseBAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeReactivePowerPhaseBAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readApparentPowerPhaseBAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeApparentPowerPhaseBAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPowerFactorPhaseBAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePowerFactorPhaseBAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageRmsVoltageMeasurementPeriodPhaseBAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageRmsVoltageMeasurementPeriodPhaseBAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageRmsOverVoltageCounterPhaseBAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageRmsOverVoltageCounterPhaseBAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageRmsUnderVoltageCounterPhaseBAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageRmsUnderVoltageCounterPhaseBAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsExtremeOverVoltagePeriodPhaseBAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsExtremeOverVoltagePeriodPhaseBAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsExtremeUnderVoltagePeriodPhaseBAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsExtremeUnderVoltagePeriodPhaseBAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsVoltageSagPeriodPhaseBAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsVoltageSagPeriodPhaseBAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsVoltageSwellPeriodPhaseBAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsVoltageSwellPeriodPhaseBAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLineCurrentPhaseCAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLineCurrentPhaseCAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActiveCurrentPhaseCAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActiveCurrentPhaseCAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readReactiveCurrentPhaseCAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeReactiveCurrentPhaseCAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsVoltagePhaseCAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsVoltagePhaseCAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsVoltageMinPhaseCAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsVoltageMinPhaseCAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsVoltageMaxPhaseCAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsVoltageMaxPhaseCAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsCurrentPhaseCAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsCurrentPhaseCAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsCurrentMinPhaseCAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsCurrentMinPhaseCAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsCurrentMaxPhaseCAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsCurrentMaxPhaseCAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActivePowerPhaseCAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActivePowerPhaseCAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActivePowerMinPhaseCAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActivePowerMinPhaseCAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActivePowerMaxPhaseCAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActivePowerMaxPhaseCAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readReactivePowerPhaseCAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeReactivePowerPhaseCAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readApparentPowerPhaseCAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeApparentPowerPhaseCAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPowerFactorPhaseCAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePowerFactorPhaseCAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageRmsVoltageMeasurementPeriodPhaseCAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageRmsVoltageMeasurementPeriodPhaseCAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageRmsOverVoltageCounterPhaseCAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageRmsOverVoltageCounterPhaseCAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageRmsUnderVoltageCounterPhaseCAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageRmsUnderVoltageCounterPhaseCAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsExtremeOverVoltagePeriodPhaseCAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsExtremeOverVoltagePeriodPhaseCAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsExtremeUnderVoltagePeriodPhaseCAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsExtremeUnderVoltagePeriodPhaseCAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsVoltageSagPeriodPhaseCAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsVoltageSagPeriodPhaseCAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRmsVoltageSwellPeriodPhaseCAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRmsVoltageSwellPeriodPhaseCAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/EthernetNetworkDiagnosticsCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/EthernetNetworkDiagnosticsCluster.kt new file mode 100644 index 00000000000000..4effc3d8806032 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/EthernetNetworkDiagnosticsCluster.kt @@ -0,0 +1,303 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class EthernetNetworkDiagnosticsCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 55u + } + + fun resetCounts(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun resetCounts(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface PHYRateAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface FullDuplexAttributeCallback { + fun onSuccess(value: Boolean?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface CarrierDetectAttributeCallback { + fun onSuccess(value: Boolean?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readPHYRateAttribute( + callback: PHYRateAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePHYRateAttribute( + callback: PHYRateAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFullDuplexAttribute( + callback: FullDuplexAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFullDuplexAttribute( + callback: FullDuplexAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPacketRxCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePacketRxCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPacketTxCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePacketTxCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTxErrCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTxErrCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCollisionCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCollisionCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOverrunCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeOverrunCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCarrierDetectAttribute( + callback: CarrierDetectAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCarrierDetectAttribute( + callback: CarrierDetectAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTimeSinceResetAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTimeSinceResetAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FanControlCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FanControlCluster.kt new file mode 100644 index 00000000000000..1d1d5d20f6d774 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FanControlCluster.kt @@ -0,0 +1,447 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class FanControlCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 514u + } + + fun step(callback: DefaultClusterCallback, direction: Integer, wrap: Boolean?, lowestOff: Boolean?) { + // Implemantion need to be added here + } + + fun step(callback: DefaultClusterCallback, direction: Integer, wrap: Boolean?, lowestOff: Boolean?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface PercentSettingAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface SpeedSettingAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readFanModeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeFanModeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeFanModeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeFanModeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFanModeSequenceAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeFanModeSequenceAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeFanModeSequenceAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeFanModeSequenceAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPercentSettingAttribute( + callback: PercentSettingAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writePercentSettingAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writePercentSettingAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribePercentSettingAttribute( + callback: PercentSettingAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPercentCurrentAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePercentCurrentAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSpeedMaxAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSpeedMaxAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSpeedSettingAttribute( + callback: SpeedSettingAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeSpeedSettingAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeSpeedSettingAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeSpeedSettingAttribute( + callback: SpeedSettingAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSpeedCurrentAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSpeedCurrentAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRockSupportAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRockSupportAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRockSettingAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeRockSettingAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeRockSettingAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeRockSettingAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readWindSupportAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeWindSupportAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readWindSettingAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeWindSettingAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeWindSettingAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeWindSettingAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAirflowDirectionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeAirflowDirectionAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeAirflowDirectionAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeAirflowDirectionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FaultInjectionCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FaultInjectionCluster.kt new file mode 100644 index 00000000000000..305cf05caefa40 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FaultInjectionCluster.kt @@ -0,0 +1,158 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class FaultInjectionCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 4294048774u + } + + fun failAtFault(callback: DefaultClusterCallback, type: Integer, id: Long, numCallsToSkip: Long, numCallsToFail: Long, takeMutex: Boolean) { + // Implemantion need to be added here + } + + fun failAtFault(callback: DefaultClusterCallback, type: Integer, id: Long, numCallsToSkip: Long, numCallsToFail: Long, takeMutex: Boolean, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun failRandomlyAtFault(callback: DefaultClusterCallback, type: Integer, id: Long, percentage: Integer) { + // Implemantion need to be added here + } + + fun failRandomlyAtFault(callback: DefaultClusterCallback, type: Integer, id: Long, percentage: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FixedLabelCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FixedLabelCluster.kt new file mode 100644 index 00000000000000..6ce0176e0f9961 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FixedLabelCluster.kt @@ -0,0 +1,163 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class FixedLabelCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 64u + } + + interface LabelListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readLabelListAttribute( + callback: LabelListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLabelListAttribute( + callback: LabelListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FlowMeasurementCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FlowMeasurementCluster.kt new file mode 100644 index 00000000000000..ec5c06c8cf37ab --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FlowMeasurementCluster.kt @@ -0,0 +1,220 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class FlowMeasurementCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1028u + } + + interface MeasuredValueAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MinMeasuredValueAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxMeasuredValueAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readToleranceAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeToleranceAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FormaldehydeConcentrationMeasurementCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FormaldehydeConcentrationMeasurementCluster.kt new file mode 100644 index 00000000000000..504a63d100a2d3 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FormaldehydeConcentrationMeasurementCluster.kt @@ -0,0 +1,337 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class FormaldehydeConcentrationMeasurementCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1067u + } + + interface MeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MinMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface PeakMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AverageMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPeakMeasuredValueAttribute( + callback: PeakMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePeakMeasuredValueAttribute( + callback: PeakMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPeakMeasuredValueWindowAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePeakMeasuredValueWindowAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageMeasuredValueAttribute( + callback: AverageMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageMeasuredValueAttribute( + callback: AverageMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageMeasuredValueWindowAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageMeasuredValueWindowAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUncertaintyAttribute( + callback: FloatAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeUncertaintyAttribute( + callback: FloatAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasurementUnitAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasurementUnitAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasurementMediumAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasurementMediumAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLevelValueAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLevelValueAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/GeneralCommissioningCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/GeneralCommissioningCluster.kt new file mode 100644 index 00000000000000..4ce16793aa9794 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/GeneralCommissioningCluster.kt @@ -0,0 +1,277 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class GeneralCommissioningCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 48u + } + + fun armFailSafe(callback: ArmFailSafeResponseCallback, expiryLengthSeconds: Integer, breadcrumb: Long) { + // Implemantion need to be added here + } + + fun armFailSafe(callback: ArmFailSafeResponseCallback, expiryLengthSeconds: Integer, breadcrumb: Long, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun setRegulatoryConfig(callback: SetRegulatoryConfigResponseCallback, newRegulatoryConfig: Integer, countryCode: String, breadcrumb: Long) { + // Implemantion need to be added here + } + + fun setRegulatoryConfig(callback: SetRegulatoryConfigResponseCallback, newRegulatoryConfig: Integer, countryCode: String, breadcrumb: Long, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun commissioningComplete(callback: CommissioningCompleteResponseCallback) { + // Implemantion need to be added here + } + + fun commissioningComplete(callback: CommissioningCompleteResponseCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface ArmFailSafeResponseCallback { + fun onSuccess(errorCode: Integer, debugText: String) + fun onError(error: Exception) + } + + interface SetRegulatoryConfigResponseCallback { + fun onSuccess(errorCode: Integer, debugText: String) + fun onError(error: Exception) + } + + interface CommissioningCompleteResponseCallback { + fun onSuccess(errorCode: Integer, debugText: String) + fun onError(error: Exception) + } + + interface BasicCommissioningInfoAttributeCallback { + fun onSuccess(value: ChipStructs.GeneralCommissioningClusterBasicCommissioningInfo) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readBreadcrumbAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeBreadcrumbAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeBreadcrumbAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeBreadcrumbAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBasicCommissioningInfoAttribute( + callback: BasicCommissioningInfoAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBasicCommissioningInfoAttribute( + callback: BasicCommissioningInfoAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRegulatoryConfigAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRegulatoryConfigAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLocationCapabilityAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLocationCapabilityAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSupportsConcurrentConnectionAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSupportsConcurrentConnectionAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/GeneralDiagnosticsCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/GeneralDiagnosticsCluster.kt new file mode 100644 index 00000000000000..a002524a21327b --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/GeneralDiagnosticsCluster.kt @@ -0,0 +1,324 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class GeneralDiagnosticsCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 51u + } + + fun testEventTrigger(callback: DefaultClusterCallback, enableKey: byte[], eventTrigger: Long) { + // Implemantion need to be added here + } + + fun testEventTrigger(callback: DefaultClusterCallback, enableKey: byte[], eventTrigger: Long, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface NetworkInterfacesAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ActiveHardwareFaultsAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ActiveRadioFaultsAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ActiveNetworkFaultsAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readNetworkInterfacesAttribute( + callback: NetworkInterfacesAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeNetworkInterfacesAttribute( + callback: NetworkInterfacesAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRebootCountAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRebootCountAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUpTimeAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeUpTimeAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTotalOperationalHoursAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTotalOperationalHoursAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBootReasonAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBootReasonAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActiveHardwareFaultsAttribute( + callback: ActiveHardwareFaultsAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActiveHardwareFaultsAttribute( + callback: ActiveHardwareFaultsAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActiveRadioFaultsAttribute( + callback: ActiveRadioFaultsAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActiveRadioFaultsAttribute( + callback: ActiveRadioFaultsAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActiveNetworkFaultsAttribute( + callback: ActiveNetworkFaultsAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActiveNetworkFaultsAttribute( + callback: ActiveNetworkFaultsAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTestEventTriggersEnabledAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTestEventTriggersEnabledAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageWearCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageWearCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/GroupKeyManagementCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/GroupKeyManagementCluster.kt new file mode 100644 index 00000000000000..51c1639bd83b41 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/GroupKeyManagementCluster.kt @@ -0,0 +1,287 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class GroupKeyManagementCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 63u + } + + fun keySetWrite(callback: DefaultClusterCallback, groupKeySet: ChipStructs.GroupKeyManagementClusterGroupKeySetStruct) { + // Implemantion need to be added here + } + + fun keySetWrite(callback: DefaultClusterCallback, groupKeySet: ChipStructs.GroupKeyManagementClusterGroupKeySetStruct, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun keySetRead(callback: KeySetReadResponseCallback, groupKeySetID: Integer) { + // Implemantion need to be added here + } + + fun keySetRead(callback: KeySetReadResponseCallback, groupKeySetID: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun keySetRemove(callback: DefaultClusterCallback, groupKeySetID: Integer) { + // Implemantion need to be added here + } + + fun keySetRemove(callback: DefaultClusterCallback, groupKeySetID: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun keySetReadAllIndices(callback: KeySetReadAllIndicesResponseCallback) { + // Implemantion need to be added here + } + + fun keySetReadAllIndices(callback: KeySetReadAllIndicesResponseCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface KeySetReadResponseCallback { + fun onSuccess(groupKeySet: ChipStructs.GroupKeyManagementClusterGroupKeySetStruct) + fun onError(error: Exception) + } + + interface KeySetReadAllIndicesResponseCallback { + fun onSuccess(groupKeySetIDs: ArrayList) + fun onError(error: Exception) + } + + interface GroupKeyMapAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GroupTableAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readGroupKeyMapAttribute( + callback: GroupKeyMapAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun readGroupKeyMapAttributeWithFabricFilter( + callback: GroupKeyMapAttributeCallback, + isFabricFiltered: Boolean + ) { + // Implemantion need to be added here + } + + + fun writeGroupKeyMapAttribute( + callback: DefaultClusterCallback, + value: ArrayList + ) { + // Implemantion need to be added here + } + + fun writeGroupKeyMapAttribute( + callback: DefaultClusterCallback, + value: ArrayList, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeGroupKeyMapAttribute( + callback: GroupKeyMapAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGroupTableAttribute( + callback: GroupTableAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun readGroupTableAttributeWithFabricFilter( + callback: GroupTableAttributeCallback, + isFabricFiltered: Boolean + ) { + // Implemantion need to be added here + } + + + fun subscribeGroupTableAttribute( + callback: GroupTableAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxGroupsPerFabricAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxGroupsPerFabricAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxGroupKeysPerFabricAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxGroupKeysPerFabricAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/GroupsCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/GroupsCluster.kt new file mode 100644 index 00000000000000..ec07b14427e4c8 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/GroupsCluster.kt @@ -0,0 +1,225 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class GroupsCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 4u + } + + fun addGroup(callback: AddGroupResponseCallback, groupID: Integer, groupName: String) { + // Implemantion need to be added here + } + + fun addGroup(callback: AddGroupResponseCallback, groupID: Integer, groupName: String, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun viewGroup(callback: ViewGroupResponseCallback, groupID: Integer) { + // Implemantion need to be added here + } + + fun viewGroup(callback: ViewGroupResponseCallback, groupID: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun getGroupMembership(callback: GetGroupMembershipResponseCallback, groupList: ArrayList) { + // Implemantion need to be added here + } + + fun getGroupMembership(callback: GetGroupMembershipResponseCallback, groupList: ArrayList, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun removeGroup(callback: RemoveGroupResponseCallback, groupID: Integer) { + // Implemantion need to be added here + } + + fun removeGroup(callback: RemoveGroupResponseCallback, groupID: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun removeAllGroups(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun removeAllGroups(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun addGroupIfIdentifying(callback: DefaultClusterCallback, groupID: Integer, groupName: String) { + // Implemantion need to be added here + } + + fun addGroupIfIdentifying(callback: DefaultClusterCallback, groupID: Integer, groupName: String, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface AddGroupResponseCallback { + fun onSuccess(status: Integer, groupID: Integer) + fun onError(error: Exception) + } + + interface ViewGroupResponseCallback { + fun onSuccess(status: Integer, groupID: Integer, groupName: String) + fun onError(error: Exception) + } + + interface GetGroupMembershipResponseCallback { + fun onSuccess(capacity: Integer?, groupList: ArrayList) + fun onError(error: Exception) + } + + interface RemoveGroupResponseCallback { + fun onSuccess(status: Integer, groupID: Integer) + fun onError(error: Exception) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readNameSupportAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeNameSupportAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/HepaFilterMonitoringCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/HepaFilterMonitoringCluster.kt new file mode 100644 index 00000000000000..5dc0b9a18ad2f4 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/HepaFilterMonitoringCluster.kt @@ -0,0 +1,267 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class HepaFilterMonitoringCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 113u + } + + fun resetCondition(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun resetCondition(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface LastChangedTimeAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ReplacementProductListAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readConditionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeConditionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDegradationDirectionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDegradationDirectionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readChangeIndicationAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeChangeIndicationAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInPlaceIndicatorAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeInPlaceIndicatorAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLastChangedTimeAttribute( + callback: LastChangedTimeAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeLastChangedTimeAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeLastChangedTimeAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeLastChangedTimeAttribute( + callback: LastChangedTimeAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readReplacementProductListAttribute( + callback: ReplacementProductListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeReplacementProductListAttribute( + callback: ReplacementProductListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/IcdManagementCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/IcdManagementCluster.kt new file mode 100644 index 00000000000000..ae160488dea058 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/IcdManagementCluster.kt @@ -0,0 +1,275 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class IcdManagementCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 70u + } + + fun registerClient(callback: RegisterClientResponseCallback, checkInNodeID: Long, monitoredSubject: Long, key: byte[], verificationKey: byte[]?) { + // Implemantion need to be added here + } + + fun registerClient(callback: RegisterClientResponseCallback, checkInNodeID: Long, monitoredSubject: Long, key: byte[], verificationKey: byte[]?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun unregisterClient(callback: DefaultClusterCallback, checkInNodeID: Long, verificationKey: byte[]?) { + // Implemantion need to be added here + } + + fun unregisterClient(callback: DefaultClusterCallback, checkInNodeID: Long, verificationKey: byte[]?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun stayActiveRequest(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun stayActiveRequest(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface RegisterClientResponseCallback { + fun onSuccess(ICDCounter: Long) + fun onError(error: Exception) + } + + interface RegisteredClientsAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readIdleModeDurationAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeIdleModeDurationAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActiveModeDurationAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActiveModeDurationAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActiveModeThresholdAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActiveModeThresholdAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRegisteredClientsAttribute( + callback: RegisteredClientsAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun readRegisteredClientsAttributeWithFabricFilter( + callback: RegisteredClientsAttributeCallback, + isFabricFiltered: Boolean + ) { + // Implemantion need to be added here + } + + + fun subscribeRegisteredClientsAttribute( + callback: RegisteredClientsAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readICDCounterAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeICDCounterAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClientsSupportedPerFabricAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClientsSupportedPerFabricAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/IdentifyCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/IdentifyCluster.kt new file mode 100644 index 00000000000000..fd8c144ebc5eca --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/IdentifyCluster.kt @@ -0,0 +1,203 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class IdentifyCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 3u + } + + fun identify(callback: DefaultClusterCallback, identifyTime: Integer) { + // Implemantion need to be added here + } + + fun identify(callback: DefaultClusterCallback, identifyTime: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun triggerEffect(callback: DefaultClusterCallback, effectIdentifier: Integer, effectVariant: Integer) { + // Implemantion need to be added here + } + + fun triggerEffect(callback: DefaultClusterCallback, effectIdentifier: Integer, effectVariant: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readIdentifyTimeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeIdentifyTimeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeIdentifyTimeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeIdentifyTimeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readIdentifyTypeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeIdentifyTypeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/IlluminanceMeasurementCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/IlluminanceMeasurementCluster.kt new file mode 100644 index 00000000000000..ba318d23e3d0af --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/IlluminanceMeasurementCluster.kt @@ -0,0 +1,241 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class IlluminanceMeasurementCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1024u + } + + interface MeasuredValueAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MinMeasuredValueAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxMeasuredValueAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface LightSensorTypeAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readToleranceAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeToleranceAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLightSensorTypeAttribute( + callback: LightSensorTypeAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLightSensorTypeAttribute( + callback: LightSensorTypeAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/KeypadInputCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/KeypadInputCluster.kt new file mode 100644 index 00000000000000..3170f7ea2a87b3 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/KeypadInputCluster.kt @@ -0,0 +1,155 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class KeypadInputCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1289u + } + + fun sendKey(callback: SendKeyResponseCallback, keyCode: Integer) { + // Implemantion need to be added here + } + + fun sendKey(callback: SendKeyResponseCallback, keyCode: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface SendKeyResponseCallback { + fun onSuccess(status: Integer) + fun onError(error: Exception) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LaundryWasherControlsCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LaundryWasherControlsCluster.kt new file mode 100644 index 00000000000000..48afbdf2141ab5 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LaundryWasherControlsCluster.kt @@ -0,0 +1,250 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class LaundryWasherControlsCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 83u + } + + interface SpinSpeedsAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface SpinSpeedCurrentAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface SupportedRinsesAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readSpinSpeedsAttribute( + callback: SpinSpeedsAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSpinSpeedsAttribute( + callback: SpinSpeedsAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSpinSpeedCurrentAttribute( + callback: SpinSpeedCurrentAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeSpinSpeedCurrentAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeSpinSpeedCurrentAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeSpinSpeedCurrentAttribute( + callback: SpinSpeedCurrentAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNumberOfRinsesAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNumberOfRinsesAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeNumberOfRinsesAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNumberOfRinsesAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSupportedRinsesAttribute( + callback: SupportedRinsesAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSupportedRinsesAttribute( + callback: SupportedRinsesAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LaundryWasherModeCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LaundryWasherModeCluster.kt new file mode 100644 index 00000000000000..5f988fa06504d1 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LaundryWasherModeCluster.kt @@ -0,0 +1,263 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class LaundryWasherModeCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 81u + } + + fun changeToMode(callback: ChangeToModeResponseCallback, newMode: Integer) { + // Implemantion need to be added here + } + + fun changeToMode(callback: ChangeToModeResponseCallback, newMode: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface ChangeToModeResponseCallback { + fun onSuccess(status: Integer, statusText: String?) + fun onError(error: Exception) + } + + interface SupportedModesAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface StartUpModeAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface OnModeAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readSupportedModesAttribute( + callback: SupportedModesAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSupportedModesAttribute( + callback: SupportedModesAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentModeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentModeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readStartUpModeAttribute( + callback: StartUpModeAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeStartUpModeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeStartUpModeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeStartUpModeAttribute( + callback: StartUpModeAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOnModeAttribute( + callback: OnModeAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOnModeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeOnModeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOnModeAttribute( + callback: OnModeAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LevelControlCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LevelControlCluster.kt new file mode 100644 index 00000000000000..1ed1fdc8a6d961 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LevelControlCluster.kt @@ -0,0 +1,565 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class LevelControlCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 8u + } + + fun moveToLevel(callback: DefaultClusterCallback, level: Integer, transitionTime: Integer?, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun moveToLevel(callback: DefaultClusterCallback, level: Integer, transitionTime: Integer?, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun move(callback: DefaultClusterCallback, moveMode: Integer, rate: Integer?, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun move(callback: DefaultClusterCallback, moveMode: Integer, rate: Integer?, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun step(callback: DefaultClusterCallback, stepMode: Integer, stepSize: Integer, transitionTime: Integer?, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun step(callback: DefaultClusterCallback, stepMode: Integer, stepSize: Integer, transitionTime: Integer?, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun stop(callback: DefaultClusterCallback, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun stop(callback: DefaultClusterCallback, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun moveToLevelWithOnOff(callback: DefaultClusterCallback, level: Integer, transitionTime: Integer?, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun moveToLevelWithOnOff(callback: DefaultClusterCallback, level: Integer, transitionTime: Integer?, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun moveWithOnOff(callback: DefaultClusterCallback, moveMode: Integer, rate: Integer?, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun moveWithOnOff(callback: DefaultClusterCallback, moveMode: Integer, rate: Integer?, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun stepWithOnOff(callback: DefaultClusterCallback, stepMode: Integer, stepSize: Integer, transitionTime: Integer?, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun stepWithOnOff(callback: DefaultClusterCallback, stepMode: Integer, stepSize: Integer, transitionTime: Integer?, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun stopWithOnOff(callback: DefaultClusterCallback, optionsMask: Integer, optionsOverride: Integer) { + // Implemantion need to be added here + } + + fun stopWithOnOff(callback: DefaultClusterCallback, optionsMask: Integer, optionsOverride: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun moveToClosestFrequency(callback: DefaultClusterCallback, frequency: Integer) { + // Implemantion need to be added here + } + + fun moveToClosestFrequency(callback: DefaultClusterCallback, frequency: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface CurrentLevelAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface OnLevelAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface OnTransitionTimeAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface OffTransitionTimeAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface DefaultMoveRateAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface StartUpCurrentLevelAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readCurrentLevelAttribute( + callback: CurrentLevelAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentLevelAttribute( + callback: CurrentLevelAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRemainingTimeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRemainingTimeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinLevelAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinLevelAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxLevelAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxLevelAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentFrequencyAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentFrequencyAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinFrequencyAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinFrequencyAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxFrequencyAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxFrequencyAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOptionsAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOptionsAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeOptionsAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOptionsAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOnOffTransitionTimeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOnOffTransitionTimeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeOnOffTransitionTimeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOnOffTransitionTimeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOnLevelAttribute( + callback: OnLevelAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOnLevelAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeOnLevelAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOnLevelAttribute( + callback: OnLevelAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOnTransitionTimeAttribute( + callback: OnTransitionTimeAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOnTransitionTimeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeOnTransitionTimeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOnTransitionTimeAttribute( + callback: OnTransitionTimeAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOffTransitionTimeAttribute( + callback: OffTransitionTimeAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOffTransitionTimeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeOffTransitionTimeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOffTransitionTimeAttribute( + callback: OffTransitionTimeAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDefaultMoveRateAttribute( + callback: DefaultMoveRateAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeDefaultMoveRateAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeDefaultMoveRateAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeDefaultMoveRateAttribute( + callback: DefaultMoveRateAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readStartUpCurrentLevelAttribute( + callback: StartUpCurrentLevelAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeStartUpCurrentLevelAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeStartUpCurrentLevelAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeStartUpCurrentLevelAttribute( + callback: StartUpCurrentLevelAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LocalizationConfigurationCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LocalizationConfigurationCluster.kt new file mode 100644 index 00000000000000..48f60cec65b092 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LocalizationConfigurationCluster.kt @@ -0,0 +1,193 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class LocalizationConfigurationCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 43u + } + + interface SupportedLocalesAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readActiveLocaleAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeActiveLocaleAttribute( + callback: DefaultClusterCallback, + value: String + ) { + // Implemantion need to be added here + } + + fun writeActiveLocaleAttribute( + callback: DefaultClusterCallback, + value: String, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeActiveLocaleAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSupportedLocalesAttribute( + callback: SupportedLocalesAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSupportedLocalesAttribute( + callback: SupportedLocalesAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LowPowerCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LowPowerCluster.kt new file mode 100644 index 00000000000000..24ca12d89b2f40 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LowPowerCluster.kt @@ -0,0 +1,150 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class LowPowerCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1288u + } + + fun sleep(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun sleep(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/MediaInputCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/MediaInputCluster.kt new file mode 100644 index 00000000000000..e5236f1d436235 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/MediaInputCluster.kt @@ -0,0 +1,210 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class MediaInputCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1287u + } + + fun selectInput(callback: DefaultClusterCallback, index: Integer) { + // Implemantion need to be added here + } + + fun selectInput(callback: DefaultClusterCallback, index: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun showInputStatus(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun showInputStatus(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun hideInputStatus(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun hideInputStatus(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun renameInput(callback: DefaultClusterCallback, index: Integer, name: String) { + // Implemantion need to be added here + } + + fun renameInput(callback: DefaultClusterCallback, index: Integer, name: String, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface InputListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readInputListAttribute( + callback: InputListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeInputListAttribute( + callback: InputListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentInputAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentInputAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/MediaPlaybackCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/MediaPlaybackCluster.kt new file mode 100644 index 00000000000000..a8d39c58a2b691 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/MediaPlaybackCluster.kt @@ -0,0 +1,370 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class MediaPlaybackCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1286u + } + + fun play(callback: PlaybackResponseCallback) { + // Implemantion need to be added here + } + + fun play(callback: PlaybackResponseCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun pause(callback: PlaybackResponseCallback) { + // Implemantion need to be added here + } + + fun pause(callback: PlaybackResponseCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun stop(callback: PlaybackResponseCallback) { + // Implemantion need to be added here + } + + fun stop(callback: PlaybackResponseCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun startOver(callback: PlaybackResponseCallback) { + // Implemantion need to be added here + } + + fun startOver(callback: PlaybackResponseCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun previous(callback: PlaybackResponseCallback) { + // Implemantion need to be added here + } + + fun previous(callback: PlaybackResponseCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun next(callback: PlaybackResponseCallback) { + // Implemantion need to be added here + } + + fun next(callback: PlaybackResponseCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun rewind(callback: PlaybackResponseCallback) { + // Implemantion need to be added here + } + + fun rewind(callback: PlaybackResponseCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun fastForward(callback: PlaybackResponseCallback) { + // Implemantion need to be added here + } + + fun fastForward(callback: PlaybackResponseCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun skipForward(callback: PlaybackResponseCallback, deltaPositionMilliseconds: Long) { + // Implemantion need to be added here + } + + fun skipForward(callback: PlaybackResponseCallback, deltaPositionMilliseconds: Long, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun skipBackward(callback: PlaybackResponseCallback, deltaPositionMilliseconds: Long) { + // Implemantion need to be added here + } + + fun skipBackward(callback: PlaybackResponseCallback, deltaPositionMilliseconds: Long, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun seek(callback: PlaybackResponseCallback, position: Long) { + // Implemantion need to be added here + } + + fun seek(callback: PlaybackResponseCallback, position: Long, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface PlaybackResponseCallback { + fun onSuccess(status: Integer, data: String?) + fun onError(error: Exception) + } + + interface StartTimeAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface DurationAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface SampledPositionAttributeCallback { + fun onSuccess(value: ChipStructs.MediaPlaybackClusterPlaybackPositionStruct?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface SeekRangeEndAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface SeekRangeStartAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readCurrentStateAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentStateAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readStartTimeAttribute( + callback: StartTimeAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeStartTimeAttribute( + callback: StartTimeAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDurationAttribute( + callback: DurationAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDurationAttribute( + callback: DurationAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSampledPositionAttribute( + callback: SampledPositionAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSampledPositionAttribute( + callback: SampledPositionAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPlaybackSpeedAttribute( + callback: FloatAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePlaybackSpeedAttribute( + callback: FloatAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSeekRangeEndAttribute( + callback: SeekRangeEndAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSeekRangeEndAttribute( + callback: SeekRangeEndAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSeekRangeStartAttribute( + callback: SeekRangeStartAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSeekRangeStartAttribute( + callback: SeekRangeStartAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ModeSelectCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ModeSelectCluster.kt new file mode 100644 index 00000000000000..aa198155d9024a --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ModeSelectCluster.kt @@ -0,0 +1,294 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class ModeSelectCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 80u + } + + fun changeToMode(callback: DefaultClusterCallback, newMode: Integer) { + // Implemantion need to be added here + } + + fun changeToMode(callback: DefaultClusterCallback, newMode: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface StandardNamespaceAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface SupportedModesAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface StartUpModeAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface OnModeAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readDescriptionAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDescriptionAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readStandardNamespaceAttribute( + callback: StandardNamespaceAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeStandardNamespaceAttribute( + callback: StandardNamespaceAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSupportedModesAttribute( + callback: SupportedModesAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSupportedModesAttribute( + callback: SupportedModesAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentModeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentModeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readStartUpModeAttribute( + callback: StartUpModeAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeStartUpModeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeStartUpModeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeStartUpModeAttribute( + callback: StartUpModeAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOnModeAttribute( + callback: OnModeAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOnModeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeOnModeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOnModeAttribute( + callback: OnModeAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/NetworkCommissioningCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/NetworkCommissioningCluster.kt new file mode 100644 index 00000000000000..a1888b211080a4 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/NetworkCommissioningCluster.kt @@ -0,0 +1,415 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class NetworkCommissioningCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 49u + } + + fun scanNetworks(callback: ScanNetworksResponseCallback, ssid: byte[]?, breadcrumb: Long?) { + // Implemantion need to be added here + } + + fun scanNetworks(callback: ScanNetworksResponseCallback, ssid: byte[]?, breadcrumb: Long?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun addOrUpdateWiFiNetwork(callback: NetworkConfigResponseCallback, ssid: byte[], credentials: byte[], breadcrumb: Long?) { + // Implemantion need to be added here + } + + fun addOrUpdateWiFiNetwork(callback: NetworkConfigResponseCallback, ssid: byte[], credentials: byte[], breadcrumb: Long?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun addOrUpdateThreadNetwork(callback: NetworkConfigResponseCallback, operationalDataset: byte[], breadcrumb: Long?) { + // Implemantion need to be added here + } + + fun addOrUpdateThreadNetwork(callback: NetworkConfigResponseCallback, operationalDataset: byte[], breadcrumb: Long?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun removeNetwork(callback: NetworkConfigResponseCallback, networkID: byte[], breadcrumb: Long?) { + // Implemantion need to be added here + } + + fun removeNetwork(callback: NetworkConfigResponseCallback, networkID: byte[], breadcrumb: Long?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun connectNetwork(callback: ConnectNetworkResponseCallback, networkID: byte[], breadcrumb: Long?) { + // Implemantion need to be added here + } + + fun connectNetwork(callback: ConnectNetworkResponseCallback, networkID: byte[], breadcrumb: Long?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun reorderNetwork(callback: NetworkConfigResponseCallback, networkID: byte[], networkIndex: Integer, breadcrumb: Long?) { + // Implemantion need to be added here + } + + fun reorderNetwork(callback: NetworkConfigResponseCallback, networkID: byte[], networkIndex: Integer, breadcrumb: Long?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface ScanNetworksResponseCallback { + fun onSuccess(networkingStatus: Integer, debugText: String?, wiFiScanResults: ArrayList?, threadScanResults: ArrayList?) + fun onError(error: Exception) + } + + interface NetworkConfigResponseCallback { + fun onSuccess(networkingStatus: Integer, debugText: String?, networkIndex: Integer?) + fun onError(error: Exception) + } + + interface ConnectNetworkResponseCallback { + fun onSuccess(networkingStatus: Integer, debugText: String?, errorValue: Long?) + fun onError(error: Exception) + } + + interface NetworksAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface LastNetworkingStatusAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface LastNetworkIDAttributeCallback { + fun onSuccess(value: byte[]?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface LastConnectErrorValueAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface SupportedWiFiBandsAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readMaxNetworksAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxNetworksAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNetworksAttribute( + callback: NetworksAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeNetworksAttribute( + callback: NetworksAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readScanMaxTimeSecondsAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeScanMaxTimeSecondsAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readConnectMaxTimeSecondsAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeConnectMaxTimeSecondsAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInterfaceEnabledAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeInterfaceEnabledAttribute( + callback: DefaultClusterCallback, + value: Boolean + ) { + // Implemantion need to be added here + } + + fun writeInterfaceEnabledAttribute( + callback: DefaultClusterCallback, + value: Boolean, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeInterfaceEnabledAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLastNetworkingStatusAttribute( + callback: LastNetworkingStatusAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLastNetworkingStatusAttribute( + callback: LastNetworkingStatusAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLastNetworkIDAttribute( + callback: LastNetworkIDAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLastNetworkIDAttribute( + callback: LastNetworkIDAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLastConnectErrorValueAttribute( + callback: LastConnectErrorValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLastConnectErrorValueAttribute( + callback: LastConnectErrorValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSupportedWiFiBandsAttribute( + callback: SupportedWiFiBandsAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSupportedWiFiBandsAttribute( + callback: SupportedWiFiBandsAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSupportedThreadFeaturesAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSupportedThreadFeaturesAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readThreadVersionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeThreadVersionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/NitrogenDioxideConcentrationMeasurementCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/NitrogenDioxideConcentrationMeasurementCluster.kt new file mode 100644 index 00000000000000..bd5b7712556428 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/NitrogenDioxideConcentrationMeasurementCluster.kt @@ -0,0 +1,337 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class NitrogenDioxideConcentrationMeasurementCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1043u + } + + interface MeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MinMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface PeakMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AverageMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPeakMeasuredValueAttribute( + callback: PeakMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePeakMeasuredValueAttribute( + callback: PeakMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPeakMeasuredValueWindowAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePeakMeasuredValueWindowAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageMeasuredValueAttribute( + callback: AverageMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageMeasuredValueAttribute( + callback: AverageMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageMeasuredValueWindowAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageMeasuredValueWindowAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUncertaintyAttribute( + callback: FloatAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeUncertaintyAttribute( + callback: FloatAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasurementUnitAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasurementUnitAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasurementMediumAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasurementMediumAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLevelValueAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLevelValueAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OccupancySensingCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OccupancySensingCluster.kt new file mode 100644 index 00000000000000..e1674b535b00e1 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OccupancySensingCluster.kt @@ -0,0 +1,457 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class OccupancySensingCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1030u + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readOccupancyAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeOccupancyAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOccupancySensorTypeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeOccupancySensorTypeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOccupancySensorTypeBitmapAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeOccupancySensorTypeBitmapAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPIROccupiedToUnoccupiedDelayAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writePIROccupiedToUnoccupiedDelayAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writePIROccupiedToUnoccupiedDelayAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribePIROccupiedToUnoccupiedDelayAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPIRUnoccupiedToOccupiedDelayAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writePIRUnoccupiedToOccupiedDelayAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writePIRUnoccupiedToOccupiedDelayAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribePIRUnoccupiedToOccupiedDelayAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPIRUnoccupiedToOccupiedThresholdAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writePIRUnoccupiedToOccupiedThresholdAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writePIRUnoccupiedToOccupiedThresholdAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribePIRUnoccupiedToOccupiedThresholdAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUltrasonicOccupiedToUnoccupiedDelayAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeUltrasonicOccupiedToUnoccupiedDelayAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeUltrasonicOccupiedToUnoccupiedDelayAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeUltrasonicOccupiedToUnoccupiedDelayAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUltrasonicUnoccupiedToOccupiedDelayAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeUltrasonicUnoccupiedToOccupiedDelayAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeUltrasonicUnoccupiedToOccupiedDelayAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeUltrasonicUnoccupiedToOccupiedDelayAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUltrasonicUnoccupiedToOccupiedThresholdAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeUltrasonicUnoccupiedToOccupiedThresholdAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeUltrasonicUnoccupiedToOccupiedThresholdAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeUltrasonicUnoccupiedToOccupiedThresholdAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPhysicalContactOccupiedToUnoccupiedDelayAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writePhysicalContactOccupiedToUnoccupiedDelayAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writePhysicalContactOccupiedToUnoccupiedDelayAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribePhysicalContactOccupiedToUnoccupiedDelayAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPhysicalContactUnoccupiedToOccupiedDelayAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writePhysicalContactUnoccupiedToOccupiedDelayAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writePhysicalContactUnoccupiedToOccupiedDelayAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribePhysicalContactUnoccupiedToOccupiedDelayAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPhysicalContactUnoccupiedToOccupiedThresholdAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writePhysicalContactUnoccupiedToOccupiedThresholdAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writePhysicalContactUnoccupiedToOccupiedThresholdAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribePhysicalContactUnoccupiedToOccupiedThresholdAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OnOffCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OnOffCluster.kt new file mode 100644 index 00000000000000..6aca12dfa0aaff --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OnOffCluster.kt @@ -0,0 +1,316 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class OnOffCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 6u + } + + fun off(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun off(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun on(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun on(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun toggle(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun toggle(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun offWithEffect(callback: DefaultClusterCallback, effectIdentifier: Integer, effectVariant: Integer) { + // Implemantion need to be added here + } + + fun offWithEffect(callback: DefaultClusterCallback, effectIdentifier: Integer, effectVariant: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun onWithRecallGlobalScene(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun onWithRecallGlobalScene(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun onWithTimedOff(callback: DefaultClusterCallback, onOffControl: Integer, onTime: Integer, offWaitTime: Integer) { + // Implemantion need to be added here + } + + fun onWithTimedOff(callback: DefaultClusterCallback, onOffControl: Integer, onTime: Integer, offWaitTime: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface StartUpOnOffAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readOnOffAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeOnOffAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGlobalSceneControlAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGlobalSceneControlAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOnTimeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOnTimeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeOnTimeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOnTimeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOffWaitTimeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOffWaitTimeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeOffWaitTimeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOffWaitTimeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readStartUpOnOffAttribute( + callback: StartUpOnOffAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeStartUpOnOffAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeStartUpOnOffAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeStartUpOnOffAttribute( + callback: StartUpOnOffAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OnOffSwitchConfigurationCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OnOffSwitchConfigurationCluster.kt new file mode 100644 index 00000000000000..7fc3626995bdf4 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OnOffSwitchConfigurationCluster.kt @@ -0,0 +1,187 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class OnOffSwitchConfigurationCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 7u + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readSwitchTypeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSwitchTypeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSwitchActionsAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeSwitchActionsAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeSwitchActionsAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeSwitchActionsAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OperationalCredentialsCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OperationalCredentialsCluster.kt new file mode 100644 index 00000000000000..a207d5a96d8a54 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OperationalCredentialsCluster.kt @@ -0,0 +1,350 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class OperationalCredentialsCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 62u + } + + fun attestationRequest(callback: AttestationResponseCallback, attestationNonce: byte[]) { + // Implemantion need to be added here + } + + fun attestationRequest(callback: AttestationResponseCallback, attestationNonce: byte[], timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun certificateChainRequest(callback: CertificateChainResponseCallback, certificateType: Integer) { + // Implemantion need to be added here + } + + fun certificateChainRequest(callback: CertificateChainResponseCallback, certificateType: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun CSRRequest(callback: CSRResponseCallback, CSRNonce: byte[], isForUpdateNOC: Boolean?) { + // Implemantion need to be added here + } + + fun CSRRequest(callback: CSRResponseCallback, CSRNonce: byte[], isForUpdateNOC: Boolean?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun addNOC(callback: NOCResponseCallback, NOCValue: byte[], ICACValue: byte[]?, IPKValue: byte[], caseAdminSubject: Long, adminVendorId: Integer) { + // Implemantion need to be added here + } + + fun addNOC(callback: NOCResponseCallback, NOCValue: byte[], ICACValue: byte[]?, IPKValue: byte[], caseAdminSubject: Long, adminVendorId: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun updateNOC(callback: NOCResponseCallback, NOCValue: byte[], ICACValue: byte[]?) { + // Implemantion need to be added here + } + + fun updateNOC(callback: NOCResponseCallback, NOCValue: byte[], ICACValue: byte[]?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun updateFabricLabel(callback: NOCResponseCallback, label: String) { + // Implemantion need to be added here + } + + fun updateFabricLabel(callback: NOCResponseCallback, label: String, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun removeFabric(callback: NOCResponseCallback, fabricIndex: Integer) { + // Implemantion need to be added here + } + + fun removeFabric(callback: NOCResponseCallback, fabricIndex: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun addTrustedRootCertificate(callback: DefaultClusterCallback, rootCACertificate: byte[]) { + // Implemantion need to be added here + } + + fun addTrustedRootCertificate(callback: DefaultClusterCallback, rootCACertificate: byte[], timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface AttestationResponseCallback { + fun onSuccess(attestationElements: byte[], attestationSignature: byte[]) + fun onError(error: Exception) + } + + interface CertificateChainResponseCallback { + fun onSuccess(certificate: byte[]) + fun onError(error: Exception) + } + + interface CSRResponseCallback { + fun onSuccess(NOCSRElements: byte[], attestationSignature: byte[]) + fun onError(error: Exception) + } + + interface NOCResponseCallback { + fun onSuccess(statusCode: Integer, fabricIndex: Integer?, debugText: String?) + fun onError(error: Exception) + } + + interface NOCsAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface FabricsAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface TrustedRootCertificatesAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readNOCsAttribute( + callback: NOCsAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun readNOCsAttributeWithFabricFilter( + callback: NOCsAttributeCallback, + isFabricFiltered: Boolean + ) { + // Implemantion need to be added here + } + + + fun subscribeNOCsAttribute( + callback: NOCsAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFabricsAttribute( + callback: FabricsAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun readFabricsAttributeWithFabricFilter( + callback: FabricsAttributeCallback, + isFabricFiltered: Boolean + ) { + // Implemantion need to be added here + } + + + fun subscribeFabricsAttribute( + callback: FabricsAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSupportedFabricsAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSupportedFabricsAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCommissionedFabricsAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCommissionedFabricsAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTrustedRootCertificatesAttribute( + callback: TrustedRootCertificatesAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTrustedRootCertificatesAttribute( + callback: TrustedRootCertificatesAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentFabricIndexAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentFabricIndexAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OperationalStateCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OperationalStateCluster.kt new file mode 100644 index 00000000000000..b62547948e10e5 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OperationalStateCluster.kt @@ -0,0 +1,299 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class OperationalStateCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 96u + } + + fun pause(callback: OperationalCommandResponseCallback) { + // Implemantion need to be added here + } + + fun pause(callback: OperationalCommandResponseCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun stop(callback: OperationalCommandResponseCallback) { + // Implemantion need to be added here + } + + fun stop(callback: OperationalCommandResponseCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun start(callback: OperationalCommandResponseCallback) { + // Implemantion need to be added here + } + + fun start(callback: OperationalCommandResponseCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun resume(callback: OperationalCommandResponseCallback) { + // Implemantion need to be added here + } + + fun resume(callback: OperationalCommandResponseCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface OperationalCommandResponseCallback { + fun onSuccess(commandResponseState: ChipStructs.OperationalStateClusterErrorStateStruct) + fun onError(error: Exception) + } + + interface PhaseListAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface CurrentPhaseAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface CountdownTimeAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface OperationalStateListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface OperationalErrorAttributeCallback { + fun onSuccess(value: ChipStructs.OperationalStateClusterErrorStateStruct) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readPhaseListAttribute( + callback: PhaseListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePhaseListAttribute( + callback: PhaseListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentPhaseAttribute( + callback: CurrentPhaseAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentPhaseAttribute( + callback: CurrentPhaseAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCountdownTimeAttribute( + callback: CountdownTimeAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCountdownTimeAttribute( + callback: CountdownTimeAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOperationalStateListAttribute( + callback: OperationalStateListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeOperationalStateListAttribute( + callback: OperationalStateListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOperationalStateAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeOperationalStateAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOperationalErrorAttribute( + callback: OperationalErrorAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeOperationalErrorAttribute( + callback: OperationalErrorAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OtaSoftwareUpdateProviderCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OtaSoftwareUpdateProviderCluster.kt new file mode 100644 index 00000000000000..ccacdd62ef05ac --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OtaSoftwareUpdateProviderCluster.kt @@ -0,0 +1,176 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class OtaSoftwareUpdateProviderCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 41u + } + + fun queryImage(callback: QueryImageResponseCallback, vendorID: Integer, productID: Integer, softwareVersion: Long, protocolsSupported: ArrayList, hardwareVersion: Integer?, location: String?, requestorCanConsent: Boolean?, metadataForProvider: byte[]?) { + // Implemantion need to be added here + } + + fun queryImage(callback: QueryImageResponseCallback, vendorID: Integer, productID: Integer, softwareVersion: Long, protocolsSupported: ArrayList, hardwareVersion: Integer?, location: String?, requestorCanConsent: Boolean?, metadataForProvider: byte[]?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun applyUpdateRequest(callback: ApplyUpdateResponseCallback, updateToken: byte[], newVersion: Long) { + // Implemantion need to be added here + } + + fun applyUpdateRequest(callback: ApplyUpdateResponseCallback, updateToken: byte[], newVersion: Long, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun notifyUpdateApplied(callback: DefaultClusterCallback, updateToken: byte[], softwareVersion: Long) { + // Implemantion need to be added here + } + + fun notifyUpdateApplied(callback: DefaultClusterCallback, updateToken: byte[], softwareVersion: Long, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface QueryImageResponseCallback { + fun onSuccess(status: Integer, delayedActionTime: Long?, imageURI: String?, softwareVersion: Long?, softwareVersionString: String?, updateToken: byte[]?, userConsentNeeded: Boolean?, metadataForRequestor: byte[]?) + fun onError(error: Exception) + } + + interface ApplyUpdateResponseCallback { + fun onSuccess(action: Integer, delayedActionTime: Long) + fun onError(error: Exception) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OtaSoftwareUpdateRequestorCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OtaSoftwareUpdateRequestorCluster.kt new file mode 100644 index 00000000000000..257a57ae77b721 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OtaSoftwareUpdateRequestorCluster.kt @@ -0,0 +1,245 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class OtaSoftwareUpdateRequestorCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 42u + } + + fun announceOTAProvider(callback: DefaultClusterCallback, providerNodeID: Long, vendorID: Integer, announcementReason: Integer, metadataForNode: byte[]?, endpoint: Integer) { + // Implemantion need to be added here + } + + fun announceOTAProvider(callback: DefaultClusterCallback, providerNodeID: Long, vendorID: Integer, announcementReason: Integer, metadataForNode: byte[]?, endpoint: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface DefaultOTAProvidersAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface UpdateStateProgressAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readDefaultOTAProvidersAttribute( + callback: DefaultOTAProvidersAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun readDefaultOTAProvidersAttributeWithFabricFilter( + callback: DefaultOTAProvidersAttributeCallback, + isFabricFiltered: Boolean + ) { + // Implemantion need to be added here + } + + + fun writeDefaultOTAProvidersAttribute( + callback: DefaultClusterCallback, + value: ArrayList + ) { + // Implemantion need to be added here + } + + fun writeDefaultOTAProvidersAttribute( + callback: DefaultClusterCallback, + value: ArrayList, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeDefaultOTAProvidersAttribute( + callback: DefaultOTAProvidersAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUpdatePossibleAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeUpdatePossibleAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUpdateStateAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeUpdateStateAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUpdateStateProgressAttribute( + callback: UpdateStateProgressAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeUpdateStateProgressAttribute( + callback: UpdateStateProgressAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OzoneConcentrationMeasurementCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OzoneConcentrationMeasurementCluster.kt new file mode 100644 index 00000000000000..cf90b4fc413b28 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OzoneConcentrationMeasurementCluster.kt @@ -0,0 +1,337 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class OzoneConcentrationMeasurementCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1045u + } + + interface MeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MinMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface PeakMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AverageMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPeakMeasuredValueAttribute( + callback: PeakMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePeakMeasuredValueAttribute( + callback: PeakMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPeakMeasuredValueWindowAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePeakMeasuredValueWindowAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageMeasuredValueAttribute( + callback: AverageMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageMeasuredValueAttribute( + callback: AverageMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageMeasuredValueWindowAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageMeasuredValueWindowAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUncertaintyAttribute( + callback: FloatAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeUncertaintyAttribute( + callback: FloatAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasurementUnitAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasurementUnitAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasurementMediumAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasurementMediumAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLevelValueAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLevelValueAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/Pm10ConcentrationMeasurementCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/Pm10ConcentrationMeasurementCluster.kt new file mode 100644 index 00000000000000..cc25baccd3bf95 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/Pm10ConcentrationMeasurementCluster.kt @@ -0,0 +1,337 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class Pm10ConcentrationMeasurementCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1069u + } + + interface MeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MinMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface PeakMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AverageMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPeakMeasuredValueAttribute( + callback: PeakMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePeakMeasuredValueAttribute( + callback: PeakMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPeakMeasuredValueWindowAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePeakMeasuredValueWindowAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageMeasuredValueAttribute( + callback: AverageMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageMeasuredValueAttribute( + callback: AverageMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageMeasuredValueWindowAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageMeasuredValueWindowAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUncertaintyAttribute( + callback: FloatAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeUncertaintyAttribute( + callback: FloatAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasurementUnitAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasurementUnitAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasurementMediumAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasurementMediumAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLevelValueAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLevelValueAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/Pm1ConcentrationMeasurementCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/Pm1ConcentrationMeasurementCluster.kt new file mode 100644 index 00000000000000..866ad28c4d5074 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/Pm1ConcentrationMeasurementCluster.kt @@ -0,0 +1,337 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class Pm1ConcentrationMeasurementCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1068u + } + + interface MeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MinMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface PeakMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AverageMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPeakMeasuredValueAttribute( + callback: PeakMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePeakMeasuredValueAttribute( + callback: PeakMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPeakMeasuredValueWindowAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePeakMeasuredValueWindowAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageMeasuredValueAttribute( + callback: AverageMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageMeasuredValueAttribute( + callback: AverageMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageMeasuredValueWindowAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageMeasuredValueWindowAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUncertaintyAttribute( + callback: FloatAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeUncertaintyAttribute( + callback: FloatAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasurementUnitAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasurementUnitAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasurementMediumAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasurementMediumAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLevelValueAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLevelValueAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/Pm25ConcentrationMeasurementCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/Pm25ConcentrationMeasurementCluster.kt new file mode 100644 index 00000000000000..7a038343e32ae4 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/Pm25ConcentrationMeasurementCluster.kt @@ -0,0 +1,337 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class Pm25ConcentrationMeasurementCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1066u + } + + interface MeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MinMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface PeakMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AverageMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPeakMeasuredValueAttribute( + callback: PeakMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePeakMeasuredValueAttribute( + callback: PeakMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPeakMeasuredValueWindowAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePeakMeasuredValueWindowAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageMeasuredValueAttribute( + callback: AverageMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageMeasuredValueAttribute( + callback: AverageMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageMeasuredValueWindowAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageMeasuredValueWindowAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUncertaintyAttribute( + callback: FloatAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeUncertaintyAttribute( + callback: FloatAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasurementUnitAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasurementUnitAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasurementMediumAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasurementMediumAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLevelValueAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLevelValueAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PowerSourceCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PowerSourceCluster.kt new file mode 100644 index 00000000000000..5e67ab0d8733d9 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PowerSourceCluster.kt @@ -0,0 +1,694 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class PowerSourceCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 47u + } + + interface WiredAssessedInputVoltageAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface WiredAssessedInputFrequencyAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface WiredAssessedCurrentAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ActiveWiredFaultsAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface BatVoltageAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface BatPercentRemainingAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface BatTimeRemainingAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ActiveBatFaultsAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface BatTimeToFullChargeAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface BatChargingCurrentAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ActiveBatChargeFaultsAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EndpointListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readStatusAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeStatusAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOrderAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeOrderAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDescriptionAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDescriptionAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readWiredAssessedInputVoltageAttribute( + callback: WiredAssessedInputVoltageAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeWiredAssessedInputVoltageAttribute( + callback: WiredAssessedInputVoltageAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readWiredAssessedInputFrequencyAttribute( + callback: WiredAssessedInputFrequencyAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeWiredAssessedInputFrequencyAttribute( + callback: WiredAssessedInputFrequencyAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readWiredCurrentTypeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeWiredCurrentTypeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readWiredAssessedCurrentAttribute( + callback: WiredAssessedCurrentAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeWiredAssessedCurrentAttribute( + callback: WiredAssessedCurrentAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readWiredNominalVoltageAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeWiredNominalVoltageAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readWiredMaximumCurrentAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeWiredMaximumCurrentAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readWiredPresentAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeWiredPresentAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActiveWiredFaultsAttribute( + callback: ActiveWiredFaultsAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActiveWiredFaultsAttribute( + callback: ActiveWiredFaultsAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBatVoltageAttribute( + callback: BatVoltageAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBatVoltageAttribute( + callback: BatVoltageAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBatPercentRemainingAttribute( + callback: BatPercentRemainingAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBatPercentRemainingAttribute( + callback: BatPercentRemainingAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBatTimeRemainingAttribute( + callback: BatTimeRemainingAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBatTimeRemainingAttribute( + callback: BatTimeRemainingAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBatChargeLevelAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBatChargeLevelAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBatReplacementNeededAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBatReplacementNeededAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBatReplaceabilityAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBatReplaceabilityAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBatPresentAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBatPresentAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActiveBatFaultsAttribute( + callback: ActiveBatFaultsAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActiveBatFaultsAttribute( + callback: ActiveBatFaultsAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBatReplacementDescriptionAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBatReplacementDescriptionAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBatCommonDesignationAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBatCommonDesignationAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBatANSIDesignationAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBatANSIDesignationAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBatIECDesignationAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBatIECDesignationAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBatApprovedChemistryAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBatApprovedChemistryAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBatCapacityAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBatCapacityAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBatQuantityAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBatQuantityAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBatChargeStateAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBatChargeStateAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBatTimeToFullChargeAttribute( + callback: BatTimeToFullChargeAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBatTimeToFullChargeAttribute( + callback: BatTimeToFullChargeAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBatFunctionalWhileChargingAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBatFunctionalWhileChargingAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBatChargingCurrentAttribute( + callback: BatChargingCurrentAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBatChargingCurrentAttribute( + callback: BatChargingCurrentAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActiveBatChargeFaultsAttribute( + callback: ActiveBatChargeFaultsAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActiveBatChargeFaultsAttribute( + callback: ActiveBatChargeFaultsAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEndpointListAttribute( + callback: EndpointListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEndpointListAttribute( + callback: EndpointListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PowerSourceConfigurationCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PowerSourceConfigurationCluster.kt new file mode 100644 index 00000000000000..1554e412f93ffb --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PowerSourceConfigurationCluster.kt @@ -0,0 +1,163 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class PowerSourceConfigurationCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 46u + } + + interface SourcesAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readSourcesAttribute( + callback: SourcesAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSourcesAttribute( + callback: SourcesAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PressureMeasurementCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PressureMeasurementCluster.kt new file mode 100644 index 00000000000000..59d77e981f2850 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PressureMeasurementCluster.kt @@ -0,0 +1,313 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class PressureMeasurementCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1027u + } + + interface MeasuredValueAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MinMeasuredValueAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxMeasuredValueAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ScaledValueAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MinScaledValueAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxScaledValueAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readToleranceAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeToleranceAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readScaledValueAttribute( + callback: ScaledValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeScaledValueAttribute( + callback: ScaledValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinScaledValueAttribute( + callback: MinScaledValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinScaledValueAttribute( + callback: MinScaledValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxScaledValueAttribute( + callback: MaxScaledValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxScaledValueAttribute( + callback: MaxScaledValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readScaledToleranceAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeScaledToleranceAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readScaleAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeScaleAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ProxyConfigurationCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ProxyConfigurationCluster.kt new file mode 100644 index 00000000000000..9ffde97e61684d --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ProxyConfigurationCluster.kt @@ -0,0 +1,142 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class ProxyConfigurationCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 66u + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ProxyDiscoveryCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ProxyDiscoveryCluster.kt new file mode 100644 index 00000000000000..3d0df0c349792d --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ProxyDiscoveryCluster.kt @@ -0,0 +1,142 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class ProxyDiscoveryCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 67u + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ProxyValidCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ProxyValidCluster.kt new file mode 100644 index 00000000000000..4c455cf9745514 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ProxyValidCluster.kt @@ -0,0 +1,142 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class ProxyValidCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 68u + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PulseWidthModulationCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PulseWidthModulationCluster.kt new file mode 100644 index 00000000000000..089a0d7225b7c9 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PulseWidthModulationCluster.kt @@ -0,0 +1,142 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class PulseWidthModulationCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 28u + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PumpConfigurationAndControlCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PumpConfigurationAndControlCluster.kt new file mode 100644 index 00000000000000..bcee264094f489 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PumpConfigurationAndControlCluster.kt @@ -0,0 +1,655 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class PumpConfigurationAndControlCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 512u + } + + interface MaxPressureAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxSpeedAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxFlowAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MinConstPressureAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxConstPressureAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MinCompPressureAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxCompPressureAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MinConstSpeedAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxConstSpeedAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MinConstFlowAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxConstFlowAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MinConstTempAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxConstTempAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface CapacityAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface SpeedAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface LifetimeRunningHoursAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface PowerAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface LifetimeEnergyConsumedAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readMaxPressureAttribute( + callback: MaxPressureAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxPressureAttribute( + callback: MaxPressureAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxSpeedAttribute( + callback: MaxSpeedAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxSpeedAttribute( + callback: MaxSpeedAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxFlowAttribute( + callback: MaxFlowAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxFlowAttribute( + callback: MaxFlowAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinConstPressureAttribute( + callback: MinConstPressureAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinConstPressureAttribute( + callback: MinConstPressureAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxConstPressureAttribute( + callback: MaxConstPressureAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxConstPressureAttribute( + callback: MaxConstPressureAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinCompPressureAttribute( + callback: MinCompPressureAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinCompPressureAttribute( + callback: MinCompPressureAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxCompPressureAttribute( + callback: MaxCompPressureAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxCompPressureAttribute( + callback: MaxCompPressureAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinConstSpeedAttribute( + callback: MinConstSpeedAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinConstSpeedAttribute( + callback: MinConstSpeedAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxConstSpeedAttribute( + callback: MaxConstSpeedAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxConstSpeedAttribute( + callback: MaxConstSpeedAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinConstFlowAttribute( + callback: MinConstFlowAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinConstFlowAttribute( + callback: MinConstFlowAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxConstFlowAttribute( + callback: MaxConstFlowAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxConstFlowAttribute( + callback: MaxConstFlowAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinConstTempAttribute( + callback: MinConstTempAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinConstTempAttribute( + callback: MinConstTempAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxConstTempAttribute( + callback: MaxConstTempAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxConstTempAttribute( + callback: MaxConstTempAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPumpStatusAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePumpStatusAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEffectiveOperationModeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEffectiveOperationModeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEffectiveControlModeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEffectiveControlModeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCapacityAttribute( + callback: CapacityAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCapacityAttribute( + callback: CapacityAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSpeedAttribute( + callback: SpeedAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSpeedAttribute( + callback: SpeedAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLifetimeRunningHoursAttribute( + callback: LifetimeRunningHoursAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeLifetimeRunningHoursAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeLifetimeRunningHoursAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeLifetimeRunningHoursAttribute( + callback: LifetimeRunningHoursAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPowerAttribute( + callback: PowerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePowerAttribute( + callback: PowerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLifetimeEnergyConsumedAttribute( + callback: LifetimeEnergyConsumedAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeLifetimeEnergyConsumedAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeLifetimeEnergyConsumedAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeLifetimeEnergyConsumedAttribute( + callback: LifetimeEnergyConsumedAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOperationModeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOperationModeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeOperationModeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOperationModeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readControlModeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeControlModeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeControlModeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeControlModeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RadonConcentrationMeasurementCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RadonConcentrationMeasurementCluster.kt new file mode 100644 index 00000000000000..a322eec38d238a --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RadonConcentrationMeasurementCluster.kt @@ -0,0 +1,337 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class RadonConcentrationMeasurementCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1071u + } + + interface MeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MinMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface PeakMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AverageMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPeakMeasuredValueAttribute( + callback: PeakMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePeakMeasuredValueAttribute( + callback: PeakMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPeakMeasuredValueWindowAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePeakMeasuredValueWindowAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageMeasuredValueAttribute( + callback: AverageMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageMeasuredValueAttribute( + callback: AverageMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageMeasuredValueWindowAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageMeasuredValueWindowAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUncertaintyAttribute( + callback: FloatAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeUncertaintyAttribute( + callback: FloatAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasurementUnitAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasurementUnitAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasurementMediumAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasurementMediumAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLevelValueAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLevelValueAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RefrigeratorAlarmCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RefrigeratorAlarmCluster.kt new file mode 100644 index 00000000000000..5a5ffafb04476d --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RefrigeratorAlarmCluster.kt @@ -0,0 +1,187 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class RefrigeratorAlarmCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 87u + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readMaskAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaskAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readStateAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeStateAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSupportedAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSupportedAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RefrigeratorAndTemperatureControlledCabinetModeCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RefrigeratorAndTemperatureControlledCabinetModeCluster.kt new file mode 100644 index 00000000000000..cade86a0ccc4ad --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RefrigeratorAndTemperatureControlledCabinetModeCluster.kt @@ -0,0 +1,263 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class RefrigeratorAndTemperatureControlledCabinetModeCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 82u + } + + fun changeToMode(callback: ChangeToModeResponseCallback, newMode: Integer) { + // Implemantion need to be added here + } + + fun changeToMode(callback: ChangeToModeResponseCallback, newMode: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface ChangeToModeResponseCallback { + fun onSuccess(status: Integer, statusText: String?) + fun onError(error: Exception) + } + + interface SupportedModesAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface StartUpModeAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface OnModeAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readSupportedModesAttribute( + callback: SupportedModesAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSupportedModesAttribute( + callback: SupportedModesAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentModeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentModeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readStartUpModeAttribute( + callback: StartUpModeAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeStartUpModeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeStartUpModeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeStartUpModeAttribute( + callback: StartUpModeAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOnModeAttribute( + callback: OnModeAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOnModeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeOnModeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOnModeAttribute( + callback: OnModeAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RelativeHumidityMeasurementCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RelativeHumidityMeasurementCluster.kt new file mode 100644 index 00000000000000..d5cb7959c97a64 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RelativeHumidityMeasurementCluster.kt @@ -0,0 +1,220 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class RelativeHumidityMeasurementCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1029u + } + + interface MeasuredValueAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MinMeasuredValueAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxMeasuredValueAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readToleranceAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeToleranceAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RvcCleanModeCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RvcCleanModeCluster.kt new file mode 100644 index 00000000000000..2a14feac866fd0 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RvcCleanModeCluster.kt @@ -0,0 +1,227 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class RvcCleanModeCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 85u + } + + fun changeToMode(callback: ChangeToModeResponseCallback, newMode: Integer) { + // Implemantion need to be added here + } + + fun changeToMode(callback: ChangeToModeResponseCallback, newMode: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface ChangeToModeResponseCallback { + fun onSuccess(status: Integer, statusText: String?) + fun onError(error: Exception) + } + + interface SupportedModesAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface OnModeAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readSupportedModesAttribute( + callback: SupportedModesAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSupportedModesAttribute( + callback: SupportedModesAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentModeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentModeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOnModeAttribute( + callback: OnModeAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOnModeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeOnModeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOnModeAttribute( + callback: OnModeAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RvcOperationalStateCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RvcOperationalStateCluster.kt new file mode 100644 index 00000000000000..7ccfb3f86562c3 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RvcOperationalStateCluster.kt @@ -0,0 +1,299 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class RvcOperationalStateCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 97u + } + + fun pause(callback: OperationalCommandResponseCallback) { + // Implemantion need to be added here + } + + fun pause(callback: OperationalCommandResponseCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun stop(callback: OperationalCommandResponseCallback) { + // Implemantion need to be added here + } + + fun stop(callback: OperationalCommandResponseCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun start(callback: OperationalCommandResponseCallback) { + // Implemantion need to be added here + } + + fun start(callback: OperationalCommandResponseCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun resume(callback: OperationalCommandResponseCallback) { + // Implemantion need to be added here + } + + fun resume(callback: OperationalCommandResponseCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface OperationalCommandResponseCallback { + fun onSuccess(commandResponseState: ChipStructs.RvcOperationalStateClusterErrorStateStruct) + fun onError(error: Exception) + } + + interface PhaseListAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface CurrentPhaseAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface CountdownTimeAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface OperationalStateListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface OperationalErrorAttributeCallback { + fun onSuccess(value: ChipStructs.RvcOperationalStateClusterErrorStateStruct) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readPhaseListAttribute( + callback: PhaseListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePhaseListAttribute( + callback: PhaseListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentPhaseAttribute( + callback: CurrentPhaseAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentPhaseAttribute( + callback: CurrentPhaseAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCountdownTimeAttribute( + callback: CountdownTimeAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCountdownTimeAttribute( + callback: CountdownTimeAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOperationalStateListAttribute( + callback: OperationalStateListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeOperationalStateListAttribute( + callback: OperationalStateListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOperationalStateAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeOperationalStateAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOperationalErrorAttribute( + callback: OperationalErrorAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeOperationalErrorAttribute( + callback: OperationalErrorAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RvcRunModeCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RvcRunModeCluster.kt new file mode 100644 index 00000000000000..e4fa1f036783e3 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RvcRunModeCluster.kt @@ -0,0 +1,227 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class RvcRunModeCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 84u + } + + fun changeToMode(callback: ChangeToModeResponseCallback, newMode: Integer) { + // Implemantion need to be added here + } + + fun changeToMode(callback: ChangeToModeResponseCallback, newMode: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface ChangeToModeResponseCallback { + fun onSuccess(status: Integer, statusText: String?) + fun onError(error: Exception) + } + + interface SupportedModesAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface OnModeAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readSupportedModesAttribute( + callback: SupportedModesAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSupportedModesAttribute( + callback: SupportedModesAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentModeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentModeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOnModeAttribute( + callback: OnModeAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOnModeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeOnModeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOnModeAttribute( + callback: OnModeAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/SampleMeiCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/SampleMeiCluster.kt new file mode 100644 index 00000000000000..1c5544e81b8346 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/SampleMeiCluster.kt @@ -0,0 +1,193 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class SampleMeiCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 4294048800u + } + + fun ping(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun ping(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun addArguments(callback: AddArgumentsResponseCallback, arg1: Integer, arg2: Integer) { + // Implemantion need to be added here + } + + fun addArguments(callback: AddArgumentsResponseCallback, arg1: Integer, arg2: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface AddArgumentsResponseCallback { + fun onSuccess(returnValue: Integer) + fun onError(error: Exception) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readFlipFlopAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeFlipFlopAttribute( + callback: DefaultClusterCallback, + value: Boolean + ) { + // Implemantion need to be added here + } + + fun writeFlipFlopAttribute( + callback: DefaultClusterCallback, + value: Boolean, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeFlipFlopAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ScenesCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ScenesCluster.kt new file mode 100644 index 00000000000000..44d9f45d4646e0 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ScenesCluster.kt @@ -0,0 +1,393 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class ScenesCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 5u + } + + fun addScene(callback: AddSceneResponseCallback, groupID: Integer, sceneID: Integer, transitionTime: Integer, sceneName: String, extensionFieldSets: ArrayList) { + // Implemantion need to be added here + } + + fun addScene(callback: AddSceneResponseCallback, groupID: Integer, sceneID: Integer, transitionTime: Integer, sceneName: String, extensionFieldSets: ArrayList, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun viewScene(callback: ViewSceneResponseCallback, groupID: Integer, sceneID: Integer) { + // Implemantion need to be added here + } + + fun viewScene(callback: ViewSceneResponseCallback, groupID: Integer, sceneID: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun removeScene(callback: RemoveSceneResponseCallback, groupID: Integer, sceneID: Integer) { + // Implemantion need to be added here + } + + fun removeScene(callback: RemoveSceneResponseCallback, groupID: Integer, sceneID: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun removeAllScenes(callback: RemoveAllScenesResponseCallback, groupID: Integer) { + // Implemantion need to be added here + } + + fun removeAllScenes(callback: RemoveAllScenesResponseCallback, groupID: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun storeScene(callback: StoreSceneResponseCallback, groupID: Integer, sceneID: Integer) { + // Implemantion need to be added here + } + + fun storeScene(callback: StoreSceneResponseCallback, groupID: Integer, sceneID: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun recallScene(callback: DefaultClusterCallback, groupID: Integer, sceneID: Integer, transitionTime: Integer?) { + // Implemantion need to be added here + } + + fun recallScene(callback: DefaultClusterCallback, groupID: Integer, sceneID: Integer, transitionTime: Integer?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun getSceneMembership(callback: GetSceneMembershipResponseCallback, groupID: Integer) { + // Implemantion need to be added here + } + + fun getSceneMembership(callback: GetSceneMembershipResponseCallback, groupID: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun enhancedAddScene(callback: EnhancedAddSceneResponseCallback, groupID: Integer, sceneID: Integer, transitionTime: Integer, sceneName: String, extensionFieldSets: ArrayList) { + // Implemantion need to be added here + } + + fun enhancedAddScene(callback: EnhancedAddSceneResponseCallback, groupID: Integer, sceneID: Integer, transitionTime: Integer, sceneName: String, extensionFieldSets: ArrayList, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun enhancedViewScene(callback: EnhancedViewSceneResponseCallback, groupID: Integer, sceneID: Integer) { + // Implemantion need to be added here + } + + fun enhancedViewScene(callback: EnhancedViewSceneResponseCallback, groupID: Integer, sceneID: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun copyScene(callback: CopySceneResponseCallback, mode: Integer, groupIdentifierFrom: Integer, sceneIdentifierFrom: Integer, groupIdentifierTo: Integer, sceneIdentifierTo: Integer) { + // Implemantion need to be added here + } + + fun copyScene(callback: CopySceneResponseCallback, mode: Integer, groupIdentifierFrom: Integer, sceneIdentifierFrom: Integer, groupIdentifierTo: Integer, sceneIdentifierTo: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface AddSceneResponseCallback { + fun onSuccess(status: Integer, groupID: Integer, sceneID: Integer) + fun onError(error: Exception) + } + + interface ViewSceneResponseCallback { + fun onSuccess(status: Integer, groupID: Integer, sceneID: Integer, transitionTime: Integer?, sceneName: String?, extensionFieldSets: ArrayList?) + fun onError(error: Exception) + } + + interface RemoveSceneResponseCallback { + fun onSuccess(status: Integer, groupID: Integer, sceneID: Integer) + fun onError(error: Exception) + } + + interface RemoveAllScenesResponseCallback { + fun onSuccess(status: Integer, groupID: Integer) + fun onError(error: Exception) + } + + interface StoreSceneResponseCallback { + fun onSuccess(status: Integer, groupID: Integer, sceneID: Integer) + fun onError(error: Exception) + } + + interface GetSceneMembershipResponseCallback { + fun onSuccess(status: Integer, capacity: Integer?, groupID: Integer, sceneList: ArrayList?) + fun onError(error: Exception) + } + + interface EnhancedAddSceneResponseCallback { + fun onSuccess(status: Integer, groupID: Integer, sceneID: Integer) + fun onError(error: Exception) + } + + interface EnhancedViewSceneResponseCallback { + fun onSuccess(status: Integer, groupID: Integer, sceneID: Integer, transitionTime: Integer?, sceneName: String?, extensionFieldSets: ArrayList?) + fun onError(error: Exception) + } + + interface CopySceneResponseCallback { + fun onSuccess(status: Integer, groupIdentifierFrom: Integer, sceneIdentifierFrom: Integer) + fun onError(error: Exception) + } + + interface LastConfiguredByAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readSceneCountAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSceneCountAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentSceneAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentSceneAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentGroupAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentGroupAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSceneValidAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSceneValidAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNameSupportAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeNameSupportAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLastConfiguredByAttribute( + callback: LastConfiguredByAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLastConfiguredByAttribute( + callback: LastConfiguredByAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSceneTableSizeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSceneTableSizeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRemainingCapacityAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRemainingCapacityAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/SmokeCoAlarmCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/SmokeCoAlarmCluster.kt new file mode 100644 index 00000000000000..53a343c4ec3b42 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/SmokeCoAlarmCluster.kt @@ -0,0 +1,360 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class SmokeCoAlarmCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 92u + } + + fun selfTestRequest(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun selfTestRequest(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readExpressedStateAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeExpressedStateAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSmokeStateAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSmokeStateAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCOStateAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCOStateAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBatteryAlertAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBatteryAlertAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDeviceMutedAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDeviceMutedAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTestInProgressAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTestInProgressAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readHardwareFaultAlertAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeHardwareFaultAlertAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEndOfServiceAlertAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEndOfServiceAlertAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInterconnectSmokeAlarmAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeInterconnectSmokeAlarmAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInterconnectCOAlarmAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeInterconnectCOAlarmAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readContaminationStateAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeContaminationStateAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSmokeSensitivityLevelAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeSmokeSensitivityLevelAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeSmokeSensitivityLevelAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeSmokeSensitivityLevelAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readExpiryDateAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeExpiryDateAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/SoftwareDiagnosticsCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/SoftwareDiagnosticsCluster.kt new file mode 100644 index 00000000000000..4a81f255f55d04 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/SoftwareDiagnosticsCluster.kt @@ -0,0 +1,216 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class SoftwareDiagnosticsCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 52u + } + + fun resetWatermarks(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun resetWatermarks(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface ThreadMetricsAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readThreadMetricsAttribute( + callback: ThreadMetricsAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeThreadMetricsAttribute( + callback: ThreadMetricsAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentHeapFreeAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentHeapFreeAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentHeapUsedAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentHeapUsedAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentHeapHighWatermarkAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentHeapHighWatermarkAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/SwitchCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/SwitchCluster.kt new file mode 100644 index 00000000000000..31eaf87d8ae36d --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/SwitchCluster.kt @@ -0,0 +1,187 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class SwitchCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 59u + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readNumberOfPositionsAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeNumberOfPositionsAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentPositionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentPositionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMultiPressMaxAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMultiPressMaxAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TargetNavigatorCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TargetNavigatorCluster.kt new file mode 100644 index 00000000000000..76dbefc323ec10 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TargetNavigatorCluster.kt @@ -0,0 +1,191 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class TargetNavigatorCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1285u + } + + fun navigateTarget(callback: NavigateTargetResponseCallback, target: Integer, data: String?) { + // Implemantion need to be added here + } + + fun navigateTarget(callback: NavigateTargetResponseCallback, target: Integer, data: String?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface NavigateTargetResponseCallback { + fun onSuccess(status: Integer, data: String?) + fun onError(error: Exception) + } + + interface TargetListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readTargetListAttribute( + callback: TargetListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTargetListAttribute( + callback: TargetListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentTargetAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentTargetAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TemperatureControlCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TemperatureControlCluster.kt new file mode 100644 index 00000000000000..c735f0c9cb46ef --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TemperatureControlCluster.kt @@ -0,0 +1,246 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class TemperatureControlCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 86u + } + + fun setTemperature(callback: DefaultClusterCallback, targetTemperature: Integer?, targetTemperatureLevel: Integer?) { + // Implemantion need to be added here + } + + fun setTemperature(callback: DefaultClusterCallback, targetTemperature: Integer?, targetTemperatureLevel: Integer?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface SupportedTemperatureLevelsAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readTemperatureSetpointAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTemperatureSetpointAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinTemperatureAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinTemperatureAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxTemperatureAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxTemperatureAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readStepAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeStepAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSelectedTemperatureLevelAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSelectedTemperatureLevelAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSupportedTemperatureLevelsAttribute( + callback: SupportedTemperatureLevelsAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSupportedTemperatureLevelsAttribute( + callback: SupportedTemperatureLevelsAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TemperatureMeasurementCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TemperatureMeasurementCluster.kt new file mode 100644 index 00000000000000..f61b1aa141c802 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TemperatureMeasurementCluster.kt @@ -0,0 +1,220 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class TemperatureMeasurementCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1026u + } + + interface MeasuredValueAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MinMeasuredValueAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxMeasuredValueAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readToleranceAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeToleranceAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ThermostatCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ThermostatCluster.kt new file mode 100644 index 00000000000000..0969f01c19d22a --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ThermostatCluster.kt @@ -0,0 +1,1385 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class ThermostatCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 513u + } + + fun setpointRaiseLower(callback: DefaultClusterCallback, mode: Integer, amount: Integer) { + // Implemantion need to be added here + } + + fun setpointRaiseLower(callback: DefaultClusterCallback, mode: Integer, amount: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun setWeeklySchedule(callback: DefaultClusterCallback, numberOfTransitionsForSequence: Integer, dayOfWeekForSequence: Integer, modeForSequence: Integer, transitions: ArrayList) { + // Implemantion need to be added here + } + + fun setWeeklySchedule(callback: DefaultClusterCallback, numberOfTransitionsForSequence: Integer, dayOfWeekForSequence: Integer, modeForSequence: Integer, transitions: ArrayList, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun getWeeklySchedule(callback: GetWeeklyScheduleResponseCallback, daysToReturn: Integer, modeToReturn: Integer) { + // Implemantion need to be added here + } + + fun getWeeklySchedule(callback: GetWeeklyScheduleResponseCallback, daysToReturn: Integer, modeToReturn: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun clearWeeklySchedule(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun clearWeeklySchedule(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface GetWeeklyScheduleResponseCallback { + fun onSuccess(numberOfTransitionsForSequence: Integer, dayOfWeekForSequence: Integer, modeForSequence: Integer, transitions: ArrayList) + fun onError(error: Exception) + } + + interface LocalTemperatureAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface OutdoorTemperatureAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface TemperatureSetpointHoldDurationAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface SetpointChangeAmountAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface OccupiedSetbackAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface OccupiedSetbackMinAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface OccupiedSetbackMaxAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface UnoccupiedSetbackAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface UnoccupiedSetbackMinAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface UnoccupiedSetbackMaxAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ACCoilTemperatureAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readLocalTemperatureAttribute( + callback: LocalTemperatureAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLocalTemperatureAttribute( + callback: LocalTemperatureAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOutdoorTemperatureAttribute( + callback: OutdoorTemperatureAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeOutdoorTemperatureAttribute( + callback: OutdoorTemperatureAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOccupancyAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeOccupancyAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAbsMinHeatSetpointLimitAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAbsMinHeatSetpointLimitAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAbsMaxHeatSetpointLimitAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAbsMaxHeatSetpointLimitAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAbsMinCoolSetpointLimitAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAbsMinCoolSetpointLimitAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAbsMaxCoolSetpointLimitAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAbsMaxCoolSetpointLimitAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPICoolingDemandAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePICoolingDemandAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPIHeatingDemandAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePIHeatingDemandAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readHVACSystemTypeConfigurationAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeHVACSystemTypeConfigurationAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeHVACSystemTypeConfigurationAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeHVACSystemTypeConfigurationAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLocalTemperatureCalibrationAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeLocalTemperatureCalibrationAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeLocalTemperatureCalibrationAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeLocalTemperatureCalibrationAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOccupiedCoolingSetpointAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOccupiedCoolingSetpointAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeOccupiedCoolingSetpointAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOccupiedCoolingSetpointAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOccupiedHeatingSetpointAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOccupiedHeatingSetpointAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeOccupiedHeatingSetpointAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOccupiedHeatingSetpointAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUnoccupiedCoolingSetpointAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeUnoccupiedCoolingSetpointAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeUnoccupiedCoolingSetpointAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeUnoccupiedCoolingSetpointAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUnoccupiedHeatingSetpointAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeUnoccupiedHeatingSetpointAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeUnoccupiedHeatingSetpointAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeUnoccupiedHeatingSetpointAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinHeatSetpointLimitAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeMinHeatSetpointLimitAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeMinHeatSetpointLimitAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeMinHeatSetpointLimitAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxHeatSetpointLimitAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeMaxHeatSetpointLimitAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeMaxHeatSetpointLimitAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeMaxHeatSetpointLimitAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinCoolSetpointLimitAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeMinCoolSetpointLimitAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeMinCoolSetpointLimitAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeMinCoolSetpointLimitAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxCoolSetpointLimitAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeMaxCoolSetpointLimitAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeMaxCoolSetpointLimitAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeMaxCoolSetpointLimitAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinSetpointDeadBandAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeMinSetpointDeadBandAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeMinSetpointDeadBandAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeMinSetpointDeadBandAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRemoteSensingAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeRemoteSensingAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeRemoteSensingAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeRemoteSensingAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readControlSequenceOfOperationAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeControlSequenceOfOperationAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeControlSequenceOfOperationAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeControlSequenceOfOperationAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSystemModeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeSystemModeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeSystemModeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeSystemModeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readThermostatRunningModeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeThermostatRunningModeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readStartOfWeekAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeStartOfWeekAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNumberOfWeeklyTransitionsAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeNumberOfWeeklyTransitionsAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNumberOfDailyTransitionsAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeNumberOfDailyTransitionsAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTemperatureSetpointHoldAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeTemperatureSetpointHoldAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeTemperatureSetpointHoldAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeTemperatureSetpointHoldAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTemperatureSetpointHoldDurationAttribute( + callback: TemperatureSetpointHoldDurationAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeTemperatureSetpointHoldDurationAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeTemperatureSetpointHoldDurationAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeTemperatureSetpointHoldDurationAttribute( + callback: TemperatureSetpointHoldDurationAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readThermostatProgrammingOperationModeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeThermostatProgrammingOperationModeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeThermostatProgrammingOperationModeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeThermostatProgrammingOperationModeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readThermostatRunningStateAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeThermostatRunningStateAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSetpointChangeSourceAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSetpointChangeSourceAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSetpointChangeAmountAttribute( + callback: SetpointChangeAmountAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSetpointChangeAmountAttribute( + callback: SetpointChangeAmountAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSetpointChangeSourceTimestampAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSetpointChangeSourceTimestampAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOccupiedSetbackAttribute( + callback: OccupiedSetbackAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOccupiedSetbackAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeOccupiedSetbackAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOccupiedSetbackAttribute( + callback: OccupiedSetbackAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOccupiedSetbackMinAttribute( + callback: OccupiedSetbackMinAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeOccupiedSetbackMinAttribute( + callback: OccupiedSetbackMinAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOccupiedSetbackMaxAttribute( + callback: OccupiedSetbackMaxAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeOccupiedSetbackMaxAttribute( + callback: OccupiedSetbackMaxAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUnoccupiedSetbackAttribute( + callback: UnoccupiedSetbackAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeUnoccupiedSetbackAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeUnoccupiedSetbackAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeUnoccupiedSetbackAttribute( + callback: UnoccupiedSetbackAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUnoccupiedSetbackMinAttribute( + callback: UnoccupiedSetbackMinAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeUnoccupiedSetbackMinAttribute( + callback: UnoccupiedSetbackMinAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUnoccupiedSetbackMaxAttribute( + callback: UnoccupiedSetbackMaxAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeUnoccupiedSetbackMaxAttribute( + callback: UnoccupiedSetbackMaxAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEmergencyHeatDeltaAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeEmergencyHeatDeltaAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeEmergencyHeatDeltaAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeEmergencyHeatDeltaAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readACTypeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeACTypeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeACTypeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeACTypeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readACCapacityAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeACCapacityAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeACCapacityAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeACCapacityAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readACRefrigerantTypeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeACRefrigerantTypeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeACRefrigerantTypeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeACRefrigerantTypeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readACCompressorTypeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeACCompressorTypeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeACCompressorTypeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeACCompressorTypeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readACErrorCodeAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeACErrorCodeAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeACErrorCodeAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeACErrorCodeAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readACLouverPositionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeACLouverPositionAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeACLouverPositionAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeACLouverPositionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readACCoilTemperatureAttribute( + callback: ACCoilTemperatureAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeACCoilTemperatureAttribute( + callback: ACCoilTemperatureAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readACCapacityformatAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeACCapacityformatAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeACCapacityformatAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeACCapacityformatAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ThermostatUserInterfaceConfigurationCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ThermostatUserInterfaceConfigurationCluster.kt new file mode 100644 index 00000000000000..d693c0f9a616ef --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ThermostatUserInterfaceConfigurationCluster.kt @@ -0,0 +1,232 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class ThermostatUserInterfaceConfigurationCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 516u + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readTemperatureDisplayModeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeTemperatureDisplayModeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeTemperatureDisplayModeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeTemperatureDisplayModeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readKeypadLockoutAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeKeypadLockoutAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeKeypadLockoutAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeKeypadLockoutAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readScheduleProgrammingVisibilityAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeScheduleProgrammingVisibilityAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeScheduleProgrammingVisibilityAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeScheduleProgrammingVisibilityAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ThreadNetworkDiagnosticsCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ThreadNetworkDiagnosticsCluster.kt new file mode 100644 index 00000000000000..826870ac899548 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ThreadNetworkDiagnosticsCluster.kt @@ -0,0 +1,1215 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class ThreadNetworkDiagnosticsCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 53u + } + + fun resetCounts(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun resetCounts(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface ChannelAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface RoutingRoleAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NetworkNameAttributeCallback { + fun onSuccess(value: String?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface PanIdAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ExtendedPanIdAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MeshLocalPrefixAttributeCallback { + fun onSuccess(value: byte[]?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NeighborTableAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface RouteTableAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface PartitionIdAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface WeightingAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface DataVersionAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface StableDataVersionAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface LeaderRouterIdAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ActiveTimestampAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface PendingTimestampAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface DelayAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface SecurityPolicyAttributeCallback { + fun onSuccess(value: ChipStructs.ThreadNetworkDiagnosticsClusterSecurityPolicy?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ChannelPage0MaskAttributeCallback { + fun onSuccess(value: byte[]?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface OperationalDatasetComponentsAttributeCallback { + fun onSuccess(value: ChipStructs.ThreadNetworkDiagnosticsClusterOperationalDatasetComponents?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ActiveNetworkFaultsListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readChannelAttribute( + callback: ChannelAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeChannelAttribute( + callback: ChannelAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRoutingRoleAttribute( + callback: RoutingRoleAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRoutingRoleAttribute( + callback: RoutingRoleAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNetworkNameAttribute( + callback: NetworkNameAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeNetworkNameAttribute( + callback: NetworkNameAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPanIdAttribute( + callback: PanIdAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePanIdAttribute( + callback: PanIdAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readExtendedPanIdAttribute( + callback: ExtendedPanIdAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeExtendedPanIdAttribute( + callback: ExtendedPanIdAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeshLocalPrefixAttribute( + callback: MeshLocalPrefixAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeshLocalPrefixAttribute( + callback: MeshLocalPrefixAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOverrunCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeOverrunCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNeighborTableAttribute( + callback: NeighborTableAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeNeighborTableAttribute( + callback: NeighborTableAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRouteTableAttribute( + callback: RouteTableAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRouteTableAttribute( + callback: RouteTableAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPartitionIdAttribute( + callback: PartitionIdAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePartitionIdAttribute( + callback: PartitionIdAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readWeightingAttribute( + callback: WeightingAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeWeightingAttribute( + callback: WeightingAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDataVersionAttribute( + callback: DataVersionAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDataVersionAttribute( + callback: DataVersionAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readStableDataVersionAttribute( + callback: StableDataVersionAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeStableDataVersionAttribute( + callback: StableDataVersionAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLeaderRouterIdAttribute( + callback: LeaderRouterIdAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLeaderRouterIdAttribute( + callback: LeaderRouterIdAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDetachedRoleCountAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDetachedRoleCountAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readChildRoleCountAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeChildRoleCountAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRouterRoleCountAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRouterRoleCountAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLeaderRoleCountAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLeaderRoleCountAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttachAttemptCountAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttachAttemptCountAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPartitionIdChangeCountAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePartitionIdChangeCountAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBetterPartitionAttachAttemptCountAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBetterPartitionAttachAttemptCountAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readParentChangeCountAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeParentChangeCountAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTxTotalCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTxTotalCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTxUnicastCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTxUnicastCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTxBroadcastCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTxBroadcastCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTxAckRequestedCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTxAckRequestedCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTxAckedCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTxAckedCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTxNoAckRequestedCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTxNoAckRequestedCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTxDataCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTxDataCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTxDataPollCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTxDataPollCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTxBeaconCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTxBeaconCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTxBeaconRequestCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTxBeaconRequestCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTxOtherCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTxOtherCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTxRetryCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTxRetryCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTxDirectMaxRetryExpiryCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTxDirectMaxRetryExpiryCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTxIndirectMaxRetryExpiryCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTxIndirectMaxRetryExpiryCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTxErrCcaCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTxErrCcaCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTxErrAbortCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTxErrAbortCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTxErrBusyChannelCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTxErrBusyChannelCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRxTotalCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRxTotalCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRxUnicastCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRxUnicastCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRxBroadcastCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRxBroadcastCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRxDataCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRxDataCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRxDataPollCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRxDataPollCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRxBeaconCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRxBeaconCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRxBeaconRequestCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRxBeaconRequestCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRxOtherCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRxOtherCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRxAddressFilteredCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRxAddressFilteredCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRxDestAddrFilteredCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRxDestAddrFilteredCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRxDuplicatedCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRxDuplicatedCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRxErrNoFrameCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRxErrNoFrameCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRxErrUnknownNeighborCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRxErrUnknownNeighborCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRxErrInvalidSrcAddrCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRxErrInvalidSrcAddrCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRxErrSecCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRxErrSecCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRxErrFcsCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRxErrFcsCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRxErrOtherCountAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRxErrOtherCountAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActiveTimestampAttribute( + callback: ActiveTimestampAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActiveTimestampAttribute( + callback: ActiveTimestampAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPendingTimestampAttribute( + callback: PendingTimestampAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePendingTimestampAttribute( + callback: PendingTimestampAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDelayAttribute( + callback: DelayAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDelayAttribute( + callback: DelayAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSecurityPolicyAttribute( + callback: SecurityPolicyAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSecurityPolicyAttribute( + callback: SecurityPolicyAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readChannelPage0MaskAttribute( + callback: ChannelPage0MaskAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeChannelPage0MaskAttribute( + callback: ChannelPage0MaskAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOperationalDatasetComponentsAttribute( + callback: OperationalDatasetComponentsAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeOperationalDatasetComponentsAttribute( + callback: OperationalDatasetComponentsAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActiveNetworkFaultsListAttribute( + callback: ActiveNetworkFaultsListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeActiveNetworkFaultsListAttribute( + callback: ActiveNetworkFaultsListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TimeFormatLocalizationCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TimeFormatLocalizationCluster.kt new file mode 100644 index 00000000000000..a7dc8feba9046b --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TimeFormatLocalizationCluster.kt @@ -0,0 +1,223 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class TimeFormatLocalizationCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 44u + } + + interface SupportedCalendarTypesAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readHourFormatAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeHourFormatAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeHourFormatAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeHourFormatAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readActiveCalendarTypeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeActiveCalendarTypeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeActiveCalendarTypeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeActiveCalendarTypeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSupportedCalendarTypesAttribute( + callback: SupportedCalendarTypesAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSupportedCalendarTypesAttribute( + callback: SupportedCalendarTypesAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TimeSynchronizationCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TimeSynchronizationCluster.kt new file mode 100644 index 00000000000000..5d089636c7403f --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TimeSynchronizationCluster.kt @@ -0,0 +1,418 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class TimeSynchronizationCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 56u + } + + fun setUTCTime(callback: DefaultClusterCallback, UTCTime: Long, granularity: Integer, timeSource: Integer?) { + // Implemantion need to be added here + } + + fun setUTCTime(callback: DefaultClusterCallback, UTCTime: Long, granularity: Integer, timeSource: Integer?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun setTrustedTimeSource(callback: DefaultClusterCallback, trustedTimeSource: ChipStructs.TimeSynchronizationClusterFabricScopedTrustedTimeSourceStruct?) { + // Implemantion need to be added here + } + + fun setTrustedTimeSource(callback: DefaultClusterCallback, trustedTimeSource: ChipStructs.TimeSynchronizationClusterFabricScopedTrustedTimeSourceStruct?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun setTimeZone(callback: SetTimeZoneResponseCallback, timeZone: ArrayList) { + // Implemantion need to be added here + } + + fun setTimeZone(callback: SetTimeZoneResponseCallback, timeZone: ArrayList, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun setDSTOffset(callback: DefaultClusterCallback, DSTOffset: ArrayList) { + // Implemantion need to be added here + } + + fun setDSTOffset(callback: DefaultClusterCallback, DSTOffset: ArrayList, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun setDefaultNTP(callback: DefaultClusterCallback, defaultNTP: String?) { + // Implemantion need to be added here + } + + fun setDefaultNTP(callback: DefaultClusterCallback, defaultNTP: String?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface SetTimeZoneResponseCallback { + fun onSuccess(DSTOffsetRequired: Boolean) + fun onError(error: Exception) + } + + interface UTCTimeAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface TrustedTimeSourceAttributeCallback { + fun onSuccess(value: ChipStructs.TimeSynchronizationClusterTrustedTimeSourceStruct?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface DefaultNTPAttributeCallback { + fun onSuccess(value: String?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface TimeZoneAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface DSTOffsetAttributeCallback { + fun onSuccess(value: ArrayList?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface LocalTimeAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readUTCTimeAttribute( + callback: UTCTimeAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeUTCTimeAttribute( + callback: UTCTimeAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGranularityAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGranularityAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTimeSourceAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTimeSourceAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTrustedTimeSourceAttribute( + callback: TrustedTimeSourceAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTrustedTimeSourceAttribute( + callback: TrustedTimeSourceAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDefaultNTPAttribute( + callback: DefaultNTPAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDefaultNTPAttribute( + callback: DefaultNTPAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTimeZoneAttribute( + callback: TimeZoneAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTimeZoneAttribute( + callback: TimeZoneAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDSTOffsetAttribute( + callback: DSTOffsetAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDSTOffsetAttribute( + callback: DSTOffsetAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLocalTimeAttribute( + callback: LocalTimeAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLocalTimeAttribute( + callback: LocalTimeAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTimeZoneDatabaseAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTimeZoneDatabaseAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNTPServerAvailableAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeNTPServerAvailableAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTimeZoneListMaxSizeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTimeZoneListMaxSizeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readDSTOffsetListMaxSizeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeDSTOffsetListMaxSizeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSupportsDNSResolveAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSupportsDNSResolveAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TotalVolatileOrganicCompoundsConcentrationMeasurementCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TotalVolatileOrganicCompoundsConcentrationMeasurementCluster.kt new file mode 100644 index 00000000000000..26c54da12bff58 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TotalVolatileOrganicCompoundsConcentrationMeasurementCluster.kt @@ -0,0 +1,337 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class TotalVolatileOrganicCompoundsConcentrationMeasurementCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1070u + } + + interface MeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MinMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface MaxMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface PeakMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AverageMeasuredValueAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasuredValueAttribute( + callback: MeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMinMeasuredValueAttribute( + callback: MinMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMaxMeasuredValueAttribute( + callback: MaxMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPeakMeasuredValueAttribute( + callback: PeakMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePeakMeasuredValueAttribute( + callback: PeakMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPeakMeasuredValueWindowAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePeakMeasuredValueWindowAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageMeasuredValueAttribute( + callback: AverageMeasuredValueAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageMeasuredValueAttribute( + callback: AverageMeasuredValueAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAverageMeasuredValueWindowAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAverageMeasuredValueWindowAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUncertaintyAttribute( + callback: FloatAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeUncertaintyAttribute( + callback: FloatAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasurementUnitAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasurementUnitAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readMeasurementMediumAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMeasurementMediumAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLevelValueAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeLevelValueAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/UnitLocalizationCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/UnitLocalizationCluster.kt new file mode 100644 index 00000000000000..538386fe72a698 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/UnitLocalizationCluster.kt @@ -0,0 +1,172 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class UnitLocalizationCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 45u + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readTemperatureUnitAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeTemperatureUnitAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeTemperatureUnitAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeTemperatureUnitAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/UnitTestingCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/UnitTestingCluster.kt new file mode 100644 index 00000000000000..5e471d9fda1a7f --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/UnitTestingCluster.kt @@ -0,0 +1,3076 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class UnitTestingCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 4294048773u + } + + fun test(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun test(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun testNotHandled(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun testNotHandled(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun testSpecific(callback: TestSpecificResponseCallback) { + // Implemantion need to be added here + } + + fun testSpecific(callback: TestSpecificResponseCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun testUnknownCommand(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun testUnknownCommand(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun testAddArguments(callback: TestAddArgumentsResponseCallback, arg1: Integer, arg2: Integer) { + // Implemantion need to be added here + } + + fun testAddArguments(callback: TestAddArgumentsResponseCallback, arg1: Integer, arg2: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun testSimpleArgumentRequest(callback: TestSimpleArgumentResponseCallback, arg1: Boolean) { + // Implemantion need to be added here + } + + fun testSimpleArgumentRequest(callback: TestSimpleArgumentResponseCallback, arg1: Boolean, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun testStructArrayArgumentRequest(callback: TestStructArrayArgumentResponseCallback, arg1: ArrayList, arg2: ArrayList, arg3: ArrayList, arg4: ArrayList, arg5: Integer, arg6: Boolean) { + // Implemantion need to be added here + } + + fun testStructArrayArgumentRequest(callback: TestStructArrayArgumentResponseCallback, arg1: ArrayList, arg2: ArrayList, arg3: ArrayList, arg4: ArrayList, arg5: Integer, arg6: Boolean, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun testStructArgumentRequest(callback: BooleanResponseCallback, arg1: ChipStructs.UnitTestingClusterSimpleStruct) { + // Implemantion need to be added here + } + + fun testStructArgumentRequest(callback: BooleanResponseCallback, arg1: ChipStructs.UnitTestingClusterSimpleStruct, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun testNestedStructArgumentRequest(callback: BooleanResponseCallback, arg1: ChipStructs.UnitTestingClusterNestedStruct) { + // Implemantion need to be added here + } + + fun testNestedStructArgumentRequest(callback: BooleanResponseCallback, arg1: ChipStructs.UnitTestingClusterNestedStruct, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun testListStructArgumentRequest(callback: BooleanResponseCallback, arg1: ArrayList) { + // Implemantion need to be added here + } + + fun testListStructArgumentRequest(callback: BooleanResponseCallback, arg1: ArrayList, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun testListInt8UArgumentRequest(callback: BooleanResponseCallback, arg1: ArrayList) { + // Implemantion need to be added here + } + + fun testListInt8UArgumentRequest(callback: BooleanResponseCallback, arg1: ArrayList, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun testNestedStructListArgumentRequest(callback: BooleanResponseCallback, arg1: ChipStructs.UnitTestingClusterNestedStructList) { + // Implemantion need to be added here + } + + fun testNestedStructListArgumentRequest(callback: BooleanResponseCallback, arg1: ChipStructs.UnitTestingClusterNestedStructList, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun testListNestedStructListArgumentRequest(callback: BooleanResponseCallback, arg1: ArrayList) { + // Implemantion need to be added here + } + + fun testListNestedStructListArgumentRequest(callback: BooleanResponseCallback, arg1: ArrayList, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun testListInt8UReverseRequest(callback: TestListInt8UReverseResponseCallback, arg1: ArrayList) { + // Implemantion need to be added here + } + + fun testListInt8UReverseRequest(callback: TestListInt8UReverseResponseCallback, arg1: ArrayList, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun testEnumsRequest(callback: TestEnumsResponseCallback, arg1: Integer, arg2: Integer) { + // Implemantion need to be added here + } + + fun testEnumsRequest(callback: TestEnumsResponseCallback, arg1: Integer, arg2: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun testNullableOptionalRequest(callback: TestNullableOptionalResponseCallback, arg1: Integer?) { + // Implemantion need to be added here + } + + fun testNullableOptionalRequest(callback: TestNullableOptionalResponseCallback, arg1: Integer?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun testComplexNullableOptionalRequest(callback: TestComplexNullableOptionalResponseCallback, nullableInt: Integer?, optionalInt: Integer?, nullableOptionalInt: Integer?, nullableString: String?, optionalString: String?, nullableOptionalString: String?, nullableStruct: ChipStructs.UnitTestingClusterSimpleStruct?, optionalStruct: ChipStructs.UnitTestingClusterSimpleStruct?, nullableOptionalStruct: ChipStructs.UnitTestingClusterSimpleStruct?, nullableList: ArrayList?, optionalList: ArrayList?, nullableOptionalList: ArrayList?) { + // Implemantion need to be added here + } + + fun testComplexNullableOptionalRequest(callback: TestComplexNullableOptionalResponseCallback, nullableInt: Integer?, optionalInt: Integer?, nullableOptionalInt: Integer?, nullableString: String?, optionalString: String?, nullableOptionalString: String?, nullableStruct: ChipStructs.UnitTestingClusterSimpleStruct?, optionalStruct: ChipStructs.UnitTestingClusterSimpleStruct?, nullableOptionalStruct: ChipStructs.UnitTestingClusterSimpleStruct?, nullableList: ArrayList?, optionalList: ArrayList?, nullableOptionalList: ArrayList?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun simpleStructEchoRequest(callback: SimpleStructResponseCallback, arg1: ChipStructs.UnitTestingClusterSimpleStruct) { + // Implemantion need to be added here + } + + fun simpleStructEchoRequest(callback: SimpleStructResponseCallback, arg1: ChipStructs.UnitTestingClusterSimpleStruct, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + + fun timedInvokeRequest(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun testSimpleOptionalArgumentRequest(callback: DefaultClusterCallback, arg1: Boolean?) { + // Implemantion need to be added here + } + + fun testSimpleOptionalArgumentRequest(callback: DefaultClusterCallback, arg1: Boolean?, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun testEmitTestEventRequest(callback: TestEmitTestEventResponseCallback, arg1: Integer, arg2: Integer, arg3: Boolean) { + // Implemantion need to be added here + } + + fun testEmitTestEventRequest(callback: TestEmitTestEventResponseCallback, arg1: Integer, arg2: Integer, arg3: Boolean, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun testEmitTestFabricScopedEventRequest(callback: TestEmitTestFabricScopedEventResponseCallback, arg1: Integer) { + // Implemantion need to be added here + } + + fun testEmitTestFabricScopedEventRequest(callback: TestEmitTestFabricScopedEventResponseCallback, arg1: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface TestSpecificResponseCallback { + fun onSuccess(returnValue: Integer) + fun onError(error: Exception) + } + + interface TestAddArgumentsResponseCallback { + fun onSuccess(returnValue: Integer) + fun onError(error: Exception) + } + + interface TestSimpleArgumentResponseCallback { + fun onSuccess(returnValue: Boolean) + fun onError(error: Exception) + } + + interface TestStructArrayArgumentResponseCallback { + fun onSuccess(arg1: ArrayList, arg2: ArrayList, arg3: ArrayList, arg4: ArrayList, arg5: Integer, arg6: Boolean) + fun onError(error: Exception) + } + + interface BooleanResponseCallback { + fun onSuccess(value: Boolean) + fun onError(error: Exception) + } + + interface TestListInt8UReverseResponseCallback { + fun onSuccess(arg1: ArrayList) + fun onError(error: Exception) + } + + interface TestEnumsResponseCallback { + fun onSuccess(arg1: Integer, arg2: Integer) + fun onError(error: Exception) + } + + interface TestNullableOptionalResponseCallback { + fun onSuccess(wasPresent: Boolean, wasNull: Boolean?, value: Integer?, originalValue: Integer?) + fun onError(error: Exception) + } + + interface TestComplexNullableOptionalResponseCallback { + fun onSuccess(nullableIntWasNull: Boolean, nullableIntValue: Integer?, optionalIntWasPresent: Boolean, optionalIntValue: Integer?, nullableOptionalIntWasPresent: Boolean, nullableOptionalIntWasNull: Boolean?, nullableOptionalIntValue: Integer?, nullableStringWasNull: Boolean, nullableStringValue: String?, optionalStringWasPresent: Boolean, optionalStringValue: String?, nullableOptionalStringWasPresent: Boolean, nullableOptionalStringWasNull: Boolean?, nullableOptionalStringValue: String?, nullableStructWasNull: Boolean, nullableStructValue: ChipStructs.UnitTestingClusterSimpleStruct?, optionalStructWasPresent: Boolean, optionalStructValue: ChipStructs.UnitTestingClusterSimpleStruct?, nullableOptionalStructWasPresent: Boolean, nullableOptionalStructWasNull: Boolean?, nullableOptionalStructValue: ChipStructs.UnitTestingClusterSimpleStruct?, nullableListWasNull: Boolean, nullableListValue: ArrayList?, optionalListWasPresent: Boolean, optionalListValue: ArrayList?, nullableOptionalListWasPresent: Boolean, nullableOptionalListWasNull: Boolean?, nullableOptionalListValue: ArrayList?) + fun onError(error: Exception) + } + + interface SimpleStructResponseCallback { + fun onSuccess(arg1: ChipStructs.UnitTestingClusterSimpleStruct) + fun onError(error: Exception) + } + + interface TestEmitTestEventResponseCallback { + fun onSuccess(value: Long) + fun onError(error: Exception) + } + + interface TestEmitTestFabricScopedEventResponseCallback { + fun onSuccess(value: Long) + fun onError(error: Exception) + } + + interface ListInt8uAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ListOctetStringAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ListStructOctetStringAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ListNullablesAndOptionalsStructAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface StructAttrAttributeCallback { + fun onSuccess(value: ChipStructs.UnitTestingClusterSimpleStruct) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ListLongOctetStringAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ListFabricScopedAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableBooleanAttributeCallback { + fun onSuccess(value: Boolean?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableBitmap8AttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableBitmap16AttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableBitmap32AttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableBitmap64AttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableInt8uAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableInt16uAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableInt24uAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableInt32uAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableInt40uAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableInt48uAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableInt56uAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableInt64uAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableInt8sAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableInt16sAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableInt24sAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableInt32sAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableInt40sAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableInt48sAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableInt56sAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableInt64sAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableEnum8AttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableEnum16AttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableFloatSingleAttributeCallback { + fun onSuccess(value: Float?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableFloatDoubleAttributeCallback { + fun onSuccess(value: Double?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableOctetStringAttributeCallback { + fun onSuccess(value: byte[]?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableCharStringAttributeCallback { + fun onSuccess(value: String?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableEnumAttrAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableStructAttributeCallback { + fun onSuccess(value: ChipStructs.UnitTestingClusterSimpleStruct?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableRangeRestrictedInt8uAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableRangeRestrictedInt8sAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableRangeRestrictedInt16uAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface NullableRangeRestrictedInt16sAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readBooleanAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeBooleanAttribute( + callback: DefaultClusterCallback, + value: Boolean + ) { + // Implemantion need to be added here + } + + fun writeBooleanAttribute( + callback: DefaultClusterCallback, + value: Boolean, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeBooleanAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBitmap8Attribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeBitmap8Attribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeBitmap8Attribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeBitmap8Attribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBitmap16Attribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeBitmap16Attribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeBitmap16Attribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeBitmap16Attribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBitmap32Attribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeBitmap32Attribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeBitmap32Attribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeBitmap32Attribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBitmap64Attribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeBitmap64Attribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeBitmap64Attribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeBitmap64Attribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInt8uAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeInt8uAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeInt8uAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeInt8uAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInt16uAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeInt16uAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeInt16uAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeInt16uAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInt24uAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeInt24uAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeInt24uAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeInt24uAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInt32uAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeInt32uAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeInt32uAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeInt32uAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInt40uAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeInt40uAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeInt40uAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeInt40uAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInt48uAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeInt48uAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeInt48uAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeInt48uAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInt56uAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeInt56uAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeInt56uAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeInt56uAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInt64uAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeInt64uAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeInt64uAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeInt64uAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInt8sAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeInt8sAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeInt8sAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeInt8sAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInt16sAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeInt16sAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeInt16sAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeInt16sAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInt24sAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeInt24sAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeInt24sAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeInt24sAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInt32sAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeInt32sAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeInt32sAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeInt32sAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInt40sAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeInt40sAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeInt40sAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeInt40sAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInt48sAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeInt48sAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeInt48sAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeInt48sAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInt56sAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeInt56sAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeInt56sAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeInt56sAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInt64sAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeInt64sAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeInt64sAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeInt64sAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEnum8Attribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeEnum8Attribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeEnum8Attribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeEnum8Attribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEnum16Attribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeEnum16Attribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeEnum16Attribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeEnum16Attribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFloatSingleAttribute( + callback: FloatAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeFloatSingleAttribute( + callback: DefaultClusterCallback, + value: Float + ) { + // Implemantion need to be added here + } + + fun writeFloatSingleAttribute( + callback: DefaultClusterCallback, + value: Float, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeFloatSingleAttribute( + callback: FloatAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFloatDoubleAttribute( + callback: DoubleAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeFloatDoubleAttribute( + callback: DefaultClusterCallback, + value: Double + ) { + // Implemantion need to be added here + } + + fun writeFloatDoubleAttribute( + callback: DefaultClusterCallback, + value: Double, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeFloatDoubleAttribute( + callback: DoubleAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOctetStringAttribute( + callback: OctetStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeOctetStringAttribute( + callback: DefaultClusterCallback, + value: byte[] + ) { + // Implemantion need to be added here + } + + fun writeOctetStringAttribute( + callback: DefaultClusterCallback, + value: byte[], + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeOctetStringAttribute( + callback: OctetStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readListInt8uAttribute( + callback: ListInt8uAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeListInt8uAttribute( + callback: DefaultClusterCallback, + value: ArrayList + ) { + // Implemantion need to be added here + } + + fun writeListInt8uAttribute( + callback: DefaultClusterCallback, + value: ArrayList, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeListInt8uAttribute( + callback: ListInt8uAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readListOctetStringAttribute( + callback: ListOctetStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeListOctetStringAttribute( + callback: DefaultClusterCallback, + value: ArrayList + ) { + // Implemantion need to be added here + } + + fun writeListOctetStringAttribute( + callback: DefaultClusterCallback, + value: ArrayList, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeListOctetStringAttribute( + callback: ListOctetStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readListStructOctetStringAttribute( + callback: ListStructOctetStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeListStructOctetStringAttribute( + callback: DefaultClusterCallback, + value: ArrayList + ) { + // Implemantion need to be added here + } + + fun writeListStructOctetStringAttribute( + callback: DefaultClusterCallback, + value: ArrayList, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeListStructOctetStringAttribute( + callback: ListStructOctetStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLongOctetStringAttribute( + callback: OctetStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeLongOctetStringAttribute( + callback: DefaultClusterCallback, + value: byte[] + ) { + // Implemantion need to be added here + } + + fun writeLongOctetStringAttribute( + callback: DefaultClusterCallback, + value: byte[], + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeLongOctetStringAttribute( + callback: OctetStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCharStringAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeCharStringAttribute( + callback: DefaultClusterCallback, + value: String + ) { + // Implemantion need to be added here + } + + fun writeCharStringAttribute( + callback: DefaultClusterCallback, + value: String, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeCharStringAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readLongCharStringAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeLongCharStringAttribute( + callback: DefaultClusterCallback, + value: String + ) { + // Implemantion need to be added here + } + + fun writeLongCharStringAttribute( + callback: DefaultClusterCallback, + value: String, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeLongCharStringAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEpochUsAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeEpochUsAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeEpochUsAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeEpochUsAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEpochSAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeEpochSAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeEpochSAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeEpochSAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readVendorIdAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeVendorIdAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeVendorIdAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeVendorIdAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readListNullablesAndOptionalsStructAttribute( + callback: ListNullablesAndOptionalsStructAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeListNullablesAndOptionalsStructAttribute( + callback: DefaultClusterCallback, + value: ArrayList + ) { + // Implemantion need to be added here + } + + fun writeListNullablesAndOptionalsStructAttribute( + callback: DefaultClusterCallback, + value: ArrayList, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeListNullablesAndOptionalsStructAttribute( + callback: ListNullablesAndOptionalsStructAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEnumAttrAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeEnumAttrAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeEnumAttrAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeEnumAttrAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readStructAttrAttribute( + callback: StructAttrAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeStructAttrAttribute( + callback: DefaultClusterCallback, + value: ChipStructs.UnitTestingClusterSimpleStruct + ) { + // Implemantion need to be added here + } + + fun writeStructAttrAttribute( + callback: DefaultClusterCallback, + value: ChipStructs.UnitTestingClusterSimpleStruct, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeStructAttrAttribute( + callback: StructAttrAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRangeRestrictedInt8uAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeRangeRestrictedInt8uAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeRangeRestrictedInt8uAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeRangeRestrictedInt8uAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRangeRestrictedInt8sAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeRangeRestrictedInt8sAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeRangeRestrictedInt8sAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeRangeRestrictedInt8sAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRangeRestrictedInt16uAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeRangeRestrictedInt16uAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeRangeRestrictedInt16uAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeRangeRestrictedInt16uAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRangeRestrictedInt16sAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeRangeRestrictedInt16sAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeRangeRestrictedInt16sAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeRangeRestrictedInt16sAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readListLongOctetStringAttribute( + callback: ListLongOctetStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeListLongOctetStringAttribute( + callback: DefaultClusterCallback, + value: ArrayList + ) { + // Implemantion need to be added here + } + + fun writeListLongOctetStringAttribute( + callback: DefaultClusterCallback, + value: ArrayList, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeListLongOctetStringAttribute( + callback: ListLongOctetStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readListFabricScopedAttribute( + callback: ListFabricScopedAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun readListFabricScopedAttributeWithFabricFilter( + callback: ListFabricScopedAttributeCallback, + isFabricFiltered: Boolean + ) { + // Implemantion need to be added here + } + + + fun writeListFabricScopedAttribute( + callback: DefaultClusterCallback, + value: ArrayList + ) { + // Implemantion need to be added here + } + + fun writeListFabricScopedAttribute( + callback: DefaultClusterCallback, + value: ArrayList, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeListFabricScopedAttribute( + callback: ListFabricScopedAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTimedWriteBooleanAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeTimedWriteBooleanAttribute( + callback: DefaultClusterCallback, + value: Boolean, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeTimedWriteBooleanAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneralErrorBooleanAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeGeneralErrorBooleanAttribute( + callback: DefaultClusterCallback, + value: Boolean + ) { + // Implemantion need to be added here + } + + fun writeGeneralErrorBooleanAttribute( + callback: DefaultClusterCallback, + value: Boolean, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeGeneralErrorBooleanAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterErrorBooleanAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeClusterErrorBooleanAttribute( + callback: DefaultClusterCallback, + value: Boolean + ) { + // Implemantion need to be added here + } + + fun writeClusterErrorBooleanAttribute( + callback: DefaultClusterCallback, + value: Boolean, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeClusterErrorBooleanAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readUnsupportedAttribute( + callback: BooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeUnsupportedAttribute( + callback: DefaultClusterCallback, + value: Boolean + ) { + // Implemantion need to be added here + } + + fun writeUnsupportedAttribute( + callback: DefaultClusterCallback, + value: Boolean, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeUnsupportedAttribute( + callback: BooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableBooleanAttribute( + callback: NullableBooleanAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableBooleanAttribute( + callback: DefaultClusterCallback, + value: Boolean + ) { + // Implemantion need to be added here + } + + fun writeNullableBooleanAttribute( + callback: DefaultClusterCallback, + value: Boolean, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableBooleanAttribute( + callback: NullableBooleanAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableBitmap8Attribute( + callback: NullableBitmap8AttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableBitmap8Attribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeNullableBitmap8Attribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableBitmap8Attribute( + callback: NullableBitmap8AttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableBitmap16Attribute( + callback: NullableBitmap16AttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableBitmap16Attribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeNullableBitmap16Attribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableBitmap16Attribute( + callback: NullableBitmap16AttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableBitmap32Attribute( + callback: NullableBitmap32AttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableBitmap32Attribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeNullableBitmap32Attribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableBitmap32Attribute( + callback: NullableBitmap32AttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableBitmap64Attribute( + callback: NullableBitmap64AttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableBitmap64Attribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeNullableBitmap64Attribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableBitmap64Attribute( + callback: NullableBitmap64AttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableInt8uAttribute( + callback: NullableInt8uAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableInt8uAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeNullableInt8uAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableInt8uAttribute( + callback: NullableInt8uAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableInt16uAttribute( + callback: NullableInt16uAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableInt16uAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeNullableInt16uAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableInt16uAttribute( + callback: NullableInt16uAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableInt24uAttribute( + callback: NullableInt24uAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableInt24uAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeNullableInt24uAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableInt24uAttribute( + callback: NullableInt24uAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableInt32uAttribute( + callback: NullableInt32uAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableInt32uAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeNullableInt32uAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableInt32uAttribute( + callback: NullableInt32uAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableInt40uAttribute( + callback: NullableInt40uAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableInt40uAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeNullableInt40uAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableInt40uAttribute( + callback: NullableInt40uAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableInt48uAttribute( + callback: NullableInt48uAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableInt48uAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeNullableInt48uAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableInt48uAttribute( + callback: NullableInt48uAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableInt56uAttribute( + callback: NullableInt56uAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableInt56uAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeNullableInt56uAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableInt56uAttribute( + callback: NullableInt56uAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableInt64uAttribute( + callback: NullableInt64uAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableInt64uAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeNullableInt64uAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableInt64uAttribute( + callback: NullableInt64uAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableInt8sAttribute( + callback: NullableInt8sAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableInt8sAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeNullableInt8sAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableInt8sAttribute( + callback: NullableInt8sAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableInt16sAttribute( + callback: NullableInt16sAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableInt16sAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeNullableInt16sAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableInt16sAttribute( + callback: NullableInt16sAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableInt24sAttribute( + callback: NullableInt24sAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableInt24sAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeNullableInt24sAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableInt24sAttribute( + callback: NullableInt24sAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableInt32sAttribute( + callback: NullableInt32sAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableInt32sAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeNullableInt32sAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableInt32sAttribute( + callback: NullableInt32sAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableInt40sAttribute( + callback: NullableInt40sAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableInt40sAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeNullableInt40sAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableInt40sAttribute( + callback: NullableInt40sAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableInt48sAttribute( + callback: NullableInt48sAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableInt48sAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeNullableInt48sAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableInt48sAttribute( + callback: NullableInt48sAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableInt56sAttribute( + callback: NullableInt56sAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableInt56sAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeNullableInt56sAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableInt56sAttribute( + callback: NullableInt56sAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableInt64sAttribute( + callback: NullableInt64sAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableInt64sAttribute( + callback: DefaultClusterCallback, + value: Long + ) { + // Implemantion need to be added here + } + + fun writeNullableInt64sAttribute( + callback: DefaultClusterCallback, + value: Long, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableInt64sAttribute( + callback: NullableInt64sAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableEnum8Attribute( + callback: NullableEnum8AttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableEnum8Attribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeNullableEnum8Attribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableEnum8Attribute( + callback: NullableEnum8AttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableEnum16Attribute( + callback: NullableEnum16AttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableEnum16Attribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeNullableEnum16Attribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableEnum16Attribute( + callback: NullableEnum16AttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableFloatSingleAttribute( + callback: NullableFloatSingleAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableFloatSingleAttribute( + callback: DefaultClusterCallback, + value: Float + ) { + // Implemantion need to be added here + } + + fun writeNullableFloatSingleAttribute( + callback: DefaultClusterCallback, + value: Float, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableFloatSingleAttribute( + callback: NullableFloatSingleAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableFloatDoubleAttribute( + callback: NullableFloatDoubleAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableFloatDoubleAttribute( + callback: DefaultClusterCallback, + value: Double + ) { + // Implemantion need to be added here + } + + fun writeNullableFloatDoubleAttribute( + callback: DefaultClusterCallback, + value: Double, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableFloatDoubleAttribute( + callback: NullableFloatDoubleAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableOctetStringAttribute( + callback: NullableOctetStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableOctetStringAttribute( + callback: DefaultClusterCallback, + value: byte[] + ) { + // Implemantion need to be added here + } + + fun writeNullableOctetStringAttribute( + callback: DefaultClusterCallback, + value: byte[], + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableOctetStringAttribute( + callback: NullableOctetStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableCharStringAttribute( + callback: NullableCharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableCharStringAttribute( + callback: DefaultClusterCallback, + value: String + ) { + // Implemantion need to be added here + } + + fun writeNullableCharStringAttribute( + callback: DefaultClusterCallback, + value: String, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableCharStringAttribute( + callback: NullableCharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableEnumAttrAttribute( + callback: NullableEnumAttrAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableEnumAttrAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeNullableEnumAttrAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableEnumAttrAttribute( + callback: NullableEnumAttrAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableStructAttribute( + callback: NullableStructAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableStructAttribute( + callback: DefaultClusterCallback, + value: ChipStructs.UnitTestingClusterSimpleStruct + ) { + // Implemantion need to be added here + } + + fun writeNullableStructAttribute( + callback: DefaultClusterCallback, + value: ChipStructs.UnitTestingClusterSimpleStruct, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableStructAttribute( + callback: NullableStructAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableRangeRestrictedInt8uAttribute( + callback: NullableRangeRestrictedInt8uAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableRangeRestrictedInt8uAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeNullableRangeRestrictedInt8uAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableRangeRestrictedInt8uAttribute( + callback: NullableRangeRestrictedInt8uAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableRangeRestrictedInt8sAttribute( + callback: NullableRangeRestrictedInt8sAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableRangeRestrictedInt8sAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeNullableRangeRestrictedInt8sAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableRangeRestrictedInt8sAttribute( + callback: NullableRangeRestrictedInt8sAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableRangeRestrictedInt16uAttribute( + callback: NullableRangeRestrictedInt16uAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableRangeRestrictedInt16uAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeNullableRangeRestrictedInt16uAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableRangeRestrictedInt16uAttribute( + callback: NullableRangeRestrictedInt16uAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNullableRangeRestrictedInt16sAttribute( + callback: NullableRangeRestrictedInt16sAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeNullableRangeRestrictedInt16sAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeNullableRangeRestrictedInt16sAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeNullableRangeRestrictedInt16sAttribute( + callback: NullableRangeRestrictedInt16sAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readWriteOnlyInt8uAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeWriteOnlyInt8uAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeWriteOnlyInt8uAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeWriteOnlyInt8uAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/UserLabelCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/UserLabelCluster.kt new file mode 100644 index 00000000000000..4a256536f6f45b --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/UserLabelCluster.kt @@ -0,0 +1,178 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class UserLabelCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 65u + } + + interface LabelListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readLabelListAttribute( + callback: LabelListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeLabelListAttribute( + callback: DefaultClusterCallback, + value: ArrayList + ) { + // Implemantion need to be added here + } + + fun writeLabelListAttribute( + callback: DefaultClusterCallback, + value: ArrayList, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeLabelListAttribute( + callback: LabelListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/WakeOnLanCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/WakeOnLanCluster.kt new file mode 100644 index 00000000000000..e7f96130e3fb39 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/WakeOnLanCluster.kt @@ -0,0 +1,157 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class WakeOnLanCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 1283u + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readMACAddressAttribute( + callback: CharStringAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeMACAddressAttribute( + callback: CharStringAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/WiFiNetworkDiagnosticsCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/WiFiNetworkDiagnosticsCluster.kt new file mode 100644 index 00000000000000..1266d7bd508861 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/WiFiNetworkDiagnosticsCluster.kt @@ -0,0 +1,423 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class WiFiNetworkDiagnosticsCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 54u + } + + fun resetCounts(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun resetCounts(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface BssidAttributeCallback { + fun onSuccess(value: byte[]?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface SecurityTypeAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface WiFiVersionAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface ChannelNumberAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface RssiAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface BeaconLostCountAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface BeaconRxCountAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface PacketMulticastRxCountAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface PacketMulticastTxCountAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface PacketUnicastRxCountAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface PacketUnicastTxCountAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface CurrentMaxRateAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface OverrunCountAttributeCallback { + fun onSuccess(value: Long?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readBssidAttribute( + callback: BssidAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBssidAttribute( + callback: BssidAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSecurityTypeAttribute( + callback: SecurityTypeAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSecurityTypeAttribute( + callback: SecurityTypeAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readWiFiVersionAttribute( + callback: WiFiVersionAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeWiFiVersionAttribute( + callback: WiFiVersionAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readChannelNumberAttribute( + callback: ChannelNumberAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeChannelNumberAttribute( + callback: ChannelNumberAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readRssiAttribute( + callback: RssiAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeRssiAttribute( + callback: RssiAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBeaconLostCountAttribute( + callback: BeaconLostCountAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBeaconLostCountAttribute( + callback: BeaconLostCountAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readBeaconRxCountAttribute( + callback: BeaconRxCountAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeBeaconRxCountAttribute( + callback: BeaconRxCountAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPacketMulticastRxCountAttribute( + callback: PacketMulticastRxCountAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePacketMulticastRxCountAttribute( + callback: PacketMulticastRxCountAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPacketMulticastTxCountAttribute( + callback: PacketMulticastTxCountAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePacketMulticastTxCountAttribute( + callback: PacketMulticastTxCountAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPacketUnicastRxCountAttribute( + callback: PacketUnicastRxCountAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePacketUnicastRxCountAttribute( + callback: PacketUnicastRxCountAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPacketUnicastTxCountAttribute( + callback: PacketUnicastTxCountAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePacketUnicastTxCountAttribute( + callback: PacketUnicastTxCountAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentMaxRateAttribute( + callback: CurrentMaxRateAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentMaxRateAttribute( + callback: CurrentMaxRateAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOverrunCountAttribute( + callback: OverrunCountAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeOverrunCountAttribute( + callback: OverrunCountAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/WindowCoveringCluster.kt b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/WindowCoveringCluster.kt new file mode 100644 index 00000000000000..31cbbbfcf54523 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/WindowCoveringCluster.kt @@ -0,0 +1,591 @@ +/* + * + * Copyright (c) 2023 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package matter.devicecontroller.cluster.clusters + +import java.util.ArrayList +import java.util.Arrays +import java.util.List + +class WindowCoveringCluster(private val endpointId: UShort) { + companion object { + const val CLUSTER_ID: UInt = 258u + } + + fun upOrOpen(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun upOrOpen(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun downOrClose(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun downOrClose(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun stopMotion(callback: DefaultClusterCallback) { + // Implemantion need to be added here + } + + fun stopMotion(callback: DefaultClusterCallback, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun goToLiftValue(callback: DefaultClusterCallback, liftValue: Integer) { + // Implemantion need to be added here + } + + fun goToLiftValue(callback: DefaultClusterCallback, liftValue: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun goToLiftPercentage(callback: DefaultClusterCallback, liftPercent100thsValue: Integer) { + // Implemantion need to be added here + } + + fun goToLiftPercentage(callback: DefaultClusterCallback, liftPercent100thsValue: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun goToTiltValue(callback: DefaultClusterCallback, tiltValue: Integer) { + // Implemantion need to be added here + } + + fun goToTiltValue(callback: DefaultClusterCallback, tiltValue: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + fun goToTiltPercentage(callback: DefaultClusterCallback, tiltPercent100thsValue: Integer) { + // Implemantion need to be added here + } + + fun goToTiltPercentage(callback: DefaultClusterCallback, tiltPercent100thsValue: Integer, timedInvokeTimeoutMs: Int) { + // Implemantion need to be added here + } + + interface CurrentPositionLiftAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface CurrentPositionTiltAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface CurrentPositionLiftPercentageAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface CurrentPositionTiltPercentageAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface TargetPositionLiftPercent100thsAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface TargetPositionTiltPercent100thsAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface CurrentPositionLiftPercent100thsAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface CurrentPositionTiltPercent100thsAttributeCallback { + fun onSuccess(value: Integer?) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface GeneratedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AcceptedCommandListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface EventListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + interface AttributeListAttributeCallback { + fun onSuccess(value: ArrayList) + fun onError(ex: Exception) + fun onSubscriptionEstablished(subscriptionId: Long) + } + + fun readTypeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTypeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPhysicalClosedLimitLiftAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePhysicalClosedLimitLiftAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readPhysicalClosedLimitTiltAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribePhysicalClosedLimitTiltAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentPositionLiftAttribute( + callback: CurrentPositionLiftAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentPositionLiftAttribute( + callback: CurrentPositionLiftAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentPositionTiltAttribute( + callback: CurrentPositionTiltAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentPositionTiltAttribute( + callback: CurrentPositionTiltAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNumberOfActuationsLiftAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeNumberOfActuationsLiftAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readNumberOfActuationsTiltAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeNumberOfActuationsTiltAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readConfigStatusAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeConfigStatusAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentPositionLiftPercentageAttribute( + callback: CurrentPositionLiftPercentageAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentPositionLiftPercentageAttribute( + callback: CurrentPositionLiftPercentageAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentPositionTiltPercentageAttribute( + callback: CurrentPositionTiltPercentageAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentPositionTiltPercentageAttribute( + callback: CurrentPositionTiltPercentageAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readOperationalStatusAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeOperationalStatusAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTargetPositionLiftPercent100thsAttribute( + callback: TargetPositionLiftPercent100thsAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTargetPositionLiftPercent100thsAttribute( + callback: TargetPositionLiftPercent100thsAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readTargetPositionTiltPercent100thsAttribute( + callback: TargetPositionTiltPercent100thsAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeTargetPositionTiltPercent100thsAttribute( + callback: TargetPositionTiltPercent100thsAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEndProductTypeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEndProductTypeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentPositionLiftPercent100thsAttribute( + callback: CurrentPositionLiftPercent100thsAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentPositionLiftPercent100thsAttribute( + callback: CurrentPositionLiftPercent100thsAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readCurrentPositionTiltPercent100thsAttribute( + callback: CurrentPositionTiltPercent100thsAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeCurrentPositionTiltPercent100thsAttribute( + callback: CurrentPositionTiltPercent100thsAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInstalledOpenLimitLiftAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeInstalledOpenLimitLiftAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInstalledClosedLimitLiftAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeInstalledClosedLimitLiftAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInstalledOpenLimitTiltAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeInstalledOpenLimitTiltAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readInstalledClosedLimitTiltAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeInstalledClosedLimitTiltAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readModeAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun writeModeAttribute( + callback: DefaultClusterCallback, + value: Integer + ) { + // Implemantion need to be added here + } + + fun writeModeAttribute( + callback: DefaultClusterCallback, + value: Integer, + timedWriteTimeoutMs: Int + ) { + // Implemantion need to be added here + } + + fun subscribeModeAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readSafetyStatusAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeSafetyStatusAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeGeneratedCommandListAttribute( + callback: GeneratedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAcceptedCommandListAttribute( + callback: AcceptedCommandListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readEventListAttribute( + callback: EventListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeEventListAttribute( + callback: EventListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readAttributeListAttribute( + callback: AttributeListAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeAttributeListAttribute( + callback: AttributeListAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readFeatureMapAttribute( + callback: LongAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeFeatureMapAttribute( + callback: LongAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } + + fun readClusterRevisionAttribute( + callback: IntegerAttributeCallback + ) { + // Implemantion need to be added here + ) + } + + fun subscribeClusterRevisionAttribute( + callback: IntegerAttributeCallback, + minInterval: Int, + maxInterval: Int + ) { + // Implemantion need to be added here + } +} diff --git a/src/controller/java/generated/java/matter/devicecontroller/cluster/files.gni b/src/controller/java/generated/java/matter/devicecontroller/cluster/files.gni new file mode 100644 index 00000000000000..62be491751fec7 --- /dev/null +++ b/src/controller/java/generated/java/matter/devicecontroller/cluster/files.gni @@ -0,0 +1,103 @@ +import("//build_overrides/build.gni") +import("//build_overrides/chip.gni") + +matter_clusters_sources = [ + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AccessControlCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AccountLoginCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ActionsCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ActivatedCarbonFilterMonitoringCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AdministratorCommissioningCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AirQualityCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ApplicationBasicCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ApplicationLauncherCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/AudioOutputCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BallastConfigurationCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BarrierControlCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BasicInformationCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BinaryInputBasicCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BindingCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BooleanStateCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/BridgedDeviceBasicInformationCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/CarbonDioxideConcentrationMeasurementCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/CarbonMonoxideConcentrationMeasurementCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ChannelCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ColorControlCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ContentLauncherCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DescriptorCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DiagnosticLogsCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DishwasherAlarmCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DishwasherModeCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/DoorLockCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ElectricalMeasurementCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/EthernetNetworkDiagnosticsCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FanControlCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FaultInjectionCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FixedLabelCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FlowMeasurementCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/FormaldehydeConcentrationMeasurementCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/GeneralCommissioningCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/GeneralDiagnosticsCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/GroupKeyManagementCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/GroupsCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/HepaFilterMonitoringCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/IcdManagementCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/IdentifyCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/IlluminanceMeasurementCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/KeypadInputCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LaundryWasherControlsCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LaundryWasherModeCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LevelControlCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LocalizationConfigurationCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/LowPowerCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/MediaInputCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/MediaPlaybackCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ModeSelectCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/NetworkCommissioningCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/NitrogenDioxideConcentrationMeasurementCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OccupancySensingCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OnOffCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OnOffSwitchConfigurationCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OperationalCredentialsCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OperationalStateCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OtaSoftwareUpdateProviderCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OtaSoftwareUpdateRequestorCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/OzoneConcentrationMeasurementCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/Pm10ConcentrationMeasurementCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/Pm1ConcentrationMeasurementCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/Pm25ConcentrationMeasurementCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PowerSourceCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PowerSourceConfigurationCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PressureMeasurementCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ProxyConfigurationCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ProxyDiscoveryCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ProxyValidCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PulseWidthModulationCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/PumpConfigurationAndControlCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RadonConcentrationMeasurementCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RefrigeratorAlarmCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RefrigeratorAndTemperatureControlledCabinetModeCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RelativeHumidityMeasurementCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RvcCleanModeCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RvcOperationalStateCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/RvcRunModeCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/SampleMeiCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ScenesCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/SmokeCoAlarmCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/SoftwareDiagnosticsCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/SwitchCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TargetNavigatorCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TemperatureControlCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TemperatureMeasurementCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ThermostatCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ThermostatUserInterfaceConfigurationCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/ThreadNetworkDiagnosticsCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TimeFormatLocalizationCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TimeSynchronizationCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/TotalVolatileOrganicCompoundsConcentrationMeasurementCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/UnitLocalizationCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/UnitTestingCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/UserLabelCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/WakeOnLanCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/WiFiNetworkDiagnosticsCluster.kt", + "${chip_root}/src/controller/java/generated/java/matter/devicecontroller/cluster/clusters/WindowCoveringCluster.kt", +] \ No newline at end of file