Skip to content

Commit 2cbe9c6

Browse files
committedJun 19, 2024
Apply further code review changes
1 parent 9cef023 commit 2cbe9c6

22 files changed

+64
-27
lines changed
 

‎examples/all-clusters-app/ameba/chip_main.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ list(
187187

188188
${chip_dir}/examples/microwave-oven-app/microwave-oven-common/src/microwave-oven-device.cpp
189189

190-
${chip_dir}/examples/energy-management-app/energy-management-common/src/DEMUtils.cpp
190+
${chip_dir}/examples/energy-management-app/energy-management-common/src/EnergyTimeUtils.cpp
191191
${chip_dir}/examples/energy-management-app/energy-management-common/src/DeviceEnergyManagementDelegateImpl.cpp
192192
${chip_dir}/examples/energy-management-app/energy-management-common/src/DeviceEnergyManagementManager.cpp
193193
${chip_dir}/examples/energy-management-app/energy-management-common/src/EVSEManufacturerImpl.cpp

‎examples/all-clusters-app/asr/BUILD.gn

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ asr_executable("clusters_app") {
8282
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/smco-stub.cpp",
8383
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/static-supported-modes-manager.cpp",
8484
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/static-supported-temperature-levels.cpp",
85-
"${chip_root}/examples/energy-management-app/energy-management-common/src/DEMUtils.cpp",
85+
"${chip_root}/examples/energy-management-app/energy-management-common/src/EnergyTimeUtils.cpp",
8686
"${chip_root}/examples/energy-management-app/energy-management-common/src/DeviceEnergyManagementDelegateImpl.cpp",
8787
"${chip_root}/examples/energy-management-app/energy-management-common/src/DeviceEnergyManagementManager.cpp",
8888
"${chip_root}/examples/energy-management-app/energy-management-common/src/EVSEManufacturerImpl.cpp",

‎examples/all-clusters-app/cc13x4_26x4/BUILD.gn

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ ti_simplelink_executable("all-clusters-app") {
7272
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/smco-stub.cpp",
7373
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/static-supported-modes-manager.cpp",
7474
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/static-supported-temperature-levels.cpp",
75-
"${chip_root}/examples/energy-management-app/energy-management-common/src/DEMUtils.cpp",
75+
"${chip_root}/examples/energy-management-app/energy-management-common/src/EnergyTimeUtils.cpp",
7676
"${chip_root}/examples/energy-management-app/energy-management-common/src/DeviceEnergyManagementDelegateImpl.cpp",
7777
"${chip_root}/examples/energy-management-app/energy-management-common/src/DeviceEnergyManagementManager.cpp",
7878
"${chip_root}/examples/energy-management-app/energy-management-common/src/EVSEManufacturerImpl.cpp",

‎examples/all-clusters-app/infineon/psoc6/BUILD.gn

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ psoc6_executable("clusters_app") {
118118
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/smco-stub.cpp",
119119
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/static-supported-modes-manager.cpp",
120120
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/static-supported-temperature-levels.cpp",
121-
"${chip_root}/examples/energy-management-app/energy-management-common/src/DEMUtils.cpp",
121+
"${chip_root}/examples/energy-management-app/energy-management-common/src/EnergyTimeUtils.cpp",
122122
"${chip_root}/examples/energy-management-app/energy-management-common/src/DeviceEnergyManagementDelegateImpl.cpp",
123123
"${chip_root}/examples/energy-management-app/energy-management-common/src/DeviceEnergyManagementManager.cpp",
124124
"${chip_root}/examples/energy-management-app/energy-management-common/src/EVSEManufacturerImpl.cpp",

‎examples/all-clusters-app/linux/BUILD.gn

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ source_set("chip-all-clusters-common") {
5858
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/static-supported-temperature-levels.cpp",
5959
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/tcc-mode.cpp",
6060
"${chip_root}/examples/all-clusters-app/linux/diagnostic-logs-provider-delegate-impl.cpp",
61-
"${chip_root}/examples/energy-management-app/energy-management-common/src/DEMUtils.cpp",
61+
"${chip_root}/examples/energy-management-app/energy-management-common/src/EnergyTimeUtils.cpp",
6262
"${chip_root}/examples/energy-management-app/energy-management-common/src/DeviceEnergyManagementDelegateImpl.cpp",
6363
"${chip_root}/examples/energy-management-app/energy-management-common/src/DeviceEnergyManagementManager.cpp",
6464
"${chip_root}/examples/energy-management-app/energy-management-common/src/EVSEManufacturerImpl.cpp",

‎examples/all-clusters-app/mbed/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ target_sources(${APP_TARGET} PRIVATE
7272
${ALL_CLUSTERS_COMMON}/src/smco-stub.cpp
7373
${ALL_CLUSTERS_COMMON}/src/static-supported-modes-manager.cpp
7474
${ALL_CLUSTERS_COMMON}/src/static-supported-temperature-levels.cpp
75-
${ENERGY_MANAGEMENT_COMMON}/src/DEMUtils.cpp
75+
${ENERGY_MANAGEMENT_COMMON}/src/EnergyTimeUtils.cpp
7676
${ENERGY_MANAGEMENT_COMMON}/src/DeviceEnergyManagementDelegateImpl.cpp
7777
${ENERGY_MANAGEMENT_COMMON}/src/DeviceEnergyManagementManager.cpp
7878
${ENERGY_MANAGEMENT_COMMON}/src/EVSEManufacturerImpl.cpp

‎examples/all-clusters-app/nrfconnect/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ target_sources(app PRIVATE
7070
${ALL_CLUSTERS_COMMON_DIR}/src/air-quality-instance.cpp
7171
${ALL_CLUSTERS_COMMON_DIR}/src/concentration-measurement-instances.cpp
7272
${ALL_CLUSTERS_COMMON_DIR}/src/resource-monitoring-delegates.cpp
73-
${ENERGY_MANAGEMENT_COMMON_DIR}/src/DEMUtils.cpp
73+
${ENERGY_MANAGEMENT_COMMON_DIR}/src/EnergyTimeUtils.cpp
7474
${ENERGY_MANAGEMENT_COMMON_DIR}/src/DeviceEnergyManagementDelegateImpl.cpp
7575
${ENERGY_MANAGEMENT_COMMON_DIR}/src/DeviceEnergyManagementManager.cpp
7676
${ENERGY_MANAGEMENT_COMMON_DIR}/src/EVSEManufacturerImpl.cpp

‎examples/all-clusters-app/nxp/mw320/BUILD.gn

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ mw320_executable("shell_mw320") {
8686
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/smco-stub.cpp",
8787
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/static-supported-modes-manager.cpp",
8888
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/static-supported-temperature-levels.cpp",
89-
"${chip_root}/examples/energy-management-app/energy-management-common/src/DEMUtils.cpp",
89+
"${chip_root}/examples/energy-management-app/energy-management-common/src/EnergyTimeUtils.cpp",
9090
"${chip_root}/examples/energy-management-app/energy-management-common/src/DeviceEnergyManagementDelegateImpl.cpp",
9191
"${chip_root}/examples/energy-management-app/energy-management-common/src/DeviceEnergyManagementManager.cpp",
9292
"${chip_root}/examples/energy-management-app/energy-management-common/src/EVSEManufacturerImpl.cpp",

‎examples/all-clusters-app/openiotsdk/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ target_sources(${APP_TARGET}
6565
${ALL_CLUSTERS_COMMON}/src/resource-monitoring-delegates.cpp
6666
${ALL_CLUSTERS_COMMON}/src/static-supported-modes-manager.cpp
6767
${ALL_CLUSTERS_COMMON}/src/binding-handler.cpp
68-
${ENERGY_MANAGEMENT_COMMON}/src/DEMUtils.cpp
68+
${ENERGY_MANAGEMENT_COMMON}/src/EnergyTimeUtils.cpp
6969
${ENERGY_MANAGEMENT_COMMON}/src/DeviceEnergyManagementDelegateImpl.cpp
7070
${ENERGY_MANAGEMENT_COMMON}/src/DeviceEnergyManagementManager.cpp
7171
${ENERGY_MANAGEMENT_COMMON}/src/EVSEManufacturerImpl.cpp

‎examples/all-clusters-app/telink/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ target_sources(app PRIVATE
5151
${ALL_CLUSTERS_COMMON_DIR}/src/device-energy-management-stub.cpp
5252
${ALL_CLUSTERS_COMMON_DIR}/src/energy-evse-stub.cpp
5353
${ALL_CLUSTERS_COMMON_DIR}/src/resource-monitoring-delegates.cpp
54-
${ENERGY_MANAGEMENT_COMMON_DIR}/src/DEMUtils.cpp
54+
${ENERGY_MANAGEMENT_COMMON_DIR}/src/EnergyTimeUtils.cpp
5555
${ENERGY_MANAGEMENT_COMMON_DIR}/src/DeviceEnergyManagementDelegateImpl.cpp
5656
${ENERGY_MANAGEMENT_COMMON_DIR}/src/DeviceEnergyManagementManager.cpp
5757
${ENERGY_MANAGEMENT_COMMON_DIR}/src/EVSEManufacturerImpl.cpp

‎examples/all-clusters-app/tizen/BUILD.gn

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ source_set("chip-all-clusters-common") {
3838
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/smco-stub.cpp",
3939
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/static-supported-modes-manager.cpp",
4040
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/static-supported-temperature-levels.cpp",
41-
"${chip_root}/examples/energy-management-app/energy-management-common/src/DEMUtils.cpp",
41+
"${chip_root}/examples/energy-management-app/energy-management-common/src/EnergyTimeUtils.cpp",
4242
"${chip_root}/examples/energy-management-app/energy-management-common/src/DeviceEnergyManagementDelegateImpl.cpp",
4343
"${chip_root}/examples/energy-management-app/energy-management-common/src/DeviceEnergyManagementManager.cpp",
4444
"${chip_root}/examples/energy-management-app/energy-management-common/src/EVSEManufacturerImpl.cpp",

‎examples/energy-management-app/energy-management-common/include/DEMManufacturerDelegate.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ class DEMManufacturerDelegate
4141

4242
virtual ~DEMManufacturerDelegate() {}
4343

44-
virtual int64_t GetEnergyUse() = 0;
44+
// The PowerAdjustEnd event needs to report the approximate energy used by the ESA during the session.
45+
virtual int64_t GetApproxEnergyDuringSession() = 0;
4546

4647
virtual CHIP_ERROR HandleDeviceEnergyManagementPowerAdjustRequest(const int64_t power, const uint32_t duration,
4748
AdjustmentCauseEnum cause)
@@ -71,7 +72,7 @@ class DEMManufacturerDelegate
7172
virtual CHIP_ERROR HandleDeviceEnergyManagementCancelRequest() { return CHIP_NO_ERROR; }
7273

7374
virtual CHIP_ERROR
74-
HandleModifyRequest(const uint32_t forecastID,
75+
HandleModifyForecastRequest(const uint32_t forecastID,
7576
const DataModel::DecodableList<Structs::SlotAdjustmentStruct::DecodableType> & slotAdjustments,
7677
AdjustmentCauseEnum cause)
7778
{

‎examples/energy-management-app/energy-management-common/include/DeviceEnergyManagementDelegateImpl.h

+34
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ class DeviceEnergyManagementDelegate : public DeviceEnergyManagement::Delegate
118118
* If the ESA accepts the requested Forecast then it SHALL update its Forecast attribute (incrementing its ForecastID)
119119
* and run the revised Forecast as its new intended operation.
120120
*
121+
* *** NOTE *** for the memory management of the forecast object, see the comment before the mForecast delaration below.
122+
*
121123
* @param forecastID Indicates the ESA ForecastID that is to be modified.
122124
* @param slotAdjustments List of adjustments to be applied to the ESA, corresponding to the expected ESA forecastID.
123125
* @return Success if the entire list of SlotAdjustmentStruct are accepted, otherwise the command
@@ -240,6 +242,38 @@ class DeviceEnergyManagementDelegate : public DeviceEnergyManagement::Delegate
240242

241243
DataModel::Nullable<Structs::PowerAdjustCapabilityStruct::Type> mPowerAdjustCapabilityStruct;
242244

245+
// The DeviceEnergyManagementDelegate owns the master copy of the ForecastStruct object which is accessed via GetForecast and SetForecast.
246+
// The slots field of forecast is owned and managed by the object that implements the DEMManufacturerDelegate interface.
247+
//
248+
// The rationale for this is as follows:
249+
// It is envisioned there will be one master forecast object declared in DeviceEnergyManagementDelegate. When
250+
// constructed, the field DataModel::List<const Structs::SlotStruct::Type> slots will be empty.
251+
//
252+
// The EVSEManufacturerImpl class (examples/energy-management-app/energy-management-common/include/EVSEManufacturerImpl.h) is
253+
// an example implementation that a specific vendor can use as a template. It understands how the underlying energy appliance
254+
// functions. EVSEManufacturerImpl inherits from DEMManufacturerDelegate
255+
// (examples/energy-management-app/energy-management-common/include/DEMManufacturerDelegate.h) which is a generic interface
256+
// and how the DeviceEnergyManagementDelegate class
257+
// (examples/energy-management-app/energy-management-common/src/DeviceEnergyManagementDelegateImpl.cpp) communicates from the
258+
// generic cluster world to the specific appliance implementation (EVSEManufacturerImpl).
259+
//
260+
// EVSEManufacturerImpl understands the slot structures of the appliance and configures the slot structures as follows:
261+
//
262+
// Call DeviceEnergyManagementDelegate::GetForecast() to get the current forecast
263+
// Modify the slot structure - the slots memory is owned by EVSEManufacturerImpl
264+
// Call DeviceEnergyManagementDelegate::GetForecast() to set the current forecast
265+
//
266+
//
267+
// The cluster object DeviceEnergyManagement::Instance
268+
// (src/app/clusters/device-energy-management-server/device-energy-management-server.cpp) only reads the slots field of
269+
// forecast when checking commands (indeed it does not modify any forecast fields itself). The DeviceEnergyManagementDelegate
270+
// object does modify some of forecast's fields but does NOT modify the slots field. The only command that can modify the
271+
// slots field is HandleModifyForecastRequest. Whilst DeviceEnergyManagementDelegate::ModifyForecastRequest does some state
272+
// checking, the slots field is only modified by the EVSEManufacturerImpl object via the call
273+
// DEMManufacturerDelegate::HandleModifyForecastRequest. DEMManufacturerDelegate::HandleModifyForecastRequest may
274+
// delete/allocate the slots memory but this will be done atomically in the call to
275+
// DEMManufacturerDelegate::HandleModifyForecastRequest so the underlying memory is coherent => the call to
276+
// DEMManufacturerDelegate::HandleModifyForecastRequest cannot be interrupted by any other CHIP task activity.
243277
DataModel::Nullable<Structs::ForecastStruct::Type> mForecast;
244278

245279
// Keep track whether a PowerAdjustment is in progress

‎examples/energy-management-app/energy-management-common/include/EVSEManufacturerImpl.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ class EVSEManufacturer : public DEMManufacturerDelegate
9494
* Implement the DEMManufacturerDelegate interface
9595
*
9696
*/
97-
int64_t GetEnergyUse() override;
97+
// The PowerAdjustEnd event needs to report the approximate energy used by the ESA during the session.
98+
int64_t GetApproxEnergyDuringSession() override;
9899
CHIP_ERROR HandleDeviceEnergyManagementPowerAdjustRequest(const int64_t power, const uint32_t duration,
99100
AdjustmentCauseEnum cause) override;
100101
CHIP_ERROR HandleDeviceEnergyManagementPowerAdjustCompletion() override;
@@ -105,7 +106,7 @@ class EVSEManufacturer : public DEMManufacturerDelegate
105106
CHIP_ERROR HandleDeviceEnergyManagementPauseCompletion() override;
106107
CHIP_ERROR HandleDeviceEnergyManagementCancelPauseRequest(CauseEnum cause) override;
107108
CHIP_ERROR HandleDeviceEnergyManagementCancelRequest() override;
108-
CHIP_ERROR HandleModifyRequest(
109+
CHIP_ERROR HandleModifyForecastRequest(
109110
const uint32_t forecastID,
110111
const DataModel::DecodableList<DeviceEnergyManagement::Structs::SlotAdjustmentStruct::DecodableType> & slotAdjustments,
111112
AdjustmentCauseEnum cause) override;

‎examples/energy-management-app/energy-management-common/src/DEMTestEventTriggers.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include <EVSEManufacturerImpl.h>
2121
#include <app/clusters/device-energy-management-server/DeviceEnergyManagementTestEventTriggerHandler.h>
2222

23-
#include <DEMUtils.h>
23+
#include <EnergyTimeUtils.h>
2424

2525
#include "FakeReadings.h"
2626

‎examples/energy-management-app/energy-management-common/src/DeviceEnergyManagementDelegateImpl.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
#include "DeviceEnergyManagementDelegateImpl.h"
2020
#include "DEMManufacturerDelegate.h"
21-
#include "DEMUtils.h"
21+
#include "EnergyTimeUtils.h"
2222
#include <app/EventLogging.h>
2323

2424
using namespace chip;
@@ -298,7 +298,7 @@ CHIP_ERROR DeviceEnergyManagementDelegate::SendPowerAdjustEndEvent(CauseEnum cau
298298

299299
if (mpDEMManufacturerDelegate != nullptr)
300300
{
301-
event.energyUse = mpDEMManufacturerDelegate->GetEnergyUse();
301+
event.energyUse = mpDEMManufacturerDelegate->GetApproxEnergyDuringSession();
302302
}
303303
else
304304
{
@@ -642,7 +642,7 @@ Status DeviceEnergyManagementDelegate::ModifyForecastRequest(
642642
else if (mpDEMManufacturerDelegate != nullptr)
643643
{
644644
// Determine if the new forecast adjustments are acceptable to the appliance
645-
CHIP_ERROR err = mpDEMManufacturerDelegate->HandleModifyRequest(forecastID, slotAdjustments, cause);
645+
CHIP_ERROR err = mpDEMManufacturerDelegate->HandleModifyForecastRequest(forecastID, slotAdjustments, cause);
646646
if (err != CHIP_NO_ERROR)
647647
{
648648
status = Status::Failure;

‎examples/energy-management-app/energy-management-common/src/EVSEManufacturerImpl.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <EVSEManufacturerImpl.h>
2222
#include <EnergyEvseManager.h>
2323

24-
#include <DEMUtils.h>
24+
#include <EnergyTimeUtils.h>
2525
#include <app/clusters/device-energy-management-server/DeviceEnergyManagementTestEventTriggerHandler.h>
2626
#include <app/clusters/electrical-energy-measurement-server/EnergyReportingTestEventTriggerHandler.h>
2727
#include <app/clusters/electrical-energy-measurement-server/electrical-energy-measurement-server.h>
@@ -371,7 +371,8 @@ void EVSEManufacturer::ApplicationCallbackHandler(const EVSECbInfo * cb, intptr_
371371
}
372372
}
373373

374-
int64_t EVSEManufacturer::GetEnergyUse()
374+
// The PowerAdjustEnd event needs to report the approximate energy used by the ESA during the session.
375+
int64_t EVSEManufacturer::GetApproxEnergyDuringSession()
375376
{
376377
return 300;
377378
}
@@ -418,7 +419,7 @@ CHIP_ERROR EVSEManufacturer::HandleDeviceEnergyManagementCancelRequest()
418419
return CHIP_NO_ERROR;
419420
}
420421

421-
CHIP_ERROR EVSEManufacturer::HandleModifyRequest(
422+
CHIP_ERROR EVSEManufacturer::HandleModifyForecastRequest(
422423
const uint32_t forecastID,
423424
const DataModel::DecodableList<DeviceEnergyManagement::Structs::SlotAdjustmentStruct::DecodableType> & slotAdjustments,
424425
AdjustmentCauseEnum cause)

‎examples/energy-management-app/energy-management-common/src/DEMUtils.cpp ‎examples/energy-management-app/energy-management-common/src/EnergyTimeUtils.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
#include <DEMUtils.h>
19+
#include <EnergyTimeUtils.h>
2020
#include <app-common/zap-generated/attributes/Accessors.h>
2121
#include <app-common/zap-generated/cluster-objects.h>
2222
#include <app/EventLogging.h>
@@ -52,7 +52,7 @@ CHIP_ERROR UtilsGetEpochTS(uint32_t & chipEpoch)
5252

5353
if (err != CHIP_NO_ERROR)
5454
{
55-
ChipLogError(Zcl, "EVSE: Unable to get current time - err:%" CHIP_ERROR_FORMAT, err.Format());
55+
ChipLogError(Zcl, "Unable to get current time - err:%" CHIP_ERROR_FORMAT, err.Format());
5656
return err;
5757
}
5858

‎examples/energy-management-app/energy-management-common/src/FakeReadings.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <EVSEManufacturerImpl.h>
2222
#include <EnergyEvseManager.h>
2323

24-
#include <DEMUtils.h>
24+
#include <EnergyTimeUtils.h>
2525
#include <app/clusters/device-energy-management-server/DeviceEnergyManagementTestEventTriggerHandler.h>
2626
#include <app/clusters/electrical-energy-measurement-server/EnergyReportingTestEventTriggerHandler.h>
2727
#include <app/clusters/electrical-energy-measurement-server/electrical-energy-measurement-server.h>

‎examples/energy-management-app/linux/BUILD.gn

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ config("includes") {
3737
executable("chip-energy-management-app") {
3838
sources = [
3939
"${chip_root}/examples/energy-management-app/energy-management-common/src/DEMTestEventTriggers.cpp",
40-
"${chip_root}/examples/energy-management-app/energy-management-common/src/DEMUtils.cpp",
40+
"${chip_root}/examples/energy-management-app/energy-management-common/src/EnergyTimeUtils.cpp",
4141
"${chip_root}/examples/energy-management-app/energy-management-common/src/DeviceEnergyManagementDelegateImpl.cpp",
4242
"${chip_root}/examples/energy-management-app/energy-management-common/src/DeviceEnergyManagementManager.cpp",
4343
"${chip_root}/examples/energy-management-app/energy-management-common/src/EVSEManufacturerImpl.cpp",

‎examples/shell/shell_common/BUILD.gn

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ static_library("shell_common") {
7070
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/smco-stub.cpp",
7171
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/static-supported-modes-manager.cpp",
7272
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/static-supported-temperature-levels.cpp",
73-
"${chip_root}/examples/energy-management-app/energy-management-common/src/DEMUtils.cpp",
73+
"${chip_root}/examples/energy-management-app/energy-management-common/src/EnergyTimeUtils.cpp",
7474
"${chip_root}/examples/energy-management-app/energy-management-common/src/DeviceEnergyManagementDelegateImpl.cpp",
7575
"${chip_root}/examples/energy-management-app/energy-management-common/src/DeviceEnergyManagementManager.cpp",
7676
"${chip_root}/examples/energy-management-app/energy-management-common/src/EVSEManufacturerImpl.cpp",

0 commit comments

Comments
 (0)