diff --git a/examples/air-quality-sensor-app/silabs/build_for_wifi_gnfile.gn b/examples/air-quality-sensor-app/silabs/build_for_wifi_gnfile.gn index d391814190d09f..1d6a71e88dd16f 100644 --- a/examples/air-quality-sensor-app/silabs/build_for_wifi_gnfile.gn +++ b/examples/air-quality-sensor-app/silabs/build_for_wifi_gnfile.gn @@ -24,5 +24,6 @@ default_args = { target_cpu = "arm" target_os = "freertos" chip_enable_wifi = true + chip_device_platform = "SiWx917" import("//build_for_wifi_args.gni") } diff --git a/examples/dishwasher-app/silabs/src/DeviceEnergyManager.cpp b/examples/dishwasher-app/silabs/src/DeviceEnergyManager.cpp index db7bdf853a4946..7c2c4264c33b7b 100644 --- a/examples/dishwasher-app/silabs/src/DeviceEnergyManager.cpp +++ b/examples/dishwasher-app/silabs/src/DeviceEnergyManager.cpp @@ -165,3 +165,12 @@ DeviceEnergyManagementDelegate * DeviceEnergyManager::GetDEMDelegate() { return gDEMDelegate.get(); }; + +/** + * @brief Returns the EndpointID of the DeviceEnergyManagement cluster. + * The energy management cluster assumes this functions is global to be able to leverage it. + */ +EndpointId GetEnergyDeviceEndpointId() +{ + return DataModelHelper::GetEndpointIdFromCluster(DeviceEnergyManagement::Id); +} diff --git a/examples/lit-icd-app/silabs/build_for_wifi_gnfile.gn b/examples/lit-icd-app/silabs/build_for_wifi_gnfile.gn index e00da045338f58..21d7e40dd5bc18 100644 --- a/examples/lit-icd-app/silabs/build_for_wifi_gnfile.gn +++ b/examples/lit-icd-app/silabs/build_for_wifi_gnfile.gn @@ -25,5 +25,6 @@ default_args = { target_cpu = "arm" target_os = "freertos" chip_enable_wifi = true + chip_device_platform = "SiWx917" import("//build_for_wifi_args.gni") } diff --git a/examples/pump-app/silabs/build_for_wifi_gnfile.gn b/examples/pump-app/silabs/build_for_wifi_gnfile.gn index d391814190d09f..1d6a71e88dd16f 100644 --- a/examples/pump-app/silabs/build_for_wifi_gnfile.gn +++ b/examples/pump-app/silabs/build_for_wifi_gnfile.gn @@ -24,5 +24,6 @@ default_args = { target_cpu = "arm" target_os = "freertos" chip_enable_wifi = true + chip_device_platform = "SiWx917" import("//build_for_wifi_args.gni") } diff --git a/examples/refrigerator-app/silabs/src/RefrigeratorUI.cpp b/examples/refrigerator-app/silabs/src/RefrigeratorUI.cpp index f1b7d7698d08fe..4ab188d562e3dd 100644 --- a/examples/refrigerator-app/silabs/src/RefrigeratorUI.cpp +++ b/examples/refrigerator-app/silabs/src/RefrigeratorUI.cpp @@ -28,7 +28,7 @@ // Only needed for wifi NCP devices #if SL_WIFI && !defined(SLI_SI91X_MCU_INTERFACE) -#include +#include #endif // SL_WIFI && !defined(SLI_SI91X_MCU_INTERFACE) // LCD line define diff --git a/examples/smoke-co-alarm-app/silabs/build_for_wifi_gnfile.gn b/examples/smoke-co-alarm-app/silabs/build_for_wifi_gnfile.gn index bf3341592d03c6..6289eee17d044f 100644 --- a/examples/smoke-co-alarm-app/silabs/build_for_wifi_gnfile.gn +++ b/examples/smoke-co-alarm-app/silabs/build_for_wifi_gnfile.gn @@ -24,5 +24,6 @@ default_args = { target_cpu = "arm" target_os = "freertos" chip_enable_wifi = true + chip_device_platform = "SiWx917" import("//build_for_wifi_args.gni") } diff --git a/examples/thermostat/silabs/src/ThermostatUI.cpp b/examples/thermostat/silabs/src/ThermostatUI.cpp index 4ac0263a0c4eb6..dec18f0fe5ec34 100644 --- a/examples/thermostat/silabs/src/ThermostatUI.cpp +++ b/examples/thermostat/silabs/src/ThermostatUI.cpp @@ -27,7 +27,7 @@ // Only needed for wifi NCP devices #if SL_WIFI && !defined(SLI_SI91X_MCU_INTERFACE) -#include +#include #endif // SL_WIFI && !defined(SLI_SI91X_MCU_INTERFACE) // LCD line define diff --git a/src/platform/silabs/multi-ota/OTACustomProcessor.cpp b/src/platform/silabs/multi-ota/OTACustomProcessor.cpp index 852866e94e03cc..5ac02648c09604 100644 --- a/src/platform/silabs/multi-ota/OTACustomProcessor.cpp +++ b/src/platform/silabs/multi-ota/OTACustomProcessor.cpp @@ -23,7 +23,7 @@ #include #if SL_WIFI -#include +#include #endif // SL_WIFI extern "C" { diff --git a/src/platform/silabs/multi-ota/OTAFirmwareProcessor.cpp b/src/platform/silabs/multi-ota/OTAFirmwareProcessor.cpp index 2f1277a311fdca..19abb72585da3a 100644 --- a/src/platform/silabs/multi-ota/OTAFirmwareProcessor.cpp +++ b/src/platform/silabs/multi-ota/OTAFirmwareProcessor.cpp @@ -23,7 +23,7 @@ #include #if SL_WIFI -#include +#include #endif // SL_WIFI extern "C" { diff --git a/src/platform/silabs/multi-ota/OTAMultiImageProcessorImpl.cpp b/src/platform/silabs/multi-ota/OTAMultiImageProcessorImpl.cpp index 85859f29fafde6..a0028541725c69 100644 --- a/src/platform/silabs/multi-ota/OTAMultiImageProcessorImpl.cpp +++ b/src/platform/silabs/multi-ota/OTAMultiImageProcessorImpl.cpp @@ -31,7 +31,7 @@ using namespace ::chip::DeviceLayer::Internal; static chip::OTAMultiImageProcessorImpl gImageProcessor; #if SL_WIFI -#include +#include #endif // SL_WIFI extern "C" {