From d20a9200bba7d70b38ccb795294a586e46044e36 Mon Sep 17 00:00:00 2001 From: WanqQixiang Date: Thu, 11 Apr 2024 10:24:46 +0800 Subject: [PATCH] Update zap_common files for v1.3 branch --- components/esp_matter/esp_matter_core.cpp | 18 +- .../app/PluginApplicationCallbacks.h | 29 +- .../zap_common/app/callback-stub.cpp | 352 +++--------------- .../zap_common/app/cluster-init-callback.cpp | 332 +++++++++++++++++ .../zap_common/zap-generated/CHIPClusters.h | 1 + .../zap_common/zap-generated/access.h | 38 +- 6 files changed, 434 insertions(+), 336 deletions(-) create mode 100644 components/esp_matter/zap_common/app/cluster-init-callback.cpp diff --git a/components/esp_matter/esp_matter_core.cpp b/components/esp_matter/esp_matter_core.cpp index a2978bf4b..067b198ae 100644 --- a/components/esp_matter/esp_matter_core.cpp +++ b/components/esp_matter/esp_matter_core.cpp @@ -72,9 +72,23 @@ static const char *TAG = "esp_matter_core"; static bool esp_matter_started = false; #ifndef CONFIG_ESP_MATTER_ENABLE_MATTER_SERVER -// If Matter Server is disabled, we should have an empty InitDataModelHandler() +// If Matter Server is disabled, these functions are required by InteractionModelEngine but not linked +// as they are defined in other files. They will be never used if server is not enable. Define empty +// functions in esp_matter_core.cpp to make sure that they are linked void InitDataModelHandler() {} -#endif + +namespace chip { +namespace app { +void DispatchSingleClusterCommand(const ConcreteCommandPath &command_path, TLVReader &tlv_data, + CommandHandler *command_obj) {} +} // namespace app +} // namespace chip + +bool emberAfContainsAttribute(chip::EndpointId endpoint, chip::ClusterId clusterId, chip::AttributeId attributeId) +{ + return false; +} +#endif // !CONFIG_ESP_MATTER_ENABLE_MATTER_SERVER namespace esp_matter { diff --git a/components/esp_matter/zap_common/app/PluginApplicationCallbacks.h b/components/esp_matter/zap_common/app/PluginApplicationCallbacks.h index 60a9c222b..d2c1b49bb 100644 --- a/components/esp_matter/zap_common/app/PluginApplicationCallbacks.h +++ b/components/esp_matter/zap_common/app/PluginApplicationCallbacks.h @@ -1,22 +1,3 @@ -/* - * - * Copyright (c) 2022 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. - */ - -// THIS FILE IS GENERATED BY ZAP - #pragma once void MatterAccessControlPluginServerInitCallback(); void MatterAccountLoginPluginServerInitCallback(); @@ -33,19 +14,25 @@ void MatterBasicInformationPluginServerInitCallback(); void MatterBinaryInputBasicPluginServerInitCallback(); void MatterBindingPluginServerInitCallback(); void MatterBooleanStatePluginServerInitCallback(); +void MatterBooleanStateConfigurationPluginServerInitCallback(); void MatterCarbonDioxideConcentrationMeasurementPluginServerInitCallback(); void MatterCarbonMonoxideConcentrationMeasurementPluginServerInitCallback(); void MatterChannelPluginServerInitCallback(); void MatterColorControlPluginServerInitCallback(); void MatterContentLauncherPluginServerInitCallback(); void MatterDescriptorPluginServerInitCallback(); +void MatterDeviceEnergyManagementPluginServerInitCallback(); +void MatterDeviceEnergyManagementModePluginServerInitCallback(); void MatterDiagnosticLogsPluginServerInitCallback(); void MatterDishwasherAlarmPluginServerInitCallback(); void MatterDishwasherModePluginServerInitCallback(); void MatterDoorLockPluginServerInitCallback(); void MatterElectricalEnergyMeasurementPluginServerInitCallback(); void MatterElectricalMeasurementPluginServerInitCallback(); +void MatterElectricalPowerMeasurementPluginServerInitCallback(); void MatterEnergyEvsePluginServerInitCallback(); +void MatterEnergyEvseModePluginServerInitCallback(); +void MatterEnergyPreferencePluginServerInitCallback(); void MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); void MatterFanControlPluginServerInitCallback(); void MatterFaultInjectionPluginServerInitCallback(); @@ -80,12 +67,15 @@ void MatterOperationalCredentialsPluginServerInitCallback(); void MatterOperationalStatePluginServerInitCallback(); void MatterOtaSoftwareUpdateProviderPluginServerInitCallback(); void MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); +void MatterOvenCavityOperationalStatePluginServerInitCallback(); +void MatterOvenModePluginServerInitCallback(); void MatterOzoneConcentrationMeasurementPluginServerInitCallback(); void MatterPm10ConcentrationMeasurementPluginServerInitCallback(); void MatterPm1ConcentrationMeasurementPluginServerInitCallback(); void MatterPm25ConcentrationMeasurementPluginServerInitCallback(); void MatterPowerSourcePluginServerInitCallback(); void MatterPowerSourceConfigurationPluginServerInitCallback(); +void MatterPowerTopologyPluginServerInitCallback(); void MatterPressureMeasurementPluginServerInitCallback(); void MatterPumpConfigurationAndControlPluginServerInitCallback(); void MatterRadonConcentrationMeasurementPluginServerInitCallback(); @@ -111,6 +101,7 @@ void MatterTotalVolatileOrganicCompoundsConcentrationMeasurementPluginServerInit void MatterUnitLocalizationPluginServerInitCallback(); void MatterUnitTestingPluginServerInitCallback(); void MatterUserLabelPluginServerInitCallback(); +void MatterValveConfigurationAndControlPluginServerInitCallback(); void MatterWakeOnLanPluginServerInitCallback(); void MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); void MatterWindowCoveringPluginServerInitCallback(); diff --git a/components/esp_matter/zap_common/app/callback-stub.cpp b/components/esp_matter/zap_common/app/callback-stub.cpp index 8afaa1a65..f84ac7e53 100644 --- a/components/esp_matter/zap_common/app/callback-stub.cpp +++ b/components/esp_matter/zap_common/app/callback-stub.cpp @@ -1,308 +1,6 @@ #include -#include -#include -#include using namespace chip; - -// Cluster Init Functions -void emberAfClusterInitCallback(EndpointId endpoint, ClusterId clusterId) -{ - switch (clusterId) - { - case app::Clusters::AccessControl::Id: - emberAfAccessControlClusterInitCallback(endpoint); - break; - case app::Clusters::AccountLogin::Id: - emberAfAccountLoginClusterInitCallback(endpoint); - break; - case app::Clusters::Actions::Id: - emberAfActionsClusterInitCallback(endpoint); - break; - case app::Clusters::ActivatedCarbonFilterMonitoring::Id: - emberAfActivatedCarbonFilterMonitoringClusterInitCallback(endpoint); - break; - case app::Clusters::AdministratorCommissioning::Id: - emberAfAdministratorCommissioningClusterInitCallback(endpoint); - break; - case app::Clusters::AirQuality::Id: - emberAfAirQualityClusterInitCallback(endpoint); - break; - case app::Clusters::ApplicationBasic::Id: - emberAfApplicationBasicClusterInitCallback(endpoint); - break; - case app::Clusters::ApplicationLauncher::Id: - emberAfApplicationLauncherClusterInitCallback(endpoint); - break; - case app::Clusters::AudioOutput::Id: - emberAfAudioOutputClusterInitCallback(endpoint); - break; - case app::Clusters::BallastConfiguration::Id: - emberAfBallastConfigurationClusterInitCallback(endpoint); - break; - case app::Clusters::BarrierControl::Id: - emberAfBarrierControlClusterInitCallback(endpoint); - break; - case app::Clusters::BasicInformation::Id: - emberAfBasicInformationClusterInitCallback(endpoint); - break; - case app::Clusters::BinaryInputBasic::Id: - emberAfBinaryInputBasicClusterInitCallback(endpoint); - break; - case app::Clusters::Binding::Id: - emberAfBindingClusterInitCallback(endpoint); - break; - case app::Clusters::BooleanState::Id: - emberAfBooleanStateClusterInitCallback(endpoint); - break; - case app::Clusters::CarbonDioxideConcentrationMeasurement::Id: - emberAfCarbonDioxideConcentrationMeasurementClusterInitCallback(endpoint); - break; - case app::Clusters::CarbonMonoxideConcentrationMeasurement::Id: - emberAfCarbonMonoxideConcentrationMeasurementClusterInitCallback(endpoint); - break; - case app::Clusters::Channel::Id: - emberAfChannelClusterInitCallback(endpoint); - break; - case app::Clusters::ColorControl::Id: - emberAfColorControlClusterInitCallback(endpoint); - break; - case app::Clusters::ContentLauncher::Id: - emberAfContentLauncherClusterInitCallback(endpoint); - break; - case app::Clusters::Descriptor::Id: - emberAfDescriptorClusterInitCallback(endpoint); - break; - case app::Clusters::DiagnosticLogs::Id: - emberAfDiagnosticLogsClusterInitCallback(endpoint); - break; - case app::Clusters::DishwasherAlarm::Id: - emberAfDishwasherAlarmClusterInitCallback(endpoint); - break; - case app::Clusters::DishwasherMode::Id: - emberAfDishwasherModeClusterInitCallback(endpoint); - break; - case app::Clusters::DoorLock::Id: - emberAfDoorLockClusterInitCallback(endpoint); - break; - case app::Clusters::ElectricalEnergyMeasurement::Id: - emberAfElectricalEnergyMeasurementClusterInitCallback(endpoint); - break; - case app::Clusters::ElectricalMeasurement::Id: - emberAfElectricalMeasurementClusterInitCallback(endpoint); - break; - case app::Clusters::EnergyEvse::Id: - emberAfEnergyEvseClusterInitCallback(endpoint); - break; - case app::Clusters::EthernetNetworkDiagnostics::Id: - emberAfEthernetNetworkDiagnosticsClusterInitCallback(endpoint); - break; - case app::Clusters::FanControl::Id: - emberAfFanControlClusterInitCallback(endpoint); - break; - case app::Clusters::FaultInjection::Id: - emberAfFaultInjectionClusterInitCallback(endpoint); - break; - case app::Clusters::FixedLabel::Id: - emberAfFixedLabelClusterInitCallback(endpoint); - break; - case app::Clusters::FlowMeasurement::Id: - emberAfFlowMeasurementClusterInitCallback(endpoint); - break; - case app::Clusters::FormaldehydeConcentrationMeasurement::Id: - emberAfFormaldehydeConcentrationMeasurementClusterInitCallback(endpoint); - break; - case app::Clusters::GeneralCommissioning::Id: - emberAfGeneralCommissioningClusterInitCallback(endpoint); - break; - case app::Clusters::GeneralDiagnostics::Id: - emberAfGeneralDiagnosticsClusterInitCallback(endpoint); - break; - case app::Clusters::GroupKeyManagement::Id: - emberAfGroupKeyManagementClusterInitCallback(endpoint); - break; - case app::Clusters::Groups::Id: - emberAfGroupsClusterInitCallback(endpoint); - break; - case app::Clusters::HepaFilterMonitoring::Id: - emberAfHepaFilterMonitoringClusterInitCallback(endpoint); - break; - case app::Clusters::IcdManagement::Id: - emberAfIcdManagementClusterInitCallback(endpoint); - break; - case app::Clusters::Identify::Id: - emberAfIdentifyClusterInitCallback(endpoint); - break; - case app::Clusters::IlluminanceMeasurement::Id: - emberAfIlluminanceMeasurementClusterInitCallback(endpoint); - break; - case app::Clusters::KeypadInput::Id: - emberAfKeypadInputClusterInitCallback(endpoint); - break; - case app::Clusters::LaundryDryerControls::Id: - emberAfLaundryDryerControlsClusterInitCallback(endpoint); - break; - case app::Clusters::LaundryWasherControls::Id: - emberAfLaundryWasherControlsClusterInitCallback(endpoint); - break; - case app::Clusters::LaundryWasherMode::Id: - emberAfLaundryWasherModeClusterInitCallback(endpoint); - break; - case app::Clusters::LevelControl::Id: - emberAfLevelControlClusterInitCallback(endpoint); - break; - case app::Clusters::LocalizationConfiguration::Id: - emberAfLocalizationConfigurationClusterInitCallback(endpoint); - break; - case app::Clusters::LowPower::Id: - emberAfLowPowerClusterInitCallback(endpoint); - break; - case app::Clusters::MediaInput::Id: - emberAfMediaInputClusterInitCallback(endpoint); - break; - case app::Clusters::MediaPlayback::Id: - emberAfMediaPlaybackClusterInitCallback(endpoint); - break; - case app::Clusters::MicrowaveOvenMode::Id: - emberAfMicrowaveOvenModeClusterInitCallback(endpoint); - break; - case app::Clusters::ModeSelect::Id: - emberAfModeSelectClusterInitCallback(endpoint); - break; - case app::Clusters::NetworkCommissioning::Id: - emberAfNetworkCommissioningClusterInitCallback(endpoint); - break; - case app::Clusters::NitrogenDioxideConcentrationMeasurement::Id: - emberAfNitrogenDioxideConcentrationMeasurementClusterInitCallback(endpoint); - break; - case app::Clusters::OccupancySensing::Id: - emberAfOccupancySensingClusterInitCallback(endpoint); - break; - case app::Clusters::OnOff::Id: - emberAfOnOffClusterInitCallback(endpoint); - break; - case app::Clusters::OnOffSwitchConfiguration::Id: - emberAfOnOffSwitchConfigurationClusterInitCallback(endpoint); - break; - case app::Clusters::OperationalCredentials::Id: - emberAfOperationalCredentialsClusterInitCallback(endpoint); - break; - case app::Clusters::OperationalState::Id: - emberAfOperationalStateClusterInitCallback(endpoint); - break; - case app::Clusters::OtaSoftwareUpdateProvider::Id: - emberAfOtaSoftwareUpdateProviderClusterInitCallback(endpoint); - break; - case app::Clusters::OtaSoftwareUpdateRequestor::Id: - emberAfOtaSoftwareUpdateRequestorClusterInitCallback(endpoint); - break; - case app::Clusters::OzoneConcentrationMeasurement::Id: - emberAfOzoneConcentrationMeasurementClusterInitCallback(endpoint); - break; - case app::Clusters::Pm10ConcentrationMeasurement::Id: - emberAfPm10ConcentrationMeasurementClusterInitCallback(endpoint); - break; - case app::Clusters::Pm1ConcentrationMeasurement::Id: - emberAfPm1ConcentrationMeasurementClusterInitCallback(endpoint); - break; - case app::Clusters::Pm25ConcentrationMeasurement::Id: - emberAfPm25ConcentrationMeasurementClusterInitCallback(endpoint); - break; - case app::Clusters::PowerSource::Id: - emberAfPowerSourceClusterInitCallback(endpoint); - break; - case app::Clusters::PowerSourceConfiguration::Id: - emberAfPowerSourceConfigurationClusterInitCallback(endpoint); - break; - case app::Clusters::PressureMeasurement::Id: - emberAfPressureMeasurementClusterInitCallback(endpoint); - break; - case app::Clusters::PumpConfigurationAndControl::Id: - emberAfPumpConfigurationAndControlClusterInitCallback(endpoint); - break; - case app::Clusters::RadonConcentrationMeasurement::Id: - emberAfRadonConcentrationMeasurementClusterInitCallback(endpoint); - break; - case app::Clusters::RefrigeratorAlarm::Id: - emberAfRefrigeratorAlarmClusterInitCallback(endpoint); - break; - case app::Clusters::RefrigeratorAndTemperatureControlledCabinetMode::Id: - emberAfRefrigeratorAndTemperatureControlledCabinetModeClusterInitCallback(endpoint); - break; - case app::Clusters::RelativeHumidityMeasurement::Id: - emberAfRelativeHumidityMeasurementClusterInitCallback(endpoint); - break; - case app::Clusters::RvcCleanMode::Id: - emberAfRvcCleanModeClusterInitCallback(endpoint); - break; - case app::Clusters::RvcOperationalState::Id: - emberAfRvcOperationalStateClusterInitCallback(endpoint); - break; - case app::Clusters::RvcRunMode::Id: - emberAfRvcRunModeClusterInitCallback(endpoint); - break; - case app::Clusters::ScenesManagement::Id: - emberAfScenesManagementClusterInitCallback(endpoint); - break; - case app::Clusters::SmokeCoAlarm::Id: - emberAfSmokeCoAlarmClusterInitCallback(endpoint); - break; - case app::Clusters::SoftwareDiagnostics::Id: - emberAfSoftwareDiagnosticsClusterInitCallback(endpoint); - break; - case app::Clusters::Switch::Id: - emberAfSwitchClusterInitCallback(endpoint); - break; - case app::Clusters::TargetNavigator::Id: - emberAfTargetNavigatorClusterInitCallback(endpoint); - break; - case app::Clusters::TemperatureControl::Id: - emberAfTemperatureControlClusterInitCallback(endpoint); - break; - case app::Clusters::TemperatureMeasurement::Id: - emberAfTemperatureMeasurementClusterInitCallback(endpoint); - break; - case app::Clusters::Thermostat::Id: - emberAfThermostatClusterInitCallback(endpoint); - break; - case app::Clusters::ThermostatUserInterfaceConfiguration::Id: - emberAfThermostatUserInterfaceConfigurationClusterInitCallback(endpoint); - break; - case app::Clusters::ThreadNetworkDiagnostics::Id: - emberAfThreadNetworkDiagnosticsClusterInitCallback(endpoint); - break; - case app::Clusters::TimeFormatLocalization::Id: - emberAfTimeFormatLocalizationClusterInitCallback(endpoint); - break; - case app::Clusters::TimeSynchronization::Id: - emberAfTimeSynchronizationClusterInitCallback(endpoint); - break; - case app::Clusters::TotalVolatileOrganicCompoundsConcentrationMeasurement::Id: - emberAfTotalVolatileOrganicCompoundsConcentrationMeasurementClusterInitCallback(endpoint); - break; - case app::Clusters::UnitLocalization::Id: - emberAfUnitLocalizationClusterInitCallback(endpoint); - break; - case app::Clusters::UnitTesting::Id: - emberAfUnitTestingClusterInitCallback(endpoint); - break; - case app::Clusters::UserLabel::Id: - emberAfUserLabelClusterInitCallback(endpoint); - break; - case app::Clusters::WakeOnLan::Id: - emberAfWakeOnLanClusterInitCallback(endpoint); - break; - case app::Clusters::WiFiNetworkDiagnostics::Id: - emberAfWiFiNetworkDiagnosticsClusterInitCallback(endpoint); - break; - case app::Clusters::WindowCovering::Id: - emberAfWindowCoveringClusterInitCallback(endpoint); - break; - default: - // Unrecognized cluster ID - break; - } -} void __attribute__((weak)) emberAfAccessControlClusterInitCallback(EndpointId endpoint) { // To prevent warning @@ -378,6 +76,11 @@ void __attribute__((weak)) emberAfBooleanStateClusterInitCallback(EndpointId end // To prevent warning (void) endpoint; } +void __attribute__((weak)) emberAfBooleanStateConfigurationClusterInitCallback(EndpointId endpoint) +{ + // To prevent warning + (void) endpoint; +} void __attribute__((weak)) emberAfCarbonDioxideConcentrationMeasurementClusterInitCallback(EndpointId endpoint) { // To prevent warning @@ -408,6 +111,16 @@ void __attribute__((weak)) emberAfDescriptorClusterInitCallback(EndpointId endpo // To prevent warning (void) endpoint; } +void __attribute__((weak)) emberAfDeviceEnergyManagementClusterInitCallback(EndpointId endpoint) +{ + // To prevent warning + (void) endpoint; +} +void __attribute__((weak)) emberAfDeviceEnergyManagementModeClusterInitCallback(EndpointId endpoint) +{ + // To prevent warning + (void) endpoint; +} void __attribute__((weak)) emberAfDiagnosticLogsClusterInitCallback(EndpointId endpoint) { // To prevent warning @@ -438,11 +151,26 @@ void __attribute__((weak)) emberAfElectricalMeasurementClusterInitCallback(Endpo // To prevent warning (void) endpoint; } +void __attribute__((weak)) emberAfElectricalPowerMeasurementClusterInitCallback(EndpointId endpoint) +{ + // To prevent warning + (void) endpoint; +} void __attribute__((weak)) emberAfEnergyEvseClusterInitCallback(EndpointId endpoint) { // To prevent warning (void) endpoint; } +void __attribute__((weak)) emberAfEnergyEvseModeClusterInitCallback(EndpointId endpoint) +{ + // To prevent warning + (void) endpoint; +} +void __attribute__((weak)) emberAfEnergyPreferenceClusterInitCallback(EndpointId endpoint) +{ + // To prevent warning + (void) endpoint; +} void __attribute__((weak)) emberAfEthernetNetworkDiagnosticsClusterInitCallback(EndpointId endpoint) { // To prevent warning @@ -613,6 +341,16 @@ void __attribute__((weak)) emberAfOtaSoftwareUpdateRequestorClusterInitCallback( // To prevent warning (void) endpoint; } +void __attribute__((weak)) emberAfOvenCavityOperationalStateClusterInitCallback(EndpointId endpoint) +{ + // To prevent warning + (void) endpoint; +} +void __attribute__((weak)) emberAfOvenModeClusterInitCallback(EndpointId endpoint) +{ + // To prevent warning + (void) endpoint; +} void __attribute__((weak)) emberAfOzoneConcentrationMeasurementClusterInitCallback(EndpointId endpoint) { // To prevent warning @@ -643,6 +381,11 @@ void __attribute__((weak)) emberAfPowerSourceConfigurationClusterInitCallback(En // To prevent warning (void) endpoint; } +void __attribute__((weak)) emberAfPowerTopologyClusterInitCallback(EndpointId endpoint) +{ + // To prevent warning + (void) endpoint; +} void __attribute__((weak)) emberAfPressureMeasurementClusterInitCallback(EndpointId endpoint) { // To prevent warning @@ -768,6 +511,11 @@ void __attribute__((weak)) emberAfUserLabelClusterInitCallback(EndpointId endpoi // To prevent warning (void) endpoint; } +void __attribute__((weak)) emberAfValveConfigurationAndControlClusterInitCallback(EndpointId endpoint) +{ + // To prevent warning + (void) endpoint; +} void __attribute__((weak)) emberAfWakeOnLanClusterInitCallback(EndpointId endpoint) { // To prevent warning diff --git a/components/esp_matter/zap_common/app/cluster-init-callback.cpp b/components/esp_matter/zap_common/app/cluster-init-callback.cpp new file mode 100644 index 000000000..af816e046 --- /dev/null +++ b/components/esp_matter/zap_common/app/cluster-init-callback.cpp @@ -0,0 +1,332 @@ +#include +#include +#include +#include + +using namespace chip; + +// Cluster Init Functions +void emberAfClusterInitCallback(EndpointId endpoint, ClusterId clusterId) +{ + switch (clusterId) + { + case app::Clusters::AccessControl::Id: + emberAfAccessControlClusterInitCallback(endpoint); + break; + case app::Clusters::AccountLogin::Id: + emberAfAccountLoginClusterInitCallback(endpoint); + break; + case app::Clusters::Actions::Id: + emberAfActionsClusterInitCallback(endpoint); + break; + case app::Clusters::ActivatedCarbonFilterMonitoring::Id: + emberAfActivatedCarbonFilterMonitoringClusterInitCallback(endpoint); + break; + case app::Clusters::AdministratorCommissioning::Id: + emberAfAdministratorCommissioningClusterInitCallback(endpoint); + break; + case app::Clusters::AirQuality::Id: + emberAfAirQualityClusterInitCallback(endpoint); + break; + case app::Clusters::ApplicationBasic::Id: + emberAfApplicationBasicClusterInitCallback(endpoint); + break; + case app::Clusters::ApplicationLauncher::Id: + emberAfApplicationLauncherClusterInitCallback(endpoint); + break; + case app::Clusters::BallastConfiguration::Id: + emberAfBallastConfigurationClusterInitCallback(endpoint); + break; + case app::Clusters::BarrierControl::Id: + emberAfBarrierControlClusterInitCallback(endpoint); + break; + case app::Clusters::BasicInformation::Id: + emberAfBasicInformationClusterInitCallback(endpoint); + break; + case app::Clusters::BinaryInputBasic::Id: + emberAfBinaryInputBasicClusterInitCallback(endpoint); + break; + case app::Clusters::Binding::Id: + emberAfBindingClusterInitCallback(endpoint); + break; + case app::Clusters::BooleanState::Id: + emberAfBooleanStateClusterInitCallback(endpoint); + break; + case app::Clusters::BooleanStateConfiguration::Id: + emberAfBooleanStateConfigurationClusterInitCallback(endpoint); + break; + case app::Clusters::CarbonDioxideConcentrationMeasurement::Id: + emberAfCarbonDioxideConcentrationMeasurementClusterInitCallback(endpoint); + break; + case app::Clusters::CarbonMonoxideConcentrationMeasurement::Id: + emberAfCarbonMonoxideConcentrationMeasurementClusterInitCallback(endpoint); + break; + case app::Clusters::Channel::Id: + emberAfChannelClusterInitCallback(endpoint); + break; + case app::Clusters::ColorControl::Id: + emberAfColorControlClusterInitCallback(endpoint); + break; + case app::Clusters::ContentLauncher::Id: + emberAfContentLauncherClusterInitCallback(endpoint); + break; + case app::Clusters::Descriptor::Id: + emberAfDescriptorClusterInitCallback(endpoint); + break; + case app::Clusters::DeviceEnergyManagement::Id: + emberAfDeviceEnergyManagementClusterInitCallback(endpoint); + break; + case app::Clusters::DeviceEnergyManagementMode::Id: + emberAfDeviceEnergyManagementModeClusterInitCallback(endpoint); + break; + case app::Clusters::DiagnosticLogs::Id: + emberAfDiagnosticLogsClusterInitCallback(endpoint); + break; + case app::Clusters::DishwasherAlarm::Id: + emberAfDishwasherAlarmClusterInitCallback(endpoint); + break; + case app::Clusters::DishwasherMode::Id: + emberAfDishwasherModeClusterInitCallback(endpoint); + break; + case app::Clusters::DoorLock::Id: + emberAfDoorLockClusterInitCallback(endpoint); + break; + case app::Clusters::ElectricalEnergyMeasurement::Id: + emberAfElectricalEnergyMeasurementClusterInitCallback(endpoint); + break; + case app::Clusters::ElectricalMeasurement::Id: + emberAfElectricalMeasurementClusterInitCallback(endpoint); + break; + case app::Clusters::ElectricalPowerMeasurement::Id: + emberAfElectricalPowerMeasurementClusterInitCallback(endpoint); + break; + case app::Clusters::EnergyEvse::Id: + emberAfEnergyEvseClusterInitCallback(endpoint); + break; + case app::Clusters::EnergyEvseMode::Id: + emberAfEnergyEvseModeClusterInitCallback(endpoint); + break; + case app::Clusters::EnergyPreference::Id: + emberAfEnergyPreferenceClusterInitCallback(endpoint); + break; + case app::Clusters::EthernetNetworkDiagnostics::Id: + emberAfEthernetNetworkDiagnosticsClusterInitCallback(endpoint); + break; + case app::Clusters::FanControl::Id: + emberAfFanControlClusterInitCallback(endpoint); + break; + case app::Clusters::FaultInjection::Id: + emberAfFaultInjectionClusterInitCallback(endpoint); + break; + case app::Clusters::FixedLabel::Id: + emberAfFixedLabelClusterInitCallback(endpoint); + break; + case app::Clusters::FlowMeasurement::Id: + emberAfFlowMeasurementClusterInitCallback(endpoint); + break; + case app::Clusters::FormaldehydeConcentrationMeasurement::Id: + emberAfFormaldehydeConcentrationMeasurementClusterInitCallback(endpoint); + break; + case app::Clusters::GeneralCommissioning::Id: + emberAfGeneralCommissioningClusterInitCallback(endpoint); + break; + case app::Clusters::GeneralDiagnostics::Id: + emberAfGeneralDiagnosticsClusterInitCallback(endpoint); + break; + case app::Clusters::GroupKeyManagement::Id: + emberAfGroupKeyManagementClusterInitCallback(endpoint); + break; + case app::Clusters::Groups::Id: + emberAfGroupsClusterInitCallback(endpoint); + break; + case app::Clusters::HepaFilterMonitoring::Id: + emberAfHepaFilterMonitoringClusterInitCallback(endpoint); + break; + case app::Clusters::IcdManagement::Id: + emberAfIcdManagementClusterInitCallback(endpoint); + break; + case app::Clusters::Identify::Id: + emberAfIdentifyClusterInitCallback(endpoint); + break; + case app::Clusters::IlluminanceMeasurement::Id: + emberAfIlluminanceMeasurementClusterInitCallback(endpoint); + break; + case app::Clusters::KeypadInput::Id: + emberAfKeypadInputClusterInitCallback(endpoint); + break; + case app::Clusters::LaundryDryerControls::Id: + emberAfLaundryDryerControlsClusterInitCallback(endpoint); + break; + case app::Clusters::LaundryWasherControls::Id: + emberAfLaundryWasherControlsClusterInitCallback(endpoint); + break; + case app::Clusters::LaundryWasherMode::Id: + emberAfLaundryWasherModeClusterInitCallback(endpoint); + break; + case app::Clusters::LevelControl::Id: + emberAfLevelControlClusterInitCallback(endpoint); + break; + case app::Clusters::LocalizationConfiguration::Id: + emberAfLocalizationConfigurationClusterInitCallback(endpoint); + break; + case app::Clusters::LowPower::Id: + emberAfLowPowerClusterInitCallback(endpoint); + break; + case app::Clusters::MediaInput::Id: + emberAfMediaInputClusterInitCallback(endpoint); + break; + case app::Clusters::MediaPlayback::Id: + emberAfMediaPlaybackClusterInitCallback(endpoint); + break; + case app::Clusters::MicrowaveOvenMode::Id: + emberAfMicrowaveOvenModeClusterInitCallback(endpoint); + break; + case app::Clusters::ModeSelect::Id: + emberAfModeSelectClusterInitCallback(endpoint); + break; + case app::Clusters::NetworkCommissioning::Id: + emberAfNetworkCommissioningClusterInitCallback(endpoint); + break; + case app::Clusters::NitrogenDioxideConcentrationMeasurement::Id: + emberAfNitrogenDioxideConcentrationMeasurementClusterInitCallback(endpoint); + break; + case app::Clusters::OccupancySensing::Id: + emberAfOccupancySensingClusterInitCallback(endpoint); + break; + case app::Clusters::OnOff::Id: + emberAfOnOffClusterInitCallback(endpoint); + break; + case app::Clusters::OnOffSwitchConfiguration::Id: + emberAfOnOffSwitchConfigurationClusterInitCallback(endpoint); + break; + case app::Clusters::OperationalCredentials::Id: + emberAfOperationalCredentialsClusterInitCallback(endpoint); + break; + case app::Clusters::OperationalState::Id: + emberAfOperationalStateClusterInitCallback(endpoint); + break; + case app::Clusters::OtaSoftwareUpdateProvider::Id: + emberAfOtaSoftwareUpdateProviderClusterInitCallback(endpoint); + break; + case app::Clusters::OtaSoftwareUpdateRequestor::Id: + emberAfOtaSoftwareUpdateRequestorClusterInitCallback(endpoint); + break; + case app::Clusters::OvenCavityOperationalState::Id: + emberAfOvenCavityOperationalStateClusterInitCallback(endpoint); + break; + case app::Clusters::OvenMode::Id: + emberAfOvenModeClusterInitCallback(endpoint); + break; + case app::Clusters::OzoneConcentrationMeasurement::Id: + emberAfOzoneConcentrationMeasurementClusterInitCallback(endpoint); + break; + case app::Clusters::Pm10ConcentrationMeasurement::Id: + emberAfPm10ConcentrationMeasurementClusterInitCallback(endpoint); + break; + case app::Clusters::Pm1ConcentrationMeasurement::Id: + emberAfPm1ConcentrationMeasurementClusterInitCallback(endpoint); + break; + case app::Clusters::Pm25ConcentrationMeasurement::Id: + emberAfPm25ConcentrationMeasurementClusterInitCallback(endpoint); + break; + case app::Clusters::PowerSource::Id: + emberAfPowerSourceClusterInitCallback(endpoint); + break; + case app::Clusters::PowerSourceConfiguration::Id: + emberAfPowerSourceConfigurationClusterInitCallback(endpoint); + break; + case app::Clusters::PowerTopology::Id: + emberAfPowerTopologyClusterInitCallback(endpoint); + break; + case app::Clusters::PressureMeasurement::Id: + emberAfPressureMeasurementClusterInitCallback(endpoint); + break; + case app::Clusters::PumpConfigurationAndControl::Id: + emberAfPumpConfigurationAndControlClusterInitCallback(endpoint); + break; + case app::Clusters::RadonConcentrationMeasurement::Id: + emberAfRadonConcentrationMeasurementClusterInitCallback(endpoint); + break; + case app::Clusters::RefrigeratorAlarm::Id: + emberAfRefrigeratorAlarmClusterInitCallback(endpoint); + break; + case app::Clusters::RefrigeratorAndTemperatureControlledCabinetMode::Id: + emberAfRefrigeratorAndTemperatureControlledCabinetModeClusterInitCallback(endpoint); + break; + case app::Clusters::RelativeHumidityMeasurement::Id: + emberAfRelativeHumidityMeasurementClusterInitCallback(endpoint); + break; + case app::Clusters::RvcCleanMode::Id: + emberAfRvcCleanModeClusterInitCallback(endpoint); + break; + case app::Clusters::RvcOperationalState::Id: + emberAfRvcOperationalStateClusterInitCallback(endpoint); + break; + case app::Clusters::RvcRunMode::Id: + emberAfRvcRunModeClusterInitCallback(endpoint); + break; + case app::Clusters::ScenesManagement::Id: + emberAfScenesManagementClusterInitCallback(endpoint); + break; + case app::Clusters::SmokeCoAlarm::Id: + emberAfSmokeCoAlarmClusterInitCallback(endpoint); + break; + case app::Clusters::SoftwareDiagnostics::Id: + emberAfSoftwareDiagnosticsClusterInitCallback(endpoint); + break; + case app::Clusters::Switch::Id: + emberAfSwitchClusterInitCallback(endpoint); + break; + case app::Clusters::TargetNavigator::Id: + emberAfTargetNavigatorClusterInitCallback(endpoint); + break; + case app::Clusters::TemperatureControl::Id: + emberAfTemperatureControlClusterInitCallback(endpoint); + break; + case app::Clusters::TemperatureMeasurement::Id: + emberAfTemperatureMeasurementClusterInitCallback(endpoint); + break; + case app::Clusters::Thermostat::Id: + emberAfThermostatClusterInitCallback(endpoint); + break; + case app::Clusters::ThermostatUserInterfaceConfiguration::Id: + emberAfThermostatUserInterfaceConfigurationClusterInitCallback(endpoint); + break; + case app::Clusters::ThreadNetworkDiagnostics::Id: + emberAfThreadNetworkDiagnosticsClusterInitCallback(endpoint); + break; + case app::Clusters::TimeFormatLocalization::Id: + emberAfTimeFormatLocalizationClusterInitCallback(endpoint); + break; + case app::Clusters::TimeSynchronization::Id: + emberAfTimeSynchronizationClusterInitCallback(endpoint); + break; + case app::Clusters::TotalVolatileOrganicCompoundsConcentrationMeasurement::Id: + emberAfTotalVolatileOrganicCompoundsConcentrationMeasurementClusterInitCallback(endpoint); + break; + case app::Clusters::UnitLocalization::Id: + emberAfUnitLocalizationClusterInitCallback(endpoint); + break; + case app::Clusters::UnitTesting::Id: + emberAfUnitTestingClusterInitCallback(endpoint); + break; + case app::Clusters::UserLabel::Id: + emberAfUserLabelClusterInitCallback(endpoint); + break; + case app::Clusters::ValveConfigurationAndControl::Id: + emberAfValveConfigurationAndControlClusterInitCallback(endpoint); + break; + case app::Clusters::WakeOnLan::Id: + emberAfWakeOnLanClusterInitCallback(endpoint); + break; + case app::Clusters::WiFiNetworkDiagnostics::Id: + emberAfWiFiNetworkDiagnosticsClusterInitCallback(endpoint); + break; + case app::Clusters::WindowCovering::Id: + emberAfWindowCoveringClusterInitCallback(endpoint); + break; + default: + // Unrecognized cluster ID + break; + } +} diff --git a/components/esp_matter/zap_common/zap-generated/CHIPClusters.h b/components/esp_matter/zap_common/zap-generated/CHIPClusters.h index e17e1f20e..afc21f0e1 100644 --- a/components/esp_matter/zap_common/zap-generated/CHIPClusters.h +++ b/components/esp_matter/zap_common/zap-generated/CHIPClusters.h @@ -15,6 +15,7 @@ * limitations under the License. */ +// TODO: This header is removed from upstream zap generated files. We should also remove it. // THIS FILE IS GENERATED BY ZAP #pragma once diff --git a/components/esp_matter/zap_common/zap-generated/access.h b/components/esp_matter/zap_common/zap-generated/access.h index 2c5527432..24d3481fc 100644 --- a/components/esp_matter/zap_common/zap-generated/access.h +++ b/components/esp_matter/zap_common/zap-generated/access.h @@ -20,7 +20,7 @@ // Prevent multiple inclusion #pragma once -#include +#include // Prevent changing generated format // clang-format off @@ -68,6 +68,8 @@ /* Cluster: Energy EVSE, Attribute: UserMaximumChargeCurrent, Privilege: view */ \ /* Cluster: Energy EVSE, Attribute: RandomizationDelayWindow, Privilege: view */ \ /* Cluster: Energy EVSE, Attribute: ApproximateEVEfficiency, Privilege: view */ \ + /* Cluster: Energy Preference, Attribute: CurrentEnergyBalance, Privilege: view */ \ + /* Cluster: Energy Preference, Attribute: CurrentLowPowerModeSensitivity, Privilege: view */ \ /* Cluster: Window Covering, Attribute: Mode, Privilege: view */ \ /* Cluster: Pump Configuration and Control, Attribute: LifetimeRunningHours, Privilege: view */ \ /* Cluster: Pump Configuration and Control, Attribute: LifetimeEnergyConsumed, Privilege: view */ \ @@ -137,6 +139,8 @@ /* Cluster: Energy EVSE, Attribute: UserMaximumChargeCurrent, Privilege: view */ \ /* Cluster: Energy EVSE, Attribute: RandomizationDelayWindow, Privilege: view */ \ /* Cluster: Energy EVSE, Attribute: ApproximateEVEfficiency, Privilege: view */ \ + /* Cluster: Energy Preference, Attribute: CurrentEnergyBalance, Privilege: view */ \ + /* Cluster: Energy Preference, Attribute: CurrentLowPowerModeSensitivity, Privilege: view */ \ /* Cluster: Window Covering, Attribute: Mode, Privilege: view */ \ /* Cluster: Pump Configuration and Control, Attribute: LifetimeRunningHours, Privilege: view */ \ /* Cluster: Pump Configuration and Control, Attribute: LifetimeEnergyConsumed, Privilege: view */ \ @@ -206,6 +210,8 @@ /* Cluster: Energy EVSE, Attribute: UserMaximumChargeCurrent, Privilege: view */ \ /* Cluster: Energy EVSE, Attribute: RandomizationDelayWindow, Privilege: view */ \ /* Cluster: Energy EVSE, Attribute: ApproximateEVEfficiency, Privilege: view */ \ + /* Cluster: Energy Preference, Attribute: CurrentEnergyBalance, Privilege: view */ \ + /* Cluster: Energy Preference, Attribute: CurrentLowPowerModeSensitivity, Privilege: view */ \ /* Cluster: Window Covering, Attribute: Mode, Privilege: view */ \ /* Cluster: Pump Configuration and Control, Attribute: LifetimeRunningHours, Privilege: view */ \ /* Cluster: Pump Configuration and Control, Attribute: LifetimeEnergyConsumed, Privilege: view */ \ @@ -284,6 +290,8 @@ 0x00000201, /* Cluster: Thermostat, Attribute: MinSetpointDeadBand, Privilege: manage */ \ 0x00000201, /* Cluster: Thermostat, Attribute: ControlSequenceOfOperation, Privilege: manage */ \ 0x00000201, /* Cluster: Thermostat, Attribute: SystemMode, Privilege: manage */ \ + 0x00000201, /* Cluster: Thermostat, Attribute: Presets, Privilege: manage */ \ + 0x00000201, /* Cluster: Thermostat, Attribute: Schedules, Privilege: manage */ \ 0x00000204, /* Cluster: Thermostat User Interface Configuration, Attribute: KeypadLockout, Privilege: manage */ \ 0x00000204, /* Cluster: Thermostat User Interface Configuration, Attribute: ScheduleProgrammingVisibility, Privilege: manage */ \ 0x00000300, /* Cluster: Color Control, Attribute: WhitePointX, Privilege: manage */ \ @@ -358,6 +366,8 @@ 0x00000019, /* Cluster: Thermostat, Attribute: MinSetpointDeadBand, Privilege: manage */ \ 0x0000001B, /* Cluster: Thermostat, Attribute: ControlSequenceOfOperation, Privilege: manage */ \ 0x0000001C, /* Cluster: Thermostat, Attribute: SystemMode, Privilege: manage */ \ + 0x00000050, /* Cluster: Thermostat, Attribute: Presets, Privilege: manage */ \ + 0x00000051, /* Cluster: Thermostat, Attribute: Schedules, Privilege: manage */ \ 0x00000001, /* Cluster: Thermostat User Interface Configuration, Attribute: KeypadLockout, Privilege: manage */ \ 0x00000002, /* Cluster: Thermostat User Interface Configuration, Attribute: ScheduleProgrammingVisibility, Privilege: manage */ \ 0x00000030, /* Cluster: Color Control, Attribute: WhitePointX, Privilege: manage */ \ @@ -432,6 +442,8 @@ chip::Access::Privilege::kManage, /* Cluster: Thermostat, Attribute: MinSetpointDeadBand, Privilege: manage */ \ chip::Access::Privilege::kManage, /* Cluster: Thermostat, Attribute: ControlSequenceOfOperation, Privilege: manage */ \ chip::Access::Privilege::kManage, /* Cluster: Thermostat, Attribute: SystemMode, Privilege: manage */ \ + chip::Access::Privilege::kManage, /* Cluster: Thermostat, Attribute: Presets, Privilege: manage */ \ + chip::Access::Privilege::kManage, /* Cluster: Thermostat, Attribute: Schedules, Privilege: manage */ \ chip::Access::Privilege::kManage, /* Cluster: Thermostat User Interface Configuration, Attribute: KeypadLockout, Privilege: manage */ \ chip::Access::Privilege::kManage, /* Cluster: Thermostat User Interface Configuration, Attribute: ScheduleProgrammingVisibility, Privilege: manage */ \ chip::Access::Privilege::kManage, /* Cluster: Color Control, Attribute: WhitePointX, Privilege: manage */ \ @@ -468,10 +480,6 @@ 0x00000004, /* Cluster: Groups, Command: RemoveGroup, Privilege: manage */ \ 0x00000004, /* Cluster: Groups, Command: RemoveAllGroups, Privilege: manage */ \ 0x00000004, /* Cluster: Groups, Command: AddGroupIfIdentifying, Privilege: manage */ \ - 0x00000005, /* Cluster: Scenes, Command: AddScene, Privilege: manage */ \ - 0x00000005, /* Cluster: Scenes, Command: RemoveScene, Privilege: manage */ \ - 0x00000005, /* Cluster: Scenes, Command: RemoveAllScenes, Privilege: manage */ \ - 0x00000005, /* Cluster: Scenes, Command: StoreScene, Privilege: manage */ \ 0x00000030, /* Cluster: General Commissioning, Command: ArmFailSafe, Privilege: administer */ \ 0x00000030, /* Cluster: General Commissioning, Command: SetRegulatoryConfig, Privilege: administer */ \ 0x00000030, /* Cluster: General Commissioning, Command: CommissioningComplete, Privilege: administer */ \ @@ -508,6 +516,10 @@ 0x00000046, /* Cluster: ICD Management, Command: RegisterClient, Privilege: manage */ \ 0x00000046, /* Cluster: ICD Management, Command: UnregisterClient, Privilege: manage */ \ 0x00000046, /* Cluster: ICD Management, Command: StayActiveRequest, Privilege: manage */ \ + 0x00000062, /* Cluster: Scenes Management, Command: AddScene, Privilege: manage */ \ + 0x00000062, /* Cluster: Scenes Management, Command: RemoveScene, Privilege: manage */ \ + 0x00000062, /* Cluster: Scenes Management, Command: RemoveAllScenes, Privilege: manage */ \ + 0x00000062, /* Cluster: Scenes Management, Command: StoreScene, Privilege: manage */ \ 0x00000101, /* Cluster: Door Lock, Command: SetWeekDaySchedule, Privilege: administer */ \ 0x00000101, /* Cluster: Door Lock, Command: GetWeekDaySchedule, Privilege: administer */ \ 0x00000101, /* Cluster: Door Lock, Command: ClearWeekDaySchedule, Privilege: administer */ \ @@ -531,10 +543,6 @@ 0x00000003, /* Cluster: Groups, Command: RemoveGroup, Privilege: manage */ \ 0x00000004, /* Cluster: Groups, Command: RemoveAllGroups, Privilege: manage */ \ 0x00000005, /* Cluster: Groups, Command: AddGroupIfIdentifying, Privilege: manage */ \ - 0x00000000, /* Cluster: Scenes, Command: AddScene, Privilege: manage */ \ - 0x00000002, /* Cluster: Scenes, Command: RemoveScene, Privilege: manage */ \ - 0x00000003, /* Cluster: Scenes, Command: RemoveAllScenes, Privilege: manage */ \ - 0x00000004, /* Cluster: Scenes, Command: StoreScene, Privilege: manage */ \ 0x00000000, /* Cluster: General Commissioning, Command: ArmFailSafe, Privilege: administer */ \ 0x00000002, /* Cluster: General Commissioning, Command: SetRegulatoryConfig, Privilege: administer */ \ 0x00000004, /* Cluster: General Commissioning, Command: CommissioningComplete, Privilege: administer */ \ @@ -571,6 +579,10 @@ 0x00000000, /* Cluster: ICD Management, Command: RegisterClient, Privilege: manage */ \ 0x00000002, /* Cluster: ICD Management, Command: UnregisterClient, Privilege: manage */ \ 0x00000003, /* Cluster: ICD Management, Command: StayActiveRequest, Privilege: manage */ \ + 0x00000000, /* Cluster: Scenes Management, Command: AddScene, Privilege: manage */ \ + 0x00000002, /* Cluster: Scenes Management, Command: RemoveScene, Privilege: manage */ \ + 0x00000003, /* Cluster: Scenes Management, Command: RemoveAllScenes, Privilege: manage */ \ + 0x00000004, /* Cluster: Scenes Management, Command: StoreScene, Privilege: manage */ \ 0x0000000B, /* Cluster: Door Lock, Command: SetWeekDaySchedule, Privilege: administer */ \ 0x0000000C, /* Cluster: Door Lock, Command: GetWeekDaySchedule, Privilege: administer */ \ 0x0000000D, /* Cluster: Door Lock, Command: ClearWeekDaySchedule, Privilege: administer */ \ @@ -594,10 +606,6 @@ chip::Access::Privilege::kManage, /* Cluster: Groups, Command: RemoveGroup, Privilege: manage */ \ chip::Access::Privilege::kManage, /* Cluster: Groups, Command: RemoveAllGroups, Privilege: manage */ \ chip::Access::Privilege::kManage, /* Cluster: Groups, Command: AddGroupIfIdentifying, Privilege: manage */ \ - chip::Access::Privilege::kManage, /* Cluster: Scenes, Command: AddScene, Privilege: manage */ \ - chip::Access::Privilege::kManage, /* Cluster: Scenes, Command: RemoveScene, Privilege: manage */ \ - chip::Access::Privilege::kManage, /* Cluster: Scenes, Command: RemoveAllScenes, Privilege: manage */ \ - chip::Access::Privilege::kManage, /* Cluster: Scenes, Command: StoreScene, Privilege: manage */ \ chip::Access::Privilege::kAdminister, /* Cluster: General Commissioning, Command: ArmFailSafe, Privilege: administer */ \ chip::Access::Privilege::kAdminister, /* Cluster: General Commissioning, Command: SetRegulatoryConfig, Privilege: administer */ \ chip::Access::Privilege::kAdminister, /* Cluster: General Commissioning, Command: CommissioningComplete, Privilege: administer */ \ @@ -634,6 +642,10 @@ chip::Access::Privilege::kManage, /* Cluster: ICD Management, Command: RegisterClient, Privilege: manage */ \ chip::Access::Privilege::kManage, /* Cluster: ICD Management, Command: UnregisterClient, Privilege: manage */ \ chip::Access::Privilege::kManage, /* Cluster: ICD Management, Command: StayActiveRequest, Privilege: manage */ \ + chip::Access::Privilege::kManage, /* Cluster: Scenes Management, Command: AddScene, Privilege: manage */ \ + chip::Access::Privilege::kManage, /* Cluster: Scenes Management, Command: RemoveScene, Privilege: manage */ \ + chip::Access::Privilege::kManage, /* Cluster: Scenes Management, Command: RemoveAllScenes, Privilege: manage */ \ + chip::Access::Privilege::kManage, /* Cluster: Scenes Management, Command: StoreScene, Privilege: manage */ \ chip::Access::Privilege::kAdminister, /* Cluster: Door Lock, Command: SetWeekDaySchedule, Privilege: administer */ \ chip::Access::Privilege::kAdminister, /* Cluster: Door Lock, Command: GetWeekDaySchedule, Privilege: administer */ \ chip::Access::Privilege::kAdminister, /* Cluster: Door Lock, Command: ClearWeekDaySchedule, Privilege: administer */ \