Batch #15 nodiscard errors: platform-specific: example apps air-chef (#42077)
diff --git a/examples/air-purifier-app/cc32xx/main/AppTask.cpp b/examples/air-purifier-app/cc32xx/main/AppTask.cpp index a65387b..8bc023e 100644 --- a/examples/air-purifier-app/cc32xx/main/AppTask.cpp +++ b/examples/air-purifier-app/cc32xx/main/AppTask.cpp
@@ -125,7 +125,7 @@ // Init Chip memory management before the stack PLAT_LOG("Initialize Memory"); - chip::Platform::MemoryInit(); + TEMPORARY_RETURN_IGNORED chip::Platform::MemoryInit(); // Initialize LEDs PLAT_LOG("Initialize LEDs"); @@ -166,7 +166,7 @@ static chip::CommonCaseDeviceServerInitParams initParams; (void) initParams.InitializeStaticResourcesBeforeServerInit(); initParams.dataModelProvider = CodegenDataModelProviderInstance(initParams.persistentStorageDelegate); - chip::Server::GetInstance().Init(initParams); + TEMPORARY_RETURN_IGNORED chip::Server::GetInstance().Init(initParams); // Initialize device attestation config PLAT_LOG("Initialize device attestation config"); @@ -178,10 +178,10 @@ #endif // init air purifier stuff - SetParentEndpointForEndpoint(AIR_QUALITY_SENSOR_ENDPOINT, AIR_PURIFIER_ENDPOINT); - SetParentEndpointForEndpoint(TEMPERATURE_SENSOR_ENDPOINT, AIR_PURIFIER_ENDPOINT); - SetParentEndpointForEndpoint(RELATIVE_HUMIDITY_SENSOR_ENDPOINT, AIR_PURIFIER_ENDPOINT); - SetParentEndpointForEndpoint(THERMOSTAT_ENDPOINT, AIR_PURIFIER_ENDPOINT); + TEMPORARY_RETURN_IGNORED SetParentEndpointForEndpoint(AIR_QUALITY_SENSOR_ENDPOINT, AIR_PURIFIER_ENDPOINT); + TEMPORARY_RETURN_IGNORED SetParentEndpointForEndpoint(TEMPERATURE_SENSOR_ENDPOINT, AIR_PURIFIER_ENDPOINT); + TEMPORARY_RETURN_IGNORED SetParentEndpointForEndpoint(RELATIVE_HUMIDITY_SENSOR_ENDPOINT, AIR_PURIFIER_ENDPOINT); + TEMPORARY_RETURN_IGNORED SetParentEndpointForEndpoint(THERMOSTAT_ENDPOINT, AIR_PURIFIER_ENDPOINT); AirPurifierManager::InitInstance(EndpointId(AIR_PURIFIER_ENDPOINT), EndpointId(AIR_QUALITY_SENSOR_ENDPOINT), EndpointId(TEMPERATURE_SENSOR_ENDPOINT), EndpointId(RELATIVE_HUMIDITY_SENSOR_ENDPOINT),
diff --git a/examples/air-purifier-app/cc32xx/main/CHIPDeviceManager.cpp b/examples/air-purifier-app/cc32xx/main/CHIPDeviceManager.cpp index 399c527..2347bbe 100644 --- a/examples/air-purifier-app/cc32xx/main/CHIPDeviceManager.cpp +++ b/examples/air-purifier-app/cc32xx/main/CHIPDeviceManager.cpp
@@ -49,7 +49,7 @@ // Register a function to receive events from the CHIP device layer. Note that calls to // this function will happen on the CHIP event loop thread, not the app_main thread. - PlatformMgr().AddEventHandler(CHIPDeviceManager::DeviceEventHandler, reinterpret_cast<intptr_t>(cb)); + TEMPORARY_RETURN_IGNORED PlatformMgr().AddEventHandler(CHIPDeviceManager::DeviceEventHandler, reinterpret_cast<intptr_t>(cb)); // Start a task to run the CHIP Device event loop. return PlatformMgr().StartEventLoopTask();
diff --git a/examples/air-quality-sensor-app/air-quality-sensor-common/src/air-quality-sensor-manager.cpp b/examples/air-quality-sensor-app/air-quality-sensor-common/src/air-quality-sensor-manager.cpp index 5fc8bd8..434139d 100644 --- a/examples/air-quality-sensor-app/air-quality-sensor-common/src/air-quality-sensor-manager.cpp +++ b/examples/air-quality-sensor-app/air-quality-sensor-common/src/air-quality-sensor-manager.cpp
@@ -10,128 +10,131 @@ void AirQualitySensorManager::Init() { // Air Quality - mAirQualityInstance.Init(); + TEMPORARY_RETURN_IGNORED mAirQualityInstance.Init(); mAirQualityInstance.UpdateAirQuality(AirQualityEnum::kGood); // CO2 - mCarbonDioxideConcentrationMeasurementInstance.Init(); - mCarbonDioxideConcentrationMeasurementInstance.SetMinMeasuredValue(MakeNullable(0.0f)); - mCarbonDioxideConcentrationMeasurementInstance.SetMaxMeasuredValue(MakeNullable(1000.0f)); - mCarbonDioxideConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(2.0f)); - mCarbonDioxideConcentrationMeasurementInstance.SetPeakMeasuredValue(MakeNullable(1.0f)); - mCarbonDioxideConcentrationMeasurementInstance.SetPeakMeasuredValueWindow(320); - mCarbonDioxideConcentrationMeasurementInstance.SetAverageMeasuredValue(MakeNullable(1.0f)); - mCarbonDioxideConcentrationMeasurementInstance.SetAverageMeasuredValueWindow(320); - mCarbonDioxideConcentrationMeasurementInstance.SetUncertainty(0.0f); - mCarbonDioxideConcentrationMeasurementInstance.SetLevelValue(LevelValueEnum::kLow); + TEMPORARY_RETURN_IGNORED mCarbonDioxideConcentrationMeasurementInstance.Init(); + TEMPORARY_RETURN_IGNORED mCarbonDioxideConcentrationMeasurementInstance.SetMinMeasuredValue(MakeNullable(0.0f)); + TEMPORARY_RETURN_IGNORED mCarbonDioxideConcentrationMeasurementInstance.SetMaxMeasuredValue(MakeNullable(1000.0f)); + TEMPORARY_RETURN_IGNORED mCarbonDioxideConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(2.0f)); + TEMPORARY_RETURN_IGNORED mCarbonDioxideConcentrationMeasurementInstance.SetPeakMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED mCarbonDioxideConcentrationMeasurementInstance.SetPeakMeasuredValueWindow(320); + TEMPORARY_RETURN_IGNORED mCarbonDioxideConcentrationMeasurementInstance.SetAverageMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED mCarbonDioxideConcentrationMeasurementInstance.SetAverageMeasuredValueWindow(320); + TEMPORARY_RETURN_IGNORED mCarbonDioxideConcentrationMeasurementInstance.SetUncertainty(0.0f); + TEMPORARY_RETURN_IGNORED mCarbonDioxideConcentrationMeasurementInstance.SetLevelValue(LevelValueEnum::kLow); // CO - mCarbonMonoxideConcentrationMeasurementInstance.Init(); - mCarbonMonoxideConcentrationMeasurementInstance.SetMinMeasuredValue(MakeNullable(0.0f)); - mCarbonMonoxideConcentrationMeasurementInstance.SetMaxMeasuredValue(MakeNullable(1000.0f)); - mCarbonMonoxideConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(2.0f)); - mCarbonMonoxideConcentrationMeasurementInstance.SetPeakMeasuredValue(MakeNullable(1.0f)); - mCarbonMonoxideConcentrationMeasurementInstance.SetPeakMeasuredValueWindow(320); - mCarbonMonoxideConcentrationMeasurementInstance.SetAverageMeasuredValue(MakeNullable(1.0f)); - mCarbonMonoxideConcentrationMeasurementInstance.SetAverageMeasuredValueWindow(320); - mCarbonMonoxideConcentrationMeasurementInstance.SetUncertainty(0.0f); - mCarbonMonoxideConcentrationMeasurementInstance.SetLevelValue(LevelValueEnum::kLow); + TEMPORARY_RETURN_IGNORED mCarbonMonoxideConcentrationMeasurementInstance.Init(); + TEMPORARY_RETURN_IGNORED mCarbonMonoxideConcentrationMeasurementInstance.SetMinMeasuredValue(MakeNullable(0.0f)); + TEMPORARY_RETURN_IGNORED mCarbonMonoxideConcentrationMeasurementInstance.SetMaxMeasuredValue(MakeNullable(1000.0f)); + TEMPORARY_RETURN_IGNORED mCarbonMonoxideConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(2.0f)); + TEMPORARY_RETURN_IGNORED mCarbonMonoxideConcentrationMeasurementInstance.SetPeakMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED mCarbonMonoxideConcentrationMeasurementInstance.SetPeakMeasuredValueWindow(320); + TEMPORARY_RETURN_IGNORED mCarbonMonoxideConcentrationMeasurementInstance.SetAverageMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED mCarbonMonoxideConcentrationMeasurementInstance.SetAverageMeasuredValueWindow(320); + TEMPORARY_RETURN_IGNORED mCarbonMonoxideConcentrationMeasurementInstance.SetUncertainty(0.0f); + TEMPORARY_RETURN_IGNORED mCarbonMonoxideConcentrationMeasurementInstance.SetLevelValue(LevelValueEnum::kLow); // NO2 - mNitrogenDioxideConcentrationMeasurementInstance.Init(); - mNitrogenDioxideConcentrationMeasurementInstance.SetMinMeasuredValue(MakeNullable(0.0f)); - mNitrogenDioxideConcentrationMeasurementInstance.SetMaxMeasuredValue(MakeNullable(1000.0f)); - mNitrogenDioxideConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(2.0f)); - mNitrogenDioxideConcentrationMeasurementInstance.SetPeakMeasuredValue(MakeNullable(1.0f)); - mNitrogenDioxideConcentrationMeasurementInstance.SetPeakMeasuredValueWindow(320); - mNitrogenDioxideConcentrationMeasurementInstance.SetAverageMeasuredValue(MakeNullable(1.0f)); - mNitrogenDioxideConcentrationMeasurementInstance.SetAverageMeasuredValueWindow(320); - mNitrogenDioxideConcentrationMeasurementInstance.SetUncertainty(0.0f); - mNitrogenDioxideConcentrationMeasurementInstance.SetLevelValue(LevelValueEnum::kLow); + TEMPORARY_RETURN_IGNORED mNitrogenDioxideConcentrationMeasurementInstance.Init(); + TEMPORARY_RETURN_IGNORED mNitrogenDioxideConcentrationMeasurementInstance.SetMinMeasuredValue(MakeNullable(0.0f)); + TEMPORARY_RETURN_IGNORED mNitrogenDioxideConcentrationMeasurementInstance.SetMaxMeasuredValue(MakeNullable(1000.0f)); + TEMPORARY_RETURN_IGNORED mNitrogenDioxideConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(2.0f)); + TEMPORARY_RETURN_IGNORED mNitrogenDioxideConcentrationMeasurementInstance.SetPeakMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED mNitrogenDioxideConcentrationMeasurementInstance.SetPeakMeasuredValueWindow(320); + TEMPORARY_RETURN_IGNORED mNitrogenDioxideConcentrationMeasurementInstance.SetAverageMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED mNitrogenDioxideConcentrationMeasurementInstance.SetAverageMeasuredValueWindow(320); + TEMPORARY_RETURN_IGNORED mNitrogenDioxideConcentrationMeasurementInstance.SetUncertainty(0.0f); + TEMPORARY_RETURN_IGNORED mNitrogenDioxideConcentrationMeasurementInstance.SetLevelValue(LevelValueEnum::kLow); // PM1 - mPm1ConcentrationMeasurementInstance.Init(); - mPm1ConcentrationMeasurementInstance.SetMinMeasuredValue(MakeNullable(0.0f)); - mPm1ConcentrationMeasurementInstance.SetMaxMeasuredValue(MakeNullable(1000.0f)); - mPm1ConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(2.0f)); - mPm1ConcentrationMeasurementInstance.SetPeakMeasuredValue(MakeNullable(1.0f)); - mPm1ConcentrationMeasurementInstance.SetPeakMeasuredValueWindow(320); - mPm1ConcentrationMeasurementInstance.SetAverageMeasuredValue(MakeNullable(1.0f)); - mPm1ConcentrationMeasurementInstance.SetAverageMeasuredValueWindow(320); - mPm1ConcentrationMeasurementInstance.SetUncertainty(0.0f); - mPm1ConcentrationMeasurementInstance.SetLevelValue(LevelValueEnum::kLow); + TEMPORARY_RETURN_IGNORED mPm1ConcentrationMeasurementInstance.Init(); + TEMPORARY_RETURN_IGNORED mPm1ConcentrationMeasurementInstance.SetMinMeasuredValue(MakeNullable(0.0f)); + TEMPORARY_RETURN_IGNORED mPm1ConcentrationMeasurementInstance.SetMaxMeasuredValue(MakeNullable(1000.0f)); + TEMPORARY_RETURN_IGNORED mPm1ConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(2.0f)); + TEMPORARY_RETURN_IGNORED mPm1ConcentrationMeasurementInstance.SetPeakMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED mPm1ConcentrationMeasurementInstance.SetPeakMeasuredValueWindow(320); + TEMPORARY_RETURN_IGNORED mPm1ConcentrationMeasurementInstance.SetAverageMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED mPm1ConcentrationMeasurementInstance.SetAverageMeasuredValueWindow(320); + TEMPORARY_RETURN_IGNORED mPm1ConcentrationMeasurementInstance.SetUncertainty(0.0f); + TEMPORARY_RETURN_IGNORED mPm1ConcentrationMeasurementInstance.SetLevelValue(LevelValueEnum::kLow); // PM10 - mPm10ConcentrationMeasurementInstance.Init(); - mPm10ConcentrationMeasurementInstance.SetMinMeasuredValue(MakeNullable(0.0f)); - mPm10ConcentrationMeasurementInstance.SetMaxMeasuredValue(MakeNullable(1000.0f)); - mPm10ConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(2.0f)); - mPm10ConcentrationMeasurementInstance.SetPeakMeasuredValue(MakeNullable(1.0f)); - mPm10ConcentrationMeasurementInstance.SetPeakMeasuredValueWindow(320); - mPm10ConcentrationMeasurementInstance.SetAverageMeasuredValue(MakeNullable(1.0f)); - mPm10ConcentrationMeasurementInstance.SetAverageMeasuredValueWindow(320); - mPm10ConcentrationMeasurementInstance.SetUncertainty(0.0f); - mPm10ConcentrationMeasurementInstance.SetLevelValue(LevelValueEnum::kLow); + TEMPORARY_RETURN_IGNORED mPm10ConcentrationMeasurementInstance.Init(); + TEMPORARY_RETURN_IGNORED mPm10ConcentrationMeasurementInstance.SetMinMeasuredValue(MakeNullable(0.0f)); + TEMPORARY_RETURN_IGNORED mPm10ConcentrationMeasurementInstance.SetMaxMeasuredValue(MakeNullable(1000.0f)); + TEMPORARY_RETURN_IGNORED mPm10ConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(2.0f)); + TEMPORARY_RETURN_IGNORED mPm10ConcentrationMeasurementInstance.SetPeakMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED mPm10ConcentrationMeasurementInstance.SetPeakMeasuredValueWindow(320); + TEMPORARY_RETURN_IGNORED mPm10ConcentrationMeasurementInstance.SetAverageMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED mPm10ConcentrationMeasurementInstance.SetAverageMeasuredValueWindow(320); + TEMPORARY_RETURN_IGNORED mPm10ConcentrationMeasurementInstance.SetUncertainty(0.0f); + TEMPORARY_RETURN_IGNORED mPm10ConcentrationMeasurementInstance.SetLevelValue(LevelValueEnum::kLow); // PM2.5 - mPm25ConcentrationMeasurementInstance.Init(); - mPm25ConcentrationMeasurementInstance.SetMinMeasuredValue(MakeNullable(0.0f)); - mPm25ConcentrationMeasurementInstance.SetMaxMeasuredValue(MakeNullable(1000.0f)); - mPm25ConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(2.0f)); - mPm25ConcentrationMeasurementInstance.SetPeakMeasuredValue(MakeNullable(1.0f)); - mPm25ConcentrationMeasurementInstance.SetPeakMeasuredValueWindow(320); - mPm25ConcentrationMeasurementInstance.SetAverageMeasuredValue(MakeNullable(1.0f)); - mPm25ConcentrationMeasurementInstance.SetAverageMeasuredValueWindow(320); - mPm25ConcentrationMeasurementInstance.SetUncertainty(0.0f); - mPm25ConcentrationMeasurementInstance.SetLevelValue(LevelValueEnum::kLow); + TEMPORARY_RETURN_IGNORED mPm25ConcentrationMeasurementInstance.Init(); + TEMPORARY_RETURN_IGNORED mPm25ConcentrationMeasurementInstance.SetMinMeasuredValue(MakeNullable(0.0f)); + TEMPORARY_RETURN_IGNORED mPm25ConcentrationMeasurementInstance.SetMaxMeasuredValue(MakeNullable(1000.0f)); + TEMPORARY_RETURN_IGNORED mPm25ConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(2.0f)); + TEMPORARY_RETURN_IGNORED mPm25ConcentrationMeasurementInstance.SetPeakMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED mPm25ConcentrationMeasurementInstance.SetPeakMeasuredValueWindow(320); + TEMPORARY_RETURN_IGNORED mPm25ConcentrationMeasurementInstance.SetAverageMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED mPm25ConcentrationMeasurementInstance.SetAverageMeasuredValueWindow(320); + TEMPORARY_RETURN_IGNORED mPm25ConcentrationMeasurementInstance.SetUncertainty(0.0f); + TEMPORARY_RETURN_IGNORED mPm25ConcentrationMeasurementInstance.SetLevelValue(LevelValueEnum::kLow); // Radon - mRadonConcentrationMeasurementInstance.Init(); - mRadonConcentrationMeasurementInstance.SetMinMeasuredValue(MakeNullable(0.0f)); - mRadonConcentrationMeasurementInstance.SetMaxMeasuredValue(MakeNullable(1000.0f)); - mRadonConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(2.0f)); - mRadonConcentrationMeasurementInstance.SetPeakMeasuredValue(MakeNullable(1.0f)); - mRadonConcentrationMeasurementInstance.SetPeakMeasuredValueWindow(320); - mRadonConcentrationMeasurementInstance.SetAverageMeasuredValue(MakeNullable(1.0f)); - mRadonConcentrationMeasurementInstance.SetAverageMeasuredValueWindow(320); - mRadonConcentrationMeasurementInstance.SetUncertainty(0.0f); - mRadonConcentrationMeasurementInstance.SetLevelValue(LevelValueEnum::kLow); + TEMPORARY_RETURN_IGNORED mRadonConcentrationMeasurementInstance.Init(); + TEMPORARY_RETURN_IGNORED mRadonConcentrationMeasurementInstance.SetMinMeasuredValue(MakeNullable(0.0f)); + TEMPORARY_RETURN_IGNORED mRadonConcentrationMeasurementInstance.SetMaxMeasuredValue(MakeNullable(1000.0f)); + TEMPORARY_RETURN_IGNORED mRadonConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(2.0f)); + TEMPORARY_RETURN_IGNORED mRadonConcentrationMeasurementInstance.SetPeakMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED mRadonConcentrationMeasurementInstance.SetPeakMeasuredValueWindow(320); + TEMPORARY_RETURN_IGNORED mRadonConcentrationMeasurementInstance.SetAverageMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED mRadonConcentrationMeasurementInstance.SetAverageMeasuredValueWindow(320); + TEMPORARY_RETURN_IGNORED mRadonConcentrationMeasurementInstance.SetUncertainty(0.0f); + TEMPORARY_RETURN_IGNORED mRadonConcentrationMeasurementInstance.SetLevelValue(LevelValueEnum::kLow); // TVOC - mTotalVolatileOrganicCompoundsConcentrationMeasurementInstance.Init(); - mTotalVolatileOrganicCompoundsConcentrationMeasurementInstance.SetMinMeasuredValue(MakeNullable(0.0f)); - mTotalVolatileOrganicCompoundsConcentrationMeasurementInstance.SetMaxMeasuredValue(MakeNullable(1000.0f)); - mTotalVolatileOrganicCompoundsConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(2.0f)); - mTotalVolatileOrganicCompoundsConcentrationMeasurementInstance.SetPeakMeasuredValue(MakeNullable(1.0f)); - mTotalVolatileOrganicCompoundsConcentrationMeasurementInstance.SetPeakMeasuredValueWindow(320); - mTotalVolatileOrganicCompoundsConcentrationMeasurementInstance.SetAverageMeasuredValue(MakeNullable(1.0f)); - mTotalVolatileOrganicCompoundsConcentrationMeasurementInstance.SetAverageMeasuredValueWindow(320); - mTotalVolatileOrganicCompoundsConcentrationMeasurementInstance.SetUncertainty(0.0f); - mTotalVolatileOrganicCompoundsConcentrationMeasurementInstance.SetLevelValue(LevelValueEnum::kLow); + TEMPORARY_RETURN_IGNORED mTotalVolatileOrganicCompoundsConcentrationMeasurementInstance.Init(); + TEMPORARY_RETURN_IGNORED mTotalVolatileOrganicCompoundsConcentrationMeasurementInstance.SetMinMeasuredValue(MakeNullable(0.0f)); + TEMPORARY_RETURN_IGNORED mTotalVolatileOrganicCompoundsConcentrationMeasurementInstance.SetMaxMeasuredValue( + MakeNullable(1000.0f)); + TEMPORARY_RETURN_IGNORED mTotalVolatileOrganicCompoundsConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(2.0f)); + TEMPORARY_RETURN_IGNORED mTotalVolatileOrganicCompoundsConcentrationMeasurementInstance.SetPeakMeasuredValue( + MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED mTotalVolatileOrganicCompoundsConcentrationMeasurementInstance.SetPeakMeasuredValueWindow(320); + TEMPORARY_RETURN_IGNORED mTotalVolatileOrganicCompoundsConcentrationMeasurementInstance.SetAverageMeasuredValue( + MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED mTotalVolatileOrganicCompoundsConcentrationMeasurementInstance.SetAverageMeasuredValueWindow(320); + TEMPORARY_RETURN_IGNORED mTotalVolatileOrganicCompoundsConcentrationMeasurementInstance.SetUncertainty(0.0f); + TEMPORARY_RETURN_IGNORED mTotalVolatileOrganicCompoundsConcentrationMeasurementInstance.SetLevelValue(LevelValueEnum::kLow); // Ozone - mOzoneConcentrationMeasurementInstance.Init(); - mOzoneConcentrationMeasurementInstance.SetMinMeasuredValue(MakeNullable(0.0f)); - mOzoneConcentrationMeasurementInstance.SetMaxMeasuredValue(MakeNullable(1000.0f)); - mOzoneConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(2.0f)); - mOzoneConcentrationMeasurementInstance.SetPeakMeasuredValue(MakeNullable(1.0f)); - mOzoneConcentrationMeasurementInstance.SetPeakMeasuredValueWindow(320); - mOzoneConcentrationMeasurementInstance.SetAverageMeasuredValue(MakeNullable(1.0f)); - mOzoneConcentrationMeasurementInstance.SetAverageMeasuredValueWindow(320); - mOzoneConcentrationMeasurementInstance.SetUncertainty(0.0f); - mOzoneConcentrationMeasurementInstance.SetLevelValue(LevelValueEnum::kLow); + TEMPORARY_RETURN_IGNORED mOzoneConcentrationMeasurementInstance.Init(); + TEMPORARY_RETURN_IGNORED mOzoneConcentrationMeasurementInstance.SetMinMeasuredValue(MakeNullable(0.0f)); + TEMPORARY_RETURN_IGNORED mOzoneConcentrationMeasurementInstance.SetMaxMeasuredValue(MakeNullable(1000.0f)); + TEMPORARY_RETURN_IGNORED mOzoneConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(2.0f)); + TEMPORARY_RETURN_IGNORED mOzoneConcentrationMeasurementInstance.SetPeakMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED mOzoneConcentrationMeasurementInstance.SetPeakMeasuredValueWindow(320); + TEMPORARY_RETURN_IGNORED mOzoneConcentrationMeasurementInstance.SetAverageMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED mOzoneConcentrationMeasurementInstance.SetAverageMeasuredValueWindow(320); + TEMPORARY_RETURN_IGNORED mOzoneConcentrationMeasurementInstance.SetUncertainty(0.0f); + TEMPORARY_RETURN_IGNORED mOzoneConcentrationMeasurementInstance.SetLevelValue(LevelValueEnum::kLow); // Formaldehyde - mFormaldehydeConcentrationMeasurementInstance.Init(); - mFormaldehydeConcentrationMeasurementInstance.SetMinMeasuredValue(MakeNullable(0.0f)); - mFormaldehydeConcentrationMeasurementInstance.SetMaxMeasuredValue(MakeNullable(1000.0f)); - mFormaldehydeConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(2.0f)); - mFormaldehydeConcentrationMeasurementInstance.SetPeakMeasuredValue(MakeNullable(1.0f)); - mFormaldehydeConcentrationMeasurementInstance.SetPeakMeasuredValueWindow(320); - mFormaldehydeConcentrationMeasurementInstance.SetAverageMeasuredValue(MakeNullable(1.0f)); - mFormaldehydeConcentrationMeasurementInstance.SetAverageMeasuredValueWindow(320); - mFormaldehydeConcentrationMeasurementInstance.SetUncertainty(0.0f); - mFormaldehydeConcentrationMeasurementInstance.SetLevelValue(LevelValueEnum::kLow); + TEMPORARY_RETURN_IGNORED mFormaldehydeConcentrationMeasurementInstance.Init(); + TEMPORARY_RETURN_IGNORED mFormaldehydeConcentrationMeasurementInstance.SetMinMeasuredValue(MakeNullable(0.0f)); + TEMPORARY_RETURN_IGNORED mFormaldehydeConcentrationMeasurementInstance.SetMaxMeasuredValue(MakeNullable(1000.0f)); + TEMPORARY_RETURN_IGNORED mFormaldehydeConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(2.0f)); + TEMPORARY_RETURN_IGNORED mFormaldehydeConcentrationMeasurementInstance.SetPeakMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED mFormaldehydeConcentrationMeasurementInstance.SetPeakMeasuredValueWindow(320); + TEMPORARY_RETURN_IGNORED mFormaldehydeConcentrationMeasurementInstance.SetAverageMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED mFormaldehydeConcentrationMeasurementInstance.SetAverageMeasuredValueWindow(320); + TEMPORARY_RETURN_IGNORED mFormaldehydeConcentrationMeasurementInstance.SetUncertainty(0.0f); + TEMPORARY_RETURN_IGNORED mFormaldehydeConcentrationMeasurementInstance.SetLevelValue(LevelValueEnum::kLow); } AirQualityEnum AirQualitySensorManager::GetAirQuality() @@ -147,61 +150,62 @@ void AirQualitySensorManager::OnCarbonDioxideMeasurementChangeHandler(float newValue) { - mCarbonDioxideConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(newValue)); + TEMPORARY_RETURN_IGNORED mCarbonDioxideConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(newValue)); ChipLogDetail(NotSpecified, "Updated Carbon Dioxide: %f", newValue); } void AirQualitySensorManager::OnCarbonMonoxideMeasurementChangeHandler(float newValue) { - mCarbonMonoxideConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(newValue)); + TEMPORARY_RETURN_IGNORED mCarbonMonoxideConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(newValue)); ChipLogDetail(NotSpecified, "Updated Carbon Monoxide value: %f", newValue); } void AirQualitySensorManager::OnNitrogenDioxideMeasurementChangeHandler(float newValue) { - mNitrogenDioxideConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(newValue)); + TEMPORARY_RETURN_IGNORED mNitrogenDioxideConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(newValue)); ChipLogDetail(NotSpecified, "Updated Nitrogen Dioxide value: %f", newValue); } void AirQualitySensorManager::OnPm1MeasurementChangeHandler(float newValue) { - mPm1ConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(newValue)); + TEMPORARY_RETURN_IGNORED mPm1ConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(newValue)); ChipLogDetail(NotSpecified, "Updated PM1 value: %f", newValue); } void AirQualitySensorManager::OnPm10MeasurementChangeHandler(float newValue) { - mPm10ConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(newValue)); + TEMPORARY_RETURN_IGNORED mPm10ConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(newValue)); ChipLogDetail(NotSpecified, "Updated PM10 value: %f", newValue); } void AirQualitySensorManager::OnPm25MeasurementChangeHandler(float newValue) { - mPm25ConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(newValue)); + TEMPORARY_RETURN_IGNORED mPm25ConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(newValue)); ChipLogDetail(NotSpecified, "Updated PM2.5 value: %f", newValue); } void AirQualitySensorManager::OnRadonMeasurementChangeHandler(float newValue) { - mRadonConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(newValue)); + TEMPORARY_RETURN_IGNORED mRadonConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(newValue)); ChipLogDetail(NotSpecified, "Updated Radon value: %f", newValue); } void AirQualitySensorManager::OnTotalVolatileOrganicCompoundsMeasurementChangeHandler(float newValue) { - mTotalVolatileOrganicCompoundsConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(newValue)); + TEMPORARY_RETURN_IGNORED mTotalVolatileOrganicCompoundsConcentrationMeasurementInstance.SetMeasuredValue( + MakeNullable(newValue)); ChipLogDetail(NotSpecified, "Updated Total Volatile Organic Compounds value: %f", newValue); } void AirQualitySensorManager::OnOzoneMeasurementChangeHandler(float newValue) { - mOzoneConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(newValue)); + TEMPORARY_RETURN_IGNORED mOzoneConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(newValue)); ChipLogDetail(NotSpecified, "Updated Ozone value: %f", newValue); } void AirQualitySensorManager::OnFormaldehydeMeasurementChangeHandler(float newValue) { - mFormaldehydeConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(newValue)); + TEMPORARY_RETURN_IGNORED mFormaldehydeConcentrationMeasurementInstance.SetMeasuredValue(MakeNullable(newValue)); ChipLogDetail(NotSpecified, "Updated Formaldehyde value: %f", newValue); }
diff --git a/examples/air-quality-sensor-app/silabs/src/SensorManager.cpp b/examples/air-quality-sensor-app/silabs/src/SensorManager.cpp index 209cd3b..b9cd144 100644 --- a/examples/air-quality-sensor-app/silabs/src/SensorManager.cpp +++ b/examples/air-quality-sensor-app/silabs/src/SensorManager.cpp
@@ -104,7 +104,7 @@ CHIP_ERROR SensorManager::Init() { - DeviceLayer::PlatformMgr().ScheduleWork(InitAirQualitySensorManager); + TEMPORARY_RETURN_IGNORED DeviceLayer::PlatformMgr().ScheduleWork(InitAirQualitySensorManager); // Create cmsisos sw timer for air quality sensor timer. mSensorTimer = osTimerNew(SensorTimerEventHandler, osTimerPeriodic, nullptr, nullptr); if (mSensorTimer == NULL) @@ -176,5 +176,6 @@ #endif // USE_AIR_QUALITY_SENSOR // create pointer for the int32_t air_quality int32_t * air_quality_ptr = new int32_t(air_quality); - DeviceLayer::PlatformMgr().ScheduleWork(writeAirQualityToAttribute, reinterpret_cast<intptr_t>(air_quality_ptr)); + TEMPORARY_RETURN_IGNORED DeviceLayer::PlatformMgr().ScheduleWork(writeAirQualityToAttribute, + reinterpret_cast<intptr_t>(air_quality_ptr)); }
diff --git a/examples/air-quality-sensor-app/telink/src/AppTask.cpp b/examples/air-quality-sensor-app/telink/src/AppTask.cpp index da0f80e..efa224b 100644 --- a/examples/air-quality-sensor-app/telink/src/AppTask.cpp +++ b/examples/air-quality-sensor-app/telink/src/AppTask.cpp
@@ -38,7 +38,7 @@ CHIP_ERROR err; SetExampleButtonCallbacks(AirQualitySensorUpdateTimerEventHandler); - InitCommonParts(); + TEMPORARY_RETURN_IGNORED InitCommonParts(); err = SensorMgr().Init(); if (err != CHIP_NO_ERROR)
diff --git a/examples/all-clusters-app/all-clusters-common/src/binding-handler.cpp b/examples/all-clusters-app/all-clusters-common/src/binding-handler.cpp index c5050ad..3ea2491 100644 --- a/examples/all-clusters-app/all-clusters-common/src/binding-handler.cpp +++ b/examples/all-clusters-app/all-clusters-common/src/binding-handler.cpp
@@ -42,7 +42,7 @@ static void ToggleSwitchOnOff(bool newState) { sSwitchOnOffState = newState; - Binding::Manager::GetInstance().NotifyBoundClusterChanged(1, OnOff::Id, nullptr); + TEMPORARY_RETURN_IGNORED Binding::Manager::GetInstance().NotifyBoundClusterChanged(1, OnOff::Id, nullptr); } static CHIP_ERROR SwitchCommandHandler(int argc, char ** argv)
diff --git a/examples/all-clusters-app/asr/src/AppTask.cpp b/examples/all-clusters-app/asr/src/AppTask.cpp index bf9b5b3..a264b4e 100644 --- a/examples/all-clusters-app/asr/src/AppTask.cpp +++ b/examples/all-clusters-app/asr/src/AppTask.cpp
@@ -74,7 +74,7 @@ void NetWorkCommissioningInstInit() { - sWiFiNetworkCommissioningInstance.Init(); + TEMPORARY_RETURN_IGNORED sWiFiNetworkCommissioningInstance.Init(); // We only have network commissioning on endpoint 0. emberAfEndpointEnableDisable(kNetworkCommissioningEndpointSecondary, false);
diff --git a/examples/all-clusters-app/asr/src/DeviceCallbacks.cpp b/examples/all-clusters-app/asr/src/DeviceCallbacks.cpp index 459b3e9..a57f521 100644 --- a/examples/all-clusters-app/asr/src/DeviceCallbacks.cpp +++ b/examples/all-clusters-app/asr/src/DeviceCallbacks.cpp
@@ -246,7 +246,8 @@ { if (identifyTimerCount) { - systemLayer->StartTimer(Clock::Milliseconds32(kIdentifyTimerDelayMS), IdentifyTimerHandler, appState); + TEMPORARY_RETURN_IGNORED systemLayer->StartTimer(Clock::Milliseconds32(kIdentifyTimerDelayMS), IdentifyTimerHandler, + appState); identifyTimerCount--; } } @@ -263,7 +264,8 @@ identifyTimerCount = (*value) * 4; DeviceLayer::SystemLayer().CancelTimer(IdentifyTimerHandler, this); - DeviceLayer::SystemLayer().StartTimer(Clock::Milliseconds32(kIdentifyTimerDelayMS), IdentifyTimerHandler, this); + TEMPORARY_RETURN_IGNORED DeviceLayer::SystemLayer().StartTimer(Clock::Milliseconds32(kIdentifyTimerDelayMS), + IdentifyTimerHandler, this); exit: return; }
diff --git a/examples/all-clusters-app/asr/src/main.cpp b/examples/all-clusters-app/asr/src/main.cpp index 9804886..2cc8e20 100644 --- a/examples/all-clusters-app/asr/src/main.cpp +++ b/examples/all-clusters-app/asr/src/main.cpp
@@ -77,7 +77,7 @@ vTaskStartScheduler(); chip::Platform::MemoryShutdown(); - PlatformMgr().StopEventLoopTask(); + TEMPORARY_RETURN_IGNORED PlatformMgr().StopEventLoopTask(); PlatformMgr().Shutdown(); // Should never get here.
diff --git a/examples/all-clusters-app/esp32/main/include/DeviceCallbacks.h b/examples/all-clusters-app/esp32/main/include/DeviceCallbacks.h index 319bba7..76a3e80 100644 --- a/examples/all-clusters-app/esp32/main/include/DeviceCallbacks.h +++ b/examples/all-clusters-app/esp32/main/include/DeviceCallbacks.h
@@ -61,5 +61,5 @@ public: void OnIPv4ConnectivityEstablished(void) override; void OnIPv4ConnectivityLost(void) override; - void OnDnssdInitialized(void) override { InitBindingHandlers(); } + void OnDnssdInitialized(void) override { TEMPORARY_RETURN_IGNORED InitBindingHandlers(); } };
diff --git a/examples/all-clusters-app/esp32/main/include/ShellCommands.h b/examples/all-clusters-app/esp32/main/include/ShellCommands.h index b2d6b97..88cbef0 100644 --- a/examples/all-clusters-app/esp32/main/include/ShellCommands.h +++ b/examples/all-clusters-app/esp32/main/include/ShellCommands.h
@@ -180,7 +180,8 @@ streamer_printf(streamer_get(), "Try to establish CaseSession to NodeId:0x" ChipLogFormatX64 " on fabric index %d\r\n", ChipLogValueX64(GetInstance().GetNodeId()), fabricIndex); GetInstance().SetOnConnecting(true); - chip::DeviceLayer::PlatformMgr().ScheduleWork(ConnectToNode, reinterpret_cast<intptr_t>(&GetInstance())); + TEMPORARY_RETURN_IGNORED chip::DeviceLayer::PlatformMgr().ScheduleWork(ConnectToNode, + reinterpret_cast<intptr_t>(&GetInstance())); return CHIP_NO_ERROR; }
diff --git a/examples/all-clusters-app/esp32/main/main.cpp b/examples/all-clusters-app/esp32/main/main.cpp index c2b0dbe..8afaa1a 100644 --- a/examples/all-clusters-app/esp32/main/main.cpp +++ b/examples/all-clusters-app/esp32/main/main.cpp
@@ -210,7 +210,7 @@ ESP_LOGE(TAG, "GetAppTask().StartAppTask() failed : %" CHIP_ERROR_FORMAT, error.Format()); } - chip::DeviceLayer::PlatformMgr().ScheduleWork(InitServer, reinterpret_cast<intptr_t>(nullptr)); + TEMPORARY_RETURN_IGNORED chip::DeviceLayer::PlatformMgr().ScheduleWork(InitServer, reinterpret_cast<intptr_t>(nullptr)); } bool lowPowerClusterSleep()
diff --git a/examples/all-clusters-app/infineon/psoc6/src/AppTask.cpp b/examples/all-clusters-app/infineon/psoc6/src/AppTask.cpp index ad63cf5..e0844ab 100644 --- a/examples/all-clusters-app/infineon/psoc6/src/AppTask.cpp +++ b/examples/all-clusters-app/infineon/psoc6/src/AppTask.cpp
@@ -122,7 +122,7 @@ void NetWorkCommissioningInstInit() { - sWiFiNetworkCommissioningInstance.Init(); + TEMPORARY_RETURN_IGNORED sWiFiNetworkCommissioningInstance.Init(); } static void InitServer(intptr_t context) @@ -131,7 +131,7 @@ static chip::CommonCaseDeviceServerInitParams initParams; (void) initParams.InitializeStaticResourcesBeforeServerInit(); initParams.dataModelProvider = app::CodegenDataModelProviderInstance(initParams.persistentStorageDelegate); - chip::Server::GetInstance().Init(initParams); + TEMPORARY_RETURN_IGNORED chip::Server::GetInstance().Init(initParams); // We only have network commissioning on endpoint 0. emberAfEndpointEnableDisable(kNetworkCommissioningEndpointSecondary, false); @@ -173,7 +173,7 @@ } #endif // Register the callback to init the MDNS server when connectivity is available - PlatformMgr().AddEventHandler( + TEMPORARY_RETURN_IGNORED PlatformMgr().AddEventHandler( [](const ChipDeviceEvent * event, intptr_t arg) { // Restart the server whenever an ip address is renewed if (event->Type == DeviceEventType::kInternetConnectivityChange) @@ -187,7 +187,7 @@ }, 0); - chip::DeviceLayer::PlatformMgr().ScheduleWork(InitServer, reinterpret_cast<intptr_t>(nullptr)); + TEMPORARY_RETURN_IGNORED chip::DeviceLayer::PlatformMgr().ScheduleWork(InitServer, reinterpret_cast<intptr_t>(nullptr)); // Initialise WSTK buttons PB0 and PB1 (including debounce). ButtonHandler::Init(); @@ -249,7 +249,8 @@ sLightLED.Invert(); /* Update OnOff Cluster state */ - chip::DeviceLayer::PlatformMgr().ScheduleWork(OnOffUpdateClusterState, reinterpret_cast<intptr_t>(nullptr)); + TEMPORARY_RETURN_IGNORED chip::DeviceLayer::PlatformMgr().ScheduleWork(OnOffUpdateClusterState, + reinterpret_cast<intptr_t>(nullptr)); } void AppTask::ButtonEventHandler(uint8_t btnIdx, uint8_t btnAction)
diff --git a/examples/all-clusters-app/infineon/psoc6/src/ClusterManager.cpp b/examples/all-clusters-app/infineon/psoc6/src/ClusterManager.cpp index caf1ac8..48e1832 100644 --- a/examples/all-clusters-app/infineon/psoc6/src/ClusterManager.cpp +++ b/examples/all-clusters-app/infineon/psoc6/src/ClusterManager.cpp
@@ -127,7 +127,8 @@ if (identifyTimerCount) { - systemLayer->StartTimer(Clock::Milliseconds32(kIdentifyTimerDelayMS), IdentifyTimerHandler, appState); + TEMPORARY_RETURN_IGNORED systemLayer->StartTimer(Clock::Milliseconds32(kIdentifyTimerDelayMS), IdentifyTimerHandler, + appState); // Decrement the timer count. identifyTimerCount--; } @@ -148,7 +149,8 @@ identifyTimerCount = (*value) * 4; DeviceLayer::SystemLayer().CancelTimer(IdentifyTimerHandler, this); - DeviceLayer::SystemLayer().StartTimer(Clock::Milliseconds32(kIdentifyTimerDelayMS), IdentifyTimerHandler, this); + TEMPORARY_RETURN_IGNORED DeviceLayer::SystemLayer().StartTimer(Clock::Milliseconds32(kIdentifyTimerDelayMS), + IdentifyTimerHandler, this); exit: return;
diff --git a/examples/all-clusters-app/infineon/psoc6/src/main.cpp b/examples/all-clusters-app/infineon/psoc6/src/main.cpp index 2344f38..893707d 100644 --- a/examples/all-clusters-app/infineon/psoc6/src/main.cpp +++ b/examples/all-clusters-app/infineon/psoc6/src/main.cpp
@@ -79,7 +79,7 @@ extern "C" void vApplicationDaemonTaskStartupHook() { // Init Chip memory management before the stack - chip::Platform::MemoryInit(); + TEMPORARY_RETURN_IGNORED chip::Platform::MemoryInit(); /* Create the Main task. */ xTaskCreate(main_task, "Main task", MAIN_TASK_STACK_SIZE, NULL, MAIN_TASK_PRIORITY, NULL); @@ -150,7 +150,7 @@ vTaskStartScheduler(); chip::Platform::MemoryShutdown(); - PlatformMgr().StopEventLoopTask(); + TEMPORARY_RETURN_IGNORED PlatformMgr().StopEventLoopTask(); PlatformMgr().Shutdown(); // Should never get here.
diff --git a/examples/all-clusters-app/nrfconnect/main/AppTask.cpp b/examples/all-clusters-app/nrfconnect/main/AppTask.cpp index 76f5c78..e92ee80 100644 --- a/examples/all-clusters-app/nrfconnect/main/AppTask.cpp +++ b/examples/all-clusters-app/nrfconnect/main/AppTask.cpp
@@ -184,7 +184,7 @@ return err; } - sThreadNetworkDriver.Init(); + TEMPORARY_RETURN_IGNORED sThreadNetworkDriver.Init(); #elif defined(CONFIG_CHIP_WIFI) sWiFiCommissioningInstance.Init(); #else @@ -290,7 +290,7 @@ // Add CHIP event handler and start CHIP thread. // Note that all the initialization code should happen prior to this point to avoid data races // between the main and the CHIP threads - PlatformMgr().AddEventHandler(ChipEventHandler, 0); + TEMPORARY_RETURN_IGNORED PlatformMgr().AddEventHandler(ChipEventHandler, 0); err = PlatformMgr().StartEventLoopTask(); if (err != CHIP_NO_ERROR) { @@ -540,7 +540,7 @@ } else if (event->CHIPoBLEAdvertisingChange.Result == kActivity_Stopped) { - NFCOnboardingPayloadMgr().StopTagEmulation(); + TEMPORARY_RETURN_IGNORED NFCOnboardingPayloadMgr().StopTagEmulation(); } #endif sHaveBLEConnections = ConnectivityMgr().NumBLEConnections() != 0;
diff --git a/examples/all-clusters-app/tizen/src/main.cpp b/examples/all-clusters-app/tizen/src/main.cpp index 191138c..9f58b45 100644 --- a/examples/all-clusters-app/tizen/src/main.cpp +++ b/examples/all-clusters-app/tizen/src/main.cpp
@@ -49,7 +49,7 @@ // Enable secondary endpoint only when we need it. emberAfEndpointEnableDisable(kNetworkCommissioningEndpointSecondary, false); - sEthernetNetworkCommissioningInstance.Init(); + SuccessOrDie(sEthernetNetworkCommissioningInstance.Init()); app::Clusters::TemperatureControl::SetInstance(&sAppSupportedTemperatureLevelsDelegate); Clusters::ModeSelect::setSupportedModesManager(&sStaticSupportedModesManager); } @@ -61,7 +61,7 @@ TizenServiceAppMain app; VerifyOrDie(app.Init(argc, argv) == 0); - VerifyOrDie(InitBindingHandlers() == CHIP_NO_ERROR); + SuccessOrDie(InitBindingHandlers()); return app.RunMainLoop(); }
diff --git a/examples/all-clusters-minimal-app/asr/src/AppTask.cpp b/examples/all-clusters-minimal-app/asr/src/AppTask.cpp index b9cf8ca..93c7160 100644 --- a/examples/all-clusters-minimal-app/asr/src/AppTask.cpp +++ b/examples/all-clusters-minimal-app/asr/src/AppTask.cpp
@@ -71,7 +71,7 @@ void NetWorkCommissioningInstInit() { - sWiFiNetworkCommissioningInstance.Init(); + TEMPORARY_RETURN_IGNORED sWiFiNetworkCommissioningInstance.Init(); // We only have network commissioning on endpoint 0. emberAfEndpointEnableDisable(kNetworkCommissioningEndpointSecondary, false);
diff --git a/examples/all-clusters-minimal-app/asr/src/main.cpp b/examples/all-clusters-minimal-app/asr/src/main.cpp index 7ef86db..f9372a2 100644 --- a/examples/all-clusters-minimal-app/asr/src/main.cpp +++ b/examples/all-clusters-minimal-app/asr/src/main.cpp
@@ -76,7 +76,7 @@ vTaskStartScheduler(); chip::Platform::MemoryShutdown(); - PlatformMgr().StopEventLoopTask(); + TEMPORARY_RETURN_IGNORED PlatformMgr().StopEventLoopTask(); PlatformMgr().Shutdown(); // Should never get here.
diff --git a/examples/all-clusters-minimal-app/infineon/psoc6/src/AppTask.cpp b/examples/all-clusters-minimal-app/infineon/psoc6/src/AppTask.cpp index ea8d747..98a860f 100644 --- a/examples/all-clusters-minimal-app/infineon/psoc6/src/AppTask.cpp +++ b/examples/all-clusters-minimal-app/infineon/psoc6/src/AppTask.cpp
@@ -120,7 +120,7 @@ void NetWorkCommissioningInstInit() { - sWiFiNetworkCommissioningInstance.Init(); + TEMPORARY_RETURN_IGNORED sWiFiNetworkCommissioningInstance.Init(); } static void InitServer(intptr_t context) @@ -129,7 +129,7 @@ static chip::CommonCaseDeviceServerInitParams initParams; (void) initParams.InitializeStaticResourcesBeforeServerInit(); initParams.dataModelProvider = app::CodegenDataModelProviderInstance(initParams.persistentStorageDelegate); - chip::Server::GetInstance().Init(initParams); + TEMPORARY_RETURN_IGNORED chip::Server::GetInstance().Init(initParams); // We only have network commissioning on endpoint 0. emberAfEndpointEnableDisable(kNetworkCommissioningEndpointSecondary, false); @@ -170,7 +170,7 @@ } #endif // Register the callback to init the MDNS server when connectivity is available - PlatformMgr().AddEventHandler( + TEMPORARY_RETURN_IGNORED PlatformMgr().AddEventHandler( [](const ChipDeviceEvent * event, intptr_t arg) { // Restart the server whenever an ip address is renewed if (event->Type == DeviceEventType::kInternetConnectivityChange) @@ -184,7 +184,7 @@ }, 0); - chip::DeviceLayer::PlatformMgr().ScheduleWork(InitServer, reinterpret_cast<intptr_t>(nullptr)); + TEMPORARY_RETURN_IGNORED chip::DeviceLayer::PlatformMgr().ScheduleWork(InitServer, reinterpret_cast<intptr_t>(nullptr)); // Initialise WSTK buttons PB0 and PB1 (including debounce). ButtonHandler::Init(); @@ -246,7 +246,8 @@ sLightLED.Invert(); /* Update OnOff Cluster state */ - chip::DeviceLayer::PlatformMgr().ScheduleWork(OnOffUpdateClusterState, reinterpret_cast<intptr_t>(nullptr)); + TEMPORARY_RETURN_IGNORED chip::DeviceLayer::PlatformMgr().ScheduleWork(OnOffUpdateClusterState, + reinterpret_cast<intptr_t>(nullptr)); } void AppTask::ButtonEventHandler(uint8_t btnIdx, uint8_t btnAction)
diff --git a/examples/all-clusters-minimal-app/infineon/psoc6/src/ClusterManager.cpp b/examples/all-clusters-minimal-app/infineon/psoc6/src/ClusterManager.cpp index 3242817..14e09f8 100644 --- a/examples/all-clusters-minimal-app/infineon/psoc6/src/ClusterManager.cpp +++ b/examples/all-clusters-minimal-app/infineon/psoc6/src/ClusterManager.cpp
@@ -128,7 +128,8 @@ if (identifyTimerCount) { - systemLayer->StartTimer(Clock::Milliseconds32(kIdentifyTimerDelayMS), IdentifyTimerHandler, appState); + TEMPORARY_RETURN_IGNORED systemLayer->StartTimer(Clock::Milliseconds32(kIdentifyTimerDelayMS), IdentifyTimerHandler, + appState); // Decrement the timer count. identifyTimerCount--; } @@ -149,7 +150,8 @@ identifyTimerCount = (*value) * 4; DeviceLayer::SystemLayer().CancelTimer(IdentifyTimerHandler, this); - DeviceLayer::SystemLayer().StartTimer(Clock::Milliseconds32(kIdentifyTimerDelayMS), IdentifyTimerHandler, this); + TEMPORARY_RETURN_IGNORED DeviceLayer::SystemLayer().StartTimer(Clock::Milliseconds32(kIdentifyTimerDelayMS), + IdentifyTimerHandler, this); exit: return;
diff --git a/examples/all-clusters-minimal-app/infineon/psoc6/src/main.cpp b/examples/all-clusters-minimal-app/infineon/psoc6/src/main.cpp index 72a1000..c8d75a8 100644 --- a/examples/all-clusters-minimal-app/infineon/psoc6/src/main.cpp +++ b/examples/all-clusters-minimal-app/infineon/psoc6/src/main.cpp
@@ -79,7 +79,7 @@ extern "C" void vApplicationDaemonTaskStartupHook() { // Init Chip memory management before the stack - chip::Platform::MemoryInit(); + TEMPORARY_RETURN_IGNORED chip::Platform::MemoryInit(); /* Create the Main task. */ xTaskCreate(main_task, "Main task", MAIN_TASK_STACK_SIZE, NULL, MAIN_TASK_PRIORITY, NULL); @@ -150,7 +150,7 @@ vTaskStartScheduler(); chip::Platform::MemoryShutdown(); - PlatformMgr().StopEventLoopTask(); + TEMPORARY_RETURN_IGNORED PlatformMgr().StopEventLoopTask(); PlatformMgr().Shutdown(); // Should never get here.
diff --git a/examples/all-devices-app/linux/main.cpp b/examples/all-devices-app/linux/main.cpp index 3209105..5981772 100644 --- a/examples/all-devices-app/linux/main.cpp +++ b/examples/all-devices-app/linux/main.cpp
@@ -60,7 +60,7 @@ else { Server::GetInstance().GenerateShutDownEvent(); - SystemLayer().ScheduleLambda([]() { PlatformMgr().StopEventLoopTask(); }); + TEMPORARY_RETURN_IGNORED SystemLayer().ScheduleLambda([]() { TEMPORARY_RETURN_IGNORED PlatformMgr().StopEventLoopTask(); }); } } @@ -73,9 +73,9 @@ static WifiRootNodeDevice rootNodeDevice(&sWiFiDriver); static std::unique_ptr<DeviceInterface> constructedDevice; - rootNodeDevice.Register(kRootEndpointId, dataModelProvider, kInvalidEndpointId); + TEMPORARY_RETURN_IGNORED rootNodeDevice.Register(kRootEndpointId, dataModelProvider, kInvalidEndpointId); constructedDevice = DeviceFactory::GetInstance().Create(AppOptions::GetDeviceType()); - constructedDevice->Register(AppOptions::GetDeviceEndpoint(), dataModelProvider, kInvalidEndpointId); + TEMPORARY_RETURN_IGNORED constructedDevice->Register(AppOptions::GetDeviceEndpoint(), dataModelProvider, kInvalidEndpointId); return &dataModelProvider; }
diff --git a/examples/bridge-app/asr/src/AppTask.cpp b/examples/bridge-app/asr/src/AppTask.cpp index 6ec7cf5..a905b4f 100644 --- a/examples/bridge-app/asr/src/AppTask.cpp +++ b/examples/bridge-app/asr/src/AppTask.cpp
@@ -60,7 +60,7 @@ void NetWorkCommissioningInstInit() { - sWiFiNetworkCommissioningInstance.Init(); + TEMPORARY_RETURN_IGNORED sWiFiNetworkCommissioningInstance.Init(); // We only have network commissioning on endpoint 0. emberAfEndpointEnableDisable(kNetworkCommissioningEndpointSecondary, false); @@ -77,7 +77,7 @@ sActionsDelegateImpl = std::make_unique<app::Clusters::Actions::ActionsDelegateImpl>(); sActionsServer = std::make_unique<app::Clusters::Actions::ActionsServer>(endpoint, *sActionsDelegateImpl.get()); - sActionsServer->Init(); + TEMPORARY_RETURN_IGNORED sActionsServer->Init(); } static DeviceCallbacks EchoCallbacks;
diff --git a/examples/bridge-app/asr/src/main.cpp b/examples/bridge-app/asr/src/main.cpp index 228eeff..bdeb7f1 100644 --- a/examples/bridge-app/asr/src/main.cpp +++ b/examples/bridge-app/asr/src/main.cpp
@@ -67,7 +67,7 @@ vTaskStartScheduler(); chip::Platform::MemoryShutdown(); - PlatformMgr().StopEventLoopTask(); + TEMPORARY_RETURN_IGNORED PlatformMgr().StopEventLoopTask(); PlatformMgr().Shutdown(); // Should never get here.
diff --git a/examples/bridge-app/asr/subdevice/SubDeviceManager.cpp b/examples/bridge-app/asr/subdevice/SubDeviceManager.cpp index 5e2480f..f4883d1 100644 --- a/examples/bridge-app/asr/subdevice/SubDeviceManager.cpp +++ b/examples/bridge-app/asr/subdevice/SubDeviceManager.cpp
@@ -117,7 +117,7 @@ else if ((attributeId == NodeLabel::Id) && (maxReadLength == 32)) { MutableByteSpan zclNameSpan(buffer, maxReadLength); - MakeZclCharString(zclNameSpan, dev->GetName()); + TEMPORARY_RETURN_IGNORED MakeZclCharString(zclNameSpan, dev->GetName()); } else if ((attributeId == ClusterRevision::Id) && (maxReadLength == 2)) { @@ -216,7 +216,7 @@ void ScheduleReportingCallback(SubDevice * dev, ClusterId cluster, AttributeId attribute) { auto * path = Platform::New<app::ConcreteAttributePath>(dev->GetEndpointId(), cluster, attribute); - DeviceLayer::PlatformMgr().ScheduleWork(CallReportingCallback, reinterpret_cast<intptr_t>(path)); + TEMPORARY_RETURN_IGNORED DeviceLayer::PlatformMgr().ScheduleWork(CallReportingCallback, reinterpret_cast<intptr_t>(path)); } } // anonymous namespace @@ -260,6 +260,6 @@ emberAfEndpointEnableDisable(emberAfEndpointFromIndex(static_cast<uint16_t>(emberAfFixedEndpointCount() - 1)), false); // A bridge has root node device type on EP0 and aggregate node device type (bridge) at EP1 - emberAfSetDeviceTypeList(0, Span<const EmberAfDeviceType>(gRootDeviceTypes)); - emberAfSetDeviceTypeList(1, Span<const EmberAfDeviceType>(gAggregateNodeDeviceTypes)); + TEMPORARY_RETURN_IGNORED emberAfSetDeviceTypeList(0, Span<const EmberAfDeviceType>(gRootDeviceTypes)); + TEMPORARY_RETURN_IGNORED emberAfSetDeviceTypeList(1, Span<const EmberAfDeviceType>(gAggregateNodeDeviceTypes)); }
diff --git a/examples/bridge-app/asr/subdevice/subdevice_test.cpp b/examples/bridge-app/asr/subdevice/subdevice_test.cpp index cef412a..c42eb39 100644 --- a/examples/bridge-app/asr/subdevice/subdevice_test.cpp +++ b/examples/bridge-app/asr/subdevice/subdevice_test.cpp
@@ -155,6 +155,6 @@ gLight2.SetChangeCallback(NULL); gLight2.SetReachable(false); // Remove Light 2 -- Others Lights remain - RemoveDeviceEndpoint(&gLight2); + TEMPORARY_RETURN_IGNORED RemoveDeviceEndpoint(&gLight2); } #endif // ENABLE_ASR_BRIDGE_SUBDEVICE_TEST
diff --git a/examples/bridge-app/telink/src/AppTask.cpp b/examples/bridge-app/telink/src/AppTask.cpp index 20f8a1a..2d1dc6a 100644 --- a/examples/bridge-app/telink/src/AppTask.cpp +++ b/examples/bridge-app/telink/src/AppTask.cpp
@@ -47,7 +47,7 @@ sActionsDelegateImpl = std::make_unique<chip::app::Clusters::Actions::ActionsDelegateImpl>(); sActionsServer = std::make_unique<chip::app::Clusters::Actions::ActionsServer>(endpoint, *sActionsDelegateImpl.get()); - sActionsServer->Init(); + TEMPORARY_RETURN_IGNORED sActionsServer->Init(); } AppTask AppTask::sAppTask; @@ -270,7 +270,7 @@ else if ((attributeId == NodeLabel::Id) && (maxReadLength == 32)) { MutableByteSpan zclNameSpan(buffer, maxReadLength); - MakeZclCharString(zclNameSpan, dev->GetName()); + TEMPORARY_RETURN_IGNORED MakeZclCharString(zclNameSpan, dev->GetName()); } else if ((attributeId == FeatureMap::Id) && (maxReadLength == 4)) { @@ -382,7 +382,7 @@ void ScheduleReportingCallback(Device * dev, ClusterId cluster, AttributeId attribute) { auto * path = Platform::New<app::ConcreteAttributePath>(dev->GetEndpointId(), cluster, attribute); - DeviceLayer::PlatformMgr().ScheduleWork(CallReportingCallback, reinterpret_cast<intptr_t>(path)); + TEMPORARY_RETURN_IGNORED DeviceLayer::PlatformMgr().ScheduleWork(CallReportingCallback, reinterpret_cast<intptr_t>(path)); } } // anonymous namespace @@ -408,7 +408,7 @@ CHIP_ERROR AppTask::Init(void) { SetExampleButtonCallbacks(LightingActionEventHandler); - InitCommonParts(); + TEMPORARY_RETURN_IGNORED InitCommonParts(); Protocols::InteractionModel::Status status; @@ -447,7 +447,7 @@ gLight4.SetChangeCallback(&HandleDeviceStatusChanged); TempSensor1.SetChangeCallback(&HandleDeviceTempSensorStatusChanged); - PlatformMgr().ScheduleWork(InitServer, reinterpret_cast<intptr_t>(nullptr)); + TEMPORARY_RETURN_IGNORED PlatformMgr().ScheduleWork(InitServer, reinterpret_cast<intptr_t>(nullptr)); return CHIP_NO_ERROR; } @@ -465,8 +465,8 @@ emberAfEndpointEnableDisable(emberAfEndpointFromIndex(static_cast<uint16_t>(emberAfFixedEndpointCount() - 1)), false); // A bridge has root node device type on EP0 and aggregate node device type (bridge) at EP1 - emberAfSetDeviceTypeList(0, Span<const EmberAfDeviceType>(gRootDeviceTypes)); - emberAfSetDeviceTypeList(1, Span<const EmberAfDeviceType>(gAggregateNodeDeviceTypes)); + TEMPORARY_RETURN_IGNORED emberAfSetDeviceTypeList(0, Span<const EmberAfDeviceType>(gRootDeviceTypes)); + TEMPORARY_RETURN_IGNORED emberAfSetDeviceTypeList(1, Span<const EmberAfDeviceType>(gAggregateNodeDeviceTypes)); // Add lights 1..3 --> will be mapped to ZCL endpoints 3, 4, 5 AddDeviceEndpoint(&gLight1, &bridgedLightEndpoint, Span<const EmberAfDeviceType>(gBridgedOnOffDeviceTypes), @@ -477,7 +477,7 @@ Span<DataVersion>(gLight3DataVersions), 1); // Remove Light 2 -- Lights 1 & 3 will remain mapped to endpoints 3 & 5 - RemoveDeviceEndpoint(&gLight2); + TEMPORARY_RETURN_IGNORED RemoveDeviceEndpoint(&gLight2); // Add Light 4 -- > will be mapped to ZCL endpoint 6 AddDeviceEndpoint(&gLight4, &bridgedLightEndpoint, Span<const EmberAfDeviceType>(gBridgedOnOffDeviceTypes),
diff --git a/examples/camera-controller/commands/interactive/InteractiveCommands.cpp b/examples/camera-controller/commands/interactive/InteractiveCommands.cpp index 2921f3a..5c690f7 100644 --- a/examples/camera-controller/commands/interactive/InteractiveCommands.cpp +++ b/examples/camera-controller/commands/interactive/InteractiveCommands.cpp
@@ -289,7 +289,8 @@ if (mIsAsyncReport && mTimeout) { - chip::DeviceLayer::PlatformMgr().ScheduleWork(StartAsyncTimeout, reinterpret_cast<intptr_t>(this)); + TEMPORARY_RETURN_IGNORED chip::DeviceLayer::PlatformMgr().ScheduleWork(StartAsyncTimeout, + reinterpret_cast<intptr_t>(this)); } } @@ -299,7 +300,8 @@ if (mIsAsyncReport && mTimeout) { - chip::DeviceLayer::PlatformMgr().ScheduleWork(StopAsyncTimeout, reinterpret_cast<intptr_t>(this)); + TEMPORARY_RETURN_IGNORED chip::DeviceLayer::PlatformMgr().ScheduleWork(StopAsyncTimeout, + reinterpret_cast<intptr_t>(this)); } mEnabled = false; @@ -413,7 +415,7 @@ { auto self = reinterpret_cast<InteractiveServerResult *>(arg); auto timeout = chip::System::Clock::Seconds16(self->mTimeout); - chip::DeviceLayer::SystemLayer().StartTimer(timeout, OnAsyncTimeout, self); + TEMPORARY_RETURN_IGNORED chip::DeviceLayer::SystemLayer().StartTimer(timeout, OnAsyncTimeout, self); } static void StopAsyncTimeout(intptr_t arg) @@ -424,7 +426,7 @@ static void OnAsyncTimeout(chip::System::Layer *, void * appState) { - RemoteDataModelLogger::LogErrorAsJSON(CHIP_ERROR_TIMEOUT); + TEMPORARY_RETURN_IGNORED RemoteDataModelLogger::LogErrorAsJSON(CHIP_ERROR_TIMEOUT); } };
diff --git a/examples/camera-controller/main.cpp b/examples/camera-controller/main.cpp index 5625952..9633d28 100644 --- a/examples/camera-controller/main.cpp +++ b/examples/camera-controller/main.cpp
@@ -40,7 +40,7 @@ void StopSignalHandler(int signum) { - DeviceLayer::SystemLayer().ScheduleLambda([]() { StopInteractiveEventLoop(); }); + TEMPORARY_RETURN_IGNORED DeviceLayer::SystemLayer().ScheduleLambda([]() { StopInteractiveEventLoop(); }); } } // namespace
diff --git a/examples/camera-controller/webrtc-manager/WebRTCManager.cpp b/examples/camera-controller/webrtc-manager/WebRTCManager.cpp index f81dd08..b337c2c 100644 --- a/examples/camera-controller/webrtc-manager/WebRTCManager.cpp +++ b/examples/camera-controller/webrtc-manager/WebRTCManager.cpp
@@ -135,11 +135,11 @@ mPendingSessionId = session.id; // Schedule the ProvideAnswer() call to run with a small delay to ensure the response is sent first - DeviceLayer::SystemLayer().StartTimer( + TEMPORARY_RETURN_IGNORED DeviceLayer::SystemLayer().StartTimer( chip::System::Clock::Milliseconds32(300), [](chip::System::Layer * systemLayer, void * appState) { auto * self = static_cast<WebRTCManager *>(appState); - self->ProvideAnswer(self->mPendingSessionId, self->mLocalDescription); + TEMPORARY_RETURN_IGNORED self->ProvideAnswer(self->mPendingSessionId, self->mLocalDescription); }, this); @@ -165,11 +165,11 @@ mPendingSessionId = session.id; // Schedule the ProvideICECandidates() call to run with a small delay to ensure the response is sent first - DeviceLayer::SystemLayer().StartTimer( + TEMPORARY_RETURN_IGNORED DeviceLayer::SystemLayer().StartTimer( chip::System::Clock::Milliseconds32(300), [](chip::System::Layer * systemLayer, void * appState) { auto * self = static_cast<WebRTCManager *>(appState); - self->ProvideICECandidates(self->mPendingSessionId); + TEMPORARY_RETURN_IGNORED self->ProvideICECandidates(self->mPendingSessionId); }, this);
diff --git a/examples/camera-controller/webrtc-manager/WebRTCProviderClient.cpp b/examples/camera-controller/webrtc-manager/WebRTCProviderClient.cpp index 900043f..0f11ba6 100644 --- a/examples/camera-controller/webrtc-manager/WebRTCProviderClient.cpp +++ b/examples/camera-controller/webrtc-manager/WebRTCProviderClient.cpp
@@ -453,13 +453,14 @@ ChipLogProgress(Camera, "DeferredOffer=TRUE -- there will be a larger than normal amount of time to receive Offer command"); // Longer timeout because the provider is in low-power standby - DeviceLayer::SystemLayer().StartTimer(System::Clock::Seconds32(kDeferredOfferTimeoutSeconds), OnSessionEstablishTimeout, - this); + TEMPORARY_RETURN_IGNORED DeviceLayer::SystemLayer().StartTimer(System::Clock::Seconds32(kDeferredOfferTimeoutSeconds), + OnSessionEstablishTimeout, this); } else { // Normal (shorter) timeout for an imminent Offer round-trip - DeviceLayer::SystemLayer().StartTimer(System::Clock::Seconds32(kSessionTimeoutSeconds), OnSessionEstablishTimeout, this); + TEMPORARY_RETURN_IGNORED DeviceLayer::SystemLayer().StartTimer(System::Clock::Seconds32(kSessionTimeoutSeconds), + OnSessionEstablishTimeout, this); } MoveToState(State::AwaitingOffer); @@ -497,7 +498,8 @@ // Insert or update the Requestor cluster's CurrentSessions. mRequestorServer->UpsertSession(session); - DeviceLayer::SystemLayer().StartTimer(System::Clock::Seconds32(kSessionTimeoutSeconds), OnSessionEstablishTimeout, this); + TEMPORARY_RETURN_IGNORED DeviceLayer::SystemLayer().StartTimer(System::Clock::Seconds32(kSessionTimeoutSeconds), + OnSessionEstablishTimeout, this); MoveToState(State::AwaitingAnswer); }
diff --git a/examples/chef/common/chef-air-quality.cpp b/examples/chef/common/chef-air-quality.cpp index eafff42..6adcc89 100644 --- a/examples/chef/common/chef-air-quality.cpp +++ b/examples/chef/common/chef-air-quality.cpp
@@ -36,7 +36,7 @@ void emberAfAirQualityClusterInitCallback(chip::EndpointId endpointId) { Instance * clusterInstance = new Instance(endpointId, airQualityFeatures); - clusterInstance->Init(); + TEMPORARY_RETURN_IGNORED clusterInstance->Init(); gAirQualityClusterInstance[endpointId] = clusterInstance; }
diff --git a/examples/chef/common/chef-concentration-measurement.cpp b/examples/chef/common/chef-concentration-measurement.cpp index f0db339..6bbe3a8 100644 --- a/examples/chef/common/chef-concentration-measurement.cpp +++ b/examples/chef/common/chef-concentration-measurement.cpp
@@ -181,16 +181,24 @@ { gCarbonMonoxideConcentrationMeasurementInstance[EndpointId(endpoint)] = new Instance<true, true, true, true, true, true>( EndpointId(endpoint), CarbonMonoxideConcentrationMeasurement::Id, MeasurementMediumEnum::kAir, MeasurementUnitEnum::kPpm); - gCarbonMonoxideConcentrationMeasurementInstance[EndpointId(endpoint)]->Init(); - gCarbonMonoxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMeasuredValue(MakeNullable(10.0f)); - gCarbonMonoxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMinMeasuredValue(MakeNullable(1.0f)); - gCarbonMonoxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMaxMeasuredValue(MakeNullable(1000.0f)); - gCarbonMonoxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValue(MakeNullable(12.0f)); - gCarbonMonoxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValueWindow(3600); - gCarbonMonoxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValue(MakeNullable(10.0f)); - gCarbonMonoxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValueWindow(3600); - gCarbonMonoxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetUncertainty(1.0f); - gCarbonMonoxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetLevelValue(LevelValueEnum::kMedium); + TEMPORARY_RETURN_IGNORED gCarbonMonoxideConcentrationMeasurementInstance[EndpointId(endpoint)]->Init(); + TEMPORARY_RETURN_IGNORED gCarbonMonoxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMeasuredValue( + MakeNullable(10.0f)); + TEMPORARY_RETURN_IGNORED gCarbonMonoxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMinMeasuredValue( + MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED gCarbonMonoxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMaxMeasuredValue( + MakeNullable(1000.0f)); + TEMPORARY_RETURN_IGNORED gCarbonMonoxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValue( + MakeNullable(12.0f)); + TEMPORARY_RETURN_IGNORED gCarbonMonoxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValueWindow( + 3600); + TEMPORARY_RETURN_IGNORED gCarbonMonoxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValue( + MakeNullable(10.0f)); + TEMPORARY_RETURN_IGNORED gCarbonMonoxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValueWindow( + 3600); + TEMPORARY_RETURN_IGNORED gCarbonMonoxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetUncertainty(1.0f); + TEMPORARY_RETURN_IGNORED gCarbonMonoxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetLevelValue( + LevelValueEnum::kMedium); } #endif @@ -199,16 +207,23 @@ { gCarbonDioxideConcentrationMeasurementInstance[EndpointId(endpoint)] = new Instance<true, true, true, true, true, true>( EndpointId(endpoint), CarbonDioxideConcentrationMeasurement::Id, MeasurementMediumEnum::kAir, MeasurementUnitEnum::kPpm); - gCarbonDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->Init(); - gCarbonDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMeasuredValue(MakeNullable(426.0f)); - gCarbonDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMinMeasuredValue(MakeNullable(1.0f)); - gCarbonDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMaxMeasuredValue(MakeNullable(1000.0f)); - gCarbonDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValue(MakeNullable(523.0f)); - gCarbonDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValueWindow(3600); - gCarbonDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValue(MakeNullable(421.0f)); - gCarbonDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValueWindow(3600); - gCarbonDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetUncertainty(10.0f); - gCarbonDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetLevelValue(LevelValueEnum::kMedium); + TEMPORARY_RETURN_IGNORED gCarbonDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->Init(); + TEMPORARY_RETURN_IGNORED gCarbonDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMeasuredValue( + MakeNullable(426.0f)); + TEMPORARY_RETURN_IGNORED gCarbonDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMinMeasuredValue( + MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED gCarbonDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMaxMeasuredValue( + MakeNullable(1000.0f)); + TEMPORARY_RETURN_IGNORED gCarbonDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValue( + MakeNullable(523.0f)); + TEMPORARY_RETURN_IGNORED gCarbonDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValueWindow(3600); + TEMPORARY_RETURN_IGNORED gCarbonDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValue( + MakeNullable(421.0f)); + TEMPORARY_RETURN_IGNORED gCarbonDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValueWindow( + 3600); + TEMPORARY_RETURN_IGNORED gCarbonDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetUncertainty(10.0f); + TEMPORARY_RETURN_IGNORED gCarbonDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetLevelValue( + LevelValueEnum::kMedium); } #endif @@ -217,16 +232,24 @@ { gNitrogenDioxideConcentrationMeasurementInstance[EndpointId(endpoint)] = new Instance<true, true, true, true, true, true>( EndpointId(endpoint), NitrogenDioxideConcentrationMeasurement::Id, MeasurementMediumEnum::kAir, MeasurementUnitEnum::kPpb); - gNitrogenDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->Init(); - gNitrogenDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMeasuredValue(MakeNullable(70.0f)); - gNitrogenDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMinMeasuredValue(MakeNullable(1.0f)); - gNitrogenDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMaxMeasuredValue(MakeNullable(1000.0f)); - gNitrogenDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValue(MakeNullable(138.0f)); - gNitrogenDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValueWindow(3600); - gNitrogenDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValue(MakeNullable(97.5f)); - gNitrogenDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValueWindow(3600); - gNitrogenDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetUncertainty(10.0f); - gNitrogenDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetLevelValue(LevelValueEnum::kMedium); + TEMPORARY_RETURN_IGNORED gNitrogenDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->Init(); + TEMPORARY_RETURN_IGNORED gNitrogenDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMeasuredValue( + MakeNullable(70.0f)); + TEMPORARY_RETURN_IGNORED gNitrogenDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMinMeasuredValue( + MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED gNitrogenDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMaxMeasuredValue( + MakeNullable(1000.0f)); + TEMPORARY_RETURN_IGNORED gNitrogenDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValue( + MakeNullable(138.0f)); + TEMPORARY_RETURN_IGNORED gNitrogenDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValueWindow( + 3600); + TEMPORARY_RETURN_IGNORED gNitrogenDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValue( + MakeNullable(97.5f)); + TEMPORARY_RETURN_IGNORED gNitrogenDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValueWindow( + 3600); + TEMPORARY_RETURN_IGNORED gNitrogenDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetUncertainty(10.0f); + TEMPORARY_RETURN_IGNORED gNitrogenDioxideConcentrationMeasurementInstance[EndpointId(endpoint)]->SetLevelValue( + LevelValueEnum::kMedium); } #endif @@ -235,16 +258,19 @@ { gOzoneConcentrationMeasurementInstance[EndpointId(endpoint)] = new Instance<true, true, true, true, true, true>( EndpointId(endpoint), OzoneConcentrationMeasurement::Id, MeasurementMediumEnum::kAir, MeasurementUnitEnum::kPpm); - gOzoneConcentrationMeasurementInstance[EndpointId(endpoint)]->Init(); - gOzoneConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMeasuredValue(MakeNullable(60.0f)); - gOzoneConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMinMeasuredValue(MakeNullable(1.0f)); - gOzoneConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMaxMeasuredValue(MakeNullable(1000.0f)); - gOzoneConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValue(MakeNullable(99.0f)); - gOzoneConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValueWindow(3600); - gOzoneConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValue(MakeNullable(72.0f)); - gOzoneConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValueWindow(3600); - gOzoneConcentrationMeasurementInstance[EndpointId(endpoint)]->SetUncertainty(10.0f); - gOzoneConcentrationMeasurementInstance[EndpointId(endpoint)]->SetLevelValue(LevelValueEnum::kMedium); + TEMPORARY_RETURN_IGNORED gOzoneConcentrationMeasurementInstance[EndpointId(endpoint)]->Init(); + TEMPORARY_RETURN_IGNORED gOzoneConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMeasuredValue(MakeNullable(60.0f)); + TEMPORARY_RETURN_IGNORED gOzoneConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMinMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED gOzoneConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMaxMeasuredValue( + MakeNullable(1000.0f)); + TEMPORARY_RETURN_IGNORED gOzoneConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValue( + MakeNullable(99.0f)); + TEMPORARY_RETURN_IGNORED gOzoneConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValueWindow(3600); + TEMPORARY_RETURN_IGNORED gOzoneConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValue( + MakeNullable(72.0f)); + TEMPORARY_RETURN_IGNORED gOzoneConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValueWindow(3600); + TEMPORARY_RETURN_IGNORED gOzoneConcentrationMeasurementInstance[EndpointId(endpoint)]->SetUncertainty(10.0f); + TEMPORARY_RETURN_IGNORED gOzoneConcentrationMeasurementInstance[EndpointId(endpoint)]->SetLevelValue(LevelValueEnum::kMedium); } #endif @@ -253,16 +279,18 @@ { gPm25ConcentrationMeasurementInstance[EndpointId(endpoint)] = new Instance<true, true, true, true, true, true>( EndpointId(endpoint), Pm25ConcentrationMeasurement::Id, MeasurementMediumEnum::kAir, MeasurementUnitEnum::kUgm3); - gPm25ConcentrationMeasurementInstance[EndpointId(endpoint)]->Init(); - gPm25ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMeasuredValue(MakeNullable(35.0f)); - gPm25ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMinMeasuredValue(MakeNullable(1.0f)); - gPm25ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMaxMeasuredValue(MakeNullable(1000.0f)); - gPm25ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValue(MakeNullable(50.0f)); - gPm25ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValueWindow(3600); - gPm25ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValue(MakeNullable(43.0f)); - gPm25ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValueWindow(3600); - gPm25ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetUncertainty(1.0f); - gPm25ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetLevelValue(LevelValueEnum::kMedium); + TEMPORARY_RETURN_IGNORED gPm25ConcentrationMeasurementInstance[EndpointId(endpoint)]->Init(); + TEMPORARY_RETURN_IGNORED gPm25ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMeasuredValue(MakeNullable(35.0f)); + TEMPORARY_RETURN_IGNORED gPm25ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMinMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED gPm25ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMaxMeasuredValue( + MakeNullable(1000.0f)); + TEMPORARY_RETURN_IGNORED gPm25ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValue(MakeNullable(50.0f)); + TEMPORARY_RETURN_IGNORED gPm25ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValueWindow(3600); + TEMPORARY_RETURN_IGNORED gPm25ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValue( + MakeNullable(43.0f)); + TEMPORARY_RETURN_IGNORED gPm25ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValueWindow(3600); + TEMPORARY_RETURN_IGNORED gPm25ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetUncertainty(1.0f); + TEMPORARY_RETURN_IGNORED gPm25ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetLevelValue(LevelValueEnum::kMedium); } #endif @@ -271,16 +299,23 @@ { gFormaldehydeConcentrationMeasurementInstance[EndpointId(endpoint)] = new Instance<true, true, true, true, true, true>( EndpointId(endpoint), FormaldehydeConcentrationMeasurement::Id, MeasurementMediumEnum::kAir, MeasurementUnitEnum::kMgm3); - gFormaldehydeConcentrationMeasurementInstance[EndpointId(endpoint)]->Init(); - gFormaldehydeConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMeasuredValue(MakeNullable(40.0f)); - gFormaldehydeConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMinMeasuredValue(MakeNullable(1.0f)); - gFormaldehydeConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMaxMeasuredValue(MakeNullable(1000.0f)); - gFormaldehydeConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValue(MakeNullable(88.0f)); - gFormaldehydeConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValueWindow(7200); - gFormaldehydeConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValue(MakeNullable(40.0f)); - gFormaldehydeConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValueWindow(7200); - gFormaldehydeConcentrationMeasurementInstance[EndpointId(endpoint)]->SetUncertainty(1.0f); - gFormaldehydeConcentrationMeasurementInstance[EndpointId(endpoint)]->SetLevelValue(LevelValueEnum::kMedium); + TEMPORARY_RETURN_IGNORED gFormaldehydeConcentrationMeasurementInstance[EndpointId(endpoint)]->Init(); + TEMPORARY_RETURN_IGNORED gFormaldehydeConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMeasuredValue( + MakeNullable(40.0f)); + TEMPORARY_RETURN_IGNORED gFormaldehydeConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMinMeasuredValue( + MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED gFormaldehydeConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMaxMeasuredValue( + MakeNullable(1000.0f)); + TEMPORARY_RETURN_IGNORED gFormaldehydeConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValue( + MakeNullable(88.0f)); + TEMPORARY_RETURN_IGNORED gFormaldehydeConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValueWindow(7200); + TEMPORARY_RETURN_IGNORED gFormaldehydeConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValue( + MakeNullable(40.0f)); + TEMPORARY_RETURN_IGNORED gFormaldehydeConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValueWindow( + 7200); + TEMPORARY_RETURN_IGNORED gFormaldehydeConcentrationMeasurementInstance[EndpointId(endpoint)]->SetUncertainty(1.0f); + TEMPORARY_RETURN_IGNORED gFormaldehydeConcentrationMeasurementInstance[EndpointId(endpoint)]->SetLevelValue( + LevelValueEnum::kMedium); } #endif @@ -289,16 +324,17 @@ { gPm1ConcentrationMeasurementInstance[EndpointId(endpoint)] = new Instance<true, true, true, true, true, true>( EndpointId(endpoint), Pm1ConcentrationMeasurement::Id, MeasurementMediumEnum::kAir, MeasurementUnitEnum::kPpm); - gPm1ConcentrationMeasurementInstance[EndpointId(endpoint)]->Init(); - gPm1ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMeasuredValue(MakeNullable(200.0f)); - gPm1ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMinMeasuredValue(MakeNullable(1.0f)); - gPm1ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMaxMeasuredValue(MakeNullable(1000.0f)); - gPm1ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValue(MakeNullable(430.0f)); - gPm1ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValueWindow(3600); - gPm1ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValue(MakeNullable(270.0f)); - gPm1ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValueWindow(3600); - gPm1ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetUncertainty(10.0f); - gPm1ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetLevelValue(LevelValueEnum::kMedium); + TEMPORARY_RETURN_IGNORED gPm1ConcentrationMeasurementInstance[EndpointId(endpoint)]->Init(); + TEMPORARY_RETURN_IGNORED gPm1ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMeasuredValue(MakeNullable(200.0f)); + TEMPORARY_RETURN_IGNORED gPm1ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMinMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED gPm1ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMaxMeasuredValue(MakeNullable(1000.0f)); + TEMPORARY_RETURN_IGNORED gPm1ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValue(MakeNullable(430.0f)); + TEMPORARY_RETURN_IGNORED gPm1ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValueWindow(3600); + TEMPORARY_RETURN_IGNORED gPm1ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValue( + MakeNullable(270.0f)); + TEMPORARY_RETURN_IGNORED gPm1ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValueWindow(3600); + TEMPORARY_RETURN_IGNORED gPm1ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetUncertainty(10.0f); + TEMPORARY_RETURN_IGNORED gPm1ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetLevelValue(LevelValueEnum::kMedium); } #endif @@ -307,16 +343,18 @@ { gPm10ConcentrationMeasurementInstance[EndpointId(endpoint)] = new Instance<true, true, true, true, true, true>( EndpointId(endpoint), Pm10ConcentrationMeasurement::Id, MeasurementMediumEnum::kAir, MeasurementUnitEnum::kUgm3); - gPm10ConcentrationMeasurementInstance[EndpointId(endpoint)]->Init(); - gPm10ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMeasuredValue(MakeNullable(50.0f)); - gPm10ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMinMeasuredValue(MakeNullable(1.0f)); - gPm10ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMaxMeasuredValue(MakeNullable(1000.0f)); - gPm10ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValue(MakeNullable(81.0f)); - gPm10ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValueWindow(3600); - gPm10ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValue(MakeNullable(67.0f)); - gPm10ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValueWindow(3600); - gPm10ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetUncertainty(10.0f); - gPm10ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetLevelValue(LevelValueEnum::kMedium); + TEMPORARY_RETURN_IGNORED gPm10ConcentrationMeasurementInstance[EndpointId(endpoint)]->Init(); + TEMPORARY_RETURN_IGNORED gPm10ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMeasuredValue(MakeNullable(50.0f)); + TEMPORARY_RETURN_IGNORED gPm10ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMinMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED gPm10ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMaxMeasuredValue( + MakeNullable(1000.0f)); + TEMPORARY_RETURN_IGNORED gPm10ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValue(MakeNullable(81.0f)); + TEMPORARY_RETURN_IGNORED gPm10ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValueWindow(3600); + TEMPORARY_RETURN_IGNORED gPm10ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValue( + MakeNullable(67.0f)); + TEMPORARY_RETURN_IGNORED gPm10ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValueWindow(3600); + TEMPORARY_RETURN_IGNORED gPm10ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetUncertainty(10.0f); + TEMPORARY_RETURN_IGNORED gPm10ConcentrationMeasurementInstance[EndpointId(endpoint)]->SetLevelValue(LevelValueEnum::kMedium); } #endif @@ -325,16 +363,19 @@ { gRadonConcentrationMeasurementInstance[EndpointId(endpoint)] = new Instance<true, true, true, true, true, true>( EndpointId(endpoint), RadonConcentrationMeasurement::Id, MeasurementMediumEnum::kAir, MeasurementUnitEnum::kPpm); - gRadonConcentrationMeasurementInstance[EndpointId(endpoint)]->Init(); - gRadonConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMeasuredValue(MakeNullable(100.0f)); - gRadonConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMinMeasuredValue(MakeNullable(1.0f)); - gRadonConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMaxMeasuredValue(MakeNullable(1000.0f)); - gRadonConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValue(MakeNullable(150.0f)); - gRadonConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValueWindow(3600); - gRadonConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValue(MakeNullable(120.0f)); - gRadonConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValueWindow(3600); - gRadonConcentrationMeasurementInstance[EndpointId(endpoint)]->SetUncertainty(1.0f); - gRadonConcentrationMeasurementInstance[EndpointId(endpoint)]->SetLevelValue(LevelValueEnum::kMedium); + TEMPORARY_RETURN_IGNORED gRadonConcentrationMeasurementInstance[EndpointId(endpoint)]->Init(); + TEMPORARY_RETURN_IGNORED gRadonConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMeasuredValue(MakeNullable(100.0f)); + TEMPORARY_RETURN_IGNORED gRadonConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMinMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED gRadonConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMaxMeasuredValue( + MakeNullable(1000.0f)); + TEMPORARY_RETURN_IGNORED gRadonConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValue( + MakeNullable(150.0f)); + TEMPORARY_RETURN_IGNORED gRadonConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValueWindow(3600); + TEMPORARY_RETURN_IGNORED gRadonConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValue( + MakeNullable(120.0f)); + TEMPORARY_RETURN_IGNORED gRadonConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValueWindow(3600); + TEMPORARY_RETURN_IGNORED gRadonConcentrationMeasurementInstance[EndpointId(endpoint)]->SetUncertainty(1.0f); + TEMPORARY_RETURN_IGNORED gRadonConcentrationMeasurementInstance[EndpointId(endpoint)]->SetLevelValue(LevelValueEnum::kMedium); } #endif @@ -345,16 +386,24 @@ new Instance<true, true, true, true, true, true>(EndpointId(endpoint), TotalVolatileOrganicCompoundsConcentrationMeasurement::Id, MeasurementMediumEnum::kAir, MeasurementUnitEnum::kPpb); - gTotalVolatileOrganicCompoundsConcentrationMeasurementInstance[EndpointId(endpoint)]->Init(); - gTotalVolatileOrganicCompoundsConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMeasuredValue(MakeNullable(5.0f)); - gTotalVolatileOrganicCompoundsConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMinMeasuredValue(MakeNullable(1.0f)); - gTotalVolatileOrganicCompoundsConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMaxMeasuredValue(MakeNullable(100.0f)); - gTotalVolatileOrganicCompoundsConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValue(MakeNullable(8.0f)); - gTotalVolatileOrganicCompoundsConcentrationMeasurementInstance[EndpointId(endpoint)]->SetPeakMeasuredValueWindow(3600); - gTotalVolatileOrganicCompoundsConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValue( - MakeNullable(2.0f)); - gTotalVolatileOrganicCompoundsConcentrationMeasurementInstance[EndpointId(endpoint)]->SetAverageMeasuredValueWindow(3600); - gTotalVolatileOrganicCompoundsConcentrationMeasurementInstance[EndpointId(endpoint)]->SetUncertainty(1.0f); - gTotalVolatileOrganicCompoundsConcentrationMeasurementInstance[EndpointId(endpoint)]->SetLevelValue(LevelValueEnum::kLow); + TEMPORARY_RETURN_IGNORED gTotalVolatileOrganicCompoundsConcentrationMeasurementInstance[EndpointId(endpoint)]->Init(); + TEMPORARY_RETURN_IGNORED gTotalVolatileOrganicCompoundsConcentrationMeasurementInstance[EndpointId(endpoint)]->SetMeasuredValue( + MakeNullable(5.0f)); + TEMPORARY_RETURN_IGNORED gTotalVolatileOrganicCompoundsConcentrationMeasurementInstance[EndpointId(endpoint)] + ->SetMinMeasuredValue(MakeNullable(1.0f)); + TEMPORARY_RETURN_IGNORED gTotalVolatileOrganicCompoundsConcentrationMeasurementInstance[EndpointId(endpoint)] + ->SetMaxMeasuredValue(MakeNullable(100.0f)); + TEMPORARY_RETURN_IGNORED gTotalVolatileOrganicCompoundsConcentrationMeasurementInstance[EndpointId(endpoint)] + ->SetPeakMeasuredValue(MakeNullable(8.0f)); + TEMPORARY_RETURN_IGNORED gTotalVolatileOrganicCompoundsConcentrationMeasurementInstance[EndpointId(endpoint)] + ->SetPeakMeasuredValueWindow(3600); + TEMPORARY_RETURN_IGNORED gTotalVolatileOrganicCompoundsConcentrationMeasurementInstance[EndpointId(endpoint)] + ->SetAverageMeasuredValue(MakeNullable(2.0f)); + TEMPORARY_RETURN_IGNORED gTotalVolatileOrganicCompoundsConcentrationMeasurementInstance[EndpointId(endpoint)] + ->SetAverageMeasuredValueWindow(3600); + TEMPORARY_RETURN_IGNORED gTotalVolatileOrganicCompoundsConcentrationMeasurementInstance[EndpointId(endpoint)]->SetUncertainty( + 1.0f); + TEMPORARY_RETURN_IGNORED gTotalVolatileOrganicCompoundsConcentrationMeasurementInstance[EndpointId(endpoint)]->SetLevelValue( + LevelValueEnum::kLow); } #endif
diff --git a/examples/chef/common/chef-dishwasher-mode-delegate-impl.cpp b/examples/chef/common/chef-dishwasher-mode-delegate-impl.cpp index 729b0f7..3ff088d 100644 --- a/examples/chef/common/chef-dishwasher-mode-delegate-impl.cpp +++ b/examples/chef/common/chef-dishwasher-mode-delegate-impl.cpp
@@ -155,6 +155,6 @@ gDishwasherModeDelegate = std::make_unique<DishwasherModeDelegate>(); gDishwasherModeInstance = std::make_unique<ModeBase::Instance>(gDishwasherModeDelegate.get(), endpointId, DishwasherMode::Id, 0); - gDishwasherModeInstance->Init(); + TEMPORARY_RETURN_IGNORED gDishwasherModeInstance->Init(); } #endif // MATTER_DM_PLUGIN_DISHWASHER_MODE_SERVER
diff --git a/examples/chef/common/chef-laundry-washer-mode.cpp b/examples/chef/common/chef-laundry-washer-mode.cpp index 722a567..df418fd 100644 --- a/examples/chef/common/chef-laundry-washer-mode.cpp +++ b/examples/chef/common/chef-laundry-washer-mode.cpp
@@ -156,6 +156,6 @@ VerifyOrDie(gLaundryWasherModeDelegate == nullptr && gLaundryWasherModeInstance == nullptr); gLaundryWasherModeDelegate = new LaundryWasherMode::LaundryWasherModeDelegate; gLaundryWasherModeInstance = new ModeBase::Instance(gLaundryWasherModeDelegate, 0x1, LaundryWasherMode::Id, 0); - gLaundryWasherModeInstance->Init(); + TEMPORARY_RETURN_IGNORED gLaundryWasherModeInstance->Init(); } #endif // MATTER_DM_PLUGIN_LAUNDRY_WASHER_MODE_SERVER
diff --git a/examples/chef/common/chef-operational-state-delegate-impl.cpp b/examples/chef/common/chef-operational-state-delegate-impl.cpp index 5e94acd..4c6cf68 100644 --- a/examples/chef/common/chef-operational-state-delegate-impl.cpp +++ b/examples/chef/common/chef-operational-state-delegate-impl.cpp
@@ -299,9 +299,10 @@ EndpointId operationalStateEndpoint = 0x01; gOperationalStateInstance = new OperationalState::Instance(gOperationalStateDelegate, operationalStateEndpoint); - gOperationalStateInstance->SetOperationalState(to_underlying(OperationalState::OperationalStateEnum::kStopped)); + TEMPORARY_RETURN_IGNORED gOperationalStateInstance->SetOperationalState( + to_underlying(OperationalState::OperationalStateEnum::kStopped)); - gOperationalStateInstance->Init(); + TEMPORARY_RETURN_IGNORED gOperationalStateInstance->Init(); } #endif // MATTER_DM_PLUGIN_OPERATIONAL_STATE_SERVER
diff --git a/examples/chef/common/chef-pump.cpp b/examples/chef/common/chef-pump.cpp index 795f76a..71bd033 100644 --- a/examples/chef/common/chef-pump.cpp +++ b/examples/chef/common/chef-pump.cpp
@@ -244,7 +244,7 @@ if (!currentStatus.GetField(PumpConfigurationAndControl::PumpStatusBitmap::kRunning)) { currentStatus.SetField(PumpConfigurationAndControl::PumpStatusBitmap::kRunning, 1); - setPumpStatus(endpoint, currentStatus.Raw()); + TEMPORARY_RETURN_IGNORED setPumpStatus(endpoint, currentStatus.Raw()); } } else @@ -252,7 +252,7 @@ if (currentStatus.GetField(PumpConfigurationAndControl::PumpStatusBitmap::kRunning)) { currentStatus.SetField(PumpConfigurationAndControl::PumpStatusBitmap::kRunning, 0); - setPumpStatus(endpoint, currentStatus.Raw()); + TEMPORARY_RETURN_IGNORED setPumpStatus(endpoint, currentStatus.Raw()); } } } @@ -341,7 +341,7 @@ "Failed to initialize OnOff to false for Endpoint: %d", endpointId); updateSetPointsOnOff(endpointId, false); - setPumpStatus(endpointId, 0); + TEMPORARY_RETURN_IGNORED setPumpStatus(endpointId, 0); } }
diff --git a/examples/chef/common/chef-rvc-mode-delegate.cpp b/examples/chef/common/chef-rvc-mode-delegate.cpp index ccc9f3c..4fcd058 100644 --- a/examples/chef/common/chef-rvc-mode-delegate.cpp +++ b/examples/chef/common/chef-rvc-mode-delegate.cpp
@@ -195,7 +195,7 @@ gRvcRunModeDelegate = std::make_unique<RvcRunModeDelegate>(); gRvcRunModeInstance = std::make_unique<ModeBase::Instance>(gRvcRunModeDelegate.get(), endpointId, RvcRunMode::Id, 0 /* No feature bits */); - gRvcRunModeInstance->Init(); + TEMPORARY_RETURN_IGNORED gRvcRunModeInstance->Init(); } #endif // MATTER_DM_PLUGIN_RVC_RUN_MODE_SERVER @@ -331,6 +331,6 @@ gRvcCleanModeDelegate = std::make_unique<RvcCleanModeDelegate>(); gRvcCleanModeInstance = std::make_unique<ModeBase::Instance>(gRvcCleanModeDelegate.get(), endpointId, RvcCleanMode::Id, 0 /* No feature bits */); - gRvcCleanModeInstance->Init(); + TEMPORARY_RETURN_IGNORED gRvcCleanModeInstance->Init(); } #endif // MATTER_DM_PLUGIN_RVC_CLEAN_MODE_SERVER
diff --git a/examples/chef/common/chef-rvc-operational-state-delegate.cpp b/examples/chef/common/chef-rvc-operational-state-delegate.cpp index b6ba687..d263e78 100644 --- a/examples/chef/common/chef-rvc-operational-state-delegate.cpp +++ b/examples/chef/common/chef-rvc-operational-state-delegate.cpp
@@ -483,6 +483,6 @@ gRvcOperationalStateDelegate = std::make_unique<RvcOperationalStateDelegate>(); gRvcOperationalStateInstance = std::make_unique<RvcOperationalState::Instance>(gRvcOperationalStateDelegate.get(), endpointId); - gRvcOperationalStateInstance->Init(); + TEMPORARY_RETURN_IGNORED gRvcOperationalStateInstance->Init(); } #endif // MATTER_DM_PLUGIN_RVC_OPERATIONAL_STATE_SERVER
diff --git a/examples/chef/common/clusters/channel/ChannelManager.cpp b/examples/chef/common/clusters/channel/ChannelManager.cpp index 190ae16..cd6db26 100644 --- a/examples/chef/common/clusters/channel/ChannelManager.cpp +++ b/examples/chef/common/clusters/channel/ChannelManager.cpp
@@ -164,7 +164,7 @@ { // Error: Found multiple matches response.status = StatusEnum::kMultipleMatches; - helper.Success(response); + TEMPORARY_RETURN_IGNORED helper.Success(response); return; } iMatchedChannel = i; @@ -175,7 +175,7 @@ { // Error: Found no match response.status = StatusEnum::kNoMatches; - helper.Success(response); + TEMPORARY_RETURN_IGNORED helper.Success(response); } else { @@ -183,7 +183,7 @@ response.data = chip::MakeOptional(CharSpan::fromCharString("data response")); mCurrentChannel = mChannels[iMatchedChannel]; mCurrentChannelIndex = iMatchedChannel; - helper.Success(response); + TEMPORARY_RETURN_IGNORED helper.Success(response); MatterReportingAttributeChangeCallback(mEndpoint, Channel::Id, Channel::Attributes::CurrentChannel::Id); } } @@ -288,7 +288,7 @@ ProgramGuideResponseType response; response.programList = DataModel::List<const ProgramType>(matches.data(), matches.size()); - helper.Success(response); + TEMPORARY_RETURN_IGNORED helper.Success(response); } bool ChannelManager::HandleRecordProgram(const chip::CharSpan & programIdentifier, bool shouldRecordSeries,
diff --git a/examples/chef/common/clusters/door-lock/chef-lock-endpoint.cpp b/examples/chef/common/clusters/door-lock/chef-lock-endpoint.cpp index 69e53b5..55d13bc 100644 --- a/examples/chef/common/clusters/door-lock/chef-lock-endpoint.cpp +++ b/examples/chef/common/clusters/door-lock/chef-lock-endpoint.cpp
@@ -149,7 +149,7 @@ } userInStorage.userName = chip::MutableCharSpan(userInStorage.userNameBuf, DOOR_LOCK_USER_NAME_BUFFER_SIZE); - CopyCharSpanToMutableCharSpan(userName, userInStorage.userName); + TEMPORARY_RETURN_IGNORED CopyCharSpanToMutableCharSpan(userName, userInStorage.userName); userInStorage.userUniqueId = uniqueId; userInStorage.userStatus = userStatus; userInStorage.userType = usertype; @@ -447,7 +447,8 @@ gCurrentAction.nodeId = nodeId; // Do this async as a real lock would do too but use 0s delay to speed up CI tests - chip::DeviceLayer::SystemLayer().StartTimer(chip::System::Clock::Seconds16(0), OnLockActionCompleteCallback, nullptr); + TEMPORARY_RETURN_IGNORED chip::DeviceLayer::SystemLayer().StartTimer(chip::System::Clock::Seconds16(0), + OnLockActionCompleteCallback, nullptr); return true; } @@ -531,7 +532,8 @@ gCurrentAction.nodeId = nodeId; // Do this async as a real lock would do too but use 0s delay to speed up CI tests - chip::DeviceLayer::SystemLayer().StartTimer(chip::System::Clock::Seconds16(0), OnLockActionCompleteCallback, nullptr); + TEMPORARY_RETURN_IGNORED chip::DeviceLayer::SystemLayer().StartTimer(chip::System::Clock::Seconds16(0), + OnLockActionCompleteCallback, nullptr); return true; } @@ -559,7 +561,8 @@ gCurrentAction.lockState = DlLockState::kUnlocked; // Do this async as a real lock would do too but use 0s delay to speed up CI tests - chip::DeviceLayer::SystemLayer().StartTimer(chip::System::Clock::Seconds16(0), OnLockActionCompleteCallback, nullptr); + TEMPORARY_RETURN_IGNORED chip::DeviceLayer::SystemLayer().StartTimer(chip::System::Clock::Seconds16(0), + OnLockActionCompleteCallback, nullptr); } else {
diff --git a/examples/chef/common/clusters/keypad-input/KeypadInputManager.cpp b/examples/chef/common/clusters/keypad-input/KeypadInputManager.cpp index bbae2b3..be2f59a 100644 --- a/examples/chef/common/clusters/keypad-input/KeypadInputManager.cpp +++ b/examples/chef/common/clusters/keypad-input/KeypadInputManager.cpp
@@ -61,7 +61,7 @@ break; } - helper.Success(response); + TEMPORARY_RETURN_IGNORED helper.Success(response); } uint32_t KeypadInputManager::GetFeatureMap(chip::EndpointId endpoint)
diff --git a/examples/chef/common/clusters/media-playback/MediaPlaybackManager.cpp b/examples/chef/common/clusters/media-playback/MediaPlaybackManager.cpp index 42f491c..89283d7 100644 --- a/examples/chef/common/clusters/media-playback/MediaPlaybackManager.cpp +++ b/examples/chef/common/clusters/media-playback/MediaPlaybackManager.cpp
@@ -141,37 +141,37 @@ void MediaPlaybackManager::HandlePlay(CommandResponseHelper<Commands::PlaybackResponse::Type> & helper) { - HandleSetCurrentState(PlaybackStateEnum::kPlaying); - HandleSetPlaybackSpeed(1); + TEMPORARY_RETURN_IGNORED HandleSetCurrentState(PlaybackStateEnum::kPlaying); + TEMPORARY_RETURN_IGNORED HandleSetPlaybackSpeed(1); Commands::PlaybackResponse::Type response; response.data = chip::MakeOptional(CharSpan::fromCharString("data response")); response.status = StatusEnum::kSuccess; - helper.Success(response); + TEMPORARY_RETURN_IGNORED helper.Success(response); } void MediaPlaybackManager::HandlePause(CommandResponseHelper<Commands::PlaybackResponse::Type> & helper) { - HandleSetCurrentState(PlaybackStateEnum::kPaused); - HandleSetPlaybackSpeed(0); + TEMPORARY_RETURN_IGNORED HandleSetCurrentState(PlaybackStateEnum::kPaused); + TEMPORARY_RETURN_IGNORED HandleSetPlaybackSpeed(0); Commands::PlaybackResponse::Type response; response.data = chip::MakeOptional(CharSpan::fromCharString("data response")); response.status = StatusEnum::kSuccess; - helper.Success(response); + TEMPORARY_RETURN_IGNORED helper.Success(response); } void MediaPlaybackManager::HandleStop(CommandResponseHelper<Commands::PlaybackResponse::Type> & helper) { - HandleSetCurrentState(PlaybackStateEnum::kNotPlaying); - HandleSetPlaybackSpeed(0); + TEMPORARY_RETURN_IGNORED HandleSetCurrentState(PlaybackStateEnum::kNotPlaying); + TEMPORARY_RETURN_IGNORED HandleSetPlaybackSpeed(0); mPlaybackPosition = { 0, chip::app::DataModel::Nullable<uint64_t>(0) }; MatterReportingAttributeChangeCallback(mEndpoint, MediaPlayback::Id, MediaPlayback::Attributes::SampledPosition::Id); Commands::PlaybackResponse::Type response; response.data = chip::MakeOptional(CharSpan::fromCharString("data response")); response.status = StatusEnum::kSuccess; - helper.Success(response); + TEMPORARY_RETURN_IGNORED helper.Success(response); } void MediaPlaybackManager::HandleFastForward(CommandResponseHelper<Commands::PlaybackResponse::Type> & helper, @@ -185,36 +185,36 @@ Commands::PlaybackResponse::Type response; response.data = chip::MakeOptional(CharSpan::fromCharString("data response")); response.status = StatusEnum::kSpeedOutOfRange; - helper.Success(response); + TEMPORARY_RETURN_IGNORED helper.Success(response); return; } - HandleSetCurrentState(PlaybackStateEnum::kPlaying); + TEMPORARY_RETURN_IGNORED HandleSetCurrentState(PlaybackStateEnum::kPlaying); // Normalize to correct range playbackSpeed = (playbackSpeed <= 0 ? 1 : playbackSpeed * 2); if (playbackSpeed > kPlaybackMaxForwardSpeed) { playbackSpeed = kPlaybackMaxForwardSpeed; } - HandleSetPlaybackSpeed(playbackSpeed); + TEMPORARY_RETURN_IGNORED HandleSetPlaybackSpeed(playbackSpeed); Commands::PlaybackResponse::Type response; response.data = chip::MakeOptional(CharSpan::fromCharString("data response")); response.status = StatusEnum::kSuccess; - helper.Success(response); + TEMPORARY_RETURN_IGNORED helper.Success(response); } void MediaPlaybackManager::HandlePrevious(CommandResponseHelper<Commands::PlaybackResponse::Type> & helper) { - HandleSetCurrentState(PlaybackStateEnum::kPlaying); - HandleSetPlaybackSpeed(1); + TEMPORARY_RETURN_IGNORED HandleSetCurrentState(PlaybackStateEnum::kPlaying); + TEMPORARY_RETURN_IGNORED HandleSetPlaybackSpeed(1); mPlaybackPosition = { 0, chip::app::DataModel::Nullable<uint64_t>(0) }; MatterReportingAttributeChangeCallback(mEndpoint, MediaPlayback::Id, MediaPlayback::Attributes::SampledPosition::Id); Commands::PlaybackResponse::Type response; response.data = chip::MakeOptional(CharSpan::fromCharString("data response")); response.status = StatusEnum::kSuccess; - helper.Success(response); + TEMPORARY_RETURN_IGNORED helper.Success(response); } void MediaPlaybackManager::HandleRewind(CommandResponseHelper<Commands::PlaybackResponse::Type> & helper, @@ -228,23 +228,23 @@ Commands::PlaybackResponse::Type response; response.data = chip::MakeOptional(CharSpan::fromCharString("data response")); response.status = StatusEnum::kSpeedOutOfRange; - helper.Success(response); + TEMPORARY_RETURN_IGNORED helper.Success(response); return; } - HandleSetCurrentState(PlaybackStateEnum::kPlaying); + TEMPORARY_RETURN_IGNORED HandleSetCurrentState(PlaybackStateEnum::kPlaying); // Normalize to correct range playbackSpeed = (playbackSpeed >= 0 ? -1 : playbackSpeed * 2); if (playbackSpeed < kPlaybackMaxRewindSpeed) { playbackSpeed = kPlaybackMaxRewindSpeed; } - HandleSetPlaybackSpeed(playbackSpeed); + TEMPORARY_RETURN_IGNORED HandleSetPlaybackSpeed(playbackSpeed); Commands::PlaybackResponse::Type response; response.data = chip::MakeOptional(CharSpan::fromCharString("data response")); response.status = StatusEnum::kSuccess; - helper.Success(response); + TEMPORARY_RETURN_IGNORED helper.Success(response); } void MediaPlaybackManager::HandleSkipBackward(CommandResponseHelper<Commands::PlaybackResponse::Type> & helper, @@ -259,7 +259,7 @@ Commands::PlaybackResponse::Type response; response.data = chip::MakeOptional(CharSpan::fromCharString("data response")); response.status = StatusEnum::kSuccess; - helper.Success(response); + TEMPORARY_RETURN_IGNORED helper.Success(response); } void MediaPlaybackManager::HandleSkipForward(CommandResponseHelper<Commands::PlaybackResponse::Type> & helper, @@ -273,7 +273,7 @@ Commands::PlaybackResponse::Type response; response.data = chip::MakeOptional(CharSpan::fromCharString("data response")); response.status = StatusEnum::kSuccess; - helper.Success(response); + TEMPORARY_RETURN_IGNORED helper.Success(response); } void MediaPlaybackManager::HandleSeek(CommandResponseHelper<Commands::PlaybackResponse::Type> & helper, @@ -284,7 +284,7 @@ Commands::PlaybackResponse::Type response; response.data = chip::MakeOptional(CharSpan::fromCharString("data response")); response.status = StatusEnum::kSeekOutOfRange; - helper.Success(response); + TEMPORARY_RETURN_IGNORED helper.Success(response); } else { @@ -294,21 +294,21 @@ Commands::PlaybackResponse::Type response; response.data = chip::MakeOptional(CharSpan::fromCharString("data response")); response.status = StatusEnum::kSuccess; - helper.Success(response); + TEMPORARY_RETURN_IGNORED helper.Success(response); } } void MediaPlaybackManager::HandleNext(CommandResponseHelper<Commands::PlaybackResponse::Type> & helper) { - HandleSetCurrentState(PlaybackStateEnum::kPlaying); - HandleSetPlaybackSpeed(1); + TEMPORARY_RETURN_IGNORED HandleSetCurrentState(PlaybackStateEnum::kPlaying); + TEMPORARY_RETURN_IGNORED HandleSetPlaybackSpeed(1); mPlaybackPosition = { 0, chip::app::DataModel::Nullable<uint64_t>(0) }; MatterReportingAttributeChangeCallback(mEndpoint, MediaPlayback::Id, MediaPlayback::Attributes::SampledPosition::Id); Commands::PlaybackResponse::Type response; response.data = chip::MakeOptional(CharSpan::fromCharString("data response")); response.status = StatusEnum::kSuccess; - helper.Success(response); + TEMPORARY_RETURN_IGNORED helper.Success(response); } void MediaPlaybackManager::HandleStartOver(CommandResponseHelper<Commands::PlaybackResponse::Type> & helper) @@ -319,7 +319,7 @@ Commands::PlaybackResponse::Type response; response.data = chip::MakeOptional(CharSpan::fromCharString("data response")); response.status = StatusEnum::kSuccess; - helper.Success(response); + TEMPORARY_RETURN_IGNORED helper.Success(response); } bool MediaPlaybackManager::HandleActivateAudioTrack(const chip::CharSpan & trackId, const uint8_t & audioOutputIndex)
diff --git a/examples/chef/common/clusters/microwave-oven-control/chef-microwave-oven-control.cpp b/examples/chef/common/clusters/microwave-oven-control/chef-microwave-oven-control.cpp index 666ce4e..bc32da2 100644 --- a/examples/chef/common/clusters/microwave-oven-control/chef-microwave-oven-control.cpp +++ b/examples/chef/common/clusters/microwave-oven-control/chef-microwave-oven-control.cpp
@@ -44,14 +44,14 @@ { VerifyOrDie(mOperationalStateInstancePtr != nullptr); VerifyOrDie(mMicrowaveOvenModeInstancePtr != nullptr); - mOperationalStateInstancePtr->SetOperationalState(to_underlying(OperationalStateEnum::kStopped)); - mOperationalStateInstancePtr->Init(); + TEMPORARY_RETURN_IGNORED mOperationalStateInstancePtr->SetOperationalState(to_underlying(OperationalStateEnum::kStopped)); + TEMPORARY_RETURN_IGNORED mOperationalStateInstancePtr->Init(); } void ChefMicrowaveOvenDevice::MicrowaveOvenInit() { - mOperationalStateInstancePtr->SetOperationalState(to_underlying(OperationalStateEnum::kStopped)); - mMicrowaveOvenControlInstance.Init(); + TEMPORARY_RETURN_IGNORED mOperationalStateInstancePtr->SetOperationalState(to_underlying(OperationalStateEnum::kStopped)); + TEMPORARY_RETURN_IGNORED mMicrowaveOvenControlInstance.Init(); } /**
diff --git a/examples/chef/common/clusters/microwave-oven-mode/chef-microwave-oven-mode.cpp b/examples/chef/common/clusters/microwave-oven-mode/chef-microwave-oven-mode.cpp index db2086c..d7db7de 100644 --- a/examples/chef/common/clusters/microwave-oven-mode/chef-microwave-oven-mode.cpp +++ b/examples/chef/common/clusters/microwave-oven-mode/chef-microwave-oven-mode.cpp
@@ -63,11 +63,11 @@ continue; gDelegateTable[epIndex] = std::make_unique<MicrowaveOvenMode::ChefDelegate>(); - gDelegateTable[epIndex]->Init(); + TEMPORARY_RETURN_IGNORED gDelegateTable[epIndex]->Init(); gInstanceTable[epIndex] = std::make_unique<ModeBase::Instance>(gDelegateTable[epIndex].get(), endpointId, MicrowaveOvenMode::Id, kMicrowaveOvenFeatureMap); - gInstanceTable[epIndex]->Init(); + TEMPORARY_RETURN_IGNORED gInstanceTable[epIndex]->Init(); ChipLogProgress(DeviceLayer, "Endpoint %d MicrowaveOvenMode Initialized.", endpointId); }
diff --git a/examples/chef/common/clusters/oven-cavity-operational-state/chef-oven-cavity-operational-state.cpp b/examples/chef/common/clusters/oven-cavity-operational-state/chef-oven-cavity-operational-state.cpp index 4439789..536406d 100644 --- a/examples/chef/common/clusters/oven-cavity-operational-state/chef-oven-cavity-operational-state.cpp +++ b/examples/chef/common/clusters/oven-cavity-operational-state/chef-oven-cavity-operational-state.cpp
@@ -318,7 +318,7 @@ gDelegateTable[epIndex] = std::make_unique<ChefDelegate>(); gInstanceTable[epIndex] = std::make_unique<Instance>(gDelegateTable[epIndex].get(), endpointId); - gInstanceTable[epIndex]->Init(); + TEMPORARY_RETURN_IGNORED gInstanceTable[epIndex]->Init(); ChipLogProgress(DeviceLayer, "Endpoint %d OvenCavityOperationalState Initialized.", endpointId); }
diff --git a/examples/chef/common/clusters/oven-mode/chef-oven-mode.cpp b/examples/chef/common/clusters/oven-mode/chef-oven-mode.cpp index 1fb7f05..cf78ab4 100644 --- a/examples/chef/common/clusters/oven-mode/chef-oven-mode.cpp +++ b/examples/chef/common/clusters/oven-mode/chef-oven-mode.cpp
@@ -63,14 +63,14 @@ continue; gDelegateTable[epIndex] = std::make_unique<OvenMode::ChefDelegate>(); - gDelegateTable[epIndex]->Init(); + TEMPORARY_RETURN_IGNORED gDelegateTable[epIndex]->Init(); uint32_t featureMap = 0; VerifyOrDieWithMsg(OvenMode::Attributes::FeatureMap::Get(endpointId, &featureMap) == Status::Success, DeviceLayer, "Failed to read OvenMode feature map for endpoint %d", endpointId); gInstanceTable[epIndex] = std::make_unique<ModeBase::Instance>(gDelegateTable[epIndex].get(), endpointId, OvenMode::Id, featureMap); - gInstanceTable[epIndex]->Init(); + TEMPORARY_RETURN_IGNORED gInstanceTable[epIndex]->Init(); ChipLogProgress(DeviceLayer, "Endpoint %d OvenMode Initialized.", endpointId); }
diff --git a/examples/chef/common/clusters/refrigerator-and-temperature-controlled-cabinet-mode/tcc-mode.cpp b/examples/chef/common/clusters/refrigerator-and-temperature-controlled-cabinet-mode/tcc-mode.cpp index 78daa3d..dc704fd 100644 --- a/examples/chef/common/clusters/refrigerator-and-temperature-controlled-cabinet-mode/tcc-mode.cpp +++ b/examples/chef/common/clusters/refrigerator-and-temperature-controlled-cabinet-mode/tcc-mode.cpp
@@ -143,7 +143,7 @@ gTccModeDelegate = std::make_unique<RefrigeratorAndTemperatureControlledCabinetMode::TccModeDelegate>(); gTccModeInstance = std::make_unique<ModeBase::Instance>(gTccModeDelegate.get(), 0x1, RefrigeratorAndTemperatureControlledCabinetMode::Id, 0); - gTccModeInstance->Init(); + TEMPORARY_RETURN_IGNORED gTccModeInstance->Init(); } #endif // MATTER_DM_PLUGIN_REFRIGERATOR_AND_TEMPERATURE_CONTROLLED_CABINET_MODE_SERVER
diff --git a/examples/chef/common/clusters/resource-monitoring/chef-resource-monitoring-delegates.cpp b/examples/chef/common/clusters/resource-monitoring/chef-resource-monitoring-delegates.cpp index 9b0f6d8..f4bc8b8 100644 --- a/examples/chef/common/clusters/resource-monitoring/chef-resource-monitoring-delegates.cpp +++ b/examples/chef/common/clusters/resource-monitoring/chef-resource-monitoring-delegates.cpp
@@ -135,8 +135,8 @@ uint32_t newValue = 0; chip::TLV::TLVReader tlvReader; tlvReader.Init(buffer + sizeof(uint16_t), tlvLen); - tlvReader.Next(); - tlvReader.Get(newValue); + TEMPORARY_RETURN_IGNORED tlvReader.Next(); + TEMPORARY_RETURN_IGNORED tlvReader.Get(newValue); DataModel::Nullable<uint32_t> newLastChangedTime = DataModel::MakeNullable(newValue); ret = UpdateLastChangedTime(newLastChangedTime); } @@ -162,7 +162,7 @@ gActivatedCarbonFilterDelegate.get(), endpoint, ActivatedCarbonFilterMonitoring::Id, static_cast<uint32_t>(gActivatedCarbonFeatureMap.Raw()), ResourceMonitoring::DegradationDirectionEnum::kDown, bResetConditionCommandSupported); - gActivatedCarbonFilterInstance->Init(); + TEMPORARY_RETURN_IGNORED gActivatedCarbonFilterInstance->Init(); } chip::Protocols::InteractionModel::Status @@ -271,7 +271,7 @@ gHepaFilterInstance = std::make_unique<ResourceMonitoring::ChefResourceMonitorInstance>( gHepaFilterDelegate.get(), endpoint, HepaFilterMonitoring::Id, static_cast<uint32_t>(gHepaFilterFeatureMap.Raw()), ResourceMonitoring::DegradationDirectionEnum::kDown, bResetConditionCommandSupported); - gHepaFilterInstance->Init(); + TEMPORARY_RETURN_IGNORED gHepaFilterInstance->Init(); } CHIP_ERROR ImmutableReplacementProductListManager::Next(ReplacementProductStruct & item) @@ -285,23 +285,23 @@ { case 0: item.SetProductIdentifierType(ResourceMonitoring::ProductIdentifierTypeEnum::kUpc); - item.SetProductIdentifierValue(CharSpan::fromCharString("111112222233")); + TEMPORARY_RETURN_IGNORED item.SetProductIdentifierValue(CharSpan::fromCharString("111112222233")); break; case 1: item.SetProductIdentifierType(ResourceMonitoring::ProductIdentifierTypeEnum::kGtin8); - item.SetProductIdentifierValue(CharSpan::fromCharString("gtin8xxx")); + TEMPORARY_RETURN_IGNORED item.SetProductIdentifierValue(CharSpan::fromCharString("gtin8xxx")); break; case 2: item.SetProductIdentifierType(ResourceMonitoring::ProductIdentifierTypeEnum::kEan); - item.SetProductIdentifierValue(CharSpan::fromCharString("4444455555666")); + TEMPORARY_RETURN_IGNORED item.SetProductIdentifierValue(CharSpan::fromCharString("4444455555666")); break; case 3: item.SetProductIdentifierType(ResourceMonitoring::ProductIdentifierTypeEnum::kGtin14); - item.SetProductIdentifierValue(CharSpan::fromCharString("gtin14xxxxxxxx")); + TEMPORARY_RETURN_IGNORED item.SetProductIdentifierValue(CharSpan::fromCharString("gtin14xxxxxxxx")); break; case 4: item.SetProductIdentifierType(ResourceMonitoring::ProductIdentifierTypeEnum::kOem); - item.SetProductIdentifierValue(CharSpan::fromCharString("oem20xxxxxxxxxxxxxxx")); + TEMPORARY_RETURN_IGNORED item.SetProductIdentifierValue(CharSpan::fromCharString("oem20xxxxxxxxxxxxxxx")); break; default: return CHIP_ERROR_PROVIDER_LIST_EXHAUSTED;
diff --git a/examples/chef/common/clusters/switch/SwitchManager.cpp b/examples/chef/common/clusters/switch/SwitchManager.cpp index 4dbebd1..779b43b 100644 --- a/examples/chef/common/clusters/switch/SwitchManager.cpp +++ b/examples/chef/common/clusters/switch/SwitchManager.cpp
@@ -175,6 +175,7 @@ #if CONFIG_ENABLE_PW_RPC ChefRpcActionsWorker::Instance().RegisterRpcActionsDelegate(Clusters::Switch::Id, gSwitchActionsDelegate); #endif // CONFIG_ENABLE_PW_RPC - SetTagList(/* endpoint= */ 1, Span<const Clusters::Descriptor::Structs::SemanticTagStruct::Type>(gLatchingSwitch)); + TEMPORARY_RETURN_IGNORED SetTagList(/* endpoint= */ 1, + Span<const Clusters::Descriptor::Structs::SemanticTagStruct::Type>(gLatchingSwitch)); } #endif // MATTER_DM_SWITCH_CLUSTER_SERVER_ENDPOINT_COUNT > 0
diff --git a/examples/chef/common/clusters/target-navigator/TargetNavigatorManager.cpp b/examples/chef/common/clusters/target-navigator/TargetNavigatorManager.cpp index 1f2dcde..0c1d1f9 100644 --- a/examples/chef/common/clusters/target-navigator/TargetNavigatorManager.cpp +++ b/examples/chef/common/clusters/target-navigator/TargetNavigatorManager.cpp
@@ -66,14 +66,14 @@ { response.data = chip::MakeOptional(CharSpan::fromCharString("error")); response.status = StatusEnum::kTargetNotFound; - helper.Success(response); + TEMPORARY_RETURN_IGNORED helper.Success(response); return; } mCurrentTarget = static_cast<uint8_t>(target); response.data = chip::MakeOptional(CharSpan::fromCharString("data response")); response.status = StatusEnum::kSuccess; - helper.Success(response); + TEMPORARY_RETURN_IGNORED helper.Success(response); } uint16_t TargetNavigatorManager::GetClusterRevision(chip::EndpointId endpoint)
diff --git a/examples/chef/common/stubs.cpp b/examples/chef/common/stubs.cpp index b4f0d4c..b5de416 100644 --- a/examples/chef/common/stubs.cpp +++ b/examples/chef/common/stubs.cpp
@@ -452,21 +452,22 @@ return; } ChipLogDetail(NotSpecified, "Refrigerator device type on EP: %d", kRefEndpointId); - SetTreeCompositionForEndpoint(kRefEndpointId); + TEMPORARY_RETURN_IGNORED SetTreeCompositionForEndpoint(kRefEndpointId); if (DeviceTypes::EndpointHasDeviceType(kColdCabinetEndpointId, DeviceTypes::kTemperatureControlledCabinetDeviceId)) { ChipLogDetail(NotSpecified, "Temperature controlled cabinet device type on EP: %d", kColdCabinetEndpointId); - SetParentEndpointForEndpoint(kColdCabinetEndpointId, kRefEndpointId); - SetTagList(kColdCabinetEndpointId, - Span<const Clusters::Descriptor::Structs::SemanticTagStruct::Type>(gRefrigeratorTagList)); + TEMPORARY_RETURN_IGNORED SetParentEndpointForEndpoint(kColdCabinetEndpointId, kRefEndpointId); + TEMPORARY_RETURN_IGNORED SetTagList( + kColdCabinetEndpointId, Span<const Clusters::Descriptor::Structs::SemanticTagStruct::Type>(gRefrigeratorTagList)); } if (DeviceTypes::EndpointHasDeviceType(kFreezeCabinetEndpointId, DeviceTypes::kTemperatureControlledCabinetDeviceId)) { ChipLogDetail(NotSpecified, "Temperature controlled cabinet device type on EP: %d", kFreezeCabinetEndpointId); - SetParentEndpointForEndpoint(kFreezeCabinetEndpointId, kRefEndpointId); - SetTagList(kFreezeCabinetEndpointId, Span<const Clusters::Descriptor::Structs::SemanticTagStruct::Type>(gFreezerTagList)); + TEMPORARY_RETURN_IGNORED SetParentEndpointForEndpoint(kFreezeCabinetEndpointId, kRefEndpointId); + TEMPORARY_RETURN_IGNORED SetTagList(kFreezeCabinetEndpointId, + Span<const Clusters::Descriptor::Structs::SemanticTagStruct::Type>(gFreezerTagList)); } } @@ -478,7 +479,7 @@ */ void CooktopCookSurfaceInit(EndpointId kCooktopEpId) { - SetTreeCompositionForEndpoint(kCooktopEpId); + TEMPORARY_RETURN_IGNORED SetTreeCompositionForEndpoint(kCooktopEpId); switch (kCooktopEpId) { case DeviceTypes::ExpectedEndpointId::kCooktopStandAlone: @@ -489,9 +490,10 @@ if (DeviceTypes::EndpointHasDeviceType(kCookSurfaceEpId, DeviceTypes::kCookSurfaceDeviceId)) { ChipLogDetail(NotSpecified, "Cook Surface device type on EP: %d", kCookSurfaceEpId); - SetParentEndpointForEndpoint(kCookSurfaceEpId, kCooktopEpId); - SetTagList(kCookSurfaceEpId, - Span<const Clusters::Descriptor::Structs::SemanticTagStruct::Type>(PostionSemanticTag::kLeftTagList)); + TEMPORARY_RETURN_IGNORED SetParentEndpointForEndpoint(kCookSurfaceEpId, kCooktopEpId); + TEMPORARY_RETURN_IGNORED SetTagList( + kCookSurfaceEpId, + Span<const Clusters::Descriptor::Structs::SemanticTagStruct::Type>(PostionSemanticTag::kLeftTagList)); } } break; @@ -501,14 +503,15 @@ DeviceTypes::EndpointHasDeviceType(kOvenEpId, DeviceTypes::kOvenDeviceId)) { ChipLogDetail(NotSpecified, "Cooktop device type on EP: %d", kCooktopEpId); - SetParentEndpointForEndpoint(kCooktopEpId, kOvenEpId); + TEMPORARY_RETURN_IGNORED SetParentEndpointForEndpoint(kCooktopEpId, kOvenEpId); EndpointId kCookSurfaceEpId = DeviceTypes::ExpectedEndpointId::kCookSurfacePartOfCooktopOven; if (DeviceTypes::EndpointHasDeviceType(kCookSurfaceEpId, DeviceTypes::kCookSurfaceDeviceId)) { ChipLogDetail(NotSpecified, "Cook Surface device type on EP: %d", kCookSurfaceEpId); - SetParentEndpointForEndpoint(kCookSurfaceEpId, kCooktopEpId); - SetTagList(kCookSurfaceEpId, - Span<const Clusters::Descriptor::Structs::SemanticTagStruct::Type>(PostionSemanticTag::kLeftTagList)); + TEMPORARY_RETURN_IGNORED SetParentEndpointForEndpoint(kCookSurfaceEpId, kCooktopEpId); + TEMPORARY_RETURN_IGNORED SetTagList( + kCookSurfaceEpId, + Span<const Clusters::Descriptor::Structs::SemanticTagStruct::Type>(PostionSemanticTag::kLeftTagList)); } } } @@ -529,14 +532,15 @@ } ChipLogDetail(NotSpecified, "Oven device type on EP: %d", kOvenEpId); - SetTreeCompositionForEndpoint(kOvenEpId); + TEMPORARY_RETURN_IGNORED SetTreeCompositionForEndpoint(kOvenEpId); if (DeviceTypes::EndpointHasDeviceType(kTemperatureControlledCabinetEpId, DeviceTypes::kTemperatureControlledCabinetDeviceId)) { ChipLogDetail(NotSpecified, "Temperature controlled cabinet device type on EP: %d", kTemperatureControlledCabinetEpId); - SetParentEndpointForEndpoint(kTemperatureControlledCabinetEpId, kOvenEpId); - SetTagList(kTemperatureControlledCabinetEpId, - Span<const Clusters::Descriptor::Structs::SemanticTagStruct::Type>(PostionSemanticTag::kTopTagList)); + TEMPORARY_RETURN_IGNORED SetParentEndpointForEndpoint(kTemperatureControlledCabinetEpId, kOvenEpId); + TEMPORARY_RETURN_IGNORED SetTagList( + kTemperatureControlledCabinetEpId, + Span<const Clusters::Descriptor::Structs::SemanticTagStruct::Type>(PostionSemanticTag::kTopTagList)); #ifdef MATTER_DM_PLUGIN_OVEN_CAVITY_OPERATIONAL_STATE_SERVER Clusters::OvenCavityOperationalState::InitChefOvenCavityOperationalStateCluster(); #endif // MATTER_DM_PLUGIN_OVEN_CAVITY_OPERATIONAL_STATE_SERVER
diff --git a/examples/chef/nrfconnect/AppTask.cpp b/examples/chef/nrfconnect/AppTask.cpp index 51b783e..8db2f79 100644 --- a/examples/chef/nrfconnect/AppTask.cpp +++ b/examples/chef/nrfconnect/AppTask.cpp
@@ -166,7 +166,7 @@ return err; } - sThreadNetworkDriver.Init(); + TEMPORARY_RETURN_IGNORED sThreadNetworkDriver.Init(); #else return CHIP_ERROR_INTERNAL; #endif // CONFIG_NET_L2_OPENTHREAD @@ -219,7 +219,7 @@ // Add CHIP event handler and start CHIP thread. // Note that all the initialization code should happen prior to this point to avoid data races // between the main and the CHIP threads - PlatformMgr().AddEventHandler(ChipEventHandler, 0); + TEMPORARY_RETURN_IGNORED PlatformMgr().AddEventHandler(ChipEventHandler, 0); err = PlatformMgr().StartEventLoopTask(); if (err != CHIP_NO_ERROR) @@ -240,7 +240,7 @@ { ReturnErrorOnFailure(Init()); - chip::DeviceLayer::PlatformMgr().ScheduleWork(AppTask::InitServer); + TEMPORARY_RETURN_IGNORED chip::DeviceLayer::PlatformMgr().ScheduleWork(AppTask::InitServer); return CHIP_NO_ERROR; } @@ -469,7 +469,7 @@ return; } ChipLogProgress(AppServer, "MsgQ set event.Type = %u", chip::to_underlying(event.Type)); - chip::DeviceLayer::PlatformMgr().ScheduleWork(AppTask::MsgQConsume); + TEMPORARY_RETURN_IGNORED chip::DeviceLayer::PlatformMgr().ScheduleWork(AppTask::MsgQConsume); } void AppTask::DispatchEvent(const AppEvent & event)