From aca5d82b052d9d7a08aa55a06aad349eeb1129e6 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Mon, 10 Jan 2022 21:38:15 -0500 Subject: [PATCH] Ensure all fields in cluster-objects structs are default-initialized. Otherwise we can end up reading random values from un-initialized memory (e.g. if a mandatory command/struct/event field is not sent by the other side). Fixes https://github.com/project-chip/connectedhomeip/issues/10271 --- src/app/common/templates/templates.json | 4 + src/app/data-model/DecodableList.h | 6 + .../partials/cluster-objects-field-init.zapt | 17 + .../templates/app/cluster-objects.zapt | 12 +- .../zap-generated/cluster-objects.h | 4731 +++++++++-------- 5 files changed, 2420 insertions(+), 2350 deletions(-) create mode 100644 src/app/zap-templates/partials/cluster-objects-field-init.zapt diff --git a/src/app/common/templates/templates.json b/src/app/common/templates/templates.json index a91a71c88b3af1..366ef0457fff13 100644 --- a/src/app/common/templates/templates.json +++ b/src/app/common/templates/templates.json @@ -17,6 +17,10 @@ { "name": "cluster_objects_struct", "path": "../../zap-templates/partials/cluster-objects-struct.zapt" + }, + { + "name": "cluster_objects_field_init", + "path": "../../zap-templates/partials/cluster-objects-field-init.zapt" } ], "templates": [ diff --git a/src/app/data-model/DecodableList.h b/src/app/data-model/DecodableList.h index ac1075c9ab594f..064a55a0ca6176 100644 --- a/src/app/data-model/DecodableList.h +++ b/src/app/data-model/DecodableList.h @@ -38,6 +38,12 @@ template class DecodableList { public: + DecodableList() + { + // Init to an empty list. + mReader.Init(nullptr, 0); + } + /* * @brief * diff --git a/src/app/zap-templates/partials/cluster-objects-field-init.zapt b/src/app/zap-templates/partials/cluster-objects-field-init.zapt new file mode 100644 index 00000000000000..b6729e7eac3d7e --- /dev/null +++ b/src/app/zap-templates/partials/cluster-objects-field-init.zapt @@ -0,0 +1,17 @@ +{{! For now, just initialize fields to type defaults. Longer-term, we + may want to use spec-defined default values here. }} +{{#unless isOptional}} {{! Optionals inited by constructor }} + {{~#unless isNullable}} {{! Nullables inited by constructor }} + {{~#unless isArray}} {{! DataModel lists inited by constructor }} + {{~#unless entryType}} {{! DataModel lists (for attributes) inited by constructor }} + {{~#unless (isString type)}} {{! Strings are Spans, inited by constructor }} + {{~#if_is_struct type}} + {{! Structs have their own initializers }} + {{~else~}} + = static_cast<{{zapTypeToEncodableClusterObjectType type}}>(0) + {{~/if_is_struct}} + {{~/unless}} + {{~/unless}} + {{~/unless}} + {{~/unless}} +{{~/unless}} \ No newline at end of file diff --git a/src/app/zap-templates/templates/app/cluster-objects.zapt b/src/app/zap-templates/templates/app/cluster-objects.zapt index 762649454499e3..d6684e20ddb768 100644 --- a/src/app/zap-templates/templates/app/cluster-objects.zapt +++ b/src/app/zap-templates/templates/app/cluster-objects.zapt @@ -111,7 +111,7 @@ public: static constexpr ClusterId GetClusterId() { return Clusters::{{asUpperCamelCase parent.name}}::Id; } {{#zcl_command_arguments}} - {{zapTypeToEncodableClusterObjectType type}} {{asLowerCamelCase label}}; + {{zapTypeToEncodableClusterObjectType type}} {{asLowerCamelCase label}}{{> cluster_objects_field_init}}; {{/zcl_command_arguments}} CHIP_ERROR Encode(TLV::TLVWriter &writer, TLV::Tag tag) const; @@ -132,7 +132,7 @@ public: static constexpr ClusterId GetClusterId() { return Clusters::{{asUpperCamelCase parent.name}}::Id; } {{#zcl_command_arguments}} - {{zapTypeToDecodableClusterObjectType type}} {{asLowerCamelCase label}}; + {{zapTypeToDecodableClusterObjectType type}} {{asLowerCamelCase label}}{{> cluster_objects_field_init}}; {{/zcl_command_arguments}} CHIP_ERROR Decode(TLV::TLVReader &reader); }; @@ -174,7 +174,9 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader &reader, const ConcreteAttributePath &path); {{#zcl_attributes_server}} - Attributes::{{asUpperCamelCase label}}::TypeInfo::DecodableType {{asLowerCamelCase label}}; + {{! isOptional=false because optional attributes don't get represented + as Optional types here. }} + Attributes::{{asUpperCamelCase label}}::TypeInfo::DecodableType {{asLowerCamelCase label}}{{> cluster_objects_field_init isOptional=false}}; {{/zcl_attributes_server}} }; }; @@ -201,7 +203,7 @@ public: static constexpr ClusterId GetClusterId() { return Clusters::{{asUpperCamelCase parent.name}}::Id; } {{#zcl_event_fields}} - {{zapTypeToEncodableClusterObjectType type}} {{asLowerCamelCase name}}; + {{zapTypeToEncodableClusterObjectType type}} {{asLowerCamelCase name}}{{> cluster_objects_field_init}}; {{/zcl_event_fields}} CHIP_ERROR Encode(TLV::TLVWriter &writer, TLV::Tag tag) const; @@ -214,7 +216,7 @@ public: static constexpr ClusterId GetClusterId() { return Clusters::{{asUpperCamelCase parent.name}}::Id; } {{#zcl_event_fields}} - {{zapTypeToDecodableClusterObjectType type}} {{asLowerCamelCase name}}; + {{zapTypeToDecodableClusterObjectType type}} {{asLowerCamelCase name}}{{> cluster_objects_field_init}}; {{/zcl_event_fields}} CHIP_ERROR Decode(TLV::TLVReader &reader); diff --git a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h index 8064d67fa1195a..c241264ceb3154 100644 --- a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h +++ b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h @@ -796,66 +796,68 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MainsVoltage::TypeInfo::DecodableType mainsVoltage; - Attributes::MainsFrequency::TypeInfo::DecodableType mainsFrequency; - Attributes::MainsAlarmMask::TypeInfo::DecodableType mainsAlarmMask; - Attributes::MainsVoltageMinThreshold::TypeInfo::DecodableType mainsVoltageMinThreshold; - Attributes::MainsVoltageMaxThreshold::TypeInfo::DecodableType mainsVoltageMaxThreshold; - Attributes::MainsVoltageDwellTrip::TypeInfo::DecodableType mainsVoltageDwellTrip; - Attributes::BatteryVoltage::TypeInfo::DecodableType batteryVoltage; - Attributes::BatteryPercentageRemaining::TypeInfo::DecodableType batteryPercentageRemaining; + Attributes::MainsVoltage::TypeInfo::DecodableType mainsVoltage = static_cast(0); + Attributes::MainsFrequency::TypeInfo::DecodableType mainsFrequency = static_cast(0); + Attributes::MainsAlarmMask::TypeInfo::DecodableType mainsAlarmMask = static_cast(0); + Attributes::MainsVoltageMinThreshold::TypeInfo::DecodableType mainsVoltageMinThreshold = static_cast(0); + Attributes::MainsVoltageMaxThreshold::TypeInfo::DecodableType mainsVoltageMaxThreshold = static_cast(0); + Attributes::MainsVoltageDwellTrip::TypeInfo::DecodableType mainsVoltageDwellTrip = static_cast(0); + Attributes::BatteryVoltage::TypeInfo::DecodableType batteryVoltage = static_cast(0); + Attributes::BatteryPercentageRemaining::TypeInfo::DecodableType batteryPercentageRemaining = static_cast(0); Attributes::BatteryManufacturer::TypeInfo::DecodableType batteryManufacturer; - Attributes::BatterySize::TypeInfo::DecodableType batterySize; - Attributes::BatteryAhrRating::TypeInfo::DecodableType batteryAhrRating; - Attributes::BatteryQuantity::TypeInfo::DecodableType batteryQuantity; - Attributes::BatteryRatedVoltage::TypeInfo::DecodableType batteryRatedVoltage; - Attributes::BatteryAlarmMask::TypeInfo::DecodableType batteryAlarmMask; - Attributes::BatteryVoltageMinThreshold::TypeInfo::DecodableType batteryVoltageMinThreshold; - Attributes::BatteryVoltageThreshold1::TypeInfo::DecodableType batteryVoltageThreshold1; - Attributes::BatteryVoltageThreshold2::TypeInfo::DecodableType batteryVoltageThreshold2; - Attributes::BatteryVoltageThreshold3::TypeInfo::DecodableType batteryVoltageThreshold3; - Attributes::BatteryPercentageMinThreshold::TypeInfo::DecodableType batteryPercentageMinThreshold; - Attributes::BatteryPercentageThreshold1::TypeInfo::DecodableType batteryPercentageThreshold1; - Attributes::BatteryPercentageThreshold2::TypeInfo::DecodableType batteryPercentageThreshold2; - Attributes::BatteryPercentageThreshold3::TypeInfo::DecodableType batteryPercentageThreshold3; - Attributes::BatteryAlarmState::TypeInfo::DecodableType batteryAlarmState; - Attributes::Battery2Voltage::TypeInfo::DecodableType battery2Voltage; - Attributes::Battery2PercentageRemaining::TypeInfo::DecodableType battery2PercentageRemaining; + Attributes::BatterySize::TypeInfo::DecodableType batterySize = static_cast(0); + Attributes::BatteryAhrRating::TypeInfo::DecodableType batteryAhrRating = static_cast(0); + Attributes::BatteryQuantity::TypeInfo::DecodableType batteryQuantity = static_cast(0); + Attributes::BatteryRatedVoltage::TypeInfo::DecodableType batteryRatedVoltage = static_cast(0); + Attributes::BatteryAlarmMask::TypeInfo::DecodableType batteryAlarmMask = static_cast(0); + Attributes::BatteryVoltageMinThreshold::TypeInfo::DecodableType batteryVoltageMinThreshold = static_cast(0); + Attributes::BatteryVoltageThreshold1::TypeInfo::DecodableType batteryVoltageThreshold1 = static_cast(0); + Attributes::BatteryVoltageThreshold2::TypeInfo::DecodableType batteryVoltageThreshold2 = static_cast(0); + Attributes::BatteryVoltageThreshold3::TypeInfo::DecodableType batteryVoltageThreshold3 = static_cast(0); + Attributes::BatteryPercentageMinThreshold::TypeInfo::DecodableType batteryPercentageMinThreshold = static_cast(0); + Attributes::BatteryPercentageThreshold1::TypeInfo::DecodableType batteryPercentageThreshold1 = static_cast(0); + Attributes::BatteryPercentageThreshold2::TypeInfo::DecodableType batteryPercentageThreshold2 = static_cast(0); + Attributes::BatteryPercentageThreshold3::TypeInfo::DecodableType batteryPercentageThreshold3 = static_cast(0); + Attributes::BatteryAlarmState::TypeInfo::DecodableType batteryAlarmState = static_cast(0); + Attributes::Battery2Voltage::TypeInfo::DecodableType battery2Voltage = static_cast(0); + Attributes::Battery2PercentageRemaining::TypeInfo::DecodableType battery2PercentageRemaining = static_cast(0); Attributes::Battery2Manufacturer::TypeInfo::DecodableType battery2Manufacturer; - Attributes::Battery2Size::TypeInfo::DecodableType battery2Size; - Attributes::Battery2AhrRating::TypeInfo::DecodableType battery2AhrRating; - Attributes::Battery2Quantity::TypeInfo::DecodableType battery2Quantity; - Attributes::Battery2RatedVoltage::TypeInfo::DecodableType battery2RatedVoltage; - Attributes::Battery2AlarmMask::TypeInfo::DecodableType battery2AlarmMask; - Attributes::Battery2VoltageMinThreshold::TypeInfo::DecodableType battery2VoltageMinThreshold; - Attributes::Battery2VoltageThreshold1::TypeInfo::DecodableType battery2VoltageThreshold1; - Attributes::Battery2VoltageThreshold2::TypeInfo::DecodableType battery2VoltageThreshold2; - Attributes::Battery2VoltageThreshold3::TypeInfo::DecodableType battery2VoltageThreshold3; - Attributes::Battery2PercentageMinThreshold::TypeInfo::DecodableType battery2PercentageMinThreshold; - Attributes::Battery2PercentageThreshold1::TypeInfo::DecodableType battery2PercentageThreshold1; - Attributes::Battery2PercentageThreshold2::TypeInfo::DecodableType battery2PercentageThreshold2; - Attributes::Battery2PercentageThreshold3::TypeInfo::DecodableType battery2PercentageThreshold3; - Attributes::Battery2AlarmState::TypeInfo::DecodableType battery2AlarmState; - Attributes::Battery3Voltage::TypeInfo::DecodableType battery3Voltage; - Attributes::Battery3PercentageRemaining::TypeInfo::DecodableType battery3PercentageRemaining; + Attributes::Battery2Size::TypeInfo::DecodableType battery2Size = static_cast(0); + Attributes::Battery2AhrRating::TypeInfo::DecodableType battery2AhrRating = static_cast(0); + Attributes::Battery2Quantity::TypeInfo::DecodableType battery2Quantity = static_cast(0); + Attributes::Battery2RatedVoltage::TypeInfo::DecodableType battery2RatedVoltage = static_cast(0); + Attributes::Battery2AlarmMask::TypeInfo::DecodableType battery2AlarmMask = static_cast(0); + Attributes::Battery2VoltageMinThreshold::TypeInfo::DecodableType battery2VoltageMinThreshold = static_cast(0); + Attributes::Battery2VoltageThreshold1::TypeInfo::DecodableType battery2VoltageThreshold1 = static_cast(0); + Attributes::Battery2VoltageThreshold2::TypeInfo::DecodableType battery2VoltageThreshold2 = static_cast(0); + Attributes::Battery2VoltageThreshold3::TypeInfo::DecodableType battery2VoltageThreshold3 = static_cast(0); + Attributes::Battery2PercentageMinThreshold::TypeInfo::DecodableType battery2PercentageMinThreshold = + static_cast(0); + Attributes::Battery2PercentageThreshold1::TypeInfo::DecodableType battery2PercentageThreshold1 = static_cast(0); + Attributes::Battery2PercentageThreshold2::TypeInfo::DecodableType battery2PercentageThreshold2 = static_cast(0); + Attributes::Battery2PercentageThreshold3::TypeInfo::DecodableType battery2PercentageThreshold3 = static_cast(0); + Attributes::Battery2AlarmState::TypeInfo::DecodableType battery2AlarmState = static_cast(0); + Attributes::Battery3Voltage::TypeInfo::DecodableType battery3Voltage = static_cast(0); + Attributes::Battery3PercentageRemaining::TypeInfo::DecodableType battery3PercentageRemaining = static_cast(0); Attributes::Battery3Manufacturer::TypeInfo::DecodableType battery3Manufacturer; - Attributes::Battery3Size::TypeInfo::DecodableType battery3Size; - Attributes::Battery3AhrRating::TypeInfo::DecodableType battery3AhrRating; - Attributes::Battery3Quantity::TypeInfo::DecodableType battery3Quantity; - Attributes::Battery3RatedVoltage::TypeInfo::DecodableType battery3RatedVoltage; - Attributes::Battery3AlarmMask::TypeInfo::DecodableType battery3AlarmMask; - Attributes::Battery3VoltageMinThreshold::TypeInfo::DecodableType battery3VoltageMinThreshold; - Attributes::Battery3VoltageThreshold1::TypeInfo::DecodableType battery3VoltageThreshold1; - Attributes::Battery3VoltageThreshold2::TypeInfo::DecodableType battery3VoltageThreshold2; - Attributes::Battery3VoltageThreshold3::TypeInfo::DecodableType battery3VoltageThreshold3; - Attributes::Battery3PercentageMinThreshold::TypeInfo::DecodableType battery3PercentageMinThreshold; - Attributes::Battery3PercentageThreshold1::TypeInfo::DecodableType battery3PercentageThreshold1; - Attributes::Battery3PercentageThreshold2::TypeInfo::DecodableType battery3PercentageThreshold2; - Attributes::Battery3PercentageThreshold3::TypeInfo::DecodableType battery3PercentageThreshold3; - Attributes::Battery3AlarmState::TypeInfo::DecodableType battery3AlarmState; + Attributes::Battery3Size::TypeInfo::DecodableType battery3Size = static_cast(0); + Attributes::Battery3AhrRating::TypeInfo::DecodableType battery3AhrRating = static_cast(0); + Attributes::Battery3Quantity::TypeInfo::DecodableType battery3Quantity = static_cast(0); + Attributes::Battery3RatedVoltage::TypeInfo::DecodableType battery3RatedVoltage = static_cast(0); + Attributes::Battery3AlarmMask::TypeInfo::DecodableType battery3AlarmMask = static_cast(0); + Attributes::Battery3VoltageMinThreshold::TypeInfo::DecodableType battery3VoltageMinThreshold = static_cast(0); + Attributes::Battery3VoltageThreshold1::TypeInfo::DecodableType battery3VoltageThreshold1 = static_cast(0); + Attributes::Battery3VoltageThreshold2::TypeInfo::DecodableType battery3VoltageThreshold2 = static_cast(0); + Attributes::Battery3VoltageThreshold3::TypeInfo::DecodableType battery3VoltageThreshold3 = static_cast(0); + Attributes::Battery3PercentageMinThreshold::TypeInfo::DecodableType battery3PercentageMinThreshold = + static_cast(0); + Attributes::Battery3PercentageThreshold1::TypeInfo::DecodableType battery3PercentageThreshold1 = static_cast(0); + Attributes::Battery3PercentageThreshold2::TypeInfo::DecodableType battery3PercentageThreshold2 = static_cast(0); + Attributes::Battery3PercentageThreshold3::TypeInfo::DecodableType battery3PercentageThreshold3 = static_cast(0); + Attributes::Battery3AlarmState::TypeInfo::DecodableType battery3AlarmState = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -1017,18 +1019,18 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::CurrentTemperature::TypeInfo::DecodableType currentTemperature; - Attributes::MinTempExperienced::TypeInfo::DecodableType minTempExperienced; - Attributes::MaxTempExperienced::TypeInfo::DecodableType maxTempExperienced; - Attributes::OverTempTotalDwell::TypeInfo::DecodableType overTempTotalDwell; - Attributes::DeviceTempAlarmMask::TypeInfo::DecodableType deviceTempAlarmMask; - Attributes::LowTempThreshold::TypeInfo::DecodableType lowTempThreshold; - Attributes::HighTempThreshold::TypeInfo::DecodableType highTempThreshold; - Attributes::LowTempDwellTripPoint::TypeInfo::DecodableType lowTempDwellTripPoint; - Attributes::HighTempDwellTripPoint::TypeInfo::DecodableType highTempDwellTripPoint; + Attributes::CurrentTemperature::TypeInfo::DecodableType currentTemperature = static_cast(0); + Attributes::MinTempExperienced::TypeInfo::DecodableType minTempExperienced = static_cast(0); + Attributes::MaxTempExperienced::TypeInfo::DecodableType maxTempExperienced = static_cast(0); + Attributes::OverTempTotalDwell::TypeInfo::DecodableType overTempTotalDwell = static_cast(0); + Attributes::DeviceTempAlarmMask::TypeInfo::DecodableType deviceTempAlarmMask = static_cast(0); + Attributes::LowTempThreshold::TypeInfo::DecodableType lowTempThreshold = static_cast(0); + Attributes::HighTempThreshold::TypeInfo::DecodableType highTempThreshold = static_cast(0); + Attributes::LowTempDwellTripPoint::TypeInfo::DecodableType lowTempDwellTripPoint = static_cast(0); + Attributes::HighTempDwellTripPoint::TypeInfo::DecodableType highTempDwellTripPoint = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -1117,7 +1119,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::Identify::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Identify::Id; } - uint16_t identifyTime; + uint16_t identifyTime = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -1132,7 +1134,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::Identify::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Identify::Id; } - uint16_t identifyTime; + uint16_t identifyTime = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace Identify @@ -1149,7 +1151,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::IdentifyQueryResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Identify::Id; } - uint16_t timeout; + uint16_t timeout = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -1164,7 +1166,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::IdentifyQueryResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Identify::Id; } - uint16_t timeout; + uint16_t timeout = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace IdentifyQueryResponse @@ -1210,8 +1212,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::TriggerEffect::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Identify::Id; } - IdentifyEffectIdentifier effectIdentifier; - IdentifyEffectVariant effectVariant; + IdentifyEffectIdentifier effectIdentifier = static_cast(0); + IdentifyEffectVariant effectVariant = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -1226,8 +1228,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::TriggerEffect::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Identify::Id; } - IdentifyEffectIdentifier effectIdentifier; - IdentifyEffectVariant effectVariant; + IdentifyEffectIdentifier effectIdentifier = static_cast(0); + IdentifyEffectVariant effectVariant = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace TriggerEffect @@ -1304,11 +1306,11 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::IdentifyTime::TypeInfo::DecodableType identifyTime; - Attributes::IdentifyType::TypeInfo::DecodableType identifyType; + Attributes::IdentifyTime::TypeInfo::DecodableType identifyTime = static_cast(0); + Attributes::IdentifyType::TypeInfo::DecodableType identifyType = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -1385,7 +1387,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::AddGroup::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Groups::Id; } - uint16_t groupId; + uint16_t groupId = static_cast(0); chip::CharSpan groupName; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -1401,7 +1403,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::AddGroup::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Groups::Id; } - uint16_t groupId; + uint16_t groupId = static_cast(0); chip::CharSpan groupName; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -1420,8 +1422,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::AddGroupResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Groups::Id; } - uint8_t status; - uint16_t groupId; + uint8_t status = static_cast(0); + uint16_t groupId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -1436,8 +1438,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::AddGroupResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Groups::Id; } - uint8_t status; - uint16_t groupId; + uint8_t status = static_cast(0); + uint16_t groupId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace AddGroupResponse @@ -1454,7 +1456,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ViewGroup::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Groups::Id; } - uint16_t groupId; + uint16_t groupId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -1469,7 +1471,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ViewGroup::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Groups::Id; } - uint16_t groupId; + uint16_t groupId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ViewGroup @@ -1488,8 +1490,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ViewGroupResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Groups::Id; } - uint8_t status; - uint16_t groupId; + uint8_t status = static_cast(0); + uint16_t groupId = static_cast(0); chip::CharSpan groupName; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -1505,8 +1507,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ViewGroupResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Groups::Id; } - uint8_t status; - uint16_t groupId; + uint8_t status = static_cast(0); + uint16_t groupId = static_cast(0); chip::CharSpan groupName; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -1557,7 +1559,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetGroupMembershipResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Groups::Id; } - uint8_t capacity; + uint8_t capacity = static_cast(0); DataModel::List groupList; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -1573,7 +1575,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetGroupMembershipResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Groups::Id; } - uint8_t capacity; + uint8_t capacity = static_cast(0); DataModel::DecodableList groupList; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -1591,7 +1593,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::RemoveGroup::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Groups::Id; } - uint16_t groupId; + uint16_t groupId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -1606,7 +1608,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::RemoveGroup::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Groups::Id; } - uint16_t groupId; + uint16_t groupId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace RemoveGroup @@ -1624,8 +1626,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::RemoveGroupResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Groups::Id; } - uint8_t status; - uint16_t groupId; + uint8_t status = static_cast(0); + uint16_t groupId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -1640,8 +1642,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::RemoveGroupResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Groups::Id; } - uint8_t status; - uint16_t groupId; + uint8_t status = static_cast(0); + uint16_t groupId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace RemoveGroupResponse @@ -1687,7 +1689,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::AddGroupIfIdentifying::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Groups::Id; } - uint16_t groupId; + uint16_t groupId = static_cast(0); chip::CharSpan groupName; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -1703,7 +1705,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::AddGroupIfIdentifying::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Groups::Id; } - uint16_t groupId; + uint16_t groupId = static_cast(0); chip::CharSpan groupName; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -1769,10 +1771,10 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::NameSupport::TypeInfo::DecodableType nameSupport; + Attributes::NameSupport::TypeInfo::DecodableType nameSupport = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -1928,9 +1930,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::AddScene::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint16_t groupId; - uint8_t sceneId; - uint16_t transitionTime; + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); + uint16_t transitionTime = static_cast(0); chip::CharSpan sceneName; DataModel::List extensionFieldSets; @@ -1947,9 +1949,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::AddScene::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint16_t groupId; - uint8_t sceneId; - uint16_t transitionTime; + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); + uint16_t transitionTime = static_cast(0); chip::CharSpan sceneName; DataModel::DecodableList extensionFieldSets; CHIP_ERROR Decode(TLV::TLVReader & reader); @@ -1970,9 +1972,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::AddSceneResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint8_t status; - uint16_t groupId; - uint8_t sceneId; + uint8_t status = static_cast(0); + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -1987,9 +1989,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::AddSceneResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint8_t status; - uint16_t groupId; - uint8_t sceneId; + uint8_t status = static_cast(0); + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace AddSceneResponse @@ -2007,8 +2009,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ViewScene::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint16_t groupId; - uint8_t sceneId; + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -2023,8 +2025,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ViewScene::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint16_t groupId; - uint8_t sceneId; + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ViewScene @@ -2046,10 +2048,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ViewSceneResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint8_t status; - uint16_t groupId; - uint8_t sceneId; - uint16_t transitionTime; + uint8_t status = static_cast(0); + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); + uint16_t transitionTime = static_cast(0); chip::CharSpan sceneName; DataModel::List extensionFieldSets; @@ -2066,10 +2068,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ViewSceneResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint8_t status; - uint16_t groupId; - uint8_t sceneId; - uint16_t transitionTime; + uint8_t status = static_cast(0); + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); + uint16_t transitionTime = static_cast(0); chip::CharSpan sceneName; DataModel::DecodableList extensionFieldSets; CHIP_ERROR Decode(TLV::TLVReader & reader); @@ -2089,8 +2091,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::RemoveScene::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint16_t groupId; - uint8_t sceneId; + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -2105,8 +2107,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::RemoveScene::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint16_t groupId; - uint8_t sceneId; + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace RemoveScene @@ -2125,9 +2127,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::RemoveSceneResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint8_t status; - uint16_t groupId; - uint8_t sceneId; + uint8_t status = static_cast(0); + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -2142,9 +2144,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::RemoveSceneResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint8_t status; - uint16_t groupId; - uint8_t sceneId; + uint8_t status = static_cast(0); + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace RemoveSceneResponse @@ -2161,7 +2163,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::RemoveAllScenes::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint16_t groupId; + uint16_t groupId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -2176,7 +2178,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::RemoveAllScenes::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint16_t groupId; + uint16_t groupId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace RemoveAllScenes @@ -2194,8 +2196,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::RemoveAllScenesResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint8_t status; - uint16_t groupId; + uint8_t status = static_cast(0); + uint16_t groupId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -2210,8 +2212,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::RemoveAllScenesResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint8_t status; - uint16_t groupId; + uint8_t status = static_cast(0); + uint16_t groupId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace RemoveAllScenesResponse @@ -2229,8 +2231,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::StoreScene::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint16_t groupId; - uint8_t sceneId; + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -2245,8 +2247,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::StoreScene::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint16_t groupId; - uint8_t sceneId; + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace StoreScene @@ -2265,9 +2267,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::StoreSceneResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint8_t status; - uint16_t groupId; - uint8_t sceneId; + uint8_t status = static_cast(0); + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -2282,9 +2284,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::StoreSceneResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint8_t status; - uint16_t groupId; - uint8_t sceneId; + uint8_t status = static_cast(0); + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace StoreSceneResponse @@ -2303,9 +2305,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::RecallScene::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint16_t groupId; - uint8_t sceneId; - uint16_t transitionTime; + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); + uint16_t transitionTime = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -2320,9 +2322,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::RecallScene::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint16_t groupId; - uint8_t sceneId; - uint16_t transitionTime; + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); + uint16_t transitionTime = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace RecallScene @@ -2339,7 +2341,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetSceneMembership::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint16_t groupId; + uint16_t groupId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -2354,7 +2356,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetSceneMembership::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint16_t groupId; + uint16_t groupId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetSceneMembership @@ -2375,10 +2377,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetSceneMembershipResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint8_t status; - uint8_t capacity; - uint16_t groupId; - uint8_t sceneCount; + uint8_t status = static_cast(0); + uint8_t capacity = static_cast(0); + uint16_t groupId = static_cast(0); + uint8_t sceneCount = static_cast(0); DataModel::List sceneList; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -2394,10 +2396,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetSceneMembershipResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint8_t status; - uint8_t capacity; - uint16_t groupId; - uint8_t sceneCount; + uint8_t status = static_cast(0); + uint8_t capacity = static_cast(0); + uint16_t groupId = static_cast(0); + uint8_t sceneCount = static_cast(0); DataModel::DecodableList sceneList; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -2419,9 +2421,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::EnhancedAddScene::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint16_t groupId; - uint8_t sceneId; - uint16_t transitionTime; + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); + uint16_t transitionTime = static_cast(0); chip::CharSpan sceneName; DataModel::List extensionFieldSets; @@ -2438,9 +2440,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::EnhancedAddScene::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint16_t groupId; - uint8_t sceneId; - uint16_t transitionTime; + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); + uint16_t transitionTime = static_cast(0); chip::CharSpan sceneName; DataModel::DecodableList extensionFieldSets; CHIP_ERROR Decode(TLV::TLVReader & reader); @@ -2461,9 +2463,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::EnhancedAddSceneResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint8_t status; - uint16_t groupId; - uint8_t sceneId; + uint8_t status = static_cast(0); + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -2478,9 +2480,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::EnhancedAddSceneResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint8_t status; - uint16_t groupId; - uint8_t sceneId; + uint8_t status = static_cast(0); + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace EnhancedAddSceneResponse @@ -2498,8 +2500,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::EnhancedViewScene::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint16_t groupId; - uint8_t sceneId; + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -2514,8 +2516,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::EnhancedViewScene::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint16_t groupId; - uint8_t sceneId; + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace EnhancedViewScene @@ -2537,10 +2539,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::EnhancedViewSceneResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint8_t status; - uint16_t groupId; - uint8_t sceneId; - uint16_t transitionTime; + uint8_t status = static_cast(0); + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); + uint16_t transitionTime = static_cast(0); chip::CharSpan sceneName; DataModel::List extensionFieldSets; @@ -2557,10 +2559,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::EnhancedViewSceneResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint8_t status; - uint16_t groupId; - uint8_t sceneId; - uint16_t transitionTime; + uint8_t status = static_cast(0); + uint16_t groupId = static_cast(0); + uint8_t sceneId = static_cast(0); + uint16_t transitionTime = static_cast(0); chip::CharSpan sceneName; DataModel::DecodableList extensionFieldSets; CHIP_ERROR Decode(TLV::TLVReader & reader); @@ -2583,11 +2585,11 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::CopyScene::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - chip::BitFlags mode; - uint16_t groupIdFrom; - uint8_t sceneIdFrom; - uint16_t groupIdTo; - uint8_t sceneIdTo; + chip::BitFlags mode = static_cast>(0); + uint16_t groupIdFrom = static_cast(0); + uint8_t sceneIdFrom = static_cast(0); + uint16_t groupIdTo = static_cast(0); + uint8_t sceneIdTo = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -2602,11 +2604,11 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::CopyScene::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - chip::BitFlags mode; - uint16_t groupIdFrom; - uint8_t sceneIdFrom; - uint16_t groupIdTo; - uint8_t sceneIdTo; + chip::BitFlags mode = static_cast>(0); + uint16_t groupIdFrom = static_cast(0); + uint8_t sceneIdFrom = static_cast(0); + uint16_t groupIdTo = static_cast(0); + uint8_t sceneIdTo = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace CopyScene @@ -2625,9 +2627,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::CopySceneResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint8_t status; - uint16_t groupIdFrom; - uint8_t sceneIdFrom; + uint8_t status = static_cast(0); + uint16_t groupIdFrom = static_cast(0); + uint8_t sceneIdFrom = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -2642,9 +2644,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::CopySceneResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Scenes::Id; } - uint8_t status; - uint16_t groupIdFrom; - uint8_t sceneIdFrom; + uint8_t status = static_cast(0); + uint16_t groupIdFrom = static_cast(0); + uint8_t sceneIdFrom = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace CopySceneResponse @@ -2769,15 +2771,15 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::SceneCount::TypeInfo::DecodableType sceneCount; - Attributes::CurrentScene::TypeInfo::DecodableType currentScene; - Attributes::CurrentGroup::TypeInfo::DecodableType currentGroup; - Attributes::SceneValid::TypeInfo::DecodableType sceneValid; - Attributes::NameSupport::TypeInfo::DecodableType nameSupport; - Attributes::LastConfiguredBy::TypeInfo::DecodableType lastConfiguredBy; + Attributes::SceneCount::TypeInfo::DecodableType sceneCount = static_cast(0); + Attributes::CurrentScene::TypeInfo::DecodableType currentScene = static_cast(0); + Attributes::CurrentGroup::TypeInfo::DecodableType currentGroup = static_cast(0); + Attributes::SceneValid::TypeInfo::DecodableType sceneValid = static_cast(0); + Attributes::NameSupport::TypeInfo::DecodableType nameSupport = static_cast(0); + Attributes::LastConfiguredBy::TypeInfo::DecodableType lastConfiguredBy = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -2960,8 +2962,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::OffWithEffect::Id; } static constexpr ClusterId GetClusterId() { return Clusters::OnOff::Id; } - OnOffEffectIdentifier effectId; - OnOffDelayedAllOffEffectVariant effectVariant; + OnOffEffectIdentifier effectId = static_cast(0); + OnOffDelayedAllOffEffectVariant effectVariant = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -2976,8 +2978,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::OffWithEffect::Id; } static constexpr ClusterId GetClusterId() { return Clusters::OnOff::Id; } - OnOffEffectIdentifier effectId; - OnOffDelayedAllOffEffectVariant effectVariant; + OnOffEffectIdentifier effectId = static_cast(0); + OnOffDelayedAllOffEffectVariant effectVariant = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace OffWithEffect @@ -3024,9 +3026,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::OnWithTimedOff::Id; } static constexpr ClusterId GetClusterId() { return Clusters::OnOff::Id; } - chip::BitFlags onOffControl; - uint16_t onTime; - uint16_t offWaitTime; + chip::BitFlags onOffControl = static_cast>(0); + uint16_t onTime = static_cast(0); + uint16_t offWaitTime = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -3041,9 +3043,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::OnWithTimedOff::Id; } static constexpr ClusterId GetClusterId() { return Clusters::OnOff::Id; } - chip::BitFlags onOffControl; - uint16_t onTime; - uint16_t offWaitTime; + chip::BitFlags onOffControl = static_cast>(0); + uint16_t onTime = static_cast(0); + uint16_t offWaitTime = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace OnWithTimedOff @@ -3156,14 +3158,14 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::OnOff::TypeInfo::DecodableType onOff; - Attributes::GlobalSceneControl::TypeInfo::DecodableType globalSceneControl; - Attributes::OnTime::TypeInfo::DecodableType onTime; - Attributes::OffWaitTime::TypeInfo::DecodableType offWaitTime; - Attributes::StartUpOnOff::TypeInfo::DecodableType startUpOnOff; + Attributes::OnOff::TypeInfo::DecodableType onOff = static_cast(0); + Attributes::GlobalSceneControl::TypeInfo::DecodableType globalSceneControl = static_cast(0); + Attributes::OnTime::TypeInfo::DecodableType onTime = static_cast(0); + Attributes::OffWaitTime::TypeInfo::DecodableType offWaitTime = static_cast(0); + Attributes::StartUpOnOff::TypeInfo::DecodableType startUpOnOff = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -3241,11 +3243,11 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::SwitchType::TypeInfo::DecodableType switchType; - Attributes::SwitchActions::TypeInfo::DecodableType switchActions; + Attributes::SwitchType::TypeInfo::DecodableType switchType = static_cast(0); + Attributes::SwitchActions::TypeInfo::DecodableType switchActions = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -3338,10 +3340,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::MoveToLevel::Id; } static constexpr ClusterId GetClusterId() { return Clusters::LevelControl::Id; } - uint8_t level; - uint16_t transitionTime; - uint8_t optionMask; - uint8_t optionOverride; + uint8_t level = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint8_t optionMask = static_cast(0); + uint8_t optionOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -3356,10 +3358,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::MoveToLevel::Id; } static constexpr ClusterId GetClusterId() { return Clusters::LevelControl::Id; } - uint8_t level; - uint16_t transitionTime; - uint8_t optionMask; - uint8_t optionOverride; + uint8_t level = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint8_t optionMask = static_cast(0); + uint8_t optionOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace MoveToLevel @@ -3379,10 +3381,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::Move::Id; } static constexpr ClusterId GetClusterId() { return Clusters::LevelControl::Id; } - MoveMode moveMode; - uint8_t rate; - uint8_t optionMask; - uint8_t optionOverride; + MoveMode moveMode = static_cast(0); + uint8_t rate = static_cast(0); + uint8_t optionMask = static_cast(0); + uint8_t optionOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -3397,10 +3399,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::Move::Id; } static constexpr ClusterId GetClusterId() { return Clusters::LevelControl::Id; } - MoveMode moveMode; - uint8_t rate; - uint8_t optionMask; - uint8_t optionOverride; + MoveMode moveMode = static_cast(0); + uint8_t rate = static_cast(0); + uint8_t optionMask = static_cast(0); + uint8_t optionOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace Move @@ -3421,11 +3423,11 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::Step::Id; } static constexpr ClusterId GetClusterId() { return Clusters::LevelControl::Id; } - StepMode stepMode; - uint8_t stepSize; - uint16_t transitionTime; - uint8_t optionMask; - uint8_t optionOverride; + StepMode stepMode = static_cast(0); + uint8_t stepSize = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint8_t optionMask = static_cast(0); + uint8_t optionOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -3440,11 +3442,11 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::Step::Id; } static constexpr ClusterId GetClusterId() { return Clusters::LevelControl::Id; } - StepMode stepMode; - uint8_t stepSize; - uint16_t transitionTime; - uint8_t optionMask; - uint8_t optionOverride; + StepMode stepMode = static_cast(0); + uint8_t stepSize = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint8_t optionMask = static_cast(0); + uint8_t optionOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace Step @@ -3462,8 +3464,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::Stop::Id; } static constexpr ClusterId GetClusterId() { return Clusters::LevelControl::Id; } - uint8_t optionMask; - uint8_t optionOverride; + uint8_t optionMask = static_cast(0); + uint8_t optionOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -3478,8 +3480,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::Stop::Id; } static constexpr ClusterId GetClusterId() { return Clusters::LevelControl::Id; } - uint8_t optionMask; - uint8_t optionOverride; + uint8_t optionMask = static_cast(0); + uint8_t optionOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace Stop @@ -3497,8 +3499,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::MoveToLevelWithOnOff::Id; } static constexpr ClusterId GetClusterId() { return Clusters::LevelControl::Id; } - uint8_t level; - uint16_t transitionTime; + uint8_t level = static_cast(0); + uint16_t transitionTime = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -3513,8 +3515,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::MoveToLevelWithOnOff::Id; } static constexpr ClusterId GetClusterId() { return Clusters::LevelControl::Id; } - uint8_t level; - uint16_t transitionTime; + uint8_t level = static_cast(0); + uint16_t transitionTime = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace MoveToLevelWithOnOff @@ -3532,8 +3534,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::MoveWithOnOff::Id; } static constexpr ClusterId GetClusterId() { return Clusters::LevelControl::Id; } - MoveMode moveMode; - uint8_t rate; + MoveMode moveMode = static_cast(0); + uint8_t rate = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -3548,8 +3550,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::MoveWithOnOff::Id; } static constexpr ClusterId GetClusterId() { return Clusters::LevelControl::Id; } - MoveMode moveMode; - uint8_t rate; + MoveMode moveMode = static_cast(0); + uint8_t rate = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace MoveWithOnOff @@ -3568,9 +3570,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::StepWithOnOff::Id; } static constexpr ClusterId GetClusterId() { return Clusters::LevelControl::Id; } - StepMode stepMode; - uint8_t stepSize; - uint16_t transitionTime; + StepMode stepMode = static_cast(0); + uint8_t stepSize = static_cast(0); + uint16_t transitionTime = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -3585,9 +3587,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::StepWithOnOff::Id; } static constexpr ClusterId GetClusterId() { return Clusters::LevelControl::Id; } - StepMode stepMode; - uint8_t stepSize; - uint16_t transitionTime; + StepMode stepMode = static_cast(0); + uint8_t stepSize = static_cast(0); + uint16_t transitionTime = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace StepWithOnOff @@ -3836,23 +3838,23 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::CurrentLevel::TypeInfo::DecodableType currentLevel; - Attributes::RemainingTime::TypeInfo::DecodableType remainingTime; - Attributes::MinLevel::TypeInfo::DecodableType minLevel; - Attributes::MaxLevel::TypeInfo::DecodableType maxLevel; - Attributes::CurrentFrequency::TypeInfo::DecodableType currentFrequency; - Attributes::MinFrequency::TypeInfo::DecodableType minFrequency; - Attributes::MaxFrequency::TypeInfo::DecodableType maxFrequency; - Attributes::Options::TypeInfo::DecodableType options; - Attributes::OnOffTransitionTime::TypeInfo::DecodableType onOffTransitionTime; + Attributes::CurrentLevel::TypeInfo::DecodableType currentLevel = static_cast(0); + Attributes::RemainingTime::TypeInfo::DecodableType remainingTime = static_cast(0); + Attributes::MinLevel::TypeInfo::DecodableType minLevel = static_cast(0); + Attributes::MaxLevel::TypeInfo::DecodableType maxLevel = static_cast(0); + Attributes::CurrentFrequency::TypeInfo::DecodableType currentFrequency = static_cast(0); + Attributes::MinFrequency::TypeInfo::DecodableType minFrequency = static_cast(0); + Attributes::MaxFrequency::TypeInfo::DecodableType maxFrequency = static_cast(0); + Attributes::Options::TypeInfo::DecodableType options = static_cast(0); + Attributes::OnOffTransitionTime::TypeInfo::DecodableType onOffTransitionTime = static_cast(0); Attributes::OnLevel::TypeInfo::DecodableType onLevel; Attributes::OnTransitionTime::TypeInfo::DecodableType onTransitionTime; Attributes::OffTransitionTime::TypeInfo::DecodableType offTransitionTime; Attributes::DefaultMoveRate::TypeInfo::DecodableType defaultMoveRate; - Attributes::StartUpCurrentLevel::TypeInfo::DecodableType startUpCurrentLevel; + Attributes::StartUpCurrentLevel::TypeInfo::DecodableType startUpCurrentLevel = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -3909,8 +3911,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ResetAlarm::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Alarms::Id; } - uint8_t alarmCode; - chip::ClusterId clusterId; + uint8_t alarmCode = static_cast(0); + chip::ClusterId clusterId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -3925,8 +3927,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ResetAlarm::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Alarms::Id; } - uint8_t alarmCode; - chip::ClusterId clusterId; + uint8_t alarmCode = static_cast(0); + chip::ClusterId clusterId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ResetAlarm @@ -3944,8 +3946,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::Alarm::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Alarms::Id; } - uint8_t alarmCode; - chip::ClusterId clusterId; + uint8_t alarmCode = static_cast(0); + chip::ClusterId clusterId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -3960,8 +3962,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::Alarm::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Alarms::Id; } - uint8_t alarmCode; - chip::ClusterId clusterId; + uint8_t alarmCode = static_cast(0); + chip::ClusterId clusterId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace Alarm @@ -4009,10 +4011,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetAlarmResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Alarms::Id; } - uint8_t status; - uint8_t alarmCode; - chip::ClusterId clusterId; - uint32_t timeStamp; + uint8_t status = static_cast(0); + uint8_t alarmCode = static_cast(0); + chip::ClusterId clusterId = static_cast(0); + uint32_t timeStamp = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -4027,10 +4029,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetAlarmResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Alarms::Id; } - uint8_t status; - uint8_t alarmCode; - chip::ClusterId clusterId; - uint32_t timeStamp; + uint8_t status = static_cast(0); + uint8_t alarmCode = static_cast(0); + chip::ClusterId clusterId = static_cast(0); + uint32_t timeStamp = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetAlarmResponse @@ -4151,10 +4153,10 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::AlarmCount::TypeInfo::DecodableType alarmCount; + Attributes::AlarmCount::TypeInfo::DecodableType alarmCount = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -4328,19 +4330,19 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::Time::TypeInfo::DecodableType time; - Attributes::TimeStatus::TypeInfo::DecodableType timeStatus; - Attributes::TimeZone::TypeInfo::DecodableType timeZone; - Attributes::DstStart::TypeInfo::DecodableType dstStart; - Attributes::DstEnd::TypeInfo::DecodableType dstEnd; - Attributes::DstShift::TypeInfo::DecodableType dstShift; - Attributes::StandardTime::TypeInfo::DecodableType standardTime; - Attributes::LocalTime::TypeInfo::DecodableType localTime; - Attributes::LastSetTime::TypeInfo::DecodableType lastSetTime; - Attributes::ValidUntilTime::TypeInfo::DecodableType validUntilTime; + Attributes::Time::TypeInfo::DecodableType time = static_cast(0); + Attributes::TimeStatus::TypeInfo::DecodableType timeStatus = static_cast(0); + Attributes::TimeZone::TypeInfo::DecodableType timeZone = static_cast(0); + Attributes::DstStart::TypeInfo::DecodableType dstStart = static_cast(0); + Attributes::DstEnd::TypeInfo::DecodableType dstEnd = static_cast(0); + Attributes::DstShift::TypeInfo::DecodableType dstShift = static_cast(0); + Attributes::StandardTime::TypeInfo::DecodableType standardTime = static_cast(0); + Attributes::LocalTime::TypeInfo::DecodableType localTime = static_cast(0); + Attributes::LastSetTime::TypeInfo::DecodableType lastSetTime = static_cast(0); + Attributes::ValidUntilTime::TypeInfo::DecodableType validUntilTime = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -4505,15 +4507,15 @@ struct TypeInfo Attributes::ActiveText::TypeInfo::DecodableType activeText; Attributes::Description::TypeInfo::DecodableType description; Attributes::InactiveText::TypeInfo::DecodableType inactiveText; - Attributes::OutOfService::TypeInfo::DecodableType outOfService; - Attributes::Polarity::TypeInfo::DecodableType polarity; - Attributes::PresentValue::TypeInfo::DecodableType presentValue; - Attributes::Reliability::TypeInfo::DecodableType reliability; - Attributes::StatusFlags::TypeInfo::DecodableType statusFlags; - Attributes::ApplicationType::TypeInfo::DecodableType applicationType; + Attributes::OutOfService::TypeInfo::DecodableType outOfService = static_cast(0); + Attributes::Polarity::TypeInfo::DecodableType polarity = static_cast(0); + Attributes::PresentValue::TypeInfo::DecodableType presentValue = static_cast(0); + Attributes::Reliability::TypeInfo::DecodableType reliability = static_cast(0); + Attributes::StatusFlags::TypeInfo::DecodableType statusFlags = static_cast(0); + Attributes::ApplicationType::TypeInfo::DecodableType applicationType = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -4719,7 +4721,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::PowerProfileRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; + uint8_t powerProfileId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -4734,7 +4736,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::PowerProfileRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; + uint8_t powerProfileId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace PowerProfileRequest @@ -4754,9 +4756,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::PowerProfileNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t totalProfileNum; - uint8_t powerProfileId; - uint8_t numOfTransferredPhases; + uint8_t totalProfileNum = static_cast(0); + uint8_t powerProfileId = static_cast(0); + uint8_t numOfTransferredPhases = static_cast(0); DataModel::List transferredPhases; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -4772,9 +4774,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::PowerProfileNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t totalProfileNum; - uint8_t powerProfileId; - uint8_t numOfTransferredPhases; + uint8_t totalProfileNum = static_cast(0); + uint8_t powerProfileId = static_cast(0); + uint8_t numOfTransferredPhases = static_cast(0); DataModel::DecodableList transferredPhases; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -4823,9 +4825,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::PowerProfileResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t totalProfileNum; - uint8_t powerProfileId; - uint8_t numOfTransferredPhases; + uint8_t totalProfileNum = static_cast(0); + uint8_t powerProfileId = static_cast(0); + uint8_t numOfTransferredPhases = static_cast(0); DataModel::List transferredPhases; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -4841,9 +4843,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::PowerProfileResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t totalProfileNum; - uint8_t powerProfileId; - uint8_t numOfTransferredPhases; + uint8_t totalProfileNum = static_cast(0); + uint8_t powerProfileId = static_cast(0); + uint8_t numOfTransferredPhases = static_cast(0); DataModel::DecodableList transferredPhases; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -4864,10 +4866,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetPowerProfilePriceResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; - uint16_t currency; - uint32_t price; - uint8_t priceTrailingDigit; + uint8_t powerProfileId = static_cast(0); + uint16_t currency = static_cast(0); + uint32_t price = static_cast(0); + uint8_t priceTrailingDigit = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -4882,10 +4884,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetPowerProfilePriceResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; - uint16_t currency; - uint32_t price; - uint8_t priceTrailingDigit; + uint8_t powerProfileId = static_cast(0); + uint16_t currency = static_cast(0); + uint32_t price = static_cast(0); + uint8_t priceTrailingDigit = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetPowerProfilePriceResponse @@ -4903,7 +4905,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::PowerProfileStateResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileCount; + uint8_t powerProfileCount = static_cast(0); DataModel::List powerProfileRecords; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -4919,7 +4921,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::PowerProfileStateResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileCount; + uint8_t powerProfileCount = static_cast(0); DataModel::DecodableList powerProfileRecords; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -4939,9 +4941,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetOverallSchedulePriceResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint16_t currency; - uint32_t price; - uint8_t priceTrailingDigit; + uint16_t currency = static_cast(0); + uint32_t price = static_cast(0); + uint8_t priceTrailingDigit = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -4956,9 +4958,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetOverallSchedulePriceResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint16_t currency; - uint32_t price; - uint8_t priceTrailingDigit; + uint16_t currency = static_cast(0); + uint32_t price = static_cast(0); + uint8_t priceTrailingDigit = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetOverallSchedulePriceResponse @@ -4975,7 +4977,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetPowerProfilePrice::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; + uint8_t powerProfileId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -4990,7 +4992,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetPowerProfilePrice::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; + uint8_t powerProfileId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetPowerProfilePrice @@ -5009,8 +5011,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::EnergyPhasesScheduleNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; - uint8_t numOfScheduledPhases; + uint8_t powerProfileId = static_cast(0); + uint8_t numOfScheduledPhases = static_cast(0); DataModel::List scheduledPhases; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -5026,8 +5028,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::EnergyPhasesScheduleNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; - uint8_t numOfScheduledPhases; + uint8_t powerProfileId = static_cast(0); + uint8_t numOfScheduledPhases = static_cast(0); DataModel::DecodableList scheduledPhases; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -5046,7 +5048,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::PowerProfilesStateNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileCount; + uint8_t powerProfileCount = static_cast(0); DataModel::List powerProfileRecords; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -5062,7 +5064,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::PowerProfilesStateNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileCount; + uint8_t powerProfileCount = static_cast(0); DataModel::DecodableList powerProfileRecords; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -5082,8 +5084,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::EnergyPhasesScheduleResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; - uint8_t numOfScheduledPhases; + uint8_t powerProfileId = static_cast(0); + uint8_t numOfScheduledPhases = static_cast(0); DataModel::List scheduledPhases; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -5099,8 +5101,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::EnergyPhasesScheduleResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; - uint8_t numOfScheduledPhases; + uint8_t powerProfileId = static_cast(0); + uint8_t numOfScheduledPhases = static_cast(0); DataModel::DecodableList scheduledPhases; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -5146,7 +5148,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::PowerProfileScheduleConstraintsRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; + uint8_t powerProfileId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -5161,7 +5163,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::PowerProfileScheduleConstraintsRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; + uint8_t powerProfileId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace PowerProfileScheduleConstraintsRequest @@ -5178,7 +5180,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::EnergyPhasesScheduleRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; + uint8_t powerProfileId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -5193,7 +5195,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::EnergyPhasesScheduleRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; + uint8_t powerProfileId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace EnergyPhasesScheduleRequest @@ -5210,7 +5212,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::EnergyPhasesScheduleStateRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; + uint8_t powerProfileId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -5225,7 +5227,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::EnergyPhasesScheduleStateRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; + uint8_t powerProfileId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace EnergyPhasesScheduleStateRequest @@ -5244,8 +5246,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::EnergyPhasesScheduleStateResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; - uint8_t numOfScheduledPhases; + uint8_t powerProfileId = static_cast(0); + uint8_t numOfScheduledPhases = static_cast(0); DataModel::List scheduledPhases; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -5261,8 +5263,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::EnergyPhasesScheduleStateResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; - uint8_t numOfScheduledPhases; + uint8_t powerProfileId = static_cast(0); + uint8_t numOfScheduledPhases = static_cast(0); DataModel::DecodableList scheduledPhases; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -5283,10 +5285,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetPowerProfilePriceExtendedResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; - uint16_t currency; - uint32_t price; - uint8_t priceTrailingDigit; + uint8_t powerProfileId = static_cast(0); + uint16_t currency = static_cast(0); + uint32_t price = static_cast(0); + uint8_t priceTrailingDigit = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -5301,10 +5303,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetPowerProfilePriceExtendedResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; - uint16_t currency; - uint32_t price; - uint8_t priceTrailingDigit; + uint8_t powerProfileId = static_cast(0); + uint16_t currency = static_cast(0); + uint32_t price = static_cast(0); + uint8_t priceTrailingDigit = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetPowerProfilePriceExtendedResponse @@ -5323,8 +5325,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::EnergyPhasesScheduleStateNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; - uint8_t numOfScheduledPhases; + uint8_t powerProfileId = static_cast(0); + uint8_t numOfScheduledPhases = static_cast(0); DataModel::List scheduledPhases; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -5340,8 +5342,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::EnergyPhasesScheduleStateNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; - uint8_t numOfScheduledPhases; + uint8_t powerProfileId = static_cast(0); + uint8_t numOfScheduledPhases = static_cast(0); DataModel::DecodableList scheduledPhases; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -5361,9 +5363,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::PowerProfileScheduleConstraintsNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; - uint16_t startAfter; - uint16_t stopBefore; + uint8_t powerProfileId = static_cast(0); + uint16_t startAfter = static_cast(0); + uint16_t stopBefore = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -5378,9 +5380,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::PowerProfileScheduleConstraintsNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; - uint16_t startAfter; - uint16_t stopBefore; + uint8_t powerProfileId = static_cast(0); + uint16_t startAfter = static_cast(0); + uint16_t stopBefore = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace PowerProfileScheduleConstraintsNotification @@ -5399,9 +5401,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::PowerProfileScheduleConstraintsResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; - uint16_t startAfter; - uint16_t stopBefore; + uint8_t powerProfileId = static_cast(0); + uint16_t startAfter = static_cast(0); + uint16_t stopBefore = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -5416,9 +5418,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::PowerProfileScheduleConstraintsResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t powerProfileId; - uint16_t startAfter; - uint16_t stopBefore; + uint8_t powerProfileId = static_cast(0); + uint16_t startAfter = static_cast(0); + uint16_t stopBefore = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace PowerProfileScheduleConstraintsResponse @@ -5437,9 +5439,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetPowerProfilePriceExtended::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t options; - uint8_t powerProfileId; - uint16_t powerProfileStartTime; + uint8_t options = static_cast(0); + uint8_t powerProfileId = static_cast(0); + uint16_t powerProfileStartTime = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -5454,9 +5456,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetPowerProfilePriceExtended::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PowerProfile::Id; } - uint8_t options; - uint8_t powerProfileId; - uint16_t powerProfileStartTime; + uint8_t options = static_cast(0); + uint8_t powerProfileId = static_cast(0); + uint16_t powerProfileStartTime = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetPowerProfilePriceExtended @@ -5569,14 +5571,14 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::TotalProfileNum::TypeInfo::DecodableType totalProfileNum; - Attributes::MultipleScheduling::TypeInfo::DecodableType multipleScheduling; - Attributes::EnergyFormatting::TypeInfo::DecodableType energyFormatting; - Attributes::EnergyRemote::TypeInfo::DecodableType energyRemote; - Attributes::ScheduleMode::TypeInfo::DecodableType scheduleMode; + Attributes::TotalProfileNum::TypeInfo::DecodableType totalProfileNum = static_cast(0); + Attributes::MultipleScheduling::TypeInfo::DecodableType multipleScheduling = static_cast(0); + Attributes::EnergyFormatting::TypeInfo::DecodableType energyFormatting = static_cast(0); + Attributes::EnergyRemote::TypeInfo::DecodableType energyRemote = static_cast(0); + Attributes::ScheduleMode::TypeInfo::DecodableType scheduleMode = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -5692,7 +5694,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ExecutionOfACommand::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceControl::Id; } - CommandIdentification commandId; + CommandIdentification commandId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -5707,7 +5709,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ExecutionOfACommand::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceControl::Id; } - CommandIdentification commandId; + CommandIdentification commandId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ExecutionOfACommand @@ -5726,9 +5728,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SignalStateResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceControl::Id; } - ApplianceStatus applianceStatus; - chip::BitFlags remoteEnableFlagsAndDeviceStatus2; - ApplianceStatus applianceStatus2; + ApplianceStatus applianceStatus = static_cast(0); + chip::BitFlags remoteEnableFlagsAndDeviceStatus2 = + static_cast>(0); + ApplianceStatus applianceStatus2 = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -5743,9 +5746,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SignalStateResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceControl::Id; } - ApplianceStatus applianceStatus; - chip::BitFlags remoteEnableFlagsAndDeviceStatus2; - ApplianceStatus applianceStatus2; + ApplianceStatus applianceStatus = static_cast(0); + chip::BitFlags remoteEnableFlagsAndDeviceStatus2 = + static_cast>(0); + ApplianceStatus applianceStatus2 = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace SignalStateResponse @@ -5792,9 +5796,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SignalStateNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceControl::Id; } - ApplianceStatus applianceStatus; - chip::BitFlags remoteEnableFlagsAndDeviceStatus2; - ApplianceStatus applianceStatus2; + ApplianceStatus applianceStatus = static_cast(0); + chip::BitFlags remoteEnableFlagsAndDeviceStatus2 = + static_cast>(0); + ApplianceStatus applianceStatus2 = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -5809,9 +5814,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SignalStateNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceControl::Id; } - ApplianceStatus applianceStatus; - chip::BitFlags remoteEnableFlagsAndDeviceStatus2; - ApplianceStatus applianceStatus2; + ApplianceStatus applianceStatus = static_cast(0); + chip::BitFlags remoteEnableFlagsAndDeviceStatus2 = + static_cast>(0); + ApplianceStatus applianceStatus2 = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace SignalStateNotification @@ -5830,8 +5836,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::WriteFunctions::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceControl::Id; } - uint16_t functionId; - uint8_t functionDataType; + uint16_t functionId = static_cast(0); + uint8_t functionDataType = static_cast(0); DataModel::List functionData; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -5847,8 +5853,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::WriteFunctions::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceControl::Id; } - uint16_t functionId; - uint8_t functionDataType; + uint16_t functionId = static_cast(0); + uint8_t functionDataType = static_cast(0); DataModel::DecodableList functionData; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -5922,7 +5928,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::OverloadWarning::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceControl::Id; } - WarningEvent warningEvent; + WarningEvent warningEvent = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -5937,7 +5943,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::OverloadWarning::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceControl::Id; } - WarningEvent warningEvent; + WarningEvent warningEvent = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace OverloadWarning @@ -6026,12 +6032,12 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::StartTime::TypeInfo::DecodableType startTime; - Attributes::FinishTime::TypeInfo::DecodableType finishTime; - Attributes::RemainingTime::TypeInfo::DecodableType remainingTime; + Attributes::StartTime::TypeInfo::DecodableType startTime = static_cast(0); + Attributes::FinishTime::TypeInfo::DecodableType finishTime = static_cast(0); + Attributes::RemainingTime::TypeInfo::DecodableType remainingTime = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -6086,8 +6092,8 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -6218,8 +6224,8 @@ struct TypeInfo Attributes::ClientList::TypeInfo::DecodableType clientList; Attributes::PartsList::TypeInfo::DecodableType partsList; Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -6258,10 +6264,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::Bind::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Binding::Id; } - chip::NodeId nodeId; - chip::GroupId groupId; - chip::EndpointId endpointId; - chip::ClusterId clusterId; + chip::NodeId nodeId = static_cast(0); + chip::GroupId groupId = static_cast(0); + chip::EndpointId endpointId = static_cast(0); + chip::ClusterId clusterId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -6276,10 +6282,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::Bind::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Binding::Id; } - chip::NodeId nodeId; - chip::GroupId groupId; - chip::EndpointId endpointId; - chip::ClusterId clusterId; + chip::NodeId nodeId = static_cast(0); + chip::GroupId groupId = static_cast(0); + chip::EndpointId endpointId = static_cast(0); + chip::ClusterId clusterId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace Bind @@ -6299,10 +6305,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::Unbind::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Binding::Id; } - chip::NodeId nodeId; - chip::GroupId groupId; - chip::EndpointId endpointId; - chip::ClusterId clusterId; + chip::NodeId nodeId = static_cast(0); + chip::GroupId groupId = static_cast(0); + chip::EndpointId endpointId = static_cast(0); + chip::ClusterId clusterId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -6317,10 +6323,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::Unbind::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Binding::Id; } - chip::NodeId nodeId; - chip::GroupId groupId; - chip::EndpointId endpointId; - chip::ClusterId clusterId; + chip::NodeId nodeId = static_cast(0); + chip::GroupId groupId = static_cast(0); + chip::EndpointId endpointId = static_cast(0); + chip::ClusterId clusterId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace Unbind @@ -6374,8 +6380,8 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -6557,8 +6563,8 @@ struct TypeInfo Attributes::Acl::TypeInfo::DecodableType acl; Attributes::Extension::TypeInfo::DecodableType extension; Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -6638,8 +6644,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::CheckInResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PollControl::Id; } - bool startFastPolling; - uint16_t fastPollTimeout; + bool startFastPolling = static_cast(0); + uint16_t fastPollTimeout = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -6654,8 +6660,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::CheckInResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PollControl::Id; } - bool startFastPolling; - uint16_t fastPollTimeout; + bool startFastPolling = static_cast(0); + uint16_t fastPollTimeout = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace CheckInResponse @@ -6700,7 +6706,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SetLongPollInterval::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PollControl::Id; } - uint32_t newLongPollInterval; + uint32_t newLongPollInterval = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -6715,7 +6721,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SetLongPollInterval::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PollControl::Id; } - uint32_t newLongPollInterval; + uint32_t newLongPollInterval = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace SetLongPollInterval @@ -6732,7 +6738,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SetShortPollInterval::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PollControl::Id; } - uint16_t newShortPollInterval; + uint16_t newShortPollInterval = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -6747,7 +6753,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SetShortPollInterval::Id; } static constexpr ClusterId GetClusterId() { return Clusters::PollControl::Id; } - uint16_t newShortPollInterval; + uint16_t newShortPollInterval = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace SetShortPollInterval @@ -6884,16 +6890,16 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::CheckInInterval::TypeInfo::DecodableType checkInInterval; - Attributes::LongPollInterval::TypeInfo::DecodableType longPollInterval; - Attributes::ShortPollInterval::TypeInfo::DecodableType shortPollInterval; - Attributes::FastPollTimeout::TypeInfo::DecodableType fastPollTimeout; - Attributes::CheckInIntervalMin::TypeInfo::DecodableType checkInIntervalMin; - Attributes::LongPollIntervalMin::TypeInfo::DecodableType longPollIntervalMin; - Attributes::FastPollTimeoutMax::TypeInfo::DecodableType fastPollTimeoutMax; + Attributes::CheckInInterval::TypeInfo::DecodableType checkInInterval = static_cast(0); + Attributes::LongPollInterval::TypeInfo::DecodableType longPollInterval = static_cast(0); + Attributes::ShortPollInterval::TypeInfo::DecodableType shortPollInterval = static_cast(0); + Attributes::FastPollTimeout::TypeInfo::DecodableType fastPollTimeout = static_cast(0); + Attributes::CheckInIntervalMin::TypeInfo::DecodableType checkInIntervalMin = static_cast(0); + Attributes::LongPollIntervalMin::TypeInfo::DecodableType longPollIntervalMin = static_cast(0); + Attributes::FastPollTimeoutMax::TypeInfo::DecodableType fastPollTimeoutMax = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -7091,7 +7097,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::InstantAction::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -7107,7 +7113,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::InstantAction::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -7127,9 +7133,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::InstantActionWithTransition::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; - uint16_t transitionTime; + uint16_t transitionTime = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -7144,9 +7150,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::InstantActionWithTransition::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; - uint16_t transitionTime; + uint16_t transitionTime = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace InstantActionWithTransition @@ -7164,7 +7170,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::StartAction::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -7180,7 +7186,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::StartAction::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -7200,9 +7206,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::StartActionWithDuration::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; - uint32_t duration; + uint32_t duration = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -7217,9 +7223,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::StartActionWithDuration::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; - uint32_t duration; + uint32_t duration = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace StartActionWithDuration @@ -7237,7 +7243,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::StopAction::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -7253,7 +7259,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::StopAction::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -7272,7 +7278,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::PauseAction::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -7288,7 +7294,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::PauseAction::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -7308,9 +7314,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::PauseActionWithDuration::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; - uint32_t duration; + uint32_t duration = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -7325,9 +7331,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::PauseActionWithDuration::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; - uint32_t duration; + uint32_t duration = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace PauseActionWithDuration @@ -7345,7 +7351,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ResumeAction::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -7361,7 +7367,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ResumeAction::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -7380,7 +7386,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::EnableAction::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -7396,7 +7402,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::EnableAction::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -7416,9 +7422,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::EnableActionWithDuration::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; - uint32_t duration; + uint32_t duration = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -7433,9 +7439,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::EnableActionWithDuration::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; - uint32_t duration; + uint32_t duration = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace EnableActionWithDuration @@ -7453,7 +7459,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::DisableAction::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -7469,7 +7475,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::DisableAction::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -7489,9 +7495,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::DisableActionWithDuration::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; - uint32_t duration; + uint32_t duration = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -7506,9 +7512,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::DisableActionWithDuration::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; + uint16_t actionID = static_cast(0); Optional invokeID; - uint32_t duration; + uint32_t duration = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace DisableActionWithDuration @@ -7605,8 +7611,8 @@ struct TypeInfo Attributes::EndpointList::TypeInfo::DecodableType endpointList; Attributes::SetupUrl::TypeInfo::DecodableType setupUrl; Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -7629,9 +7635,9 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; - uint32_t invokeID; - ActionStateEnum newState; + uint16_t actionID = static_cast(0); + uint32_t invokeID = static_cast(0); + ActionStateEnum newState = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; }; @@ -7643,9 +7649,9 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; - uint32_t invokeID; - ActionStateEnum newState; + uint16_t actionID = static_cast(0); + uint32_t invokeID = static_cast(0); + ActionStateEnum newState = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -7669,10 +7675,10 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; - uint32_t invokeID; - ActionStateEnum newState; - ActionErrorEnum error; + uint16_t actionID = static_cast(0); + uint32_t invokeID = static_cast(0); + ActionStateEnum newState = static_cast(0); + ActionErrorEnum error = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; }; @@ -7684,10 +7690,10 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::BridgedActions::Id; } - uint16_t actionID; - uint32_t invokeID; - ActionStateEnum newState; - ActionErrorEnum error; + uint16_t actionID = static_cast(0); + uint32_t invokeID = static_cast(0); + ActionStateEnum newState = static_cast(0); + ActionErrorEnum error = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -8012,28 +8018,28 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::InteractionModelVersion::TypeInfo::DecodableType interactionModelVersion; + Attributes::InteractionModelVersion::TypeInfo::DecodableType interactionModelVersion = static_cast(0); Attributes::VendorName::TypeInfo::DecodableType vendorName; - Attributes::VendorID::TypeInfo::DecodableType vendorID; + Attributes::VendorID::TypeInfo::DecodableType vendorID = static_cast(0); Attributes::ProductName::TypeInfo::DecodableType productName; - Attributes::ProductID::TypeInfo::DecodableType productID; + Attributes::ProductID::TypeInfo::DecodableType productID = static_cast(0); Attributes::NodeLabel::TypeInfo::DecodableType nodeLabel; Attributes::Location::TypeInfo::DecodableType location; - Attributes::HardwareVersion::TypeInfo::DecodableType hardwareVersion; + Attributes::HardwareVersion::TypeInfo::DecodableType hardwareVersion = static_cast(0); Attributes::HardwareVersionString::TypeInfo::DecodableType hardwareVersionString; - Attributes::SoftwareVersion::TypeInfo::DecodableType softwareVersion; + Attributes::SoftwareVersion::TypeInfo::DecodableType softwareVersion = static_cast(0); Attributes::SoftwareVersionString::TypeInfo::DecodableType softwareVersionString; Attributes::ManufacturingDate::TypeInfo::DecodableType manufacturingDate; Attributes::PartNumber::TypeInfo::DecodableType partNumber; Attributes::ProductURL::TypeInfo::DecodableType productURL; Attributes::ProductLabel::TypeInfo::DecodableType productLabel; Attributes::SerialNumber::TypeInfo::DecodableType serialNumber; - Attributes::LocalConfigDisabled::TypeInfo::DecodableType localConfigDisabled; - Attributes::Reachable::TypeInfo::DecodableType reachable; + Attributes::LocalConfigDisabled::TypeInfo::DecodableType localConfigDisabled = static_cast(0); + Attributes::Reachable::TypeInfo::DecodableType reachable = static_cast(0); Attributes::UniqueID::TypeInfo::DecodableType uniqueID; Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -8054,7 +8060,7 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::Basic::Id; } - uint32_t softwareVersion; + uint32_t softwareVersion = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; }; @@ -8066,7 +8072,7 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::Basic::Id; } - uint32_t softwareVersion; + uint32_t softwareVersion = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -8143,7 +8149,7 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::Basic::Id; } - bool reachableNewValue; + bool reachableNewValue = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; }; @@ -8155,7 +8161,7 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::Basic::Id; } - bool reachableNewValue; + bool reachableNewValue = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -8238,9 +8244,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::QueryImage::Id; } static constexpr ClusterId GetClusterId() { return Clusters::OtaSoftwareUpdateProvider::Id; } - chip::VendorId vendorId; - uint16_t productId; - uint32_t softwareVersion; + chip::VendorId vendorId = static_cast(0); + uint16_t productId = static_cast(0); + uint32_t softwareVersion = static_cast(0); DataModel::List protocolsSupported; Optional hardwareVersion; Optional location; @@ -8260,9 +8266,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::QueryImage::Id; } static constexpr ClusterId GetClusterId() { return Clusters::OtaSoftwareUpdateProvider::Id; } - chip::VendorId vendorId; - uint16_t productId; - uint32_t softwareVersion; + chip::VendorId vendorId = static_cast(0); + uint16_t productId = static_cast(0); + uint32_t softwareVersion = static_cast(0); DataModel::DecodableList protocolsSupported; Optional hardwareVersion; Optional location; @@ -8291,7 +8297,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::QueryImageResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::OtaSoftwareUpdateProvider::Id; } - OTAQueryStatus status; + OTAQueryStatus status = static_cast(0); Optional delayedActionTime; Optional imageURI; Optional softwareVersion; @@ -8313,7 +8319,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::QueryImageResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::OtaSoftwareUpdateProvider::Id; } - OTAQueryStatus status; + OTAQueryStatus status = static_cast(0); Optional delayedActionTime; Optional imageURI; Optional softwareVersion; @@ -8339,7 +8345,7 @@ struct Type static constexpr ClusterId GetClusterId() { return Clusters::OtaSoftwareUpdateProvider::Id; } chip::ByteSpan updateToken; - uint32_t newVersion; + uint32_t newVersion = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -8355,7 +8361,7 @@ struct DecodableType static constexpr ClusterId GetClusterId() { return Clusters::OtaSoftwareUpdateProvider::Id; } chip::ByteSpan updateToken; - uint32_t newVersion; + uint32_t newVersion = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ApplyUpdateRequest @@ -8373,8 +8379,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ApplyUpdateResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::OtaSoftwareUpdateProvider::Id; } - OTAApplyUpdateAction action; - uint32_t delayedActionTime; + OTAApplyUpdateAction action = static_cast(0); + uint32_t delayedActionTime = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -8389,8 +8395,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ApplyUpdateResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::OtaSoftwareUpdateProvider::Id; } - OTAApplyUpdateAction action; - uint32_t delayedActionTime; + OTAApplyUpdateAction action = static_cast(0); + uint32_t delayedActionTime = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ApplyUpdateResponse @@ -8409,7 +8415,7 @@ struct Type static constexpr ClusterId GetClusterId() { return Clusters::OtaSoftwareUpdateProvider::Id; } chip::ByteSpan updateToken; - uint32_t softwareVersion; + uint32_t softwareVersion = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -8425,7 +8431,7 @@ struct DecodableType static constexpr ClusterId GetClusterId() { return Clusters::OtaSoftwareUpdateProvider::Id; } chip::ByteSpan updateToken; - uint32_t softwareVersion; + uint32_t softwareVersion = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace NotifyUpdateApplied @@ -8479,8 +8485,8 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -8570,11 +8576,11 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::AnnounceOtaProvider::Id; } static constexpr ClusterId GetClusterId() { return Clusters::OtaSoftwareUpdateRequestor::Id; } - chip::NodeId providerNodeId; - chip::VendorId vendorId; - OTAAnnouncementReason announcementReason; + chip::NodeId providerNodeId = static_cast(0); + chip::VendorId vendorId = static_cast(0); + OTAAnnouncementReason announcementReason = static_cast(0); Optional metadataForNode; - chip::EndpointId endpoint; + chip::EndpointId endpoint = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -8589,11 +8595,11 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::AnnounceOtaProvider::Id; } static constexpr ClusterId GetClusterId() { return Clusters::OtaSoftwareUpdateRequestor::Id; } - chip::NodeId providerNodeId; - chip::VendorId vendorId; - OTAAnnouncementReason announcementReason; + chip::NodeId providerNodeId = static_cast(0); + chip::VendorId vendorId = static_cast(0); + OTAAnnouncementReason announcementReason = static_cast(0); Optional metadataForNode; - chip::EndpointId endpoint; + chip::EndpointId endpoint = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace AnnounceOtaProvider @@ -8697,12 +8703,12 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::DefaultOtaProviders::TypeInfo::DecodableType defaultOtaProviders; - Attributes::UpdatePossible::TypeInfo::DecodableType updatePossible; - Attributes::UpdateState::TypeInfo::DecodableType updateState; + Attributes::UpdatePossible::TypeInfo::DecodableType updatePossible = static_cast(0); + Attributes::UpdateState::TypeInfo::DecodableType updateState = static_cast(0); Attributes::UpdateStateProgress::TypeInfo::DecodableType updateStateProgress; Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -8727,8 +8733,8 @@ struct Type static constexpr ClusterId GetClusterId() { return Clusters::OtaSoftwareUpdateRequestor::Id; } DataModel::Nullable previousState; - OTAUpdateStateEnum newState; - OTAChangeReasonEnum reason; + OTAUpdateStateEnum newState = static_cast(0); + OTAChangeReasonEnum reason = static_cast(0); DataModel::Nullable targetSoftwareVersion; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -8742,8 +8748,8 @@ struct DecodableType static constexpr ClusterId GetClusterId() { return Clusters::OtaSoftwareUpdateRequestor::Id; } DataModel::Nullable previousState; - OTAUpdateStateEnum newState; - OTAChangeReasonEnum reason; + OTAUpdateStateEnum newState = static_cast(0); + OTAChangeReasonEnum reason = static_cast(0); DataModel::Nullable targetSoftwareVersion; CHIP_ERROR Decode(TLV::TLVReader & reader); @@ -8766,8 +8772,8 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::OtaSoftwareUpdateRequestor::Id; } - uint32_t softwareVersion; - uint16_t productID; + uint32_t softwareVersion = static_cast(0); + uint16_t productID = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; }; @@ -8779,8 +8785,8 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::OtaSoftwareUpdateRequestor::Id; } - uint32_t softwareVersion; - uint16_t productID; + uint32_t softwareVersion = static_cast(0); + uint16_t productID = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -8804,9 +8810,9 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::OtaSoftwareUpdateRequestor::Id; } - uint32_t softwareVersion; - uint64_t bytesDownloaded; - uint8_t progressPercent; + uint32_t softwareVersion = static_cast(0); + uint64_t bytesDownloaded = static_cast(0); + uint8_t progressPercent = static_cast(0); DataModel::Nullable platformCode; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -8819,9 +8825,9 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::OtaSoftwareUpdateRequestor::Id; } - uint32_t softwareVersion; - uint64_t bytesDownloaded; - uint8_t progressPercent; + uint32_t softwareVersion = static_cast(0); + uint64_t bytesDownloaded = static_cast(0); + uint8_t progressPercent = static_cast(0); DataModel::Nullable platformCode; CHIP_ERROR Decode(TLV::TLVReader & reader); @@ -8905,8 +8911,8 @@ struct TypeInfo Attributes::ActiveLocale::TypeInfo::DecodableType activeLocale; Attributes::SupportedLocales::TypeInfo::DecodableType supportedLocales; Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -9018,12 +9024,12 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::HourFormat::TypeInfo::DecodableType hourFormat; - Attributes::CalendarType::TypeInfo::DecodableType calendarType; + Attributes::HourFormat::TypeInfo::DecodableType hourFormat = static_cast(0); + Attributes::CalendarType::TypeInfo::DecodableType calendarType = static_cast(0); Attributes::SupportedCalendarTypes::TypeInfo::DecodableType supportedCalendarTypes; Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -9096,10 +9102,10 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::TemperatureUnit::TypeInfo::DecodableType temperatureUnit; + Attributes::TemperatureUnit::TypeInfo::DecodableType temperatureUnit = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -9167,8 +9173,8 @@ struct TypeInfo Attributes::Sources::TypeInfo::DecodableType sources; Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -9603,40 +9609,40 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::Status::TypeInfo::DecodableType status; - Attributes::Order::TypeInfo::DecodableType order; + Attributes::Status::TypeInfo::DecodableType status = static_cast(0); + Attributes::Order::TypeInfo::DecodableType order = static_cast(0); Attributes::Description::TypeInfo::DecodableType description; - Attributes::WiredAssessedInputVoltage::TypeInfo::DecodableType wiredAssessedInputVoltage; - Attributes::WiredAssessedInputFrequency::TypeInfo::DecodableType wiredAssessedInputFrequency; - Attributes::WiredCurrentType::TypeInfo::DecodableType wiredCurrentType; - Attributes::WiredAssessedCurrent::TypeInfo::DecodableType wiredAssessedCurrent; - Attributes::WiredNominalVoltage::TypeInfo::DecodableType wiredNominalVoltage; - Attributes::WiredMaximumCurrent::TypeInfo::DecodableType wiredMaximumCurrent; - Attributes::WiredPresent::TypeInfo::DecodableType wiredPresent; + Attributes::WiredAssessedInputVoltage::TypeInfo::DecodableType wiredAssessedInputVoltage = static_cast(0); + Attributes::WiredAssessedInputFrequency::TypeInfo::DecodableType wiredAssessedInputFrequency = static_cast(0); + Attributes::WiredCurrentType::TypeInfo::DecodableType wiredCurrentType = static_cast(0); + Attributes::WiredAssessedCurrent::TypeInfo::DecodableType wiredAssessedCurrent = static_cast(0); + Attributes::WiredNominalVoltage::TypeInfo::DecodableType wiredNominalVoltage = static_cast(0); + Attributes::WiredMaximumCurrent::TypeInfo::DecodableType wiredMaximumCurrent = static_cast(0); + Attributes::WiredPresent::TypeInfo::DecodableType wiredPresent = static_cast(0); Attributes::ActiveWiredFaults::TypeInfo::DecodableType activeWiredFaults; - Attributes::BatteryVoltage::TypeInfo::DecodableType batteryVoltage; - Attributes::BatteryPercentRemaining::TypeInfo::DecodableType batteryPercentRemaining; - Attributes::BatteryTimeRemaining::TypeInfo::DecodableType batteryTimeRemaining; - Attributes::BatteryChargeLevel::TypeInfo::DecodableType batteryChargeLevel; - Attributes::BatteryReplacementNeeded::TypeInfo::DecodableType batteryReplacementNeeded; - Attributes::BatteryReplaceability::TypeInfo::DecodableType batteryReplaceability; - Attributes::BatteryPresent::TypeInfo::DecodableType batteryPresent; + Attributes::BatteryVoltage::TypeInfo::DecodableType batteryVoltage = static_cast(0); + Attributes::BatteryPercentRemaining::TypeInfo::DecodableType batteryPercentRemaining = static_cast(0); + Attributes::BatteryTimeRemaining::TypeInfo::DecodableType batteryTimeRemaining = static_cast(0); + Attributes::BatteryChargeLevel::TypeInfo::DecodableType batteryChargeLevel = static_cast(0); + Attributes::BatteryReplacementNeeded::TypeInfo::DecodableType batteryReplacementNeeded = static_cast(0); + Attributes::BatteryReplaceability::TypeInfo::DecodableType batteryReplaceability = static_cast(0); + Attributes::BatteryPresent::TypeInfo::DecodableType batteryPresent = static_cast(0); Attributes::ActiveBatteryFaults::TypeInfo::DecodableType activeBatteryFaults; Attributes::BatteryReplacementDescription::TypeInfo::DecodableType batteryReplacementDescription; - Attributes::BatteryCommonDesignation::TypeInfo::DecodableType batteryCommonDesignation; + Attributes::BatteryCommonDesignation::TypeInfo::DecodableType batteryCommonDesignation = static_cast(0); Attributes::BatteryANSIDesignation::TypeInfo::DecodableType batteryANSIDesignation; Attributes::BatteryIECDesignation::TypeInfo::DecodableType batteryIECDesignation; - Attributes::BatteryApprovedChemistry::TypeInfo::DecodableType batteryApprovedChemistry; - Attributes::BatteryCapacity::TypeInfo::DecodableType batteryCapacity; - Attributes::BatteryQuantity::TypeInfo::DecodableType batteryQuantity; - Attributes::BatteryChargeState::TypeInfo::DecodableType batteryChargeState; - Attributes::BatteryTimeToFullCharge::TypeInfo::DecodableType batteryTimeToFullCharge; - Attributes::BatteryFunctionalWhileCharging::TypeInfo::DecodableType batteryFunctionalWhileCharging; - Attributes::BatteryChargingCurrent::TypeInfo::DecodableType batteryChargingCurrent; + Attributes::BatteryApprovedChemistry::TypeInfo::DecodableType batteryApprovedChemistry = static_cast(0); + Attributes::BatteryCapacity::TypeInfo::DecodableType batteryCapacity = static_cast(0); + Attributes::BatteryQuantity::TypeInfo::DecodableType batteryQuantity = static_cast(0); + Attributes::BatteryChargeState::TypeInfo::DecodableType batteryChargeState = static_cast(0); + Attributes::BatteryTimeToFullCharge::TypeInfo::DecodableType batteryTimeToFullCharge = static_cast(0); + Attributes::BatteryFunctionalWhileCharging::TypeInfo::DecodableType batteryFunctionalWhileCharging = static_cast(0); + Attributes::BatteryChargingCurrent::TypeInfo::DecodableType batteryChargingCurrent = static_cast(0); Attributes::ActiveBatteryChargeFaults::TypeInfo::DecodableType activeBatteryChargeFaults; Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -9730,9 +9736,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ArmFailSafe::Id; } static constexpr ClusterId GetClusterId() { return Clusters::GeneralCommissioning::Id; } - uint16_t expiryLengthSeconds; - uint64_t breadcrumb; - uint32_t timeoutMs; + uint16_t expiryLengthSeconds = static_cast(0); + uint64_t breadcrumb = static_cast(0); + uint32_t timeoutMs = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -9747,9 +9753,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ArmFailSafe::Id; } static constexpr ClusterId GetClusterId() { return Clusters::GeneralCommissioning::Id; } - uint16_t expiryLengthSeconds; - uint64_t breadcrumb; - uint32_t timeoutMs; + uint16_t expiryLengthSeconds = static_cast(0); + uint64_t breadcrumb = static_cast(0); + uint32_t timeoutMs = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ArmFailSafe @@ -9767,7 +9773,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ArmFailSafeResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::GeneralCommissioning::Id; } - GeneralCommissioningError errorCode; + GeneralCommissioningError errorCode = static_cast(0); chip::CharSpan debugText; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -9783,7 +9789,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ArmFailSafeResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::GeneralCommissioning::Id; } - GeneralCommissioningError errorCode; + GeneralCommissioningError errorCode = static_cast(0); chip::CharSpan debugText; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -9804,10 +9810,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SetRegulatoryConfig::Id; } static constexpr ClusterId GetClusterId() { return Clusters::GeneralCommissioning::Id; } - RegulatoryLocationType location; + RegulatoryLocationType location = static_cast(0); chip::CharSpan countryCode; - uint64_t breadcrumb; - uint32_t timeoutMs; + uint64_t breadcrumb = static_cast(0); + uint32_t timeoutMs = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -9822,10 +9828,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SetRegulatoryConfig::Id; } static constexpr ClusterId GetClusterId() { return Clusters::GeneralCommissioning::Id; } - RegulatoryLocationType location; + RegulatoryLocationType location = static_cast(0); chip::CharSpan countryCode; - uint64_t breadcrumb; - uint32_t timeoutMs; + uint64_t breadcrumb = static_cast(0); + uint32_t timeoutMs = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace SetRegulatoryConfig @@ -9843,7 +9849,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SetRegulatoryConfigResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::GeneralCommissioning::Id; } - GeneralCommissioningError errorCode; + GeneralCommissioningError errorCode = static_cast(0); chip::CharSpan debugText; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -9859,7 +9865,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SetRegulatoryConfigResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::GeneralCommissioning::Id; } - GeneralCommissioningError errorCode; + GeneralCommissioningError errorCode = static_cast(0); chip::CharSpan debugText; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -9906,7 +9912,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::CommissioningCompleteResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::GeneralCommissioning::Id; } - GeneralCommissioningError errorCode; + GeneralCommissioningError errorCode = static_cast(0); chip::CharSpan debugText; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -9922,7 +9928,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::CommissioningCompleteResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::GeneralCommissioning::Id; } - GeneralCommissioningError errorCode; + GeneralCommissioningError errorCode = static_cast(0); chip::CharSpan debugText; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -10027,13 +10033,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::Breadcrumb::TypeInfo::DecodableType breadcrumb; + Attributes::Breadcrumb::TypeInfo::DecodableType breadcrumb = static_cast(0); Attributes::BasicCommissioningInfoList::TypeInfo::DecodableType basicCommissioningInfoList; - Attributes::RegulatoryConfig::TypeInfo::DecodableType regulatoryConfig; - Attributes::LocationCapability::TypeInfo::DecodableType locationCapability; + Attributes::RegulatoryConfig::TypeInfo::DecodableType regulatoryConfig = static_cast(0); + Attributes::LocationCapability::TypeInfo::DecodableType locationCapability = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -10215,7 +10221,7 @@ struct Type static constexpr ClusterId GetClusterId() { return Clusters::NetworkCommissioning::Id; } chip::ByteSpan ssid; - uint64_t breadcrumb; + uint64_t breadcrumb = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -10231,7 +10237,7 @@ struct DecodableType static constexpr ClusterId GetClusterId() { return Clusters::NetworkCommissioning::Id; } chip::ByteSpan ssid; - uint64_t breadcrumb; + uint64_t breadcrumb = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ScanNetworks @@ -10251,7 +10257,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ScanNetworksResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::NetworkCommissioning::Id; } - NetworkCommissioningStatus networkingStatus; + NetworkCommissioningStatus networkingStatus = static_cast(0); chip::CharSpan debugText; Optional> wiFiScanResults; Optional> threadScanResults; @@ -10269,7 +10275,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ScanNetworksResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::NetworkCommissioning::Id; } - NetworkCommissioningStatus networkingStatus; + NetworkCommissioningStatus networkingStatus = static_cast(0); chip::CharSpan debugText; Optional> wiFiScanResults; Optional> threadScanResults; @@ -10293,7 +10299,7 @@ struct Type chip::ByteSpan ssid; chip::ByteSpan credentials; - uint64_t breadcrumb; + uint64_t breadcrumb = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -10310,7 +10316,7 @@ struct DecodableType chip::ByteSpan ssid; chip::ByteSpan credentials; - uint64_t breadcrumb; + uint64_t breadcrumb = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace AddOrUpdateWiFiNetwork @@ -10329,7 +10335,7 @@ struct Type static constexpr ClusterId GetClusterId() { return Clusters::NetworkCommissioning::Id; } chip::ByteSpan operationalDataset; - uint64_t breadcrumb; + uint64_t breadcrumb = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -10345,7 +10351,7 @@ struct DecodableType static constexpr ClusterId GetClusterId() { return Clusters::NetworkCommissioning::Id; } chip::ByteSpan operationalDataset; - uint64_t breadcrumb; + uint64_t breadcrumb = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace AddOrUpdateThreadNetwork @@ -10364,7 +10370,7 @@ struct Type static constexpr ClusterId GetClusterId() { return Clusters::NetworkCommissioning::Id; } chip::ByteSpan networkID; - uint64_t breadcrumb; + uint64_t breadcrumb = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -10380,7 +10386,7 @@ struct DecodableType static constexpr ClusterId GetClusterId() { return Clusters::NetworkCommissioning::Id; } chip::ByteSpan networkID; - uint64_t breadcrumb; + uint64_t breadcrumb = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace RemoveNetwork @@ -10398,7 +10404,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::NetworkConfigResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::NetworkCommissioning::Id; } - NetworkCommissioningStatus networkingStatus; + NetworkCommissioningStatus networkingStatus = static_cast(0); chip::CharSpan debugText; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -10414,7 +10420,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::NetworkConfigResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::NetworkCommissioning::Id; } - NetworkCommissioningStatus networkingStatus; + NetworkCommissioningStatus networkingStatus = static_cast(0); chip::CharSpan debugText; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -10434,7 +10440,7 @@ struct Type static constexpr ClusterId GetClusterId() { return Clusters::NetworkCommissioning::Id; } chip::ByteSpan networkID; - uint64_t breadcrumb; + uint64_t breadcrumb = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -10450,7 +10456,7 @@ struct DecodableType static constexpr ClusterId GetClusterId() { return Clusters::NetworkCommissioning::Id; } chip::ByteSpan networkID; - uint64_t breadcrumb; + uint64_t breadcrumb = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ConnectNetwork @@ -10469,9 +10475,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ConnectNetworkResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::NetworkCommissioning::Id; } - NetworkCommissioningStatus networkingStatus; + NetworkCommissioningStatus networkingStatus = static_cast(0); chip::CharSpan debugText; - int32_t errorValue; + int32_t errorValue = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -10486,9 +10492,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ConnectNetworkResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::NetworkCommissioning::Id; } - NetworkCommissioningStatus networkingStatus; + NetworkCommissioningStatus networkingStatus = static_cast(0); chip::CharSpan debugText; - int32_t errorValue; + int32_t errorValue = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ConnectNetworkResponse @@ -10508,8 +10514,8 @@ struct Type static constexpr ClusterId GetClusterId() { return Clusters::NetworkCommissioning::Id; } chip::ByteSpan networkID; - uint8_t networkIndex; - uint64_t breadcrumb; + uint8_t networkIndex = static_cast(0); + uint64_t breadcrumb = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -10525,8 +10531,8 @@ struct DecodableType static constexpr ClusterId GetClusterId() { return Clusters::NetworkCommissioning::Id; } chip::ByteSpan networkID; - uint8_t networkIndex; - uint64_t breadcrumb; + uint8_t networkIndex = static_cast(0); + uint64_t breadcrumb = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ReorderNetwork @@ -10677,17 +10683,17 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MaxNetworks::TypeInfo::DecodableType maxNetworks; + Attributes::MaxNetworks::TypeInfo::DecodableType maxNetworks = static_cast(0); Attributes::Networks::TypeInfo::DecodableType networks; - Attributes::ScanMaxTimeSeconds::TypeInfo::DecodableType scanMaxTimeSeconds; - Attributes::ConnectMaxTimeSeconds::TypeInfo::DecodableType connectMaxTimeSeconds; - Attributes::InterfaceEnabled::TypeInfo::DecodableType interfaceEnabled; - Attributes::LastNetworkingStatus::TypeInfo::DecodableType lastNetworkingStatus; + Attributes::ScanMaxTimeSeconds::TypeInfo::DecodableType scanMaxTimeSeconds = static_cast(0); + Attributes::ConnectMaxTimeSeconds::TypeInfo::DecodableType connectMaxTimeSeconds = static_cast(0); + Attributes::InterfaceEnabled::TypeInfo::DecodableType interfaceEnabled = static_cast(0); + Attributes::LastNetworkingStatus::TypeInfo::DecodableType lastNetworkingStatus = static_cast(0); Attributes::LastNetworkID::TypeInfo::DecodableType lastNetworkID; - Attributes::LastConnectErrorValue::TypeInfo::DecodableType lastConnectErrorValue; + Attributes::LastConnectErrorValue::TypeInfo::DecodableType lastConnectErrorValue = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -10747,8 +10753,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::RetrieveLogsRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DiagnosticLogs::Id; } - LogsIntent intent; - LogsTransferProtocol requestedProtocol; + LogsIntent intent = static_cast(0); + LogsTransferProtocol requestedProtocol = static_cast(0); chip::ByteSpan transferFileDesignator; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -10764,8 +10770,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::RetrieveLogsRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DiagnosticLogs::Id; } - LogsIntent intent; - LogsTransferProtocol requestedProtocol; + LogsIntent intent = static_cast(0); + LogsTransferProtocol requestedProtocol = static_cast(0); chip::ByteSpan transferFileDesignator; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -10786,10 +10792,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::RetrieveLogsResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DiagnosticLogs::Id; } - LogsStatus status; + LogsStatus status = static_cast(0); chip::ByteSpan content; - uint32_t timeStamp; - uint32_t timeSinceBoot; + uint32_t timeStamp = static_cast(0); + uint32_t timeSinceBoot = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -10804,10 +10810,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::RetrieveLogsResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DiagnosticLogs::Id; } - LogsStatus status; + LogsStatus status = static_cast(0); chip::ByteSpan content; - uint32_t timeStamp; - uint32_t timeSinceBoot; + uint32_t timeStamp = static_cast(0); + uint32_t timeSinceBoot = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace RetrieveLogsResponse @@ -10861,8 +10867,8 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -11130,16 +11136,16 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::NetworkInterfaces::TypeInfo::DecodableType networkInterfaces; - Attributes::RebootCount::TypeInfo::DecodableType rebootCount; - Attributes::UpTime::TypeInfo::DecodableType upTime; - Attributes::TotalOperationalHours::TypeInfo::DecodableType totalOperationalHours; - Attributes::BootReasons::TypeInfo::DecodableType bootReasons; + Attributes::RebootCount::TypeInfo::DecodableType rebootCount = static_cast(0); + Attributes::UpTime::TypeInfo::DecodableType upTime = static_cast(0); + Attributes::TotalOperationalHours::TypeInfo::DecodableType totalOperationalHours = static_cast(0); + Attributes::BootReasons::TypeInfo::DecodableType bootReasons = static_cast(0); Attributes::ActiveHardwareFaults::TypeInfo::DecodableType activeHardwareFaults; Attributes::ActiveRadioFaults::TypeInfo::DecodableType activeRadioFaults; Attributes::ActiveNetworkFaults::TypeInfo::DecodableType activeNetworkFaults; Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -11268,7 +11274,7 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::GeneralDiagnostics::Id; } - BootReasonType bootReason; + BootReasonType bootReason = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; }; @@ -11280,7 +11286,7 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::GeneralDiagnostics::Id; } - BootReasonType bootReason; + BootReasonType bootReason = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -11479,12 +11485,12 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::ThreadMetrics::TypeInfo::DecodableType threadMetrics; - Attributes::CurrentHeapFree::TypeInfo::DecodableType currentHeapFree; - Attributes::CurrentHeapUsed::TypeInfo::DecodableType currentHeapUsed; - Attributes::CurrentHeapHighWatermark::TypeInfo::DecodableType currentHeapHighWatermark; + Attributes::CurrentHeapFree::TypeInfo::DecodableType currentHeapFree = static_cast(0); + Attributes::CurrentHeapUsed::TypeInfo::DecodableType currentHeapUsed = static_cast(0); + Attributes::CurrentHeapHighWatermark::TypeInfo::DecodableType currentHeapHighWatermark = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -12554,72 +12560,73 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::Channel::TypeInfo::DecodableType channel; - Attributes::RoutingRole::TypeInfo::DecodableType routingRole; + Attributes::Channel::TypeInfo::DecodableType channel = static_cast(0); + Attributes::RoutingRole::TypeInfo::DecodableType routingRole = static_cast(0); Attributes::NetworkName::TypeInfo::DecodableType networkName; - Attributes::PanId::TypeInfo::DecodableType panId; - Attributes::ExtendedPanId::TypeInfo::DecodableType extendedPanId; + Attributes::PanId::TypeInfo::DecodableType panId = static_cast(0); + Attributes::ExtendedPanId::TypeInfo::DecodableType extendedPanId = static_cast(0); Attributes::MeshLocalPrefix::TypeInfo::DecodableType meshLocalPrefix; - Attributes::OverrunCount::TypeInfo::DecodableType overrunCount; + Attributes::OverrunCount::TypeInfo::DecodableType overrunCount = static_cast(0); Attributes::NeighborTableList::TypeInfo::DecodableType neighborTableList; Attributes::RouteTableList::TypeInfo::DecodableType routeTableList; - Attributes::PartitionId::TypeInfo::DecodableType partitionId; - Attributes::Weighting::TypeInfo::DecodableType weighting; - Attributes::DataVersion::TypeInfo::DecodableType dataVersion; - Attributes::StableDataVersion::TypeInfo::DecodableType stableDataVersion; - Attributes::LeaderRouterId::TypeInfo::DecodableType leaderRouterId; - Attributes::DetachedRoleCount::TypeInfo::DecodableType detachedRoleCount; - Attributes::ChildRoleCount::TypeInfo::DecodableType childRoleCount; - Attributes::RouterRoleCount::TypeInfo::DecodableType routerRoleCount; - Attributes::LeaderRoleCount::TypeInfo::DecodableType leaderRoleCount; - Attributes::AttachAttemptCount::TypeInfo::DecodableType attachAttemptCount; - Attributes::PartitionIdChangeCount::TypeInfo::DecodableType partitionIdChangeCount; - Attributes::BetterPartitionAttachAttemptCount::TypeInfo::DecodableType betterPartitionAttachAttemptCount; - Attributes::ParentChangeCount::TypeInfo::DecodableType parentChangeCount; - Attributes::TxTotalCount::TypeInfo::DecodableType txTotalCount; - Attributes::TxUnicastCount::TypeInfo::DecodableType txUnicastCount; - Attributes::TxBroadcastCount::TypeInfo::DecodableType txBroadcastCount; - Attributes::TxAckRequestedCount::TypeInfo::DecodableType txAckRequestedCount; - Attributes::TxAckedCount::TypeInfo::DecodableType txAckedCount; - Attributes::TxNoAckRequestedCount::TypeInfo::DecodableType txNoAckRequestedCount; - Attributes::TxDataCount::TypeInfo::DecodableType txDataCount; - Attributes::TxDataPollCount::TypeInfo::DecodableType txDataPollCount; - Attributes::TxBeaconCount::TypeInfo::DecodableType txBeaconCount; - Attributes::TxBeaconRequestCount::TypeInfo::DecodableType txBeaconRequestCount; - Attributes::TxOtherCount::TypeInfo::DecodableType txOtherCount; - Attributes::TxRetryCount::TypeInfo::DecodableType txRetryCount; - Attributes::TxDirectMaxRetryExpiryCount::TypeInfo::DecodableType txDirectMaxRetryExpiryCount; - Attributes::TxIndirectMaxRetryExpiryCount::TypeInfo::DecodableType txIndirectMaxRetryExpiryCount; - Attributes::TxErrCcaCount::TypeInfo::DecodableType txErrCcaCount; - Attributes::TxErrAbortCount::TypeInfo::DecodableType txErrAbortCount; - Attributes::TxErrBusyChannelCount::TypeInfo::DecodableType txErrBusyChannelCount; - Attributes::RxTotalCount::TypeInfo::DecodableType rxTotalCount; - Attributes::RxUnicastCount::TypeInfo::DecodableType rxUnicastCount; - Attributes::RxBroadcastCount::TypeInfo::DecodableType rxBroadcastCount; - Attributes::RxDataCount::TypeInfo::DecodableType rxDataCount; - Attributes::RxDataPollCount::TypeInfo::DecodableType rxDataPollCount; - Attributes::RxBeaconCount::TypeInfo::DecodableType rxBeaconCount; - Attributes::RxBeaconRequestCount::TypeInfo::DecodableType rxBeaconRequestCount; - Attributes::RxOtherCount::TypeInfo::DecodableType rxOtherCount; - Attributes::RxAddressFilteredCount::TypeInfo::DecodableType rxAddressFilteredCount; - Attributes::RxDestAddrFilteredCount::TypeInfo::DecodableType rxDestAddrFilteredCount; - Attributes::RxDuplicatedCount::TypeInfo::DecodableType rxDuplicatedCount; - Attributes::RxErrNoFrameCount::TypeInfo::DecodableType rxErrNoFrameCount; - Attributes::RxErrUnknownNeighborCount::TypeInfo::DecodableType rxErrUnknownNeighborCount; - Attributes::RxErrInvalidSrcAddrCount::TypeInfo::DecodableType rxErrInvalidSrcAddrCount; - Attributes::RxErrSecCount::TypeInfo::DecodableType rxErrSecCount; - Attributes::RxErrFcsCount::TypeInfo::DecodableType rxErrFcsCount; - Attributes::RxErrOtherCount::TypeInfo::DecodableType rxErrOtherCount; - Attributes::ActiveTimestamp::TypeInfo::DecodableType activeTimestamp; - Attributes::PendingTimestamp::TypeInfo::DecodableType pendingTimestamp; - Attributes::Delay::TypeInfo::DecodableType delay; + Attributes::PartitionId::TypeInfo::DecodableType partitionId = static_cast(0); + Attributes::Weighting::TypeInfo::DecodableType weighting = static_cast(0); + Attributes::DataVersion::TypeInfo::DecodableType dataVersion = static_cast(0); + Attributes::StableDataVersion::TypeInfo::DecodableType stableDataVersion = static_cast(0); + Attributes::LeaderRouterId::TypeInfo::DecodableType leaderRouterId = static_cast(0); + Attributes::DetachedRoleCount::TypeInfo::DecodableType detachedRoleCount = static_cast(0); + Attributes::ChildRoleCount::TypeInfo::DecodableType childRoleCount = static_cast(0); + Attributes::RouterRoleCount::TypeInfo::DecodableType routerRoleCount = static_cast(0); + Attributes::LeaderRoleCount::TypeInfo::DecodableType leaderRoleCount = static_cast(0); + Attributes::AttachAttemptCount::TypeInfo::DecodableType attachAttemptCount = static_cast(0); + Attributes::PartitionIdChangeCount::TypeInfo::DecodableType partitionIdChangeCount = static_cast(0); + Attributes::BetterPartitionAttachAttemptCount::TypeInfo::DecodableType betterPartitionAttachAttemptCount = + static_cast(0); + Attributes::ParentChangeCount::TypeInfo::DecodableType parentChangeCount = static_cast(0); + Attributes::TxTotalCount::TypeInfo::DecodableType txTotalCount = static_cast(0); + Attributes::TxUnicastCount::TypeInfo::DecodableType txUnicastCount = static_cast(0); + Attributes::TxBroadcastCount::TypeInfo::DecodableType txBroadcastCount = static_cast(0); + Attributes::TxAckRequestedCount::TypeInfo::DecodableType txAckRequestedCount = static_cast(0); + Attributes::TxAckedCount::TypeInfo::DecodableType txAckedCount = static_cast(0); + Attributes::TxNoAckRequestedCount::TypeInfo::DecodableType txNoAckRequestedCount = static_cast(0); + Attributes::TxDataCount::TypeInfo::DecodableType txDataCount = static_cast(0); + Attributes::TxDataPollCount::TypeInfo::DecodableType txDataPollCount = static_cast(0); + Attributes::TxBeaconCount::TypeInfo::DecodableType txBeaconCount = static_cast(0); + Attributes::TxBeaconRequestCount::TypeInfo::DecodableType txBeaconRequestCount = static_cast(0); + Attributes::TxOtherCount::TypeInfo::DecodableType txOtherCount = static_cast(0); + Attributes::TxRetryCount::TypeInfo::DecodableType txRetryCount = static_cast(0); + Attributes::TxDirectMaxRetryExpiryCount::TypeInfo::DecodableType txDirectMaxRetryExpiryCount = static_cast(0); + Attributes::TxIndirectMaxRetryExpiryCount::TypeInfo::DecodableType txIndirectMaxRetryExpiryCount = static_cast(0); + Attributes::TxErrCcaCount::TypeInfo::DecodableType txErrCcaCount = static_cast(0); + Attributes::TxErrAbortCount::TypeInfo::DecodableType txErrAbortCount = static_cast(0); + Attributes::TxErrBusyChannelCount::TypeInfo::DecodableType txErrBusyChannelCount = static_cast(0); + Attributes::RxTotalCount::TypeInfo::DecodableType rxTotalCount = static_cast(0); + Attributes::RxUnicastCount::TypeInfo::DecodableType rxUnicastCount = static_cast(0); + Attributes::RxBroadcastCount::TypeInfo::DecodableType rxBroadcastCount = static_cast(0); + Attributes::RxDataCount::TypeInfo::DecodableType rxDataCount = static_cast(0); + Attributes::RxDataPollCount::TypeInfo::DecodableType rxDataPollCount = static_cast(0); + Attributes::RxBeaconCount::TypeInfo::DecodableType rxBeaconCount = static_cast(0); + Attributes::RxBeaconRequestCount::TypeInfo::DecodableType rxBeaconRequestCount = static_cast(0); + Attributes::RxOtherCount::TypeInfo::DecodableType rxOtherCount = static_cast(0); + Attributes::RxAddressFilteredCount::TypeInfo::DecodableType rxAddressFilteredCount = static_cast(0); + Attributes::RxDestAddrFilteredCount::TypeInfo::DecodableType rxDestAddrFilteredCount = static_cast(0); + Attributes::RxDuplicatedCount::TypeInfo::DecodableType rxDuplicatedCount = static_cast(0); + Attributes::RxErrNoFrameCount::TypeInfo::DecodableType rxErrNoFrameCount = static_cast(0); + Attributes::RxErrUnknownNeighborCount::TypeInfo::DecodableType rxErrUnknownNeighborCount = static_cast(0); + Attributes::RxErrInvalidSrcAddrCount::TypeInfo::DecodableType rxErrInvalidSrcAddrCount = static_cast(0); + Attributes::RxErrSecCount::TypeInfo::DecodableType rxErrSecCount = static_cast(0); + Attributes::RxErrFcsCount::TypeInfo::DecodableType rxErrFcsCount = static_cast(0); + Attributes::RxErrOtherCount::TypeInfo::DecodableType rxErrOtherCount = static_cast(0); + Attributes::ActiveTimestamp::TypeInfo::DecodableType activeTimestamp = static_cast(0); + Attributes::PendingTimestamp::TypeInfo::DecodableType pendingTimestamp = static_cast(0); + Attributes::Delay::TypeInfo::DecodableType delay = static_cast(0); Attributes::SecurityPolicy::TypeInfo::DecodableType securityPolicy; Attributes::ChannelMask::TypeInfo::DecodableType channelMask; Attributes::OperationalDatasetComponents::TypeInfo::DecodableType operationalDatasetComponents; Attributes::ActiveNetworkFaultsList::TypeInfo::DecodableType activeNetworkFaultsList; Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -12640,7 +12647,7 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::ThreadNetworkDiagnostics::Id; } - ThreadConnectionStatus connectionStatus; + ThreadConnectionStatus connectionStatus = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; }; @@ -12652,7 +12659,7 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::ThreadNetworkDiagnostics::Id; } - ThreadConnectionStatus connectionStatus; + ThreadConnectionStatus connectionStatus = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -12952,21 +12959,21 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::Bssid::TypeInfo::DecodableType bssid; - Attributes::SecurityType::TypeInfo::DecodableType securityType; - Attributes::WiFiVersion::TypeInfo::DecodableType wiFiVersion; - Attributes::ChannelNumber::TypeInfo::DecodableType channelNumber; - Attributes::Rssi::TypeInfo::DecodableType rssi; - Attributes::BeaconLostCount::TypeInfo::DecodableType beaconLostCount; - Attributes::BeaconRxCount::TypeInfo::DecodableType beaconRxCount; - Attributes::PacketMulticastRxCount::TypeInfo::DecodableType packetMulticastRxCount; - Attributes::PacketMulticastTxCount::TypeInfo::DecodableType packetMulticastTxCount; - Attributes::PacketUnicastRxCount::TypeInfo::DecodableType packetUnicastRxCount; - Attributes::PacketUnicastTxCount::TypeInfo::DecodableType packetUnicastTxCount; - Attributes::CurrentMaxRate::TypeInfo::DecodableType currentMaxRate; - Attributes::OverrunCount::TypeInfo::DecodableType overrunCount; + Attributes::SecurityType::TypeInfo::DecodableType securityType = static_cast(0); + Attributes::WiFiVersion::TypeInfo::DecodableType wiFiVersion = static_cast(0); + Attributes::ChannelNumber::TypeInfo::DecodableType channelNumber = static_cast(0); + Attributes::Rssi::TypeInfo::DecodableType rssi = static_cast(0); + Attributes::BeaconLostCount::TypeInfo::DecodableType beaconLostCount = static_cast(0); + Attributes::BeaconRxCount::TypeInfo::DecodableType beaconRxCount = static_cast(0); + Attributes::PacketMulticastRxCount::TypeInfo::DecodableType packetMulticastRxCount = static_cast(0); + Attributes::PacketMulticastTxCount::TypeInfo::DecodableType packetMulticastTxCount = static_cast(0); + Attributes::PacketUnicastRxCount::TypeInfo::DecodableType packetUnicastRxCount = static_cast(0); + Attributes::PacketUnicastTxCount::TypeInfo::DecodableType packetUnicastTxCount = static_cast(0); + Attributes::CurrentMaxRate::TypeInfo::DecodableType currentMaxRate = static_cast(0); + Attributes::OverrunCount::TypeInfo::DecodableType overrunCount = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -12987,7 +12994,7 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::WiFiNetworkDiagnostics::Id; } - uint16_t reasonCode; + uint16_t reasonCode = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; }; @@ -12999,7 +13006,7 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::WiFiNetworkDiagnostics::Id; } - uint16_t reasonCode; + uint16_t reasonCode = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -13021,8 +13028,8 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::WiFiNetworkDiagnostics::Id; } - AssociationFailureCause associationFailure; - uint16_t status; + AssociationFailureCause associationFailure = static_cast(0); + uint16_t status = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; }; @@ -13034,8 +13041,8 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::WiFiNetworkDiagnostics::Id; } - AssociationFailureCause associationFailure; - uint16_t status; + AssociationFailureCause associationFailure = static_cast(0); + uint16_t status = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -13056,7 +13063,7 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::WiFiNetworkDiagnostics::Id; } - WiFiConnectionStatus connectionStatus; + WiFiConnectionStatus connectionStatus = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; }; @@ -13068,7 +13075,7 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::WiFiNetworkDiagnostics::Id; } - WiFiConnectionStatus connectionStatus; + WiFiConnectionStatus connectionStatus = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -13293,18 +13300,18 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::PHYRate::TypeInfo::DecodableType PHYRate; - Attributes::FullDuplex::TypeInfo::DecodableType fullDuplex; - Attributes::PacketRxCount::TypeInfo::DecodableType packetRxCount; - Attributes::PacketTxCount::TypeInfo::DecodableType packetTxCount; - Attributes::TxErrCount::TypeInfo::DecodableType txErrCount; - Attributes::CollisionCount::TypeInfo::DecodableType collisionCount; - Attributes::OverrunCount::TypeInfo::DecodableType overrunCount; - Attributes::CarrierDetect::TypeInfo::DecodableType carrierDetect; - Attributes::TimeSinceReset::TypeInfo::DecodableType timeSinceReset; + Attributes::PHYRate::TypeInfo::DecodableType PHYRate = static_cast(0); + Attributes::FullDuplex::TypeInfo::DecodableType fullDuplex = static_cast(0); + Attributes::PacketRxCount::TypeInfo::DecodableType packetRxCount = static_cast(0); + Attributes::PacketTxCount::TypeInfo::DecodableType packetTxCount = static_cast(0); + Attributes::TxErrCount::TypeInfo::DecodableType txErrCount = static_cast(0); + Attributes::CollisionCount::TypeInfo::DecodableType collisionCount = static_cast(0); + Attributes::OverrunCount::TypeInfo::DecodableType overrunCount = static_cast(0); + Attributes::CarrierDetect::TypeInfo::DecodableType carrierDetect = static_cast(0); + Attributes::TimeSinceReset::TypeInfo::DecodableType timeSinceReset = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -13359,8 +13366,8 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -13735,23 +13742,23 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::VendorName::TypeInfo::DecodableType vendorName; - Attributes::VendorID::TypeInfo::DecodableType vendorID; + Attributes::VendorID::TypeInfo::DecodableType vendorID = static_cast(0); Attributes::ProductName::TypeInfo::DecodableType productName; Attributes::NodeLabel::TypeInfo::DecodableType nodeLabel; - Attributes::HardwareVersion::TypeInfo::DecodableType hardwareVersion; + Attributes::HardwareVersion::TypeInfo::DecodableType hardwareVersion = static_cast(0); Attributes::HardwareVersionString::TypeInfo::DecodableType hardwareVersionString; - Attributes::SoftwareVersion::TypeInfo::DecodableType softwareVersion; + Attributes::SoftwareVersion::TypeInfo::DecodableType softwareVersion = static_cast(0); Attributes::SoftwareVersionString::TypeInfo::DecodableType softwareVersionString; Attributes::ManufacturingDate::TypeInfo::DecodableType manufacturingDate; Attributes::PartNumber::TypeInfo::DecodableType partNumber; Attributes::ProductURL::TypeInfo::DecodableType productURL; Attributes::ProductLabel::TypeInfo::DecodableType productLabel; Attributes::SerialNumber::TypeInfo::DecodableType serialNumber; - Attributes::Reachable::TypeInfo::DecodableType reachable; + Attributes::Reachable::TypeInfo::DecodableType reachable = static_cast(0); Attributes::UniqueID::TypeInfo::DecodableType uniqueID; Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -13841,12 +13848,12 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::NumberOfPositions::TypeInfo::DecodableType numberOfPositions; - Attributes::CurrentPosition::TypeInfo::DecodableType currentPosition; - Attributes::MultiPressMax::TypeInfo::DecodableType multiPressMax; + Attributes::NumberOfPositions::TypeInfo::DecodableType numberOfPositions = static_cast(0); + Attributes::CurrentPosition::TypeInfo::DecodableType currentPosition = static_cast(0); + Attributes::MultiPressMax::TypeInfo::DecodableType multiPressMax = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -13867,7 +13874,7 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::Switch::Id; } - uint8_t newPosition; + uint8_t newPosition = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; }; @@ -13879,7 +13886,7 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::Switch::Id; } - uint8_t newPosition; + uint8_t newPosition = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -13900,7 +13907,7 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::Switch::Id; } - uint8_t newPosition; + uint8_t newPosition = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; }; @@ -13912,7 +13919,7 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::Switch::Id; } - uint8_t newPosition; + uint8_t newPosition = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -13933,7 +13940,7 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::Switch::Id; } - uint8_t newPosition; + uint8_t newPosition = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; }; @@ -13945,7 +13952,7 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::Switch::Id; } - uint8_t newPosition; + uint8_t newPosition = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -13966,7 +13973,7 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::Switch::Id; } - uint8_t previousPosition; + uint8_t previousPosition = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; }; @@ -13978,7 +13985,7 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::Switch::Id; } - uint8_t previousPosition; + uint8_t previousPosition = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -13999,7 +14006,7 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::Switch::Id; } - uint8_t previousPosition; + uint8_t previousPosition = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; }; @@ -14011,7 +14018,7 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::Switch::Id; } - uint8_t previousPosition; + uint8_t previousPosition = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -14033,8 +14040,8 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::Switch::Id; } - uint8_t newPosition; - uint8_t currentNumberOfPressesCounted; + uint8_t newPosition = static_cast(0); + uint8_t currentNumberOfPressesCounted = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; }; @@ -14046,8 +14053,8 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::Switch::Id; } - uint8_t newPosition; - uint8_t currentNumberOfPressesCounted; + uint8_t newPosition = static_cast(0); + uint8_t currentNumberOfPressesCounted = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -14069,8 +14076,8 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::Switch::Id; } - uint8_t newPosition; - uint8_t totalNumberOfPressesCounted; + uint8_t newPosition = static_cast(0); + uint8_t totalNumberOfPressesCounted = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; }; @@ -14082,8 +14089,8 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::Switch::Id; } - uint8_t newPosition; - uint8_t totalNumberOfPressesCounted; + uint8_t newPosition = static_cast(0); + uint8_t totalNumberOfPressesCounted = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -14151,12 +14158,12 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::OpenCommissioningWindow::Id; } static constexpr ClusterId GetClusterId() { return Clusters::AdministratorCommissioning::Id; } - uint16_t commissioningTimeout; + uint16_t commissioningTimeout = static_cast(0); chip::ByteSpan PAKEVerifier; - uint16_t discriminator; - uint32_t iterations; + uint16_t discriminator = static_cast(0); + uint32_t iterations = static_cast(0); chip::ByteSpan salt; - uint16_t passcodeID; + uint16_t passcodeID = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -14171,12 +14178,12 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::OpenCommissioningWindow::Id; } static constexpr ClusterId GetClusterId() { return Clusters::AdministratorCommissioning::Id; } - uint16_t commissioningTimeout; + uint16_t commissioningTimeout = static_cast(0); chip::ByteSpan PAKEVerifier; - uint16_t discriminator; - uint32_t iterations; + uint16_t discriminator = static_cast(0); + uint32_t iterations = static_cast(0); chip::ByteSpan salt; - uint16_t passcodeID; + uint16_t passcodeID = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace OpenCommissioningWindow @@ -14193,7 +14200,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::OpenBasicCommissioningWindow::Id; } static constexpr ClusterId GetClusterId() { return Clusters::AdministratorCommissioning::Id; } - uint16_t commissioningTimeout; + uint16_t commissioningTimeout = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -14208,7 +14215,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::OpenBasicCommissioningWindow::Id; } static constexpr ClusterId GetClusterId() { return Clusters::AdministratorCommissioning::Id; } - uint16_t commissioningTimeout; + uint16_t commissioningTimeout = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace OpenBasicCommissioningWindow @@ -14325,12 +14332,12 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::WindowStatus::TypeInfo::DecodableType windowStatus; - Attributes::AdminFabricIndex::TypeInfo::DecodableType adminFabricIndex; - Attributes::AdminVendorId::TypeInfo::DecodableType adminVendorId; + Attributes::WindowStatus::TypeInfo::DecodableType windowStatus = static_cast(0); + Attributes::AdminFabricIndex::TypeInfo::DecodableType adminFabricIndex = static_cast(0); + Attributes::AdminVendorId::TypeInfo::DecodableType adminVendorId = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -14559,7 +14566,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::CertificateChainRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::OperationalCredentials::Id; } - uint8_t certificateType; + uint8_t certificateType = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -14574,7 +14581,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::CertificateChainRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::OperationalCredentials::Id; } - uint8_t certificateType; + uint8_t certificateType = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace CertificateChainRequest @@ -14697,8 +14704,8 @@ struct Type chip::ByteSpan NOCValue; Optional ICACValue; chip::ByteSpan IPKValue; - chip::NodeId caseAdminNode; - uint16_t adminVendorId; + chip::NodeId caseAdminNode = static_cast(0); + uint16_t adminVendorId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -14716,8 +14723,8 @@ struct DecodableType chip::ByteSpan NOCValue; Optional ICACValue; chip::ByteSpan IPKValue; - chip::NodeId caseAdminNode; - uint16_t adminVendorId; + chip::NodeId caseAdminNode = static_cast(0); + uint16_t adminVendorId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace AddNOC @@ -14771,8 +14778,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::NOCResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::OperationalCredentials::Id; } - uint8_t statusCode; - uint8_t fabricIndex; + uint8_t statusCode = static_cast(0); + uint8_t fabricIndex = static_cast(0); chip::CharSpan debugText; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -14788,8 +14795,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::NOCResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::OperationalCredentials::Id; } - uint8_t statusCode; - uint8_t fabricIndex; + uint8_t statusCode = static_cast(0); + uint8_t fabricIndex = static_cast(0); chip::CharSpan debugText; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -14839,7 +14846,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::RemoveFabric::Id; } static constexpr ClusterId GetClusterId() { return Clusters::OperationalCredentials::Id; } - uint8_t fabricIndex; + uint8_t fabricIndex = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -14854,7 +14861,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::RemoveFabric::Id; } static constexpr ClusterId GetClusterId() { return Clusters::OperationalCredentials::Id; } - uint8_t fabricIndex; + uint8_t fabricIndex = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace RemoveFabric @@ -15034,13 +15041,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::FabricsList::TypeInfo::DecodableType fabricsList; - Attributes::SupportedFabrics::TypeInfo::DecodableType supportedFabrics; - Attributes::CommissionedFabrics::TypeInfo::DecodableType commissionedFabrics; + Attributes::SupportedFabrics::TypeInfo::DecodableType supportedFabrics = static_cast(0); + Attributes::CommissionedFabrics::TypeInfo::DecodableType commissionedFabrics = static_cast(0); Attributes::TrustedRootCertificates::TypeInfo::DecodableType trustedRootCertificates; - Attributes::CurrentFabricIndex::TypeInfo::DecodableType currentFabricIndex; + Attributes::CurrentFabricIndex::TypeInfo::DecodableType currentFabricIndex = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -15223,7 +15230,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::KeySetRead::Id; } static constexpr ClusterId GetClusterId() { return Clusters::GroupKeyManagement::Id; } - uint16_t groupKeySetID; + uint16_t groupKeySetID = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -15238,7 +15245,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::KeySetRead::Id; } static constexpr ClusterId GetClusterId() { return Clusters::GroupKeyManagement::Id; } - uint16_t groupKeySetID; + uint16_t groupKeySetID = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace KeySetRead @@ -15287,7 +15294,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::KeySetRemove::Id; } static constexpr ClusterId GetClusterId() { return Clusters::GroupKeyManagement::Id; } - uint16_t groupKeySetID; + uint16_t groupKeySetID = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -15302,7 +15309,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::KeySetRemove::Id; } static constexpr ClusterId GetClusterId() { return Clusters::GroupKeyManagement::Id; } - uint16_t groupKeySetID; + uint16_t groupKeySetID = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace KeySetRemove @@ -15473,11 +15480,11 @@ struct TypeInfo Attributes::GroupKeyMap::TypeInfo::DecodableType groupKeyMap; Attributes::GroupTable::TypeInfo::DecodableType groupTable; - Attributes::MaxGroupsPerFabric::TypeInfo::DecodableType maxGroupsPerFabric; - Attributes::MaxGroupKeysPerFabric::TypeInfo::DecodableType maxGroupKeysPerFabric; + Attributes::MaxGroupsPerFabric::TypeInfo::DecodableType maxGroupsPerFabric = static_cast(0); + Attributes::MaxGroupKeysPerFabric::TypeInfo::DecodableType maxGroupKeysPerFabric = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -15550,8 +15557,8 @@ struct TypeInfo Attributes::LabelList::TypeInfo::DecodableType labelList; Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -15624,8 +15631,8 @@ struct TypeInfo Attributes::LabelList::TypeInfo::DecodableType labelList; Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -15680,8 +15687,8 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -15736,8 +15743,8 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -15792,8 +15799,8 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -15859,10 +15866,10 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::StateValue::TypeInfo::DecodableType stateValue; + Attributes::StateValue::TypeInfo::DecodableType stateValue = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -15883,7 +15890,7 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::BooleanState::Id; } - bool stateValue; + bool stateValue = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; }; @@ -15895,7 +15902,7 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::BooleanState::Id; } - bool stateValue; + bool stateValue = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -15973,7 +15980,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ChangeToMode::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ModeSelect::Id; } - uint8_t newMode; + uint8_t newMode = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -15988,7 +15995,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ChangeToMode::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ModeSelect::Id; } - uint8_t newMode; + uint8_t newMode = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ChangeToMode @@ -16103,14 +16110,14 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::CurrentMode::TypeInfo::DecodableType currentMode; + Attributes::CurrentMode::TypeInfo::DecodableType currentMode = static_cast(0); Attributes::SupportedModes::TypeInfo::DecodableType supportedModes; - Attributes::OnMode::TypeInfo::DecodableType onMode; - Attributes::StartUpMode::TypeInfo::DecodableType startUpMode; + Attributes::OnMode::TypeInfo::DecodableType onMode = static_cast(0); + Attributes::StartUpMode::TypeInfo::DecodableType startUpMode = static_cast(0); Attributes::Description::TypeInfo::DecodableType description; Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -16224,14 +16231,14 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::PhysicalClosedLimit::TypeInfo::DecodableType physicalClosedLimit; - Attributes::MotorStepSize::TypeInfo::DecodableType motorStepSize; - Attributes::Status::TypeInfo::DecodableType status; - Attributes::ClosedLimit::TypeInfo::DecodableType closedLimit; - Attributes::Mode::TypeInfo::DecodableType mode; + Attributes::PhysicalClosedLimit::TypeInfo::DecodableType physicalClosedLimit = static_cast(0); + Attributes::MotorStepSize::TypeInfo::DecodableType motorStepSize = static_cast(0); + Attributes::Status::TypeInfo::DecodableType status = static_cast(0); + Attributes::ClosedLimit::TypeInfo::DecodableType closedLimit = static_cast(0); + Attributes::Mode::TypeInfo::DecodableType mode = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -16960,7 +16967,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::UnlockWithTimeout::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t timeout; + uint16_t timeout = static_cast(0); Optional pinCode; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -16976,7 +16983,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::UnlockWithTimeout::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t timeout; + uint16_t timeout = static_cast(0); Optional pinCode; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -16994,7 +17001,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetLogRecord::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t logIndex; + uint16_t logIndex = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17009,7 +17016,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetLogRecord::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t logIndex; + uint16_t logIndex = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetLogRecord @@ -17032,12 +17039,12 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetLogRecordResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t logEntryId; - uint32_t timestamp; - uint8_t eventType; - uint8_t source; - uint8_t eventIdOrAlarmCode; - uint16_t userId; + uint16_t logEntryId = static_cast(0); + uint32_t timestamp = static_cast(0); + uint8_t eventType = static_cast(0); + uint8_t source = static_cast(0); + uint8_t eventIdOrAlarmCode = static_cast(0); + uint16_t userId = static_cast(0); chip::ByteSpan pin; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17053,12 +17060,12 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetLogRecordResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t logEntryId; - uint32_t timestamp; - uint8_t eventType; - uint8_t source; - uint8_t eventIdOrAlarmCode; - uint16_t userId; + uint16_t logEntryId = static_cast(0); + uint32_t timestamp = static_cast(0); + uint8_t eventType = static_cast(0); + uint8_t source = static_cast(0); + uint8_t eventIdOrAlarmCode = static_cast(0); + uint16_t userId = static_cast(0); chip::ByteSpan pin; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -17079,9 +17086,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SetPINCode::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; - DlUserStatus userStatus; - DlUserType userType; + uint16_t userId = static_cast(0); + DlUserStatus userStatus = static_cast(0); + DlUserType userType = static_cast(0); chip::ByteSpan pin; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17097,9 +17104,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SetPINCode::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; - DlUserStatus userStatus; - DlUserType userType; + uint16_t userId = static_cast(0); + DlUserStatus userStatus = static_cast(0); + DlUserType userType = static_cast(0); chip::ByteSpan pin; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -17117,7 +17124,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetPINCode::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; + uint16_t userId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17132,7 +17139,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetPINCode::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; + uint16_t userId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetPINCode @@ -17152,7 +17159,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetPINCodeResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; + uint16_t userId = static_cast(0); DataModel::Nullable userStatus; DataModel::Nullable userType; DataModel::Nullable pin; @@ -17170,7 +17177,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetPINCodeResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; + uint16_t userId = static_cast(0); DataModel::Nullable userStatus; DataModel::Nullable userType; DataModel::Nullable pin; @@ -17190,7 +17197,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ClearPINCode::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t pinSlotIndex; + uint16_t pinSlotIndex = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17205,7 +17212,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ClearPINCode::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t pinSlotIndex; + uint16_t pinSlotIndex = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ClearPINCode @@ -17251,8 +17258,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SetUserStatus::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; - DlUserStatus userStatus; + uint16_t userId = static_cast(0); + DlUserStatus userStatus = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17267,8 +17274,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SetUserStatus::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; - DlUserStatus userStatus; + uint16_t userId = static_cast(0); + DlUserStatus userStatus = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace SetUserStatus @@ -17285,7 +17292,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetUserStatus::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; + uint16_t userId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17300,7 +17307,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetUserStatus::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; + uint16_t userId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetUserStatus @@ -17318,8 +17325,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetUserStatusResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; - DlUserStatus userStatus; + uint16_t userId = static_cast(0); + DlUserStatus userStatus = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17334,8 +17341,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetUserStatusResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; - DlUserStatus userStatus; + uint16_t userId = static_cast(0); + DlUserStatus userStatus = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetUserStatusResponse @@ -17358,13 +17365,13 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SetWeekDaySchedule::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t weekDayIndex; - uint16_t userIndex; - chip::BitFlags daysMask; - uint8_t startHour; - uint8_t startMinute; - uint8_t endHour; - uint8_t endMinute; + uint8_t weekDayIndex = static_cast(0); + uint16_t userIndex = static_cast(0); + chip::BitFlags daysMask = static_cast>(0); + uint8_t startHour = static_cast(0); + uint8_t startMinute = static_cast(0); + uint8_t endHour = static_cast(0); + uint8_t endMinute = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17379,13 +17386,13 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SetWeekDaySchedule::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t weekDayIndex; - uint16_t userIndex; - chip::BitFlags daysMask; - uint8_t startHour; - uint8_t startMinute; - uint8_t endHour; - uint8_t endMinute; + uint8_t weekDayIndex = static_cast(0); + uint16_t userIndex = static_cast(0); + chip::BitFlags daysMask = static_cast>(0); + uint8_t startHour = static_cast(0); + uint8_t startMinute = static_cast(0); + uint8_t endHour = static_cast(0); + uint8_t endMinute = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace SetWeekDaySchedule @@ -17403,8 +17410,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetWeekDaySchedule::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t weekDayIndex; - uint16_t userIndex; + uint8_t weekDayIndex = static_cast(0); + uint16_t userIndex = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17419,8 +17426,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetWeekDaySchedule::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t weekDayIndex; - uint16_t userIndex; + uint8_t weekDayIndex = static_cast(0); + uint16_t userIndex = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetWeekDaySchedule @@ -17444,14 +17451,14 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetWeekDayScheduleResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t weekDayIndex; - uint16_t userIndex; - DlStatus status; - chip::BitFlags daysMask; - uint8_t startHour; - uint8_t startMinute; - uint8_t endHour; - uint8_t endMinute; + uint8_t weekDayIndex = static_cast(0); + uint16_t userIndex = static_cast(0); + DlStatus status = static_cast(0); + chip::BitFlags daysMask = static_cast>(0); + uint8_t startHour = static_cast(0); + uint8_t startMinute = static_cast(0); + uint8_t endHour = static_cast(0); + uint8_t endMinute = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17466,14 +17473,14 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetWeekDayScheduleResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t weekDayIndex; - uint16_t userIndex; - DlStatus status; - chip::BitFlags daysMask; - uint8_t startHour; - uint8_t startMinute; - uint8_t endHour; - uint8_t endMinute; + uint8_t weekDayIndex = static_cast(0); + uint16_t userIndex = static_cast(0); + DlStatus status = static_cast(0); + chip::BitFlags daysMask = static_cast>(0); + uint8_t startHour = static_cast(0); + uint8_t startMinute = static_cast(0); + uint8_t endHour = static_cast(0); + uint8_t endMinute = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetWeekDayScheduleResponse @@ -17491,8 +17498,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ClearWeekDaySchedule::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t weekDayIndex; - uint16_t userIndex; + uint8_t weekDayIndex = static_cast(0); + uint16_t userIndex = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17507,8 +17514,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ClearWeekDaySchedule::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t weekDayIndex; - uint16_t userIndex; + uint8_t weekDayIndex = static_cast(0); + uint16_t userIndex = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ClearWeekDaySchedule @@ -17528,10 +17535,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SetYearDaySchedule::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t yearDayIndex; - uint16_t userIndex; - uint32_t localStartTime; - uint32_t localEndTime; + uint8_t yearDayIndex = static_cast(0); + uint16_t userIndex = static_cast(0); + uint32_t localStartTime = static_cast(0); + uint32_t localEndTime = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17546,10 +17553,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SetYearDaySchedule::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t yearDayIndex; - uint16_t userIndex; - uint32_t localStartTime; - uint32_t localEndTime; + uint8_t yearDayIndex = static_cast(0); + uint16_t userIndex = static_cast(0); + uint32_t localStartTime = static_cast(0); + uint32_t localEndTime = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace SetYearDaySchedule @@ -17567,8 +17574,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetYearDaySchedule::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t yearDayIndex; - uint16_t userIndex; + uint8_t yearDayIndex = static_cast(0); + uint16_t userIndex = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17583,8 +17590,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetYearDaySchedule::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t yearDayIndex; - uint16_t userIndex; + uint8_t yearDayIndex = static_cast(0); + uint16_t userIndex = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetYearDaySchedule @@ -17605,11 +17612,11 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetYearDayScheduleResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t yearDayIndex; - uint16_t userIndex; - DlStatus status; - uint32_t localStartTime; - uint32_t localEndTime; + uint8_t yearDayIndex = static_cast(0); + uint16_t userIndex = static_cast(0); + DlStatus status = static_cast(0); + uint32_t localStartTime = static_cast(0); + uint32_t localEndTime = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17624,11 +17631,11 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetYearDayScheduleResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t yearDayIndex; - uint16_t userIndex; - DlStatus status; - uint32_t localStartTime; - uint32_t localEndTime; + uint8_t yearDayIndex = static_cast(0); + uint16_t userIndex = static_cast(0); + DlStatus status = static_cast(0); + uint32_t localStartTime = static_cast(0); + uint32_t localEndTime = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetYearDayScheduleResponse @@ -17646,8 +17653,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ClearYearDaySchedule::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t yearDayIndex; - uint16_t userIndex; + uint8_t yearDayIndex = static_cast(0); + uint16_t userIndex = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17662,8 +17669,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ClearYearDaySchedule::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t yearDayIndex; - uint16_t userIndex; + uint8_t yearDayIndex = static_cast(0); + uint16_t userIndex = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ClearYearDaySchedule @@ -17683,10 +17690,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SetHolidaySchedule::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t holidayIndex; - uint32_t localStartTime; - uint32_t localEndTime; - DlOperatingMode operatingMode; + uint8_t holidayIndex = static_cast(0); + uint32_t localStartTime = static_cast(0); + uint32_t localEndTime = static_cast(0); + DlOperatingMode operatingMode = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17701,10 +17708,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SetHolidaySchedule::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t holidayIndex; - uint32_t localStartTime; - uint32_t localEndTime; - DlOperatingMode operatingMode; + uint8_t holidayIndex = static_cast(0); + uint32_t localStartTime = static_cast(0); + uint32_t localEndTime = static_cast(0); + DlOperatingMode operatingMode = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace SetHolidaySchedule @@ -17721,7 +17728,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetHolidaySchedule::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t holidayIndex; + uint8_t holidayIndex = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17736,7 +17743,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetHolidaySchedule::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t holidayIndex; + uint8_t holidayIndex = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetHolidaySchedule @@ -17757,11 +17764,11 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetHolidayScheduleResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t holidayIndex; - DlStatus status; - uint32_t localStartTime; - uint32_t localEndTime; - DlOperatingMode operatingMode; + uint8_t holidayIndex = static_cast(0); + DlStatus status = static_cast(0); + uint32_t localStartTime = static_cast(0); + uint32_t localEndTime = static_cast(0); + DlOperatingMode operatingMode = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17776,11 +17783,11 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetHolidayScheduleResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t holidayIndex; - DlStatus status; - uint32_t localStartTime; - uint32_t localEndTime; - DlOperatingMode operatingMode; + uint8_t holidayIndex = static_cast(0); + DlStatus status = static_cast(0); + uint32_t localStartTime = static_cast(0); + uint32_t localEndTime = static_cast(0); + DlOperatingMode operatingMode = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetHolidayScheduleResponse @@ -17797,7 +17804,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ClearHolidaySchedule::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t holidayIndex; + uint8_t holidayIndex = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17812,7 +17819,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ClearHolidaySchedule::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t holidayIndex; + uint8_t holidayIndex = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ClearHolidaySchedule @@ -17830,8 +17837,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SetUserType::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; - DlUserType userType; + uint16_t userId = static_cast(0); + DlUserType userType = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17846,8 +17853,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SetUserType::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; - DlUserType userType; + uint16_t userId = static_cast(0); + DlUserType userType = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace SetUserType @@ -17864,7 +17871,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetUserType::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; + uint16_t userId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17879,7 +17886,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetUserType::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; + uint16_t userId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetUserType @@ -17897,8 +17904,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetUserTypeResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; - DlUserType userType; + uint16_t userId = static_cast(0); + DlUserType userType = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17913,8 +17920,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetUserTypeResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; - DlUserType userType; + uint16_t userId = static_cast(0); + DlUserType userType = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetUserTypeResponse @@ -17934,9 +17941,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SetRFIDCode::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; - DlUserStatus userStatus; - DlUserType userType; + uint16_t userId = static_cast(0); + DlUserStatus userStatus = static_cast(0); + DlUserType userType = static_cast(0); chip::ByteSpan rfidCode; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17952,9 +17959,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SetRFIDCode::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; - DlUserStatus userStatus; - DlUserType userType; + uint16_t userId = static_cast(0); + DlUserStatus userStatus = static_cast(0); + DlUserType userType = static_cast(0); chip::ByteSpan rfidCode; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -17972,7 +17979,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetRFIDCode::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; + uint16_t userId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -17987,7 +17994,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetRFIDCode::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; + uint16_t userId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetRFIDCode @@ -18007,7 +18014,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetRFIDCodeResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; + uint16_t userId = static_cast(0); DataModel::Nullable userStatus; DataModel::Nullable userType; DataModel::Nullable rfidCode; @@ -18025,7 +18032,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetRFIDCodeResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userId; + uint16_t userId = static_cast(0); DataModel::Nullable userStatus; DataModel::Nullable userType; DataModel::Nullable rfidCode; @@ -18045,7 +18052,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ClearRFIDCode::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t rfidSlotIndex; + uint16_t rfidSlotIndex = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -18060,7 +18067,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ClearRFIDCode::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t rfidSlotIndex; + uint16_t rfidSlotIndex = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ClearRFIDCode @@ -18111,13 +18118,13 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SetUser::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - DlDataOperationType operationType; - uint16_t userIndex; + DlDataOperationType operationType = static_cast(0); + uint16_t userIndex = static_cast(0); DataModel::Nullable userName; DataModel::Nullable userUniqueId; - DlUserStatus userStatus; - DlUserType userType; - DlCredentialRule credentialRule; + DlUserStatus userStatus = static_cast(0); + DlUserType userType = static_cast(0); + DlCredentialRule credentialRule = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -18132,13 +18139,13 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SetUser::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - DlDataOperationType operationType; - uint16_t userIndex; + DlDataOperationType operationType = static_cast(0); + uint16_t userIndex = static_cast(0); DataModel::Nullable userName; DataModel::Nullable userUniqueId; - DlUserStatus userStatus; - DlUserType userType; - DlCredentialRule credentialRule; + DlUserStatus userStatus = static_cast(0); + DlUserType userType = static_cast(0); + DlCredentialRule credentialRule = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace SetUser @@ -18155,7 +18162,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetUser::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userIndex; + uint16_t userIndex = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -18170,7 +18177,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetUser::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userIndex; + uint16_t userIndex = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetUser @@ -18196,7 +18203,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetUserResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userIndex; + uint16_t userIndex = static_cast(0); DataModel::Nullable userName; DataModel::Nullable userUniqueId; DataModel::Nullable userStatus; @@ -18205,7 +18212,7 @@ struct Type DataModel::Nullable> credentials; DataModel::Nullable creatorFabricIndex; DataModel::Nullable lastModifiedFabricIndex; - uint16_t nextUserIndex; + uint16_t nextUserIndex = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -18220,7 +18227,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetUserResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userIndex; + uint16_t userIndex = static_cast(0); DataModel::Nullable userName; DataModel::Nullable userUniqueId; DataModel::Nullable userStatus; @@ -18229,7 +18236,7 @@ struct DecodableType DataModel::Nullable> credentials; DataModel::Nullable creatorFabricIndex; DataModel::Nullable lastModifiedFabricIndex; - uint16_t nextUserIndex; + uint16_t nextUserIndex = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetUserResponse @@ -18246,7 +18253,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ClearUser::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userIndex; + uint16_t userIndex = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -18261,7 +18268,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ClearUser::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint16_t userIndex; + uint16_t userIndex = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ClearUser @@ -18283,11 +18290,11 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::OperatingEventNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t operationEventSource; - uint8_t operationEventCode; - uint16_t userId; + uint8_t operationEventSource = static_cast(0); + uint8_t operationEventCode = static_cast(0); + uint16_t userId = static_cast(0); chip::ByteSpan pin; - uint32_t localTime; + uint32_t localTime = static_cast(0); Optional data; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -18303,11 +18310,11 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::OperatingEventNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t operationEventSource; - uint8_t operationEventCode; - uint16_t userId; + uint8_t operationEventSource = static_cast(0); + uint8_t operationEventCode = static_cast(0); + uint16_t userId = static_cast(0); chip::ByteSpan pin; - uint32_t localTime; + uint32_t localTime = static_cast(0); Optional data; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -18332,13 +18339,13 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ProgrammingEventNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t programEventSource; - uint8_t programEventCode; - uint16_t userId; + uint8_t programEventSource = static_cast(0); + uint8_t programEventCode = static_cast(0); + uint16_t userId = static_cast(0); chip::ByteSpan pin; - DlUserType userType; - DlUserStatus userStatus; - uint32_t localTime; + DlUserType userType = static_cast(0); + DlUserStatus userStatus = static_cast(0); + uint32_t localTime = static_cast(0); Optional data; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -18354,13 +18361,13 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ProgrammingEventNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - uint8_t programEventSource; - uint8_t programEventCode; - uint16_t userId; + uint8_t programEventSource = static_cast(0); + uint8_t programEventCode = static_cast(0); + uint16_t userId = static_cast(0); chip::ByteSpan pin; - DlUserType userType; - DlUserStatus userStatus; - uint32_t localTime; + DlUserType userType = static_cast(0); + DlUserStatus userStatus = static_cast(0); + uint32_t localTime = static_cast(0); Optional data; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -18382,11 +18389,11 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SetCredential::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - DlDataOperationType operationType; + DlDataOperationType operationType = static_cast(0); Structs::DlCredential::Type credential; chip::ByteSpan credentialData; - uint16_t userIndex; - DlUserStatus userStatus; + uint16_t userIndex = static_cast(0); + DlUserStatus userStatus = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -18401,11 +18408,11 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SetCredential::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - DlDataOperationType operationType; + DlDataOperationType operationType = static_cast(0); Structs::DlCredential::DecodableType credential; chip::ByteSpan credentialData; - uint16_t userIndex; - DlUserStatus userStatus; + uint16_t userIndex = static_cast(0); + DlUserStatus userStatus = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace SetCredential @@ -18424,7 +18431,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SetCredentialResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - DlStatus status; + DlStatus status = static_cast(0); DataModel::Nullable userIndex; DataModel::Nullable nextCredentialIndex; @@ -18441,7 +18448,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SetCredentialResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - DlStatus status; + DlStatus status = static_cast(0); DataModel::Nullable userIndex; DataModel::Nullable nextCredentialIndex; CHIP_ERROR Decode(TLV::TLVReader & reader); @@ -18494,7 +18501,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetCredentialStatusResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - bool credentialExists; + bool credentialExists = static_cast(0); DataModel::Nullable userIndex; DataModel::Nullable nextCredentialIndex; @@ -18511,7 +18518,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetCredentialStatusResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - bool credentialExists; + bool credentialExists = static_cast(0); DataModel::Nullable userIndex; DataModel::Nullable nextCredentialIndex; CHIP_ERROR Decode(TLV::TLVReader & reader); @@ -19139,53 +19146,56 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::LockState::TypeInfo::DecodableType lockState; - Attributes::LockType::TypeInfo::DecodableType lockType; - Attributes::ActuatorEnabled::TypeInfo::DecodableType actuatorEnabled; + Attributes::LockType::TypeInfo::DecodableType lockType = static_cast(0); + Attributes::ActuatorEnabled::TypeInfo::DecodableType actuatorEnabled = static_cast(0); Attributes::DoorState::TypeInfo::DecodableType doorState; - Attributes::DoorOpenEvents::TypeInfo::DecodableType doorOpenEvents; - Attributes::DoorClosedEvents::TypeInfo::DecodableType doorClosedEvents; - Attributes::OpenPeriod::TypeInfo::DecodableType openPeriod; - Attributes::NumberOfLogRecordsSupported::TypeInfo::DecodableType numberOfLogRecordsSupported; - Attributes::NumberOfTotalUsersSupported::TypeInfo::DecodableType numberOfTotalUsersSupported; - Attributes::NumberOfPINUsersSupported::TypeInfo::DecodableType numberOfPINUsersSupported; - Attributes::NumberOfRFIDUsersSupported::TypeInfo::DecodableType numberOfRFIDUsersSupported; - Attributes::NumberOfWeekDaySchedulesSupportedPerUser::TypeInfo::DecodableType numberOfWeekDaySchedulesSupportedPerUser; - Attributes::NumberOfYearDaySchedulesSupportedPerUser::TypeInfo::DecodableType numberOfYearDaySchedulesSupportedPerUser; - Attributes::NumberOfHolidaySchedulesSupported::TypeInfo::DecodableType numberOfHolidaySchedulesSupported; - Attributes::MaxPINCodeLength::TypeInfo::DecodableType maxPINCodeLength; - Attributes::MinPINCodeLength::TypeInfo::DecodableType minPINCodeLength; - Attributes::MaxRFIDCodeLength::TypeInfo::DecodableType maxRFIDCodeLength; - Attributes::MinRFIDCodeLength::TypeInfo::DecodableType minRFIDCodeLength; - Attributes::CredentialRulesSupport::TypeInfo::DecodableType credentialRulesSupport; - Attributes::EnableLogging::TypeInfo::DecodableType enableLogging; + Attributes::DoorOpenEvents::TypeInfo::DecodableType doorOpenEvents = static_cast(0); + Attributes::DoorClosedEvents::TypeInfo::DecodableType doorClosedEvents = static_cast(0); + Attributes::OpenPeriod::TypeInfo::DecodableType openPeriod = static_cast(0); + Attributes::NumberOfLogRecordsSupported::TypeInfo::DecodableType numberOfLogRecordsSupported = static_cast(0); + Attributes::NumberOfTotalUsersSupported::TypeInfo::DecodableType numberOfTotalUsersSupported = static_cast(0); + Attributes::NumberOfPINUsersSupported::TypeInfo::DecodableType numberOfPINUsersSupported = static_cast(0); + Attributes::NumberOfRFIDUsersSupported::TypeInfo::DecodableType numberOfRFIDUsersSupported = static_cast(0); + Attributes::NumberOfWeekDaySchedulesSupportedPerUser::TypeInfo::DecodableType numberOfWeekDaySchedulesSupportedPerUser = + static_cast(0); + Attributes::NumberOfYearDaySchedulesSupportedPerUser::TypeInfo::DecodableType numberOfYearDaySchedulesSupportedPerUser = + static_cast(0); + Attributes::NumberOfHolidaySchedulesSupported::TypeInfo::DecodableType numberOfHolidaySchedulesSupported = + static_cast(0); + Attributes::MaxPINCodeLength::TypeInfo::DecodableType maxPINCodeLength = static_cast(0); + Attributes::MinPINCodeLength::TypeInfo::DecodableType minPINCodeLength = static_cast(0); + Attributes::MaxRFIDCodeLength::TypeInfo::DecodableType maxRFIDCodeLength = static_cast(0); + Attributes::MinRFIDCodeLength::TypeInfo::DecodableType minRFIDCodeLength = static_cast(0); + Attributes::CredentialRulesSupport::TypeInfo::DecodableType credentialRulesSupport = static_cast(0); + Attributes::EnableLogging::TypeInfo::DecodableType enableLogging = static_cast(0); Attributes::Language::TypeInfo::DecodableType language; - Attributes::LEDSettings::TypeInfo::DecodableType LEDSettings; - Attributes::AutoRelockTime::TypeInfo::DecodableType autoRelockTime; - Attributes::SoundVolume::TypeInfo::DecodableType soundVolume; - Attributes::OperatingMode::TypeInfo::DecodableType operatingMode; - Attributes::SupportedOperatingModes::TypeInfo::DecodableType supportedOperatingModes; - Attributes::DefaultConfigurationRegister::TypeInfo::DecodableType defaultConfigurationRegister; - Attributes::EnableLocalProgramming::TypeInfo::DecodableType enableLocalProgramming; - Attributes::EnableOneTouchLocking::TypeInfo::DecodableType enableOneTouchLocking; - Attributes::EnableInsideStatusLED::TypeInfo::DecodableType enableInsideStatusLED; - Attributes::EnablePrivacyModeButton::TypeInfo::DecodableType enablePrivacyModeButton; - Attributes::LocalProgrammingFeatures::TypeInfo::DecodableType localProgrammingFeatures; - Attributes::WrongCodeEntryLimit::TypeInfo::DecodableType wrongCodeEntryLimit; - Attributes::UserCodeTemporaryDisableTime::TypeInfo::DecodableType userCodeTemporaryDisableTime; - Attributes::SendPINOverTheAir::TypeInfo::DecodableType sendPINOverTheAir; - Attributes::RequirePINforRemoteOperation::TypeInfo::DecodableType requirePINforRemoteOperation; - Attributes::ExpiringUserTimeout::TypeInfo::DecodableType expiringUserTimeout; - Attributes::AlarmMask::TypeInfo::DecodableType alarmMask; - Attributes::KeypadOperationEventMask::TypeInfo::DecodableType keypadOperationEventMask; - Attributes::RemoteOperationEventMask::TypeInfo::DecodableType remoteOperationEventMask; - Attributes::ManualOperationEventMask::TypeInfo::DecodableType manualOperationEventMask; - Attributes::RFIDOperationEventMask::TypeInfo::DecodableType RFIDOperationEventMask; - Attributes::KeypadProgrammingEventMask::TypeInfo::DecodableType keypadProgrammingEventMask; - Attributes::RemoteProgrammingEventMask::TypeInfo::DecodableType remoteProgrammingEventMask; - Attributes::RFIDProgrammingEventMask::TypeInfo::DecodableType RFIDProgrammingEventMask; + Attributes::LEDSettings::TypeInfo::DecodableType LEDSettings = static_cast(0); + Attributes::AutoRelockTime::TypeInfo::DecodableType autoRelockTime = static_cast(0); + Attributes::SoundVolume::TypeInfo::DecodableType soundVolume = static_cast(0); + Attributes::OperatingMode::TypeInfo::DecodableType operatingMode = static_cast(0); + Attributes::SupportedOperatingModes::TypeInfo::DecodableType supportedOperatingModes = static_cast(0); + Attributes::DefaultConfigurationRegister::TypeInfo::DecodableType defaultConfigurationRegister = static_cast(0); + Attributes::EnableLocalProgramming::TypeInfo::DecodableType enableLocalProgramming = static_cast(0); + Attributes::EnableOneTouchLocking::TypeInfo::DecodableType enableOneTouchLocking = static_cast(0); + Attributes::EnableInsideStatusLED::TypeInfo::DecodableType enableInsideStatusLED = static_cast(0); + Attributes::EnablePrivacyModeButton::TypeInfo::DecodableType enablePrivacyModeButton = static_cast(0); + Attributes::LocalProgrammingFeatures::TypeInfo::DecodableType localProgrammingFeatures = static_cast(0); + Attributes::WrongCodeEntryLimit::TypeInfo::DecodableType wrongCodeEntryLimit = static_cast(0); + Attributes::UserCodeTemporaryDisableTime::TypeInfo::DecodableType userCodeTemporaryDisableTime = static_cast(0); + Attributes::SendPINOverTheAir::TypeInfo::DecodableType sendPINOverTheAir = static_cast(0); + Attributes::RequirePINforRemoteOperation::TypeInfo::DecodableType requirePINforRemoteOperation = static_cast(0); + Attributes::ExpiringUserTimeout::TypeInfo::DecodableType expiringUserTimeout = static_cast(0); + Attributes::AlarmMask::TypeInfo::DecodableType alarmMask = static_cast(0); + Attributes::KeypadOperationEventMask::TypeInfo::DecodableType keypadOperationEventMask = static_cast(0); + Attributes::RemoteOperationEventMask::TypeInfo::DecodableType remoteOperationEventMask = static_cast(0); + Attributes::ManualOperationEventMask::TypeInfo::DecodableType manualOperationEventMask = static_cast(0); + Attributes::RFIDOperationEventMask::TypeInfo::DecodableType RFIDOperationEventMask = static_cast(0); + Attributes::KeypadProgrammingEventMask::TypeInfo::DecodableType keypadProgrammingEventMask = static_cast(0); + Attributes::RemoteProgrammingEventMask::TypeInfo::DecodableType remoteProgrammingEventMask = static_cast(0); + Attributes::RFIDProgrammingEventMask::TypeInfo::DecodableType RFIDProgrammingEventMask = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -19206,7 +19216,7 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - DlAlarmCode alarmCode; + DlAlarmCode alarmCode = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; }; @@ -19218,7 +19228,7 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - DlAlarmCode alarmCode; + DlAlarmCode alarmCode = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -19239,7 +19249,7 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - DlDoorState doorState; + DlDoorState doorState = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; }; @@ -19251,7 +19261,7 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - DlDoorState doorState; + DlDoorState doorState = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -19277,8 +19287,8 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - DlLockOperationType lockOperationType; - DlOperationSource operationSource; + DlLockOperationType lockOperationType = static_cast(0); + DlOperationSource operationSource = static_cast(0); DataModel::Nullable userIndex; DataModel::Nullable fabricIndex; DataModel::Nullable sourceNode; @@ -19294,8 +19304,8 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - DlLockOperationType lockOperationType; - DlOperationSource operationSource; + DlLockOperationType lockOperationType = static_cast(0); + DlOperationSource operationSource = static_cast(0); DataModel::Nullable userIndex; DataModel::Nullable fabricIndex; DataModel::Nullable sourceNode; @@ -19326,9 +19336,9 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - DlLockOperationType lockOperationType; - DlOperationSource operationSource; - DlOperationError operationError; + DlLockOperationType lockOperationType = static_cast(0); + DlOperationSource operationSource = static_cast(0); + DlOperationError operationError = static_cast(0); DataModel::Nullable userIndex; DataModel::Nullable fabricIndex; DataModel::Nullable sourceNode; @@ -19344,9 +19354,9 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - DlLockOperationType lockOperationType; - DlOperationSource operationSource; - DlOperationError operationError; + DlLockOperationType lockOperationType = static_cast(0); + DlOperationSource operationSource = static_cast(0); + DlOperationError operationError = static_cast(0); DataModel::Nullable userIndex; DataModel::Nullable fabricIndex; DataModel::Nullable sourceNode; @@ -19377,9 +19387,9 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - DlLockDataType lockDataType; - DlDataOperationType dataOperationType; - DlOperationSource operationSource; + DlLockDataType lockDataType = static_cast(0); + DlDataOperationType dataOperationType = static_cast(0); + DlOperationSource operationSource = static_cast(0); DataModel::Nullable userIndex; DataModel::Nullable fabricIndex; DataModel::Nullable sourceNode; @@ -19395,9 +19405,9 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::DoorLock::Id; } - DlLockDataType lockDataType; - DlDataOperationType dataOperationType; - DlOperationSource operationSource; + DlLockDataType lockDataType = static_cast(0); + DlDataOperationType dataOperationType = static_cast(0); + DlOperationSource operationSource = static_cast(0); DataModel::Nullable userIndex; DataModel::Nullable fabricIndex; DataModel::Nullable sourceNode; @@ -19604,7 +19614,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GoToLiftValue::Id; } static constexpr ClusterId GetClusterId() { return Clusters::WindowCovering::Id; } - uint16_t liftValue; + uint16_t liftValue = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -19619,7 +19629,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GoToLiftValue::Id; } static constexpr ClusterId GetClusterId() { return Clusters::WindowCovering::Id; } - uint16_t liftValue; + uint16_t liftValue = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GoToLiftValue @@ -19637,8 +19647,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GoToLiftPercentage::Id; } static constexpr ClusterId GetClusterId() { return Clusters::WindowCovering::Id; } - chip::Percent liftPercentageValue; - chip::Percent100ths liftPercent100thsValue; + chip::Percent liftPercentageValue = static_cast(0); + chip::Percent100ths liftPercent100thsValue = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -19653,8 +19663,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GoToLiftPercentage::Id; } static constexpr ClusterId GetClusterId() { return Clusters::WindowCovering::Id; } - chip::Percent liftPercentageValue; - chip::Percent100ths liftPercent100thsValue; + chip::Percent liftPercentageValue = static_cast(0); + chip::Percent100ths liftPercent100thsValue = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GoToLiftPercentage @@ -19671,7 +19681,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GoToTiltValue::Id; } static constexpr ClusterId GetClusterId() { return Clusters::WindowCovering::Id; } - uint16_t tiltValue; + uint16_t tiltValue = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -19686,7 +19696,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GoToTiltValue::Id; } static constexpr ClusterId GetClusterId() { return Clusters::WindowCovering::Id; } - uint16_t tiltValue; + uint16_t tiltValue = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GoToTiltValue @@ -19704,8 +19714,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GoToTiltPercentage::Id; } static constexpr ClusterId GetClusterId() { return Clusters::WindowCovering::Id; } - chip::Percent tiltPercentageValue; - chip::Percent100ths tiltPercent100thsValue; + chip::Percent tiltPercentageValue = static_cast(0); + chip::Percent100ths tiltPercent100thsValue = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -19720,8 +19730,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GoToTiltPercentage::Id; } static constexpr ClusterId GetClusterId() { return Clusters::WindowCovering::Id; } - chip::Percent tiltPercentageValue; - chip::Percent100ths tiltPercent100thsValue; + chip::Percent tiltPercentageValue = static_cast(0); + chip::Percent100ths tiltPercent100thsValue = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GoToTiltPercentage @@ -20038,31 +20048,31 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::Type::TypeInfo::DecodableType type; - Attributes::PhysicalClosedLimitLift::TypeInfo::DecodableType physicalClosedLimitLift; - Attributes::PhysicalClosedLimitTilt::TypeInfo::DecodableType physicalClosedLimitTilt; + Attributes::Type::TypeInfo::DecodableType type = static_cast(0); + Attributes::PhysicalClosedLimitLift::TypeInfo::DecodableType physicalClosedLimitLift = static_cast(0); + Attributes::PhysicalClosedLimitTilt::TypeInfo::DecodableType physicalClosedLimitTilt = static_cast(0); Attributes::CurrentPositionLift::TypeInfo::DecodableType currentPositionLift; Attributes::CurrentPositionTilt::TypeInfo::DecodableType currentPositionTilt; - Attributes::NumberOfActuationsLift::TypeInfo::DecodableType numberOfActuationsLift; - Attributes::NumberOfActuationsTilt::TypeInfo::DecodableType numberOfActuationsTilt; - Attributes::ConfigStatus::TypeInfo::DecodableType configStatus; + Attributes::NumberOfActuationsLift::TypeInfo::DecodableType numberOfActuationsLift = static_cast(0); + Attributes::NumberOfActuationsTilt::TypeInfo::DecodableType numberOfActuationsTilt = static_cast(0); + Attributes::ConfigStatus::TypeInfo::DecodableType configStatus = static_cast(0); Attributes::CurrentPositionLiftPercentage::TypeInfo::DecodableType currentPositionLiftPercentage; Attributes::CurrentPositionTiltPercentage::TypeInfo::DecodableType currentPositionTiltPercentage; - Attributes::OperationalStatus::TypeInfo::DecodableType operationalStatus; + Attributes::OperationalStatus::TypeInfo::DecodableType operationalStatus = static_cast(0); Attributes::TargetPositionLiftPercent100ths::TypeInfo::DecodableType targetPositionLiftPercent100ths; Attributes::TargetPositionTiltPercent100ths::TypeInfo::DecodableType targetPositionTiltPercent100ths; - Attributes::EndProductType::TypeInfo::DecodableType endProductType; + Attributes::EndProductType::TypeInfo::DecodableType endProductType = static_cast(0); Attributes::CurrentPositionLiftPercent100ths::TypeInfo::DecodableType currentPositionLiftPercent100ths; Attributes::CurrentPositionTiltPercent100ths::TypeInfo::DecodableType currentPositionTiltPercent100ths; - Attributes::InstalledOpenLimitLift::TypeInfo::DecodableType installedOpenLimitLift; - Attributes::InstalledClosedLimitLift::TypeInfo::DecodableType installedClosedLimitLift; - Attributes::InstalledOpenLimitTilt::TypeInfo::DecodableType installedOpenLimitTilt; - Attributes::InstalledClosedLimitTilt::TypeInfo::DecodableType installedClosedLimitTilt; - Attributes::Mode::TypeInfo::DecodableType mode; - Attributes::SafetyStatus::TypeInfo::DecodableType safetyStatus; + Attributes::InstalledOpenLimitLift::TypeInfo::DecodableType installedOpenLimitLift = static_cast(0); + Attributes::InstalledClosedLimitLift::TypeInfo::DecodableType installedClosedLimitLift = static_cast(0); + Attributes::InstalledOpenLimitTilt::TypeInfo::DecodableType installedOpenLimitTilt = static_cast(0); + Attributes::InstalledClosedLimitTilt::TypeInfo::DecodableType installedClosedLimitTilt = static_cast(0); + Attributes::Mode::TypeInfo::DecodableType mode = static_cast(0); + Attributes::SafetyStatus::TypeInfo::DecodableType safetyStatus = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -20098,7 +20108,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::BarrierControlGoToPercent::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BarrierControl::Id; } - uint8_t percentOpen; + uint8_t percentOpen = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -20113,7 +20123,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::BarrierControlGoToPercent::Id; } static constexpr ClusterId GetClusterId() { return Clusters::BarrierControl::Id; } - uint8_t percentOpen; + uint8_t percentOpen = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace BarrierControlGoToPercent @@ -20314,19 +20324,19 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::BarrierMovingState::TypeInfo::DecodableType barrierMovingState; - Attributes::BarrierSafetyStatus::TypeInfo::DecodableType barrierSafetyStatus; - Attributes::BarrierCapabilities::TypeInfo::DecodableType barrierCapabilities; - Attributes::BarrierOpenEvents::TypeInfo::DecodableType barrierOpenEvents; - Attributes::BarrierCloseEvents::TypeInfo::DecodableType barrierCloseEvents; - Attributes::BarrierCommandOpenEvents::TypeInfo::DecodableType barrierCommandOpenEvents; - Attributes::BarrierCommandCloseEvents::TypeInfo::DecodableType barrierCommandCloseEvents; - Attributes::BarrierOpenPeriod::TypeInfo::DecodableType barrierOpenPeriod; - Attributes::BarrierClosePeriod::TypeInfo::DecodableType barrierClosePeriod; - Attributes::BarrierPosition::TypeInfo::DecodableType barrierPosition; + Attributes::BarrierMovingState::TypeInfo::DecodableType barrierMovingState = static_cast(0); + Attributes::BarrierSafetyStatus::TypeInfo::DecodableType barrierSafetyStatus = static_cast(0); + Attributes::BarrierCapabilities::TypeInfo::DecodableType barrierCapabilities = static_cast(0); + Attributes::BarrierOpenEvents::TypeInfo::DecodableType barrierOpenEvents = static_cast(0); + Attributes::BarrierCloseEvents::TypeInfo::DecodableType barrierCloseEvents = static_cast(0); + Attributes::BarrierCommandOpenEvents::TypeInfo::DecodableType barrierCommandOpenEvents = static_cast(0); + Attributes::BarrierCommandCloseEvents::TypeInfo::DecodableType barrierCommandCloseEvents = static_cast(0); + Attributes::BarrierOpenPeriod::TypeInfo::DecodableType barrierOpenPeriod = static_cast(0); + Attributes::BarrierClosePeriod::TypeInfo::DecodableType barrierClosePeriod = static_cast(0); + Attributes::BarrierPosition::TypeInfo::DecodableType barrierPosition = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -20700,33 +20710,33 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MaxPressure::TypeInfo::DecodableType maxPressure; - Attributes::MaxSpeed::TypeInfo::DecodableType maxSpeed; - Attributes::MaxFlow::TypeInfo::DecodableType maxFlow; - Attributes::MinConstPressure::TypeInfo::DecodableType minConstPressure; - Attributes::MaxConstPressure::TypeInfo::DecodableType maxConstPressure; - Attributes::MinCompPressure::TypeInfo::DecodableType minCompPressure; - Attributes::MaxCompPressure::TypeInfo::DecodableType maxCompPressure; - Attributes::MinConstSpeed::TypeInfo::DecodableType minConstSpeed; - Attributes::MaxConstSpeed::TypeInfo::DecodableType maxConstSpeed; - Attributes::MinConstFlow::TypeInfo::DecodableType minConstFlow; - Attributes::MaxConstFlow::TypeInfo::DecodableType maxConstFlow; - Attributes::MinConstTemp::TypeInfo::DecodableType minConstTemp; - Attributes::MaxConstTemp::TypeInfo::DecodableType maxConstTemp; - Attributes::PumpStatus::TypeInfo::DecodableType pumpStatus; - Attributes::EffectiveOperationMode::TypeInfo::DecodableType effectiveOperationMode; - Attributes::EffectiveControlMode::TypeInfo::DecodableType effectiveControlMode; - Attributes::Capacity::TypeInfo::DecodableType capacity; - Attributes::Speed::TypeInfo::DecodableType speed; + Attributes::MaxPressure::TypeInfo::DecodableType maxPressure = static_cast(0); + Attributes::MaxSpeed::TypeInfo::DecodableType maxSpeed = static_cast(0); + Attributes::MaxFlow::TypeInfo::DecodableType maxFlow = static_cast(0); + Attributes::MinConstPressure::TypeInfo::DecodableType minConstPressure = static_cast(0); + Attributes::MaxConstPressure::TypeInfo::DecodableType maxConstPressure = static_cast(0); + Attributes::MinCompPressure::TypeInfo::DecodableType minCompPressure = static_cast(0); + Attributes::MaxCompPressure::TypeInfo::DecodableType maxCompPressure = static_cast(0); + Attributes::MinConstSpeed::TypeInfo::DecodableType minConstSpeed = static_cast(0); + Attributes::MaxConstSpeed::TypeInfo::DecodableType maxConstSpeed = static_cast(0); + Attributes::MinConstFlow::TypeInfo::DecodableType minConstFlow = static_cast(0); + Attributes::MaxConstFlow::TypeInfo::DecodableType maxConstFlow = static_cast(0); + Attributes::MinConstTemp::TypeInfo::DecodableType minConstTemp = static_cast(0); + Attributes::MaxConstTemp::TypeInfo::DecodableType maxConstTemp = static_cast(0); + Attributes::PumpStatus::TypeInfo::DecodableType pumpStatus = static_cast(0); + Attributes::EffectiveOperationMode::TypeInfo::DecodableType effectiveOperationMode = static_cast(0); + Attributes::EffectiveControlMode::TypeInfo::DecodableType effectiveControlMode = static_cast(0); + Attributes::Capacity::TypeInfo::DecodableType capacity = static_cast(0); + Attributes::Speed::TypeInfo::DecodableType speed = static_cast(0); Attributes::LifetimeRunningHours::TypeInfo::DecodableType lifetimeRunningHours; - Attributes::Power::TypeInfo::DecodableType power; + Attributes::Power::TypeInfo::DecodableType power = static_cast(0); Attributes::LifetimeEnergyConsumed::TypeInfo::DecodableType lifetimeEnergyConsumed; - Attributes::OperationMode::TypeInfo::DecodableType operationMode; - Attributes::ControlMode::TypeInfo::DecodableType controlMode; - Attributes::AlarmMask::TypeInfo::DecodableType alarmMask; + Attributes::OperationMode::TypeInfo::DecodableType operationMode = static_cast(0); + Attributes::ControlMode::TypeInfo::DecodableType controlMode = static_cast(0); + Attributes::AlarmMask::TypeInfo::DecodableType alarmMask = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -21310,8 +21320,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SetpointRaiseLower::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Thermostat::Id; } - SetpointAdjustMode mode; - int8_t amount; + SetpointAdjustMode mode = static_cast(0); + int8_t amount = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -21326,8 +21336,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SetpointRaiseLower::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Thermostat::Id; } - SetpointAdjustMode mode; - int8_t amount; + SetpointAdjustMode mode = static_cast(0); + int8_t amount = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace SetpointRaiseLower @@ -21347,9 +21357,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetWeeklyScheduleResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Thermostat::Id; } - uint8_t numberOfTransitionsForSequence; - chip::BitFlags dayOfWeekForSequence; - chip::BitFlags modeForSequence; + uint8_t numberOfTransitionsForSequence = static_cast(0); + chip::BitFlags dayOfWeekForSequence = static_cast>(0); + chip::BitFlags modeForSequence = static_cast>(0); DataModel::List payload; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -21365,9 +21375,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetWeeklyScheduleResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Thermostat::Id; } - uint8_t numberOfTransitionsForSequence; - chip::BitFlags dayOfWeekForSequence; - chip::BitFlags modeForSequence; + uint8_t numberOfTransitionsForSequence = static_cast(0); + chip::BitFlags dayOfWeekForSequence = static_cast>(0); + chip::BitFlags modeForSequence = static_cast>(0); DataModel::DecodableList payload; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -21388,9 +21398,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SetWeeklySchedule::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Thermostat::Id; } - uint8_t numberOfTransitionsForSequence; - chip::BitFlags dayOfWeekForSequence; - chip::BitFlags modeForSequence; + uint8_t numberOfTransitionsForSequence = static_cast(0); + chip::BitFlags dayOfWeekForSequence = static_cast>(0); + chip::BitFlags modeForSequence = static_cast>(0); DataModel::List payload; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -21406,9 +21416,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SetWeeklySchedule::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Thermostat::Id; } - uint8_t numberOfTransitionsForSequence; - chip::BitFlags dayOfWeekForSequence; - chip::BitFlags modeForSequence; + uint8_t numberOfTransitionsForSequence = static_cast(0); + chip::BitFlags dayOfWeekForSequence = static_cast>(0); + chip::BitFlags modeForSequence = static_cast>(0); DataModel::DecodableList payload; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -21431,12 +21441,12 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetRelayStatusLogResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Thermostat::Id; } - uint16_t timeOfDay; - uint16_t relayStatus; - int16_t localTemperature; - uint8_t humidityInPercentage; - int16_t setpoint; - uint16_t unreadEntries; + uint16_t timeOfDay = static_cast(0); + uint16_t relayStatus = static_cast(0); + int16_t localTemperature = static_cast(0); + uint8_t humidityInPercentage = static_cast(0); + int16_t setpoint = static_cast(0); + uint16_t unreadEntries = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -21451,12 +21461,12 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetRelayStatusLogResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Thermostat::Id; } - uint16_t timeOfDay; - uint16_t relayStatus; - int16_t localTemperature; - uint8_t humidityInPercentage; - int16_t setpoint; - uint16_t unreadEntries; + uint16_t timeOfDay = static_cast(0); + uint16_t relayStatus = static_cast(0); + int16_t localTemperature = static_cast(0); + uint8_t humidityInPercentage = static_cast(0); + int16_t setpoint = static_cast(0); + uint16_t unreadEntries = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetRelayStatusLogResponse @@ -21474,8 +21484,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetWeeklySchedule::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Thermostat::Id; } - chip::BitFlags daysToReturn; - chip::BitFlags modeToReturn; + chip::BitFlags daysToReturn = static_cast>(0); + chip::BitFlags modeToReturn = static_cast>(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -21490,8 +21500,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetWeeklySchedule::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Thermostat::Id; } - chip::BitFlags daysToReturn; - chip::BitFlags modeToReturn; + chip::BitFlags daysToReturn = static_cast>(0); + chip::BitFlags modeToReturn = static_cast>(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetWeeklySchedule @@ -22116,52 +22126,54 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::LocalTemperature::TypeInfo::DecodableType localTemperature; - Attributes::OutdoorTemperature::TypeInfo::DecodableType outdoorTemperature; - Attributes::Occupancy::TypeInfo::DecodableType occupancy; - Attributes::AbsMinHeatSetpointLimit::TypeInfo::DecodableType absMinHeatSetpointLimit; - Attributes::AbsMaxHeatSetpointLimit::TypeInfo::DecodableType absMaxHeatSetpointLimit; - Attributes::AbsMinCoolSetpointLimit::TypeInfo::DecodableType absMinCoolSetpointLimit; - Attributes::AbsMaxCoolSetpointLimit::TypeInfo::DecodableType absMaxCoolSetpointLimit; - Attributes::PiCoolingDemand::TypeInfo::DecodableType piCoolingDemand; - Attributes::PiHeatingDemand::TypeInfo::DecodableType piHeatingDemand; - Attributes::HvacSystemTypeConfiguration::TypeInfo::DecodableType hvacSystemTypeConfiguration; - Attributes::LocalTemperatureCalibration::TypeInfo::DecodableType localTemperatureCalibration; - Attributes::OccupiedCoolingSetpoint::TypeInfo::DecodableType occupiedCoolingSetpoint; - Attributes::OccupiedHeatingSetpoint::TypeInfo::DecodableType occupiedHeatingSetpoint; - Attributes::UnoccupiedCoolingSetpoint::TypeInfo::DecodableType unoccupiedCoolingSetpoint; - Attributes::UnoccupiedHeatingSetpoint::TypeInfo::DecodableType unoccupiedHeatingSetpoint; - Attributes::MinHeatSetpointLimit::TypeInfo::DecodableType minHeatSetpointLimit; - Attributes::MaxHeatSetpointLimit::TypeInfo::DecodableType maxHeatSetpointLimit; - Attributes::MinCoolSetpointLimit::TypeInfo::DecodableType minCoolSetpointLimit; - Attributes::MaxCoolSetpointLimit::TypeInfo::DecodableType maxCoolSetpointLimit; - Attributes::MinSetpointDeadBand::TypeInfo::DecodableType minSetpointDeadBand; - Attributes::RemoteSensing::TypeInfo::DecodableType remoteSensing; - Attributes::ControlSequenceOfOperation::TypeInfo::DecodableType controlSequenceOfOperation; - Attributes::SystemMode::TypeInfo::DecodableType systemMode; - Attributes::AlarmMask::TypeInfo::DecodableType alarmMask; - Attributes::ThermostatRunningMode::TypeInfo::DecodableType thermostatRunningMode; - Attributes::StartOfWeek::TypeInfo::DecodableType startOfWeek; - Attributes::NumberOfWeeklyTransitions::TypeInfo::DecodableType numberOfWeeklyTransitions; - Attributes::NumberOfDailyTransitions::TypeInfo::DecodableType numberOfDailyTransitions; - Attributes::TemperatureSetpointHold::TypeInfo::DecodableType temperatureSetpointHold; - Attributes::TemperatureSetpointHoldDuration::TypeInfo::DecodableType temperatureSetpointHoldDuration; - Attributes::ThermostatProgrammingOperationMode::TypeInfo::DecodableType thermostatProgrammingOperationMode; - Attributes::ThermostatRunningState::TypeInfo::DecodableType thermostatRunningState; - Attributes::SetpointChangeSource::TypeInfo::DecodableType setpointChangeSource; - Attributes::SetpointChangeAmount::TypeInfo::DecodableType setpointChangeAmount; - Attributes::SetpointChangeSourceTimestamp::TypeInfo::DecodableType setpointChangeSourceTimestamp; - Attributes::AcType::TypeInfo::DecodableType acType; - Attributes::AcCapacity::TypeInfo::DecodableType acCapacity; - Attributes::AcRefrigerantType::TypeInfo::DecodableType acRefrigerantType; - Attributes::AcCompressor::TypeInfo::DecodableType acCompressor; - Attributes::AcErrorCode::TypeInfo::DecodableType acErrorCode; - Attributes::AcLouverPosition::TypeInfo::DecodableType acLouverPosition; - Attributes::AcCoilTemperature::TypeInfo::DecodableType acCoilTemperature; - Attributes::AcCapacityFormat::TypeInfo::DecodableType acCapacityFormat; + Attributes::LocalTemperature::TypeInfo::DecodableType localTemperature = static_cast(0); + Attributes::OutdoorTemperature::TypeInfo::DecodableType outdoorTemperature = static_cast(0); + Attributes::Occupancy::TypeInfo::DecodableType occupancy = static_cast(0); + Attributes::AbsMinHeatSetpointLimit::TypeInfo::DecodableType absMinHeatSetpointLimit = static_cast(0); + Attributes::AbsMaxHeatSetpointLimit::TypeInfo::DecodableType absMaxHeatSetpointLimit = static_cast(0); + Attributes::AbsMinCoolSetpointLimit::TypeInfo::DecodableType absMinCoolSetpointLimit = static_cast(0); + Attributes::AbsMaxCoolSetpointLimit::TypeInfo::DecodableType absMaxCoolSetpointLimit = static_cast(0); + Attributes::PiCoolingDemand::TypeInfo::DecodableType piCoolingDemand = static_cast(0); + Attributes::PiHeatingDemand::TypeInfo::DecodableType piHeatingDemand = static_cast(0); + Attributes::HvacSystemTypeConfiguration::TypeInfo::DecodableType hvacSystemTypeConfiguration = static_cast(0); + Attributes::LocalTemperatureCalibration::TypeInfo::DecodableType localTemperatureCalibration = static_cast(0); + Attributes::OccupiedCoolingSetpoint::TypeInfo::DecodableType occupiedCoolingSetpoint = static_cast(0); + Attributes::OccupiedHeatingSetpoint::TypeInfo::DecodableType occupiedHeatingSetpoint = static_cast(0); + Attributes::UnoccupiedCoolingSetpoint::TypeInfo::DecodableType unoccupiedCoolingSetpoint = static_cast(0); + Attributes::UnoccupiedHeatingSetpoint::TypeInfo::DecodableType unoccupiedHeatingSetpoint = static_cast(0); + Attributes::MinHeatSetpointLimit::TypeInfo::DecodableType minHeatSetpointLimit = static_cast(0); + Attributes::MaxHeatSetpointLimit::TypeInfo::DecodableType maxHeatSetpointLimit = static_cast(0); + Attributes::MinCoolSetpointLimit::TypeInfo::DecodableType minCoolSetpointLimit = static_cast(0); + Attributes::MaxCoolSetpointLimit::TypeInfo::DecodableType maxCoolSetpointLimit = static_cast(0); + Attributes::MinSetpointDeadBand::TypeInfo::DecodableType minSetpointDeadBand = static_cast(0); + Attributes::RemoteSensing::TypeInfo::DecodableType remoteSensing = static_cast(0); + Attributes::ControlSequenceOfOperation::TypeInfo::DecodableType controlSequenceOfOperation = static_cast(0); + Attributes::SystemMode::TypeInfo::DecodableType systemMode = static_cast(0); + Attributes::AlarmMask::TypeInfo::DecodableType alarmMask = static_cast(0); + Attributes::ThermostatRunningMode::TypeInfo::DecodableType thermostatRunningMode = static_cast(0); + Attributes::StartOfWeek::TypeInfo::DecodableType startOfWeek = static_cast(0); + Attributes::NumberOfWeeklyTransitions::TypeInfo::DecodableType numberOfWeeklyTransitions = static_cast(0); + Attributes::NumberOfDailyTransitions::TypeInfo::DecodableType numberOfDailyTransitions = static_cast(0); + Attributes::TemperatureSetpointHold::TypeInfo::DecodableType temperatureSetpointHold = static_cast(0); + Attributes::TemperatureSetpointHoldDuration::TypeInfo::DecodableType temperatureSetpointHoldDuration = + static_cast(0); + Attributes::ThermostatProgrammingOperationMode::TypeInfo::DecodableType thermostatProgrammingOperationMode = + static_cast(0); + Attributes::ThermostatRunningState::TypeInfo::DecodableType thermostatRunningState = static_cast(0); + Attributes::SetpointChangeSource::TypeInfo::DecodableType setpointChangeSource = static_cast(0); + Attributes::SetpointChangeAmount::TypeInfo::DecodableType setpointChangeAmount = static_cast(0); + Attributes::SetpointChangeSourceTimestamp::TypeInfo::DecodableType setpointChangeSourceTimestamp = static_cast(0); + Attributes::AcType::TypeInfo::DecodableType acType = static_cast(0); + Attributes::AcCapacity::TypeInfo::DecodableType acCapacity = static_cast(0); + Attributes::AcRefrigerantType::TypeInfo::DecodableType acRefrigerantType = static_cast(0); + Attributes::AcCompressor::TypeInfo::DecodableType acCompressor = static_cast(0); + Attributes::AcErrorCode::TypeInfo::DecodableType acErrorCode = static_cast(0); + Attributes::AcLouverPosition::TypeInfo::DecodableType acLouverPosition = static_cast(0); + Attributes::AcCoilTemperature::TypeInfo::DecodableType acCoilTemperature = static_cast(0); + Attributes::AcCapacityFormat::TypeInfo::DecodableType acCapacityFormat = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -22239,11 +22251,11 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::FanMode::TypeInfo::DecodableType fanMode; - Attributes::FanModeSequence::TypeInfo::DecodableType fanModeSequence; + Attributes::FanMode::TypeInfo::DecodableType fanMode = static_cast(0); + Attributes::FanModeSequence::TypeInfo::DecodableType fanModeSequence = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -22393,17 +22405,17 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::RelativeHumidity::TypeInfo::DecodableType relativeHumidity; - Attributes::DehumidificationCooling::TypeInfo::DecodableType dehumidificationCooling; - Attributes::RhDehumidificationSetpoint::TypeInfo::DecodableType rhDehumidificationSetpoint; - Attributes::RelativeHumidityMode::TypeInfo::DecodableType relativeHumidityMode; - Attributes::DehumidificationLockout::TypeInfo::DecodableType dehumidificationLockout; - Attributes::DehumidificationHysteresis::TypeInfo::DecodableType dehumidificationHysteresis; - Attributes::DehumidificationMaxCool::TypeInfo::DecodableType dehumidificationMaxCool; - Attributes::RelativeHumidityDisplay::TypeInfo::DecodableType relativeHumidityDisplay; + Attributes::RelativeHumidity::TypeInfo::DecodableType relativeHumidity = static_cast(0); + Attributes::DehumidificationCooling::TypeInfo::DecodableType dehumidificationCooling = static_cast(0); + Attributes::RhDehumidificationSetpoint::TypeInfo::DecodableType rhDehumidificationSetpoint = static_cast(0); + Attributes::RelativeHumidityMode::TypeInfo::DecodableType relativeHumidityMode = static_cast(0); + Attributes::DehumidificationLockout::TypeInfo::DecodableType dehumidificationLockout = static_cast(0); + Attributes::DehumidificationHysteresis::TypeInfo::DecodableType dehumidificationHysteresis = static_cast(0); + Attributes::DehumidificationMaxCool::TypeInfo::DecodableType dehumidificationMaxCool = static_cast(0); + Attributes::RelativeHumidityDisplay::TypeInfo::DecodableType relativeHumidityDisplay = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -22493,12 +22505,12 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::TemperatureDisplayMode::TypeInfo::DecodableType temperatureDisplayMode; - Attributes::KeypadLockout::TypeInfo::DecodableType keypadLockout; - Attributes::ScheduleProgrammingVisibility::TypeInfo::DecodableType scheduleProgrammingVisibility; + Attributes::TemperatureDisplayMode::TypeInfo::DecodableType temperatureDisplayMode = static_cast(0); + Attributes::KeypadLockout::TypeInfo::DecodableType keypadLockout = static_cast(0); + Attributes::ScheduleProgrammingVisibility::TypeInfo::DecodableType scheduleProgrammingVisibility = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -22744,11 +22756,11 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::MoveToHue::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - uint8_t hue; - HueDirection direction; - uint16_t transitionTime; - uint8_t optionsMask; - uint8_t optionsOverride; + uint8_t hue = static_cast(0); + HueDirection direction = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -22763,11 +22775,11 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::MoveToHue::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - uint8_t hue; - HueDirection direction; - uint16_t transitionTime; - uint8_t optionsMask; - uint8_t optionsOverride; + uint8_t hue = static_cast(0); + HueDirection direction = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace MoveToHue @@ -22787,10 +22799,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::MoveHue::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - HueMoveMode moveMode; - uint8_t rate; - uint8_t optionsMask; - uint8_t optionsOverride; + HueMoveMode moveMode = static_cast(0); + uint8_t rate = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -22805,10 +22817,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::MoveHue::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - HueMoveMode moveMode; - uint8_t rate; - uint8_t optionsMask; - uint8_t optionsOverride; + HueMoveMode moveMode = static_cast(0); + uint8_t rate = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace MoveHue @@ -22829,11 +22841,11 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::StepHue::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - HueStepMode stepMode; - uint8_t stepSize; - uint8_t transitionTime; - uint8_t optionsMask; - uint8_t optionsOverride; + HueStepMode stepMode = static_cast(0); + uint8_t stepSize = static_cast(0); + uint8_t transitionTime = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -22848,11 +22860,11 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::StepHue::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - HueStepMode stepMode; - uint8_t stepSize; - uint8_t transitionTime; - uint8_t optionsMask; - uint8_t optionsOverride; + HueStepMode stepMode = static_cast(0); + uint8_t stepSize = static_cast(0); + uint8_t transitionTime = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace StepHue @@ -22872,10 +22884,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::MoveToSaturation::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - uint8_t saturation; - uint16_t transitionTime; - uint8_t optionsMask; - uint8_t optionsOverride; + uint8_t saturation = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -22890,10 +22902,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::MoveToSaturation::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - uint8_t saturation; - uint16_t transitionTime; - uint8_t optionsMask; - uint8_t optionsOverride; + uint8_t saturation = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace MoveToSaturation @@ -22913,10 +22925,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::MoveSaturation::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - SaturationMoveMode moveMode; - uint8_t rate; - uint8_t optionsMask; - uint8_t optionsOverride; + SaturationMoveMode moveMode = static_cast(0); + uint8_t rate = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -22931,10 +22943,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::MoveSaturation::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - SaturationMoveMode moveMode; - uint8_t rate; - uint8_t optionsMask; - uint8_t optionsOverride; + SaturationMoveMode moveMode = static_cast(0); + uint8_t rate = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace MoveSaturation @@ -22955,11 +22967,11 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::StepSaturation::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - SaturationStepMode stepMode; - uint8_t stepSize; - uint8_t transitionTime; - uint8_t optionsMask; - uint8_t optionsOverride; + SaturationStepMode stepMode = static_cast(0); + uint8_t stepSize = static_cast(0); + uint8_t transitionTime = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -22974,11 +22986,11 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::StepSaturation::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - SaturationStepMode stepMode; - uint8_t stepSize; - uint8_t transitionTime; - uint8_t optionsMask; - uint8_t optionsOverride; + SaturationStepMode stepMode = static_cast(0); + uint8_t stepSize = static_cast(0); + uint8_t transitionTime = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace StepSaturation @@ -22999,11 +23011,11 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::MoveToHueAndSaturation::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - uint8_t hue; - uint8_t saturation; - uint16_t transitionTime; - uint8_t optionsMask; - uint8_t optionsOverride; + uint8_t hue = static_cast(0); + uint8_t saturation = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -23018,11 +23030,11 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::MoveToHueAndSaturation::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - uint8_t hue; - uint8_t saturation; - uint16_t transitionTime; - uint8_t optionsMask; - uint8_t optionsOverride; + uint8_t hue = static_cast(0); + uint8_t saturation = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace MoveToHueAndSaturation @@ -23043,11 +23055,11 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::MoveToColor::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - uint16_t colorX; - uint16_t colorY; - uint16_t transitionTime; - uint8_t optionsMask; - uint8_t optionsOverride; + uint16_t colorX = static_cast(0); + uint16_t colorY = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -23062,11 +23074,11 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::MoveToColor::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - uint16_t colorX; - uint16_t colorY; - uint16_t transitionTime; - uint8_t optionsMask; - uint8_t optionsOverride; + uint16_t colorX = static_cast(0); + uint16_t colorY = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace MoveToColor @@ -23086,10 +23098,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::MoveColor::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - int16_t rateX; - int16_t rateY; - uint8_t optionsMask; - uint8_t optionsOverride; + int16_t rateX = static_cast(0); + int16_t rateY = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -23104,10 +23116,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::MoveColor::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - int16_t rateX; - int16_t rateY; - uint8_t optionsMask; - uint8_t optionsOverride; + int16_t rateX = static_cast(0); + int16_t rateY = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace MoveColor @@ -23128,11 +23140,11 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::StepColor::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - int16_t stepX; - int16_t stepY; - uint16_t transitionTime; - uint8_t optionsMask; - uint8_t optionsOverride; + int16_t stepX = static_cast(0); + int16_t stepY = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -23147,11 +23159,11 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::StepColor::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - int16_t stepX; - int16_t stepY; - uint16_t transitionTime; - uint8_t optionsMask; - uint8_t optionsOverride; + int16_t stepX = static_cast(0); + int16_t stepY = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace StepColor @@ -23171,10 +23183,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::MoveToColorTemperature::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - uint16_t colorTemperature; - uint16_t transitionTime; - uint8_t optionsMask; - uint8_t optionsOverride; + uint16_t colorTemperature = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -23189,10 +23201,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::MoveToColorTemperature::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - uint16_t colorTemperature; - uint16_t transitionTime; - uint8_t optionsMask; - uint8_t optionsOverride; + uint16_t colorTemperature = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace MoveToColorTemperature @@ -23213,11 +23225,11 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::EnhancedMoveToHue::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - uint16_t enhancedHue; - HueDirection direction; - uint16_t transitionTime; - uint8_t optionsMask; - uint8_t optionsOverride; + uint16_t enhancedHue = static_cast(0); + HueDirection direction = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -23232,11 +23244,11 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::EnhancedMoveToHue::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - uint16_t enhancedHue; - HueDirection direction; - uint16_t transitionTime; - uint8_t optionsMask; - uint8_t optionsOverride; + uint16_t enhancedHue = static_cast(0); + HueDirection direction = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace EnhancedMoveToHue @@ -23256,10 +23268,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::EnhancedMoveHue::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - HueMoveMode moveMode; - uint16_t rate; - uint8_t optionsMask; - uint8_t optionsOverride; + HueMoveMode moveMode = static_cast(0); + uint16_t rate = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -23274,10 +23286,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::EnhancedMoveHue::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - HueMoveMode moveMode; - uint16_t rate; - uint8_t optionsMask; - uint8_t optionsOverride; + HueMoveMode moveMode = static_cast(0); + uint16_t rate = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace EnhancedMoveHue @@ -23298,11 +23310,11 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::EnhancedStepHue::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - HueStepMode stepMode; - uint16_t stepSize; - uint16_t transitionTime; - uint8_t optionsMask; - uint8_t optionsOverride; + HueStepMode stepMode = static_cast(0); + uint16_t stepSize = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -23317,11 +23329,11 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::EnhancedStepHue::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - HueStepMode stepMode; - uint16_t stepSize; - uint16_t transitionTime; - uint8_t optionsMask; - uint8_t optionsOverride; + HueStepMode stepMode = static_cast(0); + uint16_t stepSize = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace EnhancedStepHue @@ -23342,11 +23354,11 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::EnhancedMoveToHueAndSaturation::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - uint16_t enhancedHue; - uint8_t saturation; - uint16_t transitionTime; - uint8_t optionsMask; - uint8_t optionsOverride; + uint16_t enhancedHue = static_cast(0); + uint8_t saturation = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -23361,11 +23373,11 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::EnhancedMoveToHueAndSaturation::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - uint16_t enhancedHue; - uint8_t saturation; - uint16_t transitionTime; - uint8_t optionsMask; - uint8_t optionsOverride; + uint16_t enhancedHue = static_cast(0); + uint8_t saturation = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace EnhancedMoveToHueAndSaturation @@ -23388,13 +23400,13 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ColorLoopSet::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - chip::BitFlags updateFlags; - ColorLoopAction action; - ColorLoopDirection direction; - uint16_t time; - uint16_t startHue; - uint8_t optionsMask; - uint8_t optionsOverride; + chip::BitFlags updateFlags = static_cast>(0); + ColorLoopAction action = static_cast(0); + ColorLoopDirection direction = static_cast(0); + uint16_t time = static_cast(0); + uint16_t startHue = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -23409,13 +23421,13 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ColorLoopSet::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - chip::BitFlags updateFlags; - ColorLoopAction action; - ColorLoopDirection direction; - uint16_t time; - uint16_t startHue; - uint8_t optionsMask; - uint8_t optionsOverride; + chip::BitFlags updateFlags = static_cast>(0); + ColorLoopAction action = static_cast(0); + ColorLoopDirection direction = static_cast(0); + uint16_t time = static_cast(0); + uint16_t startHue = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ColorLoopSet @@ -23433,8 +23445,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::StopMoveStep::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - uint8_t optionsMask; - uint8_t optionsOverride; + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -23449,8 +23461,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::StopMoveStep::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - uint8_t optionsMask; - uint8_t optionsOverride; + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace StopMoveStep @@ -23472,12 +23484,12 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::MoveColorTemperature::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - HueMoveMode moveMode; - uint16_t rate; - uint16_t colorTemperatureMinimum; - uint16_t colorTemperatureMaximum; - uint8_t optionsMask; - uint8_t optionsOverride; + HueMoveMode moveMode = static_cast(0); + uint16_t rate = static_cast(0); + uint16_t colorTemperatureMinimum = static_cast(0); + uint16_t colorTemperatureMaximum = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -23492,12 +23504,12 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::MoveColorTemperature::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - HueMoveMode moveMode; - uint16_t rate; - uint16_t colorTemperatureMinimum; - uint16_t colorTemperatureMaximum; - uint8_t optionsMask; - uint8_t optionsOverride; + HueMoveMode moveMode = static_cast(0); + uint16_t rate = static_cast(0); + uint16_t colorTemperatureMinimum = static_cast(0); + uint16_t colorTemperatureMaximum = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace MoveColorTemperature @@ -23520,13 +23532,13 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::StepColorTemperature::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - HueStepMode stepMode; - uint16_t stepSize; - uint16_t transitionTime; - uint16_t colorTemperatureMinimum; - uint16_t colorTemperatureMaximum; - uint8_t optionsMask; - uint8_t optionsOverride; + HueStepMode stepMode = static_cast(0); + uint16_t stepSize = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint16_t colorTemperatureMinimum = static_cast(0); + uint16_t colorTemperatureMaximum = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -23541,13 +23553,13 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::StepColorTemperature::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ColorControl::Id; } - HueStepMode stepMode; - uint16_t stepSize; - uint16_t transitionTime; - uint16_t colorTemperatureMinimum; - uint16_t colorTemperatureMaximum; - uint8_t optionsMask; - uint8_t optionsOverride; + HueStepMode stepMode = static_cast(0); + uint16_t stepSize = static_cast(0); + uint16_t transitionTime = static_cast(0); + uint16_t colorTemperatureMinimum = static_cast(0); + uint16_t colorTemperatureMaximum = static_cast(0); + uint8_t optionsMask = static_cast(0); + uint8_t optionsOverride = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace StepColorTemperature @@ -24224,61 +24236,62 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::CurrentHue::TypeInfo::DecodableType currentHue; - Attributes::CurrentSaturation::TypeInfo::DecodableType currentSaturation; - Attributes::RemainingTime::TypeInfo::DecodableType remainingTime; - Attributes::CurrentX::TypeInfo::DecodableType currentX; - Attributes::CurrentY::TypeInfo::DecodableType currentY; - Attributes::DriftCompensation::TypeInfo::DecodableType driftCompensation; + Attributes::CurrentHue::TypeInfo::DecodableType currentHue = static_cast(0); + Attributes::CurrentSaturation::TypeInfo::DecodableType currentSaturation = static_cast(0); + Attributes::RemainingTime::TypeInfo::DecodableType remainingTime = static_cast(0); + Attributes::CurrentX::TypeInfo::DecodableType currentX = static_cast(0); + Attributes::CurrentY::TypeInfo::DecodableType currentY = static_cast(0); + Attributes::DriftCompensation::TypeInfo::DecodableType driftCompensation = static_cast(0); Attributes::CompensationText::TypeInfo::DecodableType compensationText; - Attributes::ColorTemperature::TypeInfo::DecodableType colorTemperature; - Attributes::ColorMode::TypeInfo::DecodableType colorMode; - Attributes::ColorControlOptions::TypeInfo::DecodableType colorControlOptions; - Attributes::NumberOfPrimaries::TypeInfo::DecodableType numberOfPrimaries; - Attributes::Primary1X::TypeInfo::DecodableType primary1X; - Attributes::Primary1Y::TypeInfo::DecodableType primary1Y; - Attributes::Primary1Intensity::TypeInfo::DecodableType primary1Intensity; - Attributes::Primary2X::TypeInfo::DecodableType primary2X; - Attributes::Primary2Y::TypeInfo::DecodableType primary2Y; - Attributes::Primary2Intensity::TypeInfo::DecodableType primary2Intensity; - Attributes::Primary3X::TypeInfo::DecodableType primary3X; - Attributes::Primary3Y::TypeInfo::DecodableType primary3Y; - Attributes::Primary3Intensity::TypeInfo::DecodableType primary3Intensity; - Attributes::Primary4X::TypeInfo::DecodableType primary4X; - Attributes::Primary4Y::TypeInfo::DecodableType primary4Y; - Attributes::Primary4Intensity::TypeInfo::DecodableType primary4Intensity; - Attributes::Primary5X::TypeInfo::DecodableType primary5X; - Attributes::Primary5Y::TypeInfo::DecodableType primary5Y; - Attributes::Primary5Intensity::TypeInfo::DecodableType primary5Intensity; - Attributes::Primary6X::TypeInfo::DecodableType primary6X; - Attributes::Primary6Y::TypeInfo::DecodableType primary6Y; - Attributes::Primary6Intensity::TypeInfo::DecodableType primary6Intensity; - Attributes::WhitePointX::TypeInfo::DecodableType whitePointX; - Attributes::WhitePointY::TypeInfo::DecodableType whitePointY; - Attributes::ColorPointRX::TypeInfo::DecodableType colorPointRX; - Attributes::ColorPointRY::TypeInfo::DecodableType colorPointRY; - Attributes::ColorPointRIntensity::TypeInfo::DecodableType colorPointRIntensity; - Attributes::ColorPointGX::TypeInfo::DecodableType colorPointGX; - Attributes::ColorPointGY::TypeInfo::DecodableType colorPointGY; - Attributes::ColorPointGIntensity::TypeInfo::DecodableType colorPointGIntensity; - Attributes::ColorPointBX::TypeInfo::DecodableType colorPointBX; - Attributes::ColorPointBY::TypeInfo::DecodableType colorPointBY; - Attributes::ColorPointBIntensity::TypeInfo::DecodableType colorPointBIntensity; - Attributes::EnhancedCurrentHue::TypeInfo::DecodableType enhancedCurrentHue; - Attributes::EnhancedColorMode::TypeInfo::DecodableType enhancedColorMode; - Attributes::ColorLoopActive::TypeInfo::DecodableType colorLoopActive; - Attributes::ColorLoopDirection::TypeInfo::DecodableType colorLoopDirection; - Attributes::ColorLoopTime::TypeInfo::DecodableType colorLoopTime; - Attributes::ColorLoopStartEnhancedHue::TypeInfo::DecodableType colorLoopStartEnhancedHue; - Attributes::ColorLoopStoredEnhancedHue::TypeInfo::DecodableType colorLoopStoredEnhancedHue; - Attributes::ColorCapabilities::TypeInfo::DecodableType colorCapabilities; - Attributes::ColorTempPhysicalMin::TypeInfo::DecodableType colorTempPhysicalMin; - Attributes::ColorTempPhysicalMax::TypeInfo::DecodableType colorTempPhysicalMax; - Attributes::CoupleColorTempToLevelMinMireds::TypeInfo::DecodableType coupleColorTempToLevelMinMireds; - Attributes::StartUpColorTemperatureMireds::TypeInfo::DecodableType startUpColorTemperatureMireds; + Attributes::ColorTemperature::TypeInfo::DecodableType colorTemperature = static_cast(0); + Attributes::ColorMode::TypeInfo::DecodableType colorMode = static_cast(0); + Attributes::ColorControlOptions::TypeInfo::DecodableType colorControlOptions = static_cast(0); + Attributes::NumberOfPrimaries::TypeInfo::DecodableType numberOfPrimaries = static_cast(0); + Attributes::Primary1X::TypeInfo::DecodableType primary1X = static_cast(0); + Attributes::Primary1Y::TypeInfo::DecodableType primary1Y = static_cast(0); + Attributes::Primary1Intensity::TypeInfo::DecodableType primary1Intensity = static_cast(0); + Attributes::Primary2X::TypeInfo::DecodableType primary2X = static_cast(0); + Attributes::Primary2Y::TypeInfo::DecodableType primary2Y = static_cast(0); + Attributes::Primary2Intensity::TypeInfo::DecodableType primary2Intensity = static_cast(0); + Attributes::Primary3X::TypeInfo::DecodableType primary3X = static_cast(0); + Attributes::Primary3Y::TypeInfo::DecodableType primary3Y = static_cast(0); + Attributes::Primary3Intensity::TypeInfo::DecodableType primary3Intensity = static_cast(0); + Attributes::Primary4X::TypeInfo::DecodableType primary4X = static_cast(0); + Attributes::Primary4Y::TypeInfo::DecodableType primary4Y = static_cast(0); + Attributes::Primary4Intensity::TypeInfo::DecodableType primary4Intensity = static_cast(0); + Attributes::Primary5X::TypeInfo::DecodableType primary5X = static_cast(0); + Attributes::Primary5Y::TypeInfo::DecodableType primary5Y = static_cast(0); + Attributes::Primary5Intensity::TypeInfo::DecodableType primary5Intensity = static_cast(0); + Attributes::Primary6X::TypeInfo::DecodableType primary6X = static_cast(0); + Attributes::Primary6Y::TypeInfo::DecodableType primary6Y = static_cast(0); + Attributes::Primary6Intensity::TypeInfo::DecodableType primary6Intensity = static_cast(0); + Attributes::WhitePointX::TypeInfo::DecodableType whitePointX = static_cast(0); + Attributes::WhitePointY::TypeInfo::DecodableType whitePointY = static_cast(0); + Attributes::ColorPointRX::TypeInfo::DecodableType colorPointRX = static_cast(0); + Attributes::ColorPointRY::TypeInfo::DecodableType colorPointRY = static_cast(0); + Attributes::ColorPointRIntensity::TypeInfo::DecodableType colorPointRIntensity = static_cast(0); + Attributes::ColorPointGX::TypeInfo::DecodableType colorPointGX = static_cast(0); + Attributes::ColorPointGY::TypeInfo::DecodableType colorPointGY = static_cast(0); + Attributes::ColorPointGIntensity::TypeInfo::DecodableType colorPointGIntensity = static_cast(0); + Attributes::ColorPointBX::TypeInfo::DecodableType colorPointBX = static_cast(0); + Attributes::ColorPointBY::TypeInfo::DecodableType colorPointBY = static_cast(0); + Attributes::ColorPointBIntensity::TypeInfo::DecodableType colorPointBIntensity = static_cast(0); + Attributes::EnhancedCurrentHue::TypeInfo::DecodableType enhancedCurrentHue = static_cast(0); + Attributes::EnhancedColorMode::TypeInfo::DecodableType enhancedColorMode = static_cast(0); + Attributes::ColorLoopActive::TypeInfo::DecodableType colorLoopActive = static_cast(0); + Attributes::ColorLoopDirection::TypeInfo::DecodableType colorLoopDirection = static_cast(0); + Attributes::ColorLoopTime::TypeInfo::DecodableType colorLoopTime = static_cast(0); + Attributes::ColorLoopStartEnhancedHue::TypeInfo::DecodableType colorLoopStartEnhancedHue = static_cast(0); + Attributes::ColorLoopStoredEnhancedHue::TypeInfo::DecodableType colorLoopStoredEnhancedHue = static_cast(0); + Attributes::ColorCapabilities::TypeInfo::DecodableType colorCapabilities = static_cast(0); + Attributes::ColorTempPhysicalMin::TypeInfo::DecodableType colorTempPhysicalMin = static_cast(0); + Attributes::ColorTempPhysicalMax::TypeInfo::DecodableType colorTempPhysicalMax = static_cast(0); + Attributes::CoupleColorTempToLevelMinMireds::TypeInfo::DecodableType coupleColorTempToLevelMinMireds = + static_cast(0); + Attributes::StartUpColorTemperatureMireds::TypeInfo::DecodableType startUpColorTemperatureMireds = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -24524,25 +24537,25 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::PhysicalMinLevel::TypeInfo::DecodableType physicalMinLevel; - Attributes::PhysicalMaxLevel::TypeInfo::DecodableType physicalMaxLevel; - Attributes::BallastStatus::TypeInfo::DecodableType ballastStatus; - Attributes::MinLevel::TypeInfo::DecodableType minLevel; - Attributes::MaxLevel::TypeInfo::DecodableType maxLevel; - Attributes::PowerOnLevel::TypeInfo::DecodableType powerOnLevel; - Attributes::PowerOnFadeTime::TypeInfo::DecodableType powerOnFadeTime; - Attributes::IntrinsicBallastFactor::TypeInfo::DecodableType intrinsicBallastFactor; - Attributes::BallastFactorAdjustment::TypeInfo::DecodableType ballastFactorAdjustment; - Attributes::LampQuality::TypeInfo::DecodableType lampQuality; + Attributes::PhysicalMinLevel::TypeInfo::DecodableType physicalMinLevel = static_cast(0); + Attributes::PhysicalMaxLevel::TypeInfo::DecodableType physicalMaxLevel = static_cast(0); + Attributes::BallastStatus::TypeInfo::DecodableType ballastStatus = static_cast(0); + Attributes::MinLevel::TypeInfo::DecodableType minLevel = static_cast(0); + Attributes::MaxLevel::TypeInfo::DecodableType maxLevel = static_cast(0); + Attributes::PowerOnLevel::TypeInfo::DecodableType powerOnLevel = static_cast(0); + Attributes::PowerOnFadeTime::TypeInfo::DecodableType powerOnFadeTime = static_cast(0); + Attributes::IntrinsicBallastFactor::TypeInfo::DecodableType intrinsicBallastFactor = static_cast(0); + Attributes::BallastFactorAdjustment::TypeInfo::DecodableType ballastFactorAdjustment = static_cast(0); + Attributes::LampQuality::TypeInfo::DecodableType lampQuality = static_cast(0); Attributes::LampType::TypeInfo::DecodableType lampType; Attributes::LampManufacturer::TypeInfo::DecodableType lampManufacturer; - Attributes::LampRatedHours::TypeInfo::DecodableType lampRatedHours; - Attributes::LampBurnHours::TypeInfo::DecodableType lampBurnHours; - Attributes::LampAlarmMode::TypeInfo::DecodableType lampAlarmMode; - Attributes::LampBurnHoursTripPoint::TypeInfo::DecodableType lampBurnHoursTripPoint; + Attributes::LampRatedHours::TypeInfo::DecodableType lampRatedHours = static_cast(0); + Attributes::LampBurnHours::TypeInfo::DecodableType lampBurnHours = static_cast(0); + Attributes::LampAlarmMode::TypeInfo::DecodableType lampAlarmMode = static_cast(0); + Attributes::LampBurnHoursTripPoint::TypeInfo::DecodableType lampBurnHoursTripPoint = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -24665,11 +24678,11 @@ struct TypeInfo Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::LightSensorType::TypeInfo::DecodableType lightSensorType; Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -24771,13 +24784,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -24939,18 +24952,18 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; - Attributes::ScaledValue::TypeInfo::DecodableType scaledValue; - Attributes::MinScaledValue::TypeInfo::DecodableType minScaledValue; - Attributes::MaxScaledValue::TypeInfo::DecodableType maxScaledValue; - Attributes::ScaledTolerance::TypeInfo::DecodableType scaledTolerance; - Attributes::Scale::TypeInfo::DecodableType scale; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); + Attributes::ScaledValue::TypeInfo::DecodableType scaledValue = static_cast(0); + Attributes::MinScaledValue::TypeInfo::DecodableType minScaledValue = static_cast(0); + Attributes::MaxScaledValue::TypeInfo::DecodableType maxScaledValue = static_cast(0); + Attributes::ScaledTolerance::TypeInfo::DecodableType scaledTolerance = static_cast(0); + Attributes::Scale::TypeInfo::DecodableType scale = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -25052,13 +25065,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -25160,13 +25173,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -25364,22 +25377,28 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::Occupancy::TypeInfo::DecodableType occupancy; - Attributes::OccupancySensorType::TypeInfo::DecodableType occupancySensorType; - Attributes::OccupancySensorTypeBitmap::TypeInfo::DecodableType occupancySensorTypeBitmap; - Attributes::PirOccupiedToUnoccupiedDelay::TypeInfo::DecodableType pirOccupiedToUnoccupiedDelay; - Attributes::PirUnoccupiedToOccupiedDelay::TypeInfo::DecodableType pirUnoccupiedToOccupiedDelay; - Attributes::PirUnoccupiedToOccupiedThreshold::TypeInfo::DecodableType pirUnoccupiedToOccupiedThreshold; - Attributes::UltrasonicOccupiedToUnoccupiedDelay::TypeInfo::DecodableType ultrasonicOccupiedToUnoccupiedDelay; - Attributes::UltrasonicUnoccupiedToOccupiedDelay::TypeInfo::DecodableType ultrasonicUnoccupiedToOccupiedDelay; - Attributes::UltrasonicUnoccupiedToOccupiedThreshold::TypeInfo::DecodableType ultrasonicUnoccupiedToOccupiedThreshold; - Attributes::PhysicalContactOccupiedToUnoccupiedDelay::TypeInfo::DecodableType physicalContactOccupiedToUnoccupiedDelay; - Attributes::PhysicalContactUnoccupiedToOccupiedDelay::TypeInfo::DecodableType physicalContactUnoccupiedToOccupiedDelay; + Attributes::Occupancy::TypeInfo::DecodableType occupancy = static_cast(0); + Attributes::OccupancySensorType::TypeInfo::DecodableType occupancySensorType = static_cast(0); + Attributes::OccupancySensorTypeBitmap::TypeInfo::DecodableType occupancySensorTypeBitmap = static_cast(0); + Attributes::PirOccupiedToUnoccupiedDelay::TypeInfo::DecodableType pirOccupiedToUnoccupiedDelay = static_cast(0); + Attributes::PirUnoccupiedToOccupiedDelay::TypeInfo::DecodableType pirUnoccupiedToOccupiedDelay = static_cast(0); + Attributes::PirUnoccupiedToOccupiedThreshold::TypeInfo::DecodableType pirUnoccupiedToOccupiedThreshold = + static_cast(0); + Attributes::UltrasonicOccupiedToUnoccupiedDelay::TypeInfo::DecodableType ultrasonicOccupiedToUnoccupiedDelay = + static_cast(0); + Attributes::UltrasonicUnoccupiedToOccupiedDelay::TypeInfo::DecodableType ultrasonicUnoccupiedToOccupiedDelay = + static_cast(0); + Attributes::UltrasonicUnoccupiedToOccupiedThreshold::TypeInfo::DecodableType ultrasonicUnoccupiedToOccupiedThreshold = + static_cast(0); + Attributes::PhysicalContactOccupiedToUnoccupiedDelay::TypeInfo::DecodableType physicalContactOccupiedToUnoccupiedDelay = + static_cast(0); + Attributes::PhysicalContactUnoccupiedToOccupiedDelay::TypeInfo::DecodableType physicalContactUnoccupiedToOccupiedDelay = + static_cast(0); Attributes::PhysicalContactUnoccupiedToOccupiedThreshold::TypeInfo::DecodableType - physicalContactUnoccupiedToOccupiedThreshold; + physicalContactUnoccupiedToOccupiedThreshold = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -25481,13 +25500,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -25589,13 +25608,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -25697,13 +25716,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -25805,13 +25824,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -25913,13 +25932,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -26021,13 +26040,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -26129,13 +26148,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -26237,13 +26256,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -26345,13 +26364,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -26453,13 +26472,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -26561,13 +26580,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -26669,13 +26688,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -26777,13 +26796,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -26885,13 +26904,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -26993,13 +27012,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -27101,13 +27120,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -27209,13 +27228,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -27317,13 +27336,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -27425,13 +27444,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -27533,13 +27552,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -27641,13 +27660,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -27749,13 +27768,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -27857,13 +27876,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -27965,13 +27984,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -28073,13 +28092,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -28181,13 +28200,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -28289,13 +28308,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -28397,13 +28416,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -28505,13 +28524,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -28613,13 +28632,13 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue; - Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue; - Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue; - Attributes::Tolerance::TypeInfo::DecodableType tolerance; + Attributes::MeasuredValue::TypeInfo::DecodableType measuredValue = static_cast(0); + Attributes::MinMeasuredValue::TypeInfo::DecodableType minMeasuredValue = static_cast(0); + Attributes::MaxMeasuredValue::TypeInfo::DecodableType maxMeasuredValue = static_cast(0); + Attributes::Tolerance::TypeInfo::DecodableType tolerance = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -28736,8 +28755,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ZoneEnrollResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasZone::Id; } - IasEnrollResponseCode enrollResponseCode; - uint8_t zoneId; + IasEnrollResponseCode enrollResponseCode = static_cast(0); + uint8_t zoneId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -28752,8 +28771,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ZoneEnrollResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasZone::Id; } - IasEnrollResponseCode enrollResponseCode; - uint8_t zoneId; + IasEnrollResponseCode enrollResponseCode = static_cast(0); + uint8_t zoneId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ZoneEnrollResponse @@ -28773,10 +28792,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ZoneStatusChangeNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasZone::Id; } - chip::BitFlags zoneStatus; - uint8_t extendedStatus; - uint8_t zoneId; - uint16_t delay; + chip::BitFlags zoneStatus = static_cast>(0); + uint8_t extendedStatus = static_cast(0); + uint8_t zoneId = static_cast(0); + uint16_t delay = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -28791,10 +28810,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ZoneStatusChangeNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasZone::Id; } - chip::BitFlags zoneStatus; - uint8_t extendedStatus; - uint8_t zoneId; - uint16_t delay; + chip::BitFlags zoneStatus = static_cast>(0); + uint8_t extendedStatus = static_cast(0); + uint8_t zoneId = static_cast(0); + uint16_t delay = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ZoneStatusChangeNotification @@ -28840,8 +28859,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ZoneEnrollRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasZone::Id; } - IasZoneType zoneType; - uint16_t manufacturerCode; + IasZoneType zoneType = static_cast(0); + uint16_t manufacturerCode = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -28856,8 +28875,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ZoneEnrollRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasZone::Id; } - IasZoneType zoneType; - uint16_t manufacturerCode; + IasZoneType zoneType = static_cast(0); + uint16_t manufacturerCode = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ZoneEnrollRequest @@ -28875,8 +28894,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::InitiateTestMode::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasZone::Id; } - uint8_t testModeDuration; - uint8_t currentZoneSensitivityLevel; + uint8_t testModeDuration = static_cast(0); + uint8_t currentZoneSensitivityLevel = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -28891,8 +28910,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::InitiateTestMode::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasZone::Id; } - uint8_t testModeDuration; - uint8_t currentZoneSensitivityLevel; + uint8_t testModeDuration = static_cast(0); + uint8_t currentZoneSensitivityLevel = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace InitiateTestMode @@ -29085,16 +29104,17 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::ZoneState::TypeInfo::DecodableType zoneState; - Attributes::ZoneType::TypeInfo::DecodableType zoneType; - Attributes::ZoneStatus::TypeInfo::DecodableType zoneStatus; - Attributes::IasCieAddress::TypeInfo::DecodableType iasCieAddress; - Attributes::ZoneId::TypeInfo::DecodableType zoneId; - Attributes::NumberOfZoneSensitivityLevelsSupported::TypeInfo::DecodableType numberOfZoneSensitivityLevelsSupported; - Attributes::CurrentZoneSensitivityLevel::TypeInfo::DecodableType currentZoneSensitivityLevel; + Attributes::ZoneState::TypeInfo::DecodableType zoneState = static_cast(0); + Attributes::ZoneType::TypeInfo::DecodableType zoneType = static_cast(0); + Attributes::ZoneStatus::TypeInfo::DecodableType zoneStatus = static_cast(0); + Attributes::IasCieAddress::TypeInfo::DecodableType iasCieAddress = static_cast(0); + Attributes::ZoneId::TypeInfo::DecodableType zoneId = static_cast(0); + Attributes::NumberOfZoneSensitivityLevelsSupported::TypeInfo::DecodableType numberOfZoneSensitivityLevelsSupported = + static_cast(0); + Attributes::CurrentZoneSensitivityLevel::TypeInfo::DecodableType currentZoneSensitivityLevel = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -29342,9 +29362,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::Arm::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - IasAceArmMode armMode; + IasAceArmMode armMode = static_cast(0); chip::CharSpan armDisarmCode; - uint8_t zoneId; + uint8_t zoneId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -29359,9 +29379,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::Arm::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - IasAceArmMode armMode; + IasAceArmMode armMode = static_cast(0); chip::CharSpan armDisarmCode; - uint8_t zoneId; + uint8_t zoneId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace Arm @@ -29378,7 +29398,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ArmResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - IasAceArmNotification armNotification; + IasAceArmNotification armNotification = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -29393,7 +29413,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ArmResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - IasAceArmNotification armNotification; + IasAceArmNotification armNotification = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ArmResponse @@ -29412,7 +29432,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::Bypass::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - uint8_t numberOfZones; + uint8_t numberOfZones = static_cast(0); DataModel::List zoneIds; chip::CharSpan armDisarmCode; @@ -29429,7 +29449,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::Bypass::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - uint8_t numberOfZones; + uint8_t numberOfZones = static_cast(0); DataModel::DecodableList zoneIds; chip::CharSpan armDisarmCode; CHIP_ERROR Decode(TLV::TLVReader & reader); @@ -29463,22 +29483,22 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetZoneIdMapResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - uint16_t section0; - uint16_t section1; - uint16_t section2; - uint16_t section3; - uint16_t section4; - uint16_t section5; - uint16_t section6; - uint16_t section7; - uint16_t section8; - uint16_t section9; - uint16_t section10; - uint16_t section11; - uint16_t section12; - uint16_t section13; - uint16_t section14; - uint16_t section15; + uint16_t section0 = static_cast(0); + uint16_t section1 = static_cast(0); + uint16_t section2 = static_cast(0); + uint16_t section3 = static_cast(0); + uint16_t section4 = static_cast(0); + uint16_t section5 = static_cast(0); + uint16_t section6 = static_cast(0); + uint16_t section7 = static_cast(0); + uint16_t section8 = static_cast(0); + uint16_t section9 = static_cast(0); + uint16_t section10 = static_cast(0); + uint16_t section11 = static_cast(0); + uint16_t section12 = static_cast(0); + uint16_t section13 = static_cast(0); + uint16_t section14 = static_cast(0); + uint16_t section15 = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -29493,22 +29513,22 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetZoneIdMapResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - uint16_t section0; - uint16_t section1; - uint16_t section2; - uint16_t section3; - uint16_t section4; - uint16_t section5; - uint16_t section6; - uint16_t section7; - uint16_t section8; - uint16_t section9; - uint16_t section10; - uint16_t section11; - uint16_t section12; - uint16_t section13; - uint16_t section14; - uint16_t section15; + uint16_t section0 = static_cast(0); + uint16_t section1 = static_cast(0); + uint16_t section2 = static_cast(0); + uint16_t section3 = static_cast(0); + uint16_t section4 = static_cast(0); + uint16_t section5 = static_cast(0); + uint16_t section6 = static_cast(0); + uint16_t section7 = static_cast(0); + uint16_t section8 = static_cast(0); + uint16_t section9 = static_cast(0); + uint16_t section10 = static_cast(0); + uint16_t section11 = static_cast(0); + uint16_t section12 = static_cast(0); + uint16_t section13 = static_cast(0); + uint16_t section14 = static_cast(0); + uint16_t section15 = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetZoneIdMapResponse @@ -29556,9 +29576,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetZoneInformationResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - uint8_t zoneId; - IasZoneType zoneType; - chip::NodeId ieeeAddress; + uint8_t zoneId = static_cast(0); + IasZoneType zoneType = static_cast(0); + chip::NodeId ieeeAddress = static_cast(0); chip::CharSpan zoneLabel; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -29574,9 +29594,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetZoneInformationResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - uint8_t zoneId; - IasZoneType zoneType; - chip::NodeId ieeeAddress; + uint8_t zoneId = static_cast(0); + IasZoneType zoneType = static_cast(0); + chip::NodeId ieeeAddress = static_cast(0); chip::CharSpan zoneLabel; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -29625,9 +29645,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ZoneStatusChanged::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - uint8_t zoneId; - uint16_t zoneStatus; - IasAceAudibleNotification audibleNotification; + uint8_t zoneId = static_cast(0); + uint16_t zoneStatus = static_cast(0); + IasAceAudibleNotification audibleNotification = static_cast(0); chip::CharSpan zoneLabel; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -29643,9 +29663,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ZoneStatusChanged::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - uint8_t zoneId; - uint16_t zoneStatus; - IasAceAudibleNotification audibleNotification; + uint8_t zoneId = static_cast(0); + uint16_t zoneStatus = static_cast(0); + IasAceAudibleNotification audibleNotification = static_cast(0); chip::CharSpan zoneLabel; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -29694,10 +29714,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::PanelStatusChanged::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - IasAcePanelStatus panelStatus; - uint8_t secondsRemaining; - IasAceAudibleNotification audibleNotification; - IasAceAlarmStatus alarmStatus; + IasAcePanelStatus panelStatus = static_cast(0); + uint8_t secondsRemaining = static_cast(0); + IasAceAudibleNotification audibleNotification = static_cast(0); + IasAceAlarmStatus alarmStatus = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -29712,10 +29732,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::PanelStatusChanged::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - IasAcePanelStatus panelStatus; - uint8_t secondsRemaining; - IasAceAudibleNotification audibleNotification; - IasAceAlarmStatus alarmStatus; + IasAcePanelStatus panelStatus = static_cast(0); + uint8_t secondsRemaining = static_cast(0); + IasAceAudibleNotification audibleNotification = static_cast(0); + IasAceAlarmStatus alarmStatus = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace PanelStatusChanged @@ -29763,10 +29783,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetPanelStatusResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - IasAcePanelStatus panelStatus; - uint8_t secondsRemaining; - IasAceAudibleNotification audibleNotification; - IasAceAlarmStatus alarmStatus; + IasAcePanelStatus panelStatus = static_cast(0); + uint8_t secondsRemaining = static_cast(0); + IasAceAudibleNotification audibleNotification = static_cast(0); + IasAceAlarmStatus alarmStatus = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -29781,10 +29801,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetPanelStatusResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - IasAcePanelStatus panelStatus; - uint8_t secondsRemaining; - IasAceAudibleNotification audibleNotification; - IasAceAlarmStatus alarmStatus; + IasAcePanelStatus panelStatus = static_cast(0); + uint8_t secondsRemaining = static_cast(0); + IasAceAudibleNotification audibleNotification = static_cast(0); + IasAceAlarmStatus alarmStatus = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetPanelStatusResponse @@ -29801,7 +29821,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetZoneInformation::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - uint8_t zoneId; + uint8_t zoneId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -29816,7 +29836,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetZoneInformation::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - uint8_t zoneId; + uint8_t zoneId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetZoneInformation @@ -29834,7 +29854,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SetBypassedZoneList::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - uint8_t numberOfZones; + uint8_t numberOfZones = static_cast(0); DataModel::List zoneIds; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -29850,7 +29870,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SetBypassedZoneList::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - uint8_t numberOfZones; + uint8_t numberOfZones = static_cast(0); DataModel::DecodableList zoneIds; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -29897,7 +29917,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::BypassResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - uint8_t numberOfZones; + uint8_t numberOfZones = static_cast(0); DataModel::List bypassResult; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -29913,7 +29933,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::BypassResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - uint8_t numberOfZones; + uint8_t numberOfZones = static_cast(0); DataModel::DecodableList bypassResult; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -29961,8 +29981,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetZoneStatusResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - bool zoneStatusComplete; - uint8_t numberOfZones; + bool zoneStatusComplete = static_cast(0); + uint8_t numberOfZones = static_cast(0); DataModel::List zoneStatusResult; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -29978,8 +29998,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetZoneStatusResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - bool zoneStatusComplete; - uint8_t numberOfZones; + bool zoneStatusComplete = static_cast(0); + uint8_t numberOfZones = static_cast(0); DataModel::DecodableList zoneStatusResult; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -30000,10 +30020,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetZoneStatus::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - uint8_t startingZoneId; - uint8_t maxNumberOfZoneIds; - bool zoneStatusMaskFlag; - uint16_t zoneStatusMask; + uint8_t startingZoneId = static_cast(0); + uint8_t maxNumberOfZoneIds = static_cast(0); + bool zoneStatusMaskFlag = static_cast(0); + uint16_t zoneStatusMask = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -30018,10 +30038,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetZoneStatus::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasAce::Id; } - uint8_t startingZoneId; - uint8_t maxNumberOfZoneIds; - bool zoneStatusMaskFlag; - uint16_t zoneStatusMask; + uint8_t startingZoneId = static_cast(0); + uint8_t maxNumberOfZoneIds = static_cast(0); + bool zoneStatusMaskFlag = static_cast(0); + uint16_t zoneStatusMask = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetZoneStatus @@ -30075,8 +30095,8 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -30131,10 +30151,10 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::StartWarning::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasWd::Id; } - chip::BitFlags warningInfo; - uint16_t warningDuration; - uint8_t strobeDutyCycle; - uint8_t strobeLevel; + chip::BitFlags warningInfo = static_cast>(0); + uint16_t warningDuration = static_cast(0); + uint8_t strobeDutyCycle = static_cast(0); + uint8_t strobeLevel = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -30149,10 +30169,10 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::StartWarning::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasWd::Id; } - chip::BitFlags warningInfo; - uint16_t warningDuration; - uint8_t strobeDutyCycle; - uint8_t strobeLevel; + chip::BitFlags warningInfo = static_cast>(0); + uint16_t warningDuration = static_cast(0); + uint8_t strobeDutyCycle = static_cast(0); + uint8_t strobeLevel = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace StartWarning @@ -30169,7 +30189,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::Squawk::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasWd::Id; } - chip::BitFlags squawkInfo; + chip::BitFlags squawkInfo = static_cast>(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -30184,7 +30204,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::Squawk::Id; } static constexpr ClusterId GetClusterId() { return Clusters::IasWd::Id; } - chip::BitFlags squawkInfo; + chip::BitFlags squawkInfo = static_cast>(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace Squawk @@ -30249,10 +30269,10 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MaxDuration::TypeInfo::DecodableType maxDuration; + Attributes::MaxDuration::TypeInfo::DecodableType maxDuration = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -30320,8 +30340,8 @@ struct TypeInfo Attributes::WakeOnLanMacAddress::TypeInfo::DecodableType wakeOnLanMacAddress; Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -30465,7 +30485,7 @@ struct Type static constexpr ClusterId GetClusterId() { return Clusters::Channel::Id; } Structs::ChannelInfo::Type channelMatch; - ErrorTypeEnum errorType; + ErrorTypeEnum errorType = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -30481,7 +30501,7 @@ struct DecodableType static constexpr ClusterId GetClusterId() { return Clusters::Channel::Id; } Structs::ChannelInfo::DecodableType channelMatch; - ErrorTypeEnum errorType; + ErrorTypeEnum errorType = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ChangeChannelResponse @@ -30499,8 +30519,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::ChangeChannelByNumberRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Channel::Id; } - uint16_t majorNumber; - uint16_t minorNumber; + uint16_t majorNumber = static_cast(0); + uint16_t minorNumber = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -30515,8 +30535,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::ChangeChannelByNumberRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Channel::Id; } - uint16_t majorNumber; - uint16_t minorNumber; + uint16_t majorNumber = static_cast(0); + uint16_t minorNumber = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace ChangeChannelByNumberRequest @@ -30533,7 +30553,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SkipChannelRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Channel::Id; } - uint16_t count; + uint16_t count = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -30548,7 +30568,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SkipChannelRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Channel::Id; } - uint16_t count; + uint16_t count = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace SkipChannelRequest @@ -30642,8 +30662,8 @@ struct TypeInfo Attributes::ChannelLineup::TypeInfo::DecodableType channelLineup; Attributes::CurrentChannel::TypeInfo::DecodableType currentChannel; Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -30710,7 +30730,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::NavigateTargetRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TargetNavigator::Id; } - uint8_t target; + uint8_t target = static_cast(0); chip::CharSpan data; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -30726,7 +30746,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::NavigateTargetRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TargetNavigator::Id; } - uint8_t target; + uint8_t target = static_cast(0); chip::CharSpan data; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -30745,7 +30765,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::NavigateTargetResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TargetNavigator::Id; } - StatusEnum status; + StatusEnum status = static_cast(0); chip::CharSpan data; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -30761,7 +30781,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::NavigateTargetResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TargetNavigator::Id; } - StatusEnum status; + StatusEnum status = static_cast(0); chip::CharSpan data; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -30842,10 +30862,10 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::TargetNavigatorList::TypeInfo::DecodableType targetNavigatorList; - Attributes::CurrentNavigatorTarget::TypeInfo::DecodableType currentNavigatorTarget; + Attributes::CurrentNavigatorTarget::TypeInfo::DecodableType currentNavigatorTarget = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -31196,7 +31216,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SkipForwardRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::MediaPlayback::Id; } - uint64_t deltaPositionMilliseconds; + uint64_t deltaPositionMilliseconds = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -31211,7 +31231,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SkipForwardRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::MediaPlayback::Id; } - uint64_t deltaPositionMilliseconds; + uint64_t deltaPositionMilliseconds = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace SkipForwardRequest @@ -31228,7 +31248,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SkipBackwardRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::MediaPlayback::Id; } - uint64_t deltaPositionMilliseconds; + uint64_t deltaPositionMilliseconds = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -31243,7 +31263,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SkipBackwardRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::MediaPlayback::Id; } - uint64_t deltaPositionMilliseconds; + uint64_t deltaPositionMilliseconds = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace SkipBackwardRequest @@ -31260,7 +31280,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::PlaybackResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::MediaPlayback::Id; } - StatusEnum status; + StatusEnum status = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -31275,7 +31295,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::PlaybackResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::MediaPlayback::Id; } - StatusEnum status; + StatusEnum status = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace PlaybackResponse @@ -31292,7 +31312,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SeekRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::MediaPlayback::Id; } - uint64_t position; + uint64_t position = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -31307,7 +31327,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SeekRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::MediaPlayback::Id; } - uint64_t position; + uint64_t position = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace SeekRequest @@ -31444,16 +31464,16 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::PlaybackState::TypeInfo::DecodableType playbackState; - Attributes::StartTime::TypeInfo::DecodableType startTime; - Attributes::Duration::TypeInfo::DecodableType duration; + Attributes::PlaybackState::TypeInfo::DecodableType playbackState = static_cast(0); + Attributes::StartTime::TypeInfo::DecodableType startTime = static_cast(0); + Attributes::Duration::TypeInfo::DecodableType duration = static_cast(0); Attributes::Position::TypeInfo::DecodableType position; - Attributes::PlaybackSpeed::TypeInfo::DecodableType playbackSpeed; - Attributes::SeekRangeEnd::TypeInfo::DecodableType seekRangeEnd; - Attributes::SeekRangeStart::TypeInfo::DecodableType seekRangeStart; + Attributes::PlaybackSpeed::TypeInfo::DecodableType playbackSpeed = static_cast(0); + Attributes::SeekRangeEnd::TypeInfo::DecodableType seekRangeEnd = static_cast(0); + Attributes::SeekRangeStart::TypeInfo::DecodableType seekRangeStart = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -31548,7 +31568,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SelectInputRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::MediaInput::Id; } - uint8_t index; + uint8_t index = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -31563,7 +31583,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SelectInputRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::MediaInput::Id; } - uint8_t index; + uint8_t index = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace SelectInputRequest @@ -31637,7 +31657,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::RenameInputRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::MediaInput::Id; } - uint8_t index; + uint8_t index = static_cast(0); chip::CharSpan name; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -31653,7 +31673,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::RenameInputRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::MediaInput::Id; } - uint8_t index; + uint8_t index = static_cast(0); chip::CharSpan name; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -31733,10 +31753,10 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::MediaInputList::TypeInfo::DecodableType mediaInputList; - Attributes::CurrentMediaInput::TypeInfo::DecodableType currentMediaInput; + Attributes::CurrentMediaInput::TypeInfo::DecodableType currentMediaInput = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -31832,8 +31852,8 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -31974,7 +31994,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SendKeyRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::KeypadInput::Id; } - CecKeyCode keyCode; + CecKeyCode keyCode = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -31989,7 +32009,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SendKeyRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::KeypadInput::Id; } - CecKeyCode keyCode; + CecKeyCode keyCode = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace SendKeyRequest @@ -32006,7 +32026,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SendKeyResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::KeypadInput::Id; } - StatusEnum status; + StatusEnum status = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -32021,7 +32041,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SendKeyResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::KeypadInput::Id; } - StatusEnum status; + StatusEnum status = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace SendKeyResponse @@ -32075,8 +32095,8 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -32308,7 +32328,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::LaunchContentRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ContentLauncher::Id; } - bool autoPlay; + bool autoPlay = static_cast(0); chip::CharSpan data; DataModel::List search; @@ -32325,7 +32345,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::LaunchContentRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ContentLauncher::Id; } - bool autoPlay; + bool autoPlay = static_cast(0); chip::CharSpan data; DataModel::DecodableList search; CHIP_ERROR Decode(TLV::TLVReader & reader); @@ -32383,7 +32403,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::LaunchResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ContentLauncher::Id; } - StatusEnum status; + StatusEnum status = static_cast(0); chip::CharSpan data; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -32399,7 +32419,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::LaunchResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ContentLauncher::Id; } - StatusEnum status; + StatusEnum status = static_cast(0); chip::CharSpan data; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -32478,10 +32498,10 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::AcceptHeaderList::TypeInfo::DecodableType acceptHeaderList; - Attributes::SupportedStreamingProtocols::TypeInfo::DecodableType supportedStreamingProtocols; + Attributes::SupportedStreamingProtocols::TypeInfo::DecodableType supportedStreamingProtocols = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -32558,7 +32578,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SelectOutputRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::AudioOutput::Id; } - uint8_t index; + uint8_t index = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -32573,7 +32593,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SelectOutputRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::AudioOutput::Id; } - uint8_t index; + uint8_t index = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace SelectOutputRequest @@ -32591,7 +32611,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::RenameOutputRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::AudioOutput::Id; } - uint8_t index; + uint8_t index = static_cast(0); chip::CharSpan name; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -32607,7 +32627,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::RenameOutputRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::AudioOutput::Id; } - uint8_t index; + uint8_t index = static_cast(0); chip::CharSpan name; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -32687,10 +32707,10 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::AudioOutputList::TypeInfo::DecodableType audioOutputList; - Attributes::CurrentAudioOutput::TypeInfo::DecodableType currentAudioOutput; + Attributes::CurrentAudioOutput::TypeInfo::DecodableType currentAudioOutput = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -32899,7 +32919,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::LauncherResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplicationLauncher::Id; } - StatusEnum status; + StatusEnum status = static_cast(0); chip::CharSpan data; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -32915,7 +32935,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::LauncherResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplicationLauncher::Id; } - StatusEnum status; + StatusEnum status = static_cast(0); chip::CharSpan data; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -32996,8 +33016,8 @@ struct TypeInfo Attributes::ApplicationLauncherList::TypeInfo::DecodableType applicationLauncherList; Attributes::ApplicationLauncherApp::TypeInfo::DecodableType applicationLauncherApp; Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -33179,16 +33199,16 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::VendorName::TypeInfo::DecodableType vendorName; - Attributes::VendorId::TypeInfo::DecodableType vendorId; + Attributes::VendorId::TypeInfo::DecodableType vendorId = static_cast(0); Attributes::ApplicationName::TypeInfo::DecodableType applicationName; - Attributes::ProductId::TypeInfo::DecodableType productId; + Attributes::ProductId::TypeInfo::DecodableType productId = static_cast(0); Attributes::ApplicationApp::TypeInfo::DecodableType applicationApp; - Attributes::ApplicationStatus::TypeInfo::DecodableType applicationStatus; + Attributes::ApplicationStatus::TypeInfo::DecodableType applicationStatus = static_cast(0); Attributes::ApplicationVersion::TypeInfo::DecodableType applicationVersion; Attributes::AllowedVendorList::TypeInfo::DecodableType allowedVendorList; Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -33398,8 +33418,8 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -33823,7 +33843,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::TestSpecificResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - uint8_t returnValue; + uint8_t returnValue = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -33838,7 +33858,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::TestSpecificResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - uint8_t returnValue; + uint8_t returnValue = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace TestSpecificResponse @@ -33883,7 +33903,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::TestAddArgumentsResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - uint8_t returnValue; + uint8_t returnValue = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -33898,7 +33918,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::TestAddArgumentsResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - uint8_t returnValue; + uint8_t returnValue = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace TestAddArgumentsResponse @@ -33943,7 +33963,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::TestSimpleArgumentResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - bool returnValue; + bool returnValue = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -33958,7 +33978,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::TestSimpleArgumentResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - bool returnValue; + bool returnValue = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace TestSimpleArgumentResponse @@ -34012,8 +34032,8 @@ struct Type DataModel::List arg2; DataModel::List arg3; DataModel::List arg4; - SimpleEnum arg5; - bool arg6; + SimpleEnum arg5 = static_cast(0); + bool arg6 = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -34032,8 +34052,8 @@ struct DecodableType DataModel::DecodableList arg2; DataModel::DecodableList arg3; DataModel::DecodableList arg4; - SimpleEnum arg5; - bool arg6; + SimpleEnum arg5 = static_cast(0); + bool arg6 = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace TestStructArrayArgumentResponse @@ -34051,8 +34071,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::TestAddArguments::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - uint8_t arg1; - uint8_t arg2; + uint8_t arg1 = static_cast(0); + uint8_t arg2 = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -34067,8 +34087,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::TestAddArguments::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - uint8_t arg1; - uint8_t arg2; + uint8_t arg1 = static_cast(0); + uint8_t arg2 = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace TestAddArguments @@ -34117,7 +34137,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::TestSimpleArgumentRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - bool arg1; + bool arg1 = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -34132,7 +34152,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::TestSimpleArgumentRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - bool arg1; + bool arg1 = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace TestSimpleArgumentRequest @@ -34150,8 +34170,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::TestEnumsResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - chip::VendorId arg1; - SimpleEnum arg2; + chip::VendorId arg1 = static_cast(0); + SimpleEnum arg2 = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -34166,8 +34186,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::TestEnumsResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - chip::VendorId arg1; - SimpleEnum arg2; + chip::VendorId arg1 = static_cast(0); + SimpleEnum arg2 = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace TestEnumsResponse @@ -34193,8 +34213,8 @@ struct Type DataModel::List arg2; DataModel::List arg3; DataModel::List arg4; - SimpleEnum arg5; - bool arg6; + SimpleEnum arg5 = static_cast(0); + bool arg6 = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -34213,8 +34233,8 @@ struct DecodableType DataModel::DecodableList arg2; DataModel::DecodableList arg3; DataModel::DecodableList arg4; - SimpleEnum arg5; - bool arg6; + SimpleEnum arg5 = static_cast(0); + bool arg6 = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace TestStructArrayArgumentRequest @@ -34234,7 +34254,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::TestNullableOptionalResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - bool wasPresent; + bool wasPresent = static_cast(0); Optional wasNull; Optional value; Optional> originalValue; @@ -34252,7 +34272,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::TestNullableOptionalResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - bool wasPresent; + bool wasPresent = static_cast(0); Optional wasNull; Optional value; Optional> originalValue; @@ -34331,32 +34351,32 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::TestComplexNullableOptionalResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - bool nullableIntWasNull; + bool nullableIntWasNull = static_cast(0); Optional nullableIntValue; - bool optionalIntWasPresent; + bool optionalIntWasPresent = static_cast(0); Optional optionalIntValue; - bool nullableOptionalIntWasPresent; + bool nullableOptionalIntWasPresent = static_cast(0); Optional nullableOptionalIntWasNull; Optional nullableOptionalIntValue; - bool nullableStringWasNull; + bool nullableStringWasNull = static_cast(0); Optional nullableStringValue; - bool optionalStringWasPresent; + bool optionalStringWasPresent = static_cast(0); Optional optionalStringValue; - bool nullableOptionalStringWasPresent; + bool nullableOptionalStringWasPresent = static_cast(0); Optional nullableOptionalStringWasNull; Optional nullableOptionalStringValue; - bool nullableStructWasNull; + bool nullableStructWasNull = static_cast(0); Optional nullableStructValue; - bool optionalStructWasPresent; + bool optionalStructWasPresent = static_cast(0); Optional optionalStructValue; - bool nullableOptionalStructWasPresent; + bool nullableOptionalStructWasPresent = static_cast(0); Optional nullableOptionalStructWasNull; Optional nullableOptionalStructValue; - bool nullableListWasNull; + bool nullableListWasNull = static_cast(0); Optional> nullableListValue; - bool optionalListWasPresent; + bool optionalListWasPresent = static_cast(0); Optional> optionalListValue; - bool nullableOptionalListWasPresent; + bool nullableOptionalListWasPresent = static_cast(0); Optional nullableOptionalListWasNull; Optional> nullableOptionalListValue; @@ -34373,32 +34393,32 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::TestComplexNullableOptionalResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - bool nullableIntWasNull; + bool nullableIntWasNull = static_cast(0); Optional nullableIntValue; - bool optionalIntWasPresent; + bool optionalIntWasPresent = static_cast(0); Optional optionalIntValue; - bool nullableOptionalIntWasPresent; + bool nullableOptionalIntWasPresent = static_cast(0); Optional nullableOptionalIntWasNull; Optional nullableOptionalIntValue; - bool nullableStringWasNull; + bool nullableStringWasNull = static_cast(0); Optional nullableStringValue; - bool optionalStringWasPresent; + bool optionalStringWasPresent = static_cast(0); Optional optionalStringValue; - bool nullableOptionalStringWasPresent; + bool nullableOptionalStringWasPresent = static_cast(0); Optional nullableOptionalStringWasNull; Optional nullableOptionalStringValue; - bool nullableStructWasNull; + bool nullableStructWasNull = static_cast(0); Optional nullableStructValue; - bool optionalStructWasPresent; + bool optionalStructWasPresent = static_cast(0); Optional optionalStructValue; - bool nullableOptionalStructWasPresent; + bool nullableOptionalStructWasPresent = static_cast(0); Optional nullableOptionalStructWasNull; Optional nullableOptionalStructValue; - bool nullableListWasNull; + bool nullableListWasNull = static_cast(0); Optional> nullableListValue; - bool optionalListWasPresent; + bool optionalListWasPresent = static_cast(0); Optional> optionalListValue; - bool nullableOptionalListWasPresent; + bool nullableOptionalListWasPresent = static_cast(0); Optional nullableOptionalListWasNull; Optional> nullableOptionalListValue; CHIP_ERROR Decode(TLV::TLVReader & reader); @@ -34449,7 +34469,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::BooleanResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - bool value; + bool value = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -34464,7 +34484,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::BooleanResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - bool value; + bool value = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace BooleanResponse @@ -34577,7 +34597,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::TestEmitTestEventResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - uint64_t value; + uint64_t value = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -34592,7 +34612,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::TestEmitTestEventResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - uint64_t value; + uint64_t value = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace TestEmitTestEventResponse @@ -34706,8 +34726,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::TestEnumsRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - chip::VendorId arg1; - SimpleEnum arg2; + chip::VendorId arg1 = static_cast(0); + SimpleEnum arg2 = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -34722,8 +34742,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::TestEnumsRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - chip::VendorId arg1; - SimpleEnum arg2; + chip::VendorId arg1 = static_cast(0); + SimpleEnum arg2 = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace TestEnumsRequest @@ -34931,9 +34951,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::TestEmitTestEventRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - uint8_t arg1; - SimpleEnum arg2; - bool arg3; + uint8_t arg1 = static_cast(0); + SimpleEnum arg2 = static_cast(0); + bool arg3 = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -34948,9 +34968,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::TestEmitTestEventRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - uint8_t arg1; - SimpleEnum arg2; - bool arg3; + uint8_t arg1 = static_cast(0); + SimpleEnum arg2 = static_cast(0); + bool arg3 = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace TestEmitTestEventRequest @@ -35944,31 +35964,31 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::Boolean::TypeInfo::DecodableType boolean; - Attributes::Bitmap8::TypeInfo::DecodableType bitmap8; - Attributes::Bitmap16::TypeInfo::DecodableType bitmap16; - Attributes::Bitmap32::TypeInfo::DecodableType bitmap32; - Attributes::Bitmap64::TypeInfo::DecodableType bitmap64; - Attributes::Int8u::TypeInfo::DecodableType int8u; - Attributes::Int16u::TypeInfo::DecodableType int16u; - Attributes::Int24u::TypeInfo::DecodableType int24u; - Attributes::Int32u::TypeInfo::DecodableType int32u; - Attributes::Int40u::TypeInfo::DecodableType int40u; - Attributes::Int48u::TypeInfo::DecodableType int48u; - Attributes::Int56u::TypeInfo::DecodableType int56u; - Attributes::Int64u::TypeInfo::DecodableType int64u; - Attributes::Int8s::TypeInfo::DecodableType int8s; - Attributes::Int16s::TypeInfo::DecodableType int16s; - Attributes::Int24s::TypeInfo::DecodableType int24s; - Attributes::Int32s::TypeInfo::DecodableType int32s; - Attributes::Int40s::TypeInfo::DecodableType int40s; - Attributes::Int48s::TypeInfo::DecodableType int48s; - Attributes::Int56s::TypeInfo::DecodableType int56s; - Attributes::Int64s::TypeInfo::DecodableType int64s; - Attributes::Enum8::TypeInfo::DecodableType enum8; - Attributes::Enum16::TypeInfo::DecodableType enum16; - Attributes::FloatSingle::TypeInfo::DecodableType floatSingle; - Attributes::FloatDouble::TypeInfo::DecodableType floatDouble; + Attributes::Boolean::TypeInfo::DecodableType boolean = static_cast(0); + Attributes::Bitmap8::TypeInfo::DecodableType bitmap8 = static_cast(0); + Attributes::Bitmap16::TypeInfo::DecodableType bitmap16 = static_cast(0); + Attributes::Bitmap32::TypeInfo::DecodableType bitmap32 = static_cast(0); + Attributes::Bitmap64::TypeInfo::DecodableType bitmap64 = static_cast(0); + Attributes::Int8u::TypeInfo::DecodableType int8u = static_cast(0); + Attributes::Int16u::TypeInfo::DecodableType int16u = static_cast(0); + Attributes::Int24u::TypeInfo::DecodableType int24u = static_cast(0); + Attributes::Int32u::TypeInfo::DecodableType int32u = static_cast(0); + Attributes::Int40u::TypeInfo::DecodableType int40u = static_cast(0); + Attributes::Int48u::TypeInfo::DecodableType int48u = static_cast(0); + Attributes::Int56u::TypeInfo::DecodableType int56u = static_cast(0); + Attributes::Int64u::TypeInfo::DecodableType int64u = static_cast(0); + Attributes::Int8s::TypeInfo::DecodableType int8s = static_cast(0); + Attributes::Int16s::TypeInfo::DecodableType int16s = static_cast(0); + Attributes::Int24s::TypeInfo::DecodableType int24s = static_cast(0); + Attributes::Int32s::TypeInfo::DecodableType int32s = static_cast(0); + Attributes::Int40s::TypeInfo::DecodableType int40s = static_cast(0); + Attributes::Int48s::TypeInfo::DecodableType int48s = static_cast(0); + Attributes::Int56s::TypeInfo::DecodableType int56s = static_cast(0); + Attributes::Int64s::TypeInfo::DecodableType int64s = static_cast(0); + Attributes::Enum8::TypeInfo::DecodableType enum8 = static_cast(0); + Attributes::Enum16::TypeInfo::DecodableType enum16 = static_cast(0); + Attributes::FloatSingle::TypeInfo::DecodableType floatSingle = static_cast(0); + Attributes::FloatDouble::TypeInfo::DecodableType floatDouble = static_cast(0); Attributes::OctetString::TypeInfo::DecodableType octetString; Attributes::ListInt8u::TypeInfo::DecodableType listInt8u; Attributes::ListOctetString::TypeInfo::DecodableType listOctetString; @@ -35976,19 +35996,19 @@ struct TypeInfo Attributes::LongOctetString::TypeInfo::DecodableType longOctetString; Attributes::CharString::TypeInfo::DecodableType charString; Attributes::LongCharString::TypeInfo::DecodableType longCharString; - Attributes::EpochUs::TypeInfo::DecodableType epochUs; - Attributes::EpochS::TypeInfo::DecodableType epochS; - Attributes::VendorId::TypeInfo::DecodableType vendorId; + Attributes::EpochUs::TypeInfo::DecodableType epochUs = static_cast(0); + Attributes::EpochS::TypeInfo::DecodableType epochS = static_cast(0); + Attributes::VendorId::TypeInfo::DecodableType vendorId = static_cast(0); Attributes::ListNullablesAndOptionalsStruct::TypeInfo::DecodableType listNullablesAndOptionalsStruct; - Attributes::EnumAttr::TypeInfo::DecodableType enumAttr; + Attributes::EnumAttr::TypeInfo::DecodableType enumAttr = static_cast(0); Attributes::StructAttr::TypeInfo::DecodableType structAttr; - Attributes::RangeRestrictedInt8u::TypeInfo::DecodableType rangeRestrictedInt8u; - Attributes::RangeRestrictedInt8s::TypeInfo::DecodableType rangeRestrictedInt8s; - Attributes::RangeRestrictedInt16u::TypeInfo::DecodableType rangeRestrictedInt16u; - Attributes::RangeRestrictedInt16s::TypeInfo::DecodableType rangeRestrictedInt16s; + Attributes::RangeRestrictedInt8u::TypeInfo::DecodableType rangeRestrictedInt8u = static_cast(0); + Attributes::RangeRestrictedInt8s::TypeInfo::DecodableType rangeRestrictedInt8s = static_cast(0); + Attributes::RangeRestrictedInt16u::TypeInfo::DecodableType rangeRestrictedInt16u = static_cast(0); + Attributes::RangeRestrictedInt16s::TypeInfo::DecodableType rangeRestrictedInt16s = static_cast(0); Attributes::ListLongOctetString::TypeInfo::DecodableType listLongOctetString; - Attributes::TimedWriteBoolean::TypeInfo::DecodableType timedWriteBoolean; - Attributes::Unsupported::TypeInfo::DecodableType unsupported; + Attributes::TimedWriteBoolean::TypeInfo::DecodableType timedWriteBoolean = static_cast(0); + Attributes::Unsupported::TypeInfo::DecodableType unsupported = static_cast(0); Attributes::NullableBoolean::TypeInfo::DecodableType nullableBoolean; Attributes::NullableBitmap8::TypeInfo::DecodableType nullableBitmap8; Attributes::NullableBitmap16::TypeInfo::DecodableType nullableBitmap16; @@ -36023,8 +36043,8 @@ struct TypeInfo Attributes::NullableRangeRestrictedInt16u::TypeInfo::DecodableType nullableRangeRestrictedInt16u; Attributes::NullableRangeRestrictedInt16s::TypeInfo::DecodableType nullableRangeRestrictedInt16s; Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -36050,9 +36070,9 @@ struct Type static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - uint8_t arg1; - SimpleEnum arg2; - bool arg3; + uint8_t arg1 = static_cast(0); + SimpleEnum arg2 = static_cast(0); + bool arg3 = static_cast(0); Structs::SimpleStruct::Type arg4; DataModel::List arg5; DataModel::List arg6; @@ -36067,9 +36087,9 @@ struct DecodableType static constexpr EventId GetEventId() { return kEventId; } static constexpr ClusterId GetClusterId() { return Clusters::TestCluster::Id; } - uint8_t arg1; - SimpleEnum arg2; - bool arg3; + uint8_t arg1 = static_cast(0); + SimpleEnum arg2 = static_cast(0); + bool arg3 = static_cast(0); Structs::SimpleStruct::DecodableType arg4; DataModel::DecodableList arg5; DataModel::DecodableList arg6; @@ -36275,12 +36295,13 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::DisplayMessage::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Messaging::Id; } - uint32_t messageId; - chip::BitFlags messageControl; - uint32_t startTime; - uint16_t durationInMinutes; + uint32_t messageId = static_cast(0); + chip::BitFlags messageControl = static_cast>(0); + uint32_t startTime = static_cast(0); + uint16_t durationInMinutes = static_cast(0); chip::CharSpan message; - chip::BitFlags optionalExtendedMessageControl; + chip::BitFlags optionalExtendedMessageControl = + static_cast>(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -36295,12 +36316,13 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::DisplayMessage::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Messaging::Id; } - uint32_t messageId; - chip::BitFlags messageControl; - uint32_t startTime; - uint16_t durationInMinutes; + uint32_t messageId = static_cast(0); + chip::BitFlags messageControl = static_cast>(0); + uint32_t startTime = static_cast(0); + uint16_t durationInMinutes = static_cast(0); chip::CharSpan message; - chip::BitFlags optionalExtendedMessageControl; + chip::BitFlags optionalExtendedMessageControl = + static_cast>(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace DisplayMessage @@ -36346,8 +36368,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::CancelMessage::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Messaging::Id; } - uint32_t messageId; - chip::BitFlags messageControl; + uint32_t messageId = static_cast(0); + chip::BitFlags messageControl = static_cast>(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -36362,8 +36384,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::CancelMessage::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Messaging::Id; } - uint32_t messageId; - chip::BitFlags messageControl; + uint32_t messageId = static_cast(0); + chip::BitFlags messageControl = static_cast>(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace CancelMessage @@ -36383,9 +36405,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::MessageConfirmation::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Messaging::Id; } - uint32_t messageId; - uint32_t confirmationTime; - uint8_t messageConfirmationControl; + uint32_t messageId = static_cast(0); + uint32_t confirmationTime = static_cast(0); + uint8_t messageConfirmationControl = static_cast(0); chip::ByteSpan messageResponse; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -36401,9 +36423,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::MessageConfirmation::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Messaging::Id; } - uint32_t messageId; - uint32_t confirmationTime; - uint8_t messageConfirmationControl; + uint32_t messageId = static_cast(0); + uint32_t confirmationTime = static_cast(0); + uint8_t messageConfirmationControl = static_cast(0); chip::ByteSpan messageResponse; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -36426,12 +36448,13 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::DisplayProtectedMessage::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Messaging::Id; } - uint32_t messageId; - chip::BitFlags messageControl; - uint32_t startTime; - uint16_t durationInMinutes; + uint32_t messageId = static_cast(0); + chip::BitFlags messageControl = static_cast>(0); + uint32_t startTime = static_cast(0); + uint16_t durationInMinutes = static_cast(0); chip::CharSpan message; - chip::BitFlags optionalExtendedMessageControl; + chip::BitFlags optionalExtendedMessageControl = + static_cast>(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -36446,12 +36469,13 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::DisplayProtectedMessage::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Messaging::Id; } - uint32_t messageId; - chip::BitFlags messageControl; - uint32_t startTime; - uint16_t durationInMinutes; + uint32_t messageId = static_cast(0); + chip::BitFlags messageControl = static_cast>(0); + uint32_t startTime = static_cast(0); + uint16_t durationInMinutes = static_cast(0); chip::CharSpan message; - chip::BitFlags optionalExtendedMessageControl; + chip::BitFlags optionalExtendedMessageControl = + static_cast>(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace DisplayProtectedMessage @@ -36468,7 +36492,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetMessageCancellation::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Messaging::Id; } - uint32_t earliestImplementationTime; + uint32_t earliestImplementationTime = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -36483,7 +36507,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetMessageCancellation::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Messaging::Id; } - uint32_t earliestImplementationTime; + uint32_t earliestImplementationTime = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetMessageCancellation @@ -36500,7 +36524,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::CancelAllMessages::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Messaging::Id; } - uint32_t implementationDateTime; + uint32_t implementationDateTime = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -36515,7 +36539,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::CancelAllMessages::Id; } static constexpr ClusterId GetClusterId() { return Clusters::Messaging::Id; } - uint32_t implementationDateTime; + uint32_t implementationDateTime = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace CancelAllMessages @@ -36569,8 +36593,8 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -36768,21 +36792,21 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::BasicIdentification::TypeInfo::DecodableType basicIdentification; + Attributes::BasicIdentification::TypeInfo::DecodableType basicIdentification = static_cast(0); Attributes::CompanyName::TypeInfo::DecodableType companyName; - Attributes::CompanyId::TypeInfo::DecodableType companyId; + Attributes::CompanyId::TypeInfo::DecodableType companyId = static_cast(0); Attributes::BrandName::TypeInfo::DecodableType brandName; - Attributes::BrandId::TypeInfo::DecodableType brandId; + Attributes::BrandId::TypeInfo::DecodableType brandId = static_cast(0); Attributes::Model::TypeInfo::DecodableType model; Attributes::PartNumber::TypeInfo::DecodableType partNumber; Attributes::ProductRevision::TypeInfo::DecodableType productRevision; Attributes::SoftwareRevision::TypeInfo::DecodableType softwareRevision; Attributes::ProductTypeName::TypeInfo::DecodableType productTypeName; - Attributes::ProductTypeId::TypeInfo::DecodableType productTypeId; - Attributes::CecedSpecificationVersion::TypeInfo::DecodableType cecedSpecificationVersion; + Attributes::ProductTypeId::TypeInfo::DecodableType productTypeId = static_cast(0); + Attributes::CecedSpecificationVersion::TypeInfo::DecodableType cecedSpecificationVersion = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -36981,8 +37005,8 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::CompanyName::TypeInfo::DecodableType companyName; - Attributes::MeterTypeId::TypeInfo::DecodableType meterTypeId; - Attributes::DataQualityId::TypeInfo::DecodableType dataQualityId; + Attributes::MeterTypeId::TypeInfo::DecodableType meterTypeId = static_cast(0); + Attributes::DataQualityId::TypeInfo::DecodableType dataQualityId = static_cast(0); Attributes::CustomerName::TypeInfo::DecodableType customerName; Attributes::Model::TypeInfo::DecodableType model; Attributes::PartNumber::TypeInfo::DecodableType partNumber; @@ -36990,11 +37014,11 @@ struct TypeInfo Attributes::SoftwareRevision::TypeInfo::DecodableType softwareRevision; Attributes::UtilityName::TypeInfo::DecodableType utilityName; Attributes::Pod::TypeInfo::DecodableType pod; - Attributes::AvailablePower::TypeInfo::DecodableType availablePower; - Attributes::PowerThreshold::TypeInfo::DecodableType powerThreshold; + Attributes::AvailablePower::TypeInfo::DecodableType availablePower = static_cast(0); + Attributes::PowerThreshold::TypeInfo::DecodableType powerThreshold = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -37093,7 +37117,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetAlertsResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceEventsAndAlert::Id; } - chip::BitFlags alertsCount; + chip::BitFlags alertsCount = static_cast>(0); DataModel::List> alertStructures; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -37109,7 +37133,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetAlertsResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceEventsAndAlert::Id; } - chip::BitFlags alertsCount; + chip::BitFlags alertsCount = static_cast>(0); DataModel::DecodableList> alertStructures; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -37128,7 +37152,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::AlertsNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceEventsAndAlert::Id; } - chip::BitFlags alertsCount; + chip::BitFlags alertsCount = static_cast>(0); DataModel::List> alertStructures; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -37144,7 +37168,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::AlertsNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceEventsAndAlert::Id; } - chip::BitFlags alertsCount; + chip::BitFlags alertsCount = static_cast>(0); DataModel::DecodableList> alertStructures; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -37163,8 +37187,8 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::EventsNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceEventsAndAlert::Id; } - uint8_t eventHeader; - EventIdentification eventId; + uint8_t eventHeader = static_cast(0); + EventIdentification eventId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -37179,8 +37203,8 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::EventsNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceEventsAndAlert::Id; } - uint8_t eventHeader; - EventIdentification eventId; + uint8_t eventHeader = static_cast(0); + EventIdentification eventId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace EventsNotification @@ -37234,8 +37258,8 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -37294,9 +37318,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::LogNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceStatistics::Id; } - uint32_t timeStamp; - uint32_t logId; - uint32_t logLength; + uint32_t timeStamp = static_cast(0); + uint32_t logId = static_cast(0); + uint32_t logLength = static_cast(0); DataModel::List logPayload; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -37312,9 +37336,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::LogNotification::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceStatistics::Id; } - uint32_t timeStamp; - uint32_t logId; - uint32_t logLength; + uint32_t timeStamp = static_cast(0); + uint32_t logId = static_cast(0); + uint32_t logLength = static_cast(0); DataModel::DecodableList logPayload; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -37332,7 +37356,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::LogRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceStatistics::Id; } - uint32_t logId; + uint32_t logId = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -37347,7 +37371,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::LogRequest::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceStatistics::Id; } - uint32_t logId; + uint32_t logId = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace LogRequest @@ -37367,9 +37391,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::LogResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceStatistics::Id; } - uint32_t timeStamp; - uint32_t logId; - uint32_t logLength; + uint32_t timeStamp = static_cast(0); + uint32_t logId = static_cast(0); + uint32_t logLength = static_cast(0); DataModel::List logPayload; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -37385,9 +37409,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::LogResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceStatistics::Id; } - uint32_t timeStamp; - uint32_t logId; - uint32_t logLength; + uint32_t timeStamp = static_cast(0); + uint32_t logId = static_cast(0); + uint32_t logLength = static_cast(0); DataModel::DecodableList logPayload; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -37434,7 +37458,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::LogQueueResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceStatistics::Id; } - uint8_t logQueueSize; + uint8_t logQueueSize = static_cast(0); DataModel::List logIds; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -37450,7 +37474,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::LogQueueResponse::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceStatistics::Id; } - uint8_t logQueueSize; + uint8_t logQueueSize = static_cast(0); DataModel::DecodableList logIds; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -37469,7 +37493,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::StatisticsAvailable::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceStatistics::Id; } - uint8_t logQueueSize; + uint8_t logQueueSize = static_cast(0); DataModel::List logIds; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -37485,7 +37509,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::StatisticsAvailable::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ApplianceStatistics::Id; } - uint8_t logQueueSize; + uint8_t logQueueSize = static_cast(0); DataModel::DecodableList logIds; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -37563,11 +37587,11 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::LogMaxSize::TypeInfo::DecodableType logMaxSize; - Attributes::LogQueueMaxSize::TypeInfo::DecodableType logQueueMaxSize; + Attributes::LogMaxSize::TypeInfo::DecodableType logMaxSize = static_cast(0); + Attributes::LogQueueMaxSize::TypeInfo::DecodableType logQueueMaxSize = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes @@ -37616,9 +37640,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetProfileInfoResponseCommand::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ElectricalMeasurement::Id; } - uint8_t profileCount; - uint8_t profileIntervalPeriod; - uint8_t maxNumberOfIntervals; + uint8_t profileCount = static_cast(0); + uint8_t profileIntervalPeriod = static_cast(0); + uint8_t maxNumberOfIntervals = static_cast(0); DataModel::List listOfAttributes; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -37634,9 +37658,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetProfileInfoResponseCommand::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ElectricalMeasurement::Id; } - uint8_t profileCount; - uint8_t profileIntervalPeriod; - uint8_t maxNumberOfIntervals; + uint8_t profileCount = static_cast(0); + uint8_t profileIntervalPeriod = static_cast(0); + uint8_t maxNumberOfIntervals = static_cast(0); DataModel::DecodableList listOfAttributes; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -37687,11 +37711,11 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetMeasurementProfileResponseCommand::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ElectricalMeasurement::Id; } - uint32_t startTime; - uint8_t status; - uint8_t profileIntervalPeriod; - uint8_t numberOfIntervalsDelivered; - uint16_t attributeId; + uint32_t startTime = static_cast(0); + uint8_t status = static_cast(0); + uint8_t profileIntervalPeriod = static_cast(0); + uint8_t numberOfIntervalsDelivered = static_cast(0); + uint16_t attributeId = static_cast(0); DataModel::List intervals; CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -37707,11 +37731,11 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetMeasurementProfileResponseCommand::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ElectricalMeasurement::Id; } - uint32_t startTime; - uint8_t status; - uint8_t profileIntervalPeriod; - uint8_t numberOfIntervalsDelivered; - uint16_t attributeId; + uint32_t startTime = static_cast(0); + uint8_t status = static_cast(0); + uint8_t profileIntervalPeriod = static_cast(0); + uint8_t numberOfIntervalsDelivered = static_cast(0); + uint16_t attributeId = static_cast(0); DataModel::DecodableList intervals; CHIP_ERROR Decode(TLV::TLVReader & reader); }; @@ -37731,9 +37755,9 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::GetMeasurementProfileCommand::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ElectricalMeasurement::Id; } - uint16_t attributeId; - uint32_t startTime; - uint8_t numberOfIntervals; + uint16_t attributeId = static_cast(0); + uint32_t startTime = static_cast(0); + uint8_t numberOfIntervals = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; @@ -37748,9 +37772,9 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::GetMeasurementProfileCommand::Id; } static constexpr ClusterId GetClusterId() { return Clusters::ElectricalMeasurement::Id; } - uint16_t attributeId; - uint32_t startTime; - uint8_t numberOfIntervals; + uint16_t attributeId = static_cast(0); + uint32_t startTime = static_cast(0); + uint8_t numberOfIntervals = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace GetMeasurementProfileCommand @@ -39339,137 +39363,154 @@ struct TypeInfo CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path); - Attributes::MeasurementType::TypeInfo::DecodableType measurementType; - Attributes::DcVoltage::TypeInfo::DecodableType dcVoltage; - Attributes::DcVoltageMin::TypeInfo::DecodableType dcVoltageMin; - Attributes::DcVoltageMax::TypeInfo::DecodableType dcVoltageMax; - Attributes::DcCurrent::TypeInfo::DecodableType dcCurrent; - Attributes::DcCurrentMin::TypeInfo::DecodableType dcCurrentMin; - Attributes::DcCurrentMax::TypeInfo::DecodableType dcCurrentMax; - Attributes::DcPower::TypeInfo::DecodableType dcPower; - Attributes::DcPowerMin::TypeInfo::DecodableType dcPowerMin; - Attributes::DcPowerMax::TypeInfo::DecodableType dcPowerMax; - Attributes::DcVoltageMultiplier::TypeInfo::DecodableType dcVoltageMultiplier; - Attributes::DcVoltageDivisor::TypeInfo::DecodableType dcVoltageDivisor; - Attributes::DcCurrentMultiplier::TypeInfo::DecodableType dcCurrentMultiplier; - Attributes::DcCurrentDivisor::TypeInfo::DecodableType dcCurrentDivisor; - Attributes::DcPowerMultiplier::TypeInfo::DecodableType dcPowerMultiplier; - Attributes::DcPowerDivisor::TypeInfo::DecodableType dcPowerDivisor; - Attributes::AcFrequency::TypeInfo::DecodableType acFrequency; - Attributes::AcFrequencyMin::TypeInfo::DecodableType acFrequencyMin; - Attributes::AcFrequencyMax::TypeInfo::DecodableType acFrequencyMax; - Attributes::NeutralCurrent::TypeInfo::DecodableType neutralCurrent; - Attributes::TotalActivePower::TypeInfo::DecodableType totalActivePower; - Attributes::TotalReactivePower::TypeInfo::DecodableType totalReactivePower; - Attributes::TotalApparentPower::TypeInfo::DecodableType totalApparentPower; - Attributes::Measured1stHarmonicCurrent::TypeInfo::DecodableType measured1stHarmonicCurrent; - Attributes::Measured3rdHarmonicCurrent::TypeInfo::DecodableType measured3rdHarmonicCurrent; - Attributes::Measured5thHarmonicCurrent::TypeInfo::DecodableType measured5thHarmonicCurrent; - Attributes::Measured7thHarmonicCurrent::TypeInfo::DecodableType measured7thHarmonicCurrent; - Attributes::Measured9thHarmonicCurrent::TypeInfo::DecodableType measured9thHarmonicCurrent; - Attributes::Measured11thHarmonicCurrent::TypeInfo::DecodableType measured11thHarmonicCurrent; - Attributes::MeasuredPhase1stHarmonicCurrent::TypeInfo::DecodableType measuredPhase1stHarmonicCurrent; - Attributes::MeasuredPhase3rdHarmonicCurrent::TypeInfo::DecodableType measuredPhase3rdHarmonicCurrent; - Attributes::MeasuredPhase5thHarmonicCurrent::TypeInfo::DecodableType measuredPhase5thHarmonicCurrent; - Attributes::MeasuredPhase7thHarmonicCurrent::TypeInfo::DecodableType measuredPhase7thHarmonicCurrent; - Attributes::MeasuredPhase9thHarmonicCurrent::TypeInfo::DecodableType measuredPhase9thHarmonicCurrent; - Attributes::MeasuredPhase11thHarmonicCurrent::TypeInfo::DecodableType measuredPhase11thHarmonicCurrent; - Attributes::AcFrequencyMultiplier::TypeInfo::DecodableType acFrequencyMultiplier; - Attributes::AcFrequencyDivisor::TypeInfo::DecodableType acFrequencyDivisor; - Attributes::PowerMultiplier::TypeInfo::DecodableType powerMultiplier; - Attributes::PowerDivisor::TypeInfo::DecodableType powerDivisor; - Attributes::HarmonicCurrentMultiplier::TypeInfo::DecodableType harmonicCurrentMultiplier; - Attributes::PhaseHarmonicCurrentMultiplier::TypeInfo::DecodableType phaseHarmonicCurrentMultiplier; - Attributes::InstantaneousVoltage::TypeInfo::DecodableType instantaneousVoltage; - Attributes::InstantaneousLineCurrent::TypeInfo::DecodableType instantaneousLineCurrent; - Attributes::InstantaneousActiveCurrent::TypeInfo::DecodableType instantaneousActiveCurrent; - Attributes::InstantaneousReactiveCurrent::TypeInfo::DecodableType instantaneousReactiveCurrent; - Attributes::InstantaneousPower::TypeInfo::DecodableType instantaneousPower; - Attributes::RmsVoltage::TypeInfo::DecodableType rmsVoltage; - Attributes::RmsVoltageMin::TypeInfo::DecodableType rmsVoltageMin; - Attributes::RmsVoltageMax::TypeInfo::DecodableType rmsVoltageMax; - Attributes::RmsCurrent::TypeInfo::DecodableType rmsCurrent; - Attributes::RmsCurrentMin::TypeInfo::DecodableType rmsCurrentMin; - Attributes::RmsCurrentMax::TypeInfo::DecodableType rmsCurrentMax; - Attributes::ActivePower::TypeInfo::DecodableType activePower; - Attributes::ActivePowerMin::TypeInfo::DecodableType activePowerMin; - Attributes::ActivePowerMax::TypeInfo::DecodableType activePowerMax; - Attributes::ReactivePower::TypeInfo::DecodableType reactivePower; - Attributes::ApparentPower::TypeInfo::DecodableType apparentPower; - Attributes::PowerFactor::TypeInfo::DecodableType powerFactor; - Attributes::AverageRmsVoltageMeasurementPeriod::TypeInfo::DecodableType averageRmsVoltageMeasurementPeriod; - Attributes::AverageRmsUnderVoltageCounter::TypeInfo::DecodableType averageRmsUnderVoltageCounter; - Attributes::RmsExtremeOverVoltagePeriod::TypeInfo::DecodableType rmsExtremeOverVoltagePeriod; - Attributes::RmsExtremeUnderVoltagePeriod::TypeInfo::DecodableType rmsExtremeUnderVoltagePeriod; - Attributes::RmsVoltageSagPeriod::TypeInfo::DecodableType rmsVoltageSagPeriod; - Attributes::RmsVoltageSwellPeriod::TypeInfo::DecodableType rmsVoltageSwellPeriod; - Attributes::AcVoltageMultiplier::TypeInfo::DecodableType acVoltageMultiplier; - Attributes::AcVoltageDivisor::TypeInfo::DecodableType acVoltageDivisor; - Attributes::AcCurrentMultiplier::TypeInfo::DecodableType acCurrentMultiplier; - Attributes::AcCurrentDivisor::TypeInfo::DecodableType acCurrentDivisor; - Attributes::AcPowerMultiplier::TypeInfo::DecodableType acPowerMultiplier; - Attributes::AcPowerDivisor::TypeInfo::DecodableType acPowerDivisor; - Attributes::OverloadAlarmsMask::TypeInfo::DecodableType overloadAlarmsMask; - Attributes::VoltageOverload::TypeInfo::DecodableType voltageOverload; - Attributes::CurrentOverload::TypeInfo::DecodableType currentOverload; - Attributes::AcOverloadAlarmsMask::TypeInfo::DecodableType acOverloadAlarmsMask; - Attributes::AcVoltageOverload::TypeInfo::DecodableType acVoltageOverload; - Attributes::AcCurrentOverload::TypeInfo::DecodableType acCurrentOverload; - Attributes::AcActivePowerOverload::TypeInfo::DecodableType acActivePowerOverload; - Attributes::AcReactivePowerOverload::TypeInfo::DecodableType acReactivePowerOverload; - Attributes::AverageRmsOverVoltage::TypeInfo::DecodableType averageRmsOverVoltage; - Attributes::AverageRmsUnderVoltage::TypeInfo::DecodableType averageRmsUnderVoltage; - Attributes::RmsExtremeOverVoltage::TypeInfo::DecodableType rmsExtremeOverVoltage; - Attributes::RmsExtremeUnderVoltage::TypeInfo::DecodableType rmsExtremeUnderVoltage; - Attributes::RmsVoltageSag::TypeInfo::DecodableType rmsVoltageSag; - Attributes::RmsVoltageSwell::TypeInfo::DecodableType rmsVoltageSwell; - Attributes::LineCurrentPhaseB::TypeInfo::DecodableType lineCurrentPhaseB; - Attributes::ActiveCurrentPhaseB::TypeInfo::DecodableType activeCurrentPhaseB; - Attributes::ReactiveCurrentPhaseB::TypeInfo::DecodableType reactiveCurrentPhaseB; - Attributes::RmsVoltagePhaseB::TypeInfo::DecodableType rmsVoltagePhaseB; - Attributes::RmsVoltageMinPhaseB::TypeInfo::DecodableType rmsVoltageMinPhaseB; - Attributes::RmsVoltageMaxPhaseB::TypeInfo::DecodableType rmsVoltageMaxPhaseB; - Attributes::RmsCurrentPhaseB::TypeInfo::DecodableType rmsCurrentPhaseB; - Attributes::RmsCurrentMinPhaseB::TypeInfo::DecodableType rmsCurrentMinPhaseB; - Attributes::RmsCurrentMaxPhaseB::TypeInfo::DecodableType rmsCurrentMaxPhaseB; - Attributes::ActivePowerPhaseB::TypeInfo::DecodableType activePowerPhaseB; - Attributes::ActivePowerMinPhaseB::TypeInfo::DecodableType activePowerMinPhaseB; - Attributes::ActivePowerMaxPhaseB::TypeInfo::DecodableType activePowerMaxPhaseB; - Attributes::ReactivePowerPhaseB::TypeInfo::DecodableType reactivePowerPhaseB; - Attributes::ApparentPowerPhaseB::TypeInfo::DecodableType apparentPowerPhaseB; - Attributes::PowerFactorPhaseB::TypeInfo::DecodableType powerFactorPhaseB; - Attributes::AverageRmsVoltageMeasurementPeriodPhaseB::TypeInfo::DecodableType averageRmsVoltageMeasurementPeriodPhaseB; - Attributes::AverageRmsOverVoltageCounterPhaseB::TypeInfo::DecodableType averageRmsOverVoltageCounterPhaseB; - Attributes::AverageRmsUnderVoltageCounterPhaseB::TypeInfo::DecodableType averageRmsUnderVoltageCounterPhaseB; - Attributes::RmsExtremeOverVoltagePeriodPhaseB::TypeInfo::DecodableType rmsExtremeOverVoltagePeriodPhaseB; - Attributes::RmsExtremeUnderVoltagePeriodPhaseB::TypeInfo::DecodableType rmsExtremeUnderVoltagePeriodPhaseB; - Attributes::RmsVoltageSagPeriodPhaseB::TypeInfo::DecodableType rmsVoltageSagPeriodPhaseB; - Attributes::RmsVoltageSwellPeriodPhaseB::TypeInfo::DecodableType rmsVoltageSwellPeriodPhaseB; - Attributes::LineCurrentPhaseC::TypeInfo::DecodableType lineCurrentPhaseC; - Attributes::ActiveCurrentPhaseC::TypeInfo::DecodableType activeCurrentPhaseC; - Attributes::ReactiveCurrentPhaseC::TypeInfo::DecodableType reactiveCurrentPhaseC; - Attributes::RmsVoltagePhaseC::TypeInfo::DecodableType rmsVoltagePhaseC; - Attributes::RmsVoltageMinPhaseC::TypeInfo::DecodableType rmsVoltageMinPhaseC; - Attributes::RmsVoltageMaxPhaseC::TypeInfo::DecodableType rmsVoltageMaxPhaseC; - Attributes::RmsCurrentPhaseC::TypeInfo::DecodableType rmsCurrentPhaseC; - Attributes::RmsCurrentMinPhaseC::TypeInfo::DecodableType rmsCurrentMinPhaseC; - Attributes::RmsCurrentMaxPhaseC::TypeInfo::DecodableType rmsCurrentMaxPhaseC; - Attributes::ActivePowerPhaseC::TypeInfo::DecodableType activePowerPhaseC; - Attributes::ActivePowerMinPhaseC::TypeInfo::DecodableType activePowerMinPhaseC; - Attributes::ActivePowerMaxPhaseC::TypeInfo::DecodableType activePowerMaxPhaseC; - Attributes::ReactivePowerPhaseC::TypeInfo::DecodableType reactivePowerPhaseC; - Attributes::ApparentPowerPhaseC::TypeInfo::DecodableType apparentPowerPhaseC; - Attributes::PowerFactorPhaseC::TypeInfo::DecodableType powerFactorPhaseC; - Attributes::AverageRmsVoltageMeasurementPeriodPhaseC::TypeInfo::DecodableType averageRmsVoltageMeasurementPeriodPhaseC; - Attributes::AverageRmsOverVoltageCounterPhaseC::TypeInfo::DecodableType averageRmsOverVoltageCounterPhaseC; - Attributes::AverageRmsUnderVoltageCounterPhaseC::TypeInfo::DecodableType averageRmsUnderVoltageCounterPhaseC; - Attributes::RmsExtremeOverVoltagePeriodPhaseC::TypeInfo::DecodableType rmsExtremeOverVoltagePeriodPhaseC; - Attributes::RmsExtremeUnderVoltagePeriodPhaseC::TypeInfo::DecodableType rmsExtremeUnderVoltagePeriodPhaseC; - Attributes::RmsVoltageSagPeriodPhaseC::TypeInfo::DecodableType rmsVoltageSagPeriodPhaseC; - Attributes::RmsVoltageSwellPeriodPhaseC::TypeInfo::DecodableType rmsVoltageSwellPeriodPhaseC; + Attributes::MeasurementType::TypeInfo::DecodableType measurementType = static_cast(0); + Attributes::DcVoltage::TypeInfo::DecodableType dcVoltage = static_cast(0); + Attributes::DcVoltageMin::TypeInfo::DecodableType dcVoltageMin = static_cast(0); + Attributes::DcVoltageMax::TypeInfo::DecodableType dcVoltageMax = static_cast(0); + Attributes::DcCurrent::TypeInfo::DecodableType dcCurrent = static_cast(0); + Attributes::DcCurrentMin::TypeInfo::DecodableType dcCurrentMin = static_cast(0); + Attributes::DcCurrentMax::TypeInfo::DecodableType dcCurrentMax = static_cast(0); + Attributes::DcPower::TypeInfo::DecodableType dcPower = static_cast(0); + Attributes::DcPowerMin::TypeInfo::DecodableType dcPowerMin = static_cast(0); + Attributes::DcPowerMax::TypeInfo::DecodableType dcPowerMax = static_cast(0); + Attributes::DcVoltageMultiplier::TypeInfo::DecodableType dcVoltageMultiplier = static_cast(0); + Attributes::DcVoltageDivisor::TypeInfo::DecodableType dcVoltageDivisor = static_cast(0); + Attributes::DcCurrentMultiplier::TypeInfo::DecodableType dcCurrentMultiplier = static_cast(0); + Attributes::DcCurrentDivisor::TypeInfo::DecodableType dcCurrentDivisor = static_cast(0); + Attributes::DcPowerMultiplier::TypeInfo::DecodableType dcPowerMultiplier = static_cast(0); + Attributes::DcPowerDivisor::TypeInfo::DecodableType dcPowerDivisor = static_cast(0); + Attributes::AcFrequency::TypeInfo::DecodableType acFrequency = static_cast(0); + Attributes::AcFrequencyMin::TypeInfo::DecodableType acFrequencyMin = static_cast(0); + Attributes::AcFrequencyMax::TypeInfo::DecodableType acFrequencyMax = static_cast(0); + Attributes::NeutralCurrent::TypeInfo::DecodableType neutralCurrent = static_cast(0); + Attributes::TotalActivePower::TypeInfo::DecodableType totalActivePower = static_cast(0); + Attributes::TotalReactivePower::TypeInfo::DecodableType totalReactivePower = static_cast(0); + Attributes::TotalApparentPower::TypeInfo::DecodableType totalApparentPower = static_cast(0); + Attributes::Measured1stHarmonicCurrent::TypeInfo::DecodableType measured1stHarmonicCurrent = static_cast(0); + Attributes::Measured3rdHarmonicCurrent::TypeInfo::DecodableType measured3rdHarmonicCurrent = static_cast(0); + Attributes::Measured5thHarmonicCurrent::TypeInfo::DecodableType measured5thHarmonicCurrent = static_cast(0); + Attributes::Measured7thHarmonicCurrent::TypeInfo::DecodableType measured7thHarmonicCurrent = static_cast(0); + Attributes::Measured9thHarmonicCurrent::TypeInfo::DecodableType measured9thHarmonicCurrent = static_cast(0); + Attributes::Measured11thHarmonicCurrent::TypeInfo::DecodableType measured11thHarmonicCurrent = static_cast(0); + Attributes::MeasuredPhase1stHarmonicCurrent::TypeInfo::DecodableType measuredPhase1stHarmonicCurrent = + static_cast(0); + Attributes::MeasuredPhase3rdHarmonicCurrent::TypeInfo::DecodableType measuredPhase3rdHarmonicCurrent = + static_cast(0); + Attributes::MeasuredPhase5thHarmonicCurrent::TypeInfo::DecodableType measuredPhase5thHarmonicCurrent = + static_cast(0); + Attributes::MeasuredPhase7thHarmonicCurrent::TypeInfo::DecodableType measuredPhase7thHarmonicCurrent = + static_cast(0); + Attributes::MeasuredPhase9thHarmonicCurrent::TypeInfo::DecodableType measuredPhase9thHarmonicCurrent = + static_cast(0); + Attributes::MeasuredPhase11thHarmonicCurrent::TypeInfo::DecodableType measuredPhase11thHarmonicCurrent = + static_cast(0); + Attributes::AcFrequencyMultiplier::TypeInfo::DecodableType acFrequencyMultiplier = static_cast(0); + Attributes::AcFrequencyDivisor::TypeInfo::DecodableType acFrequencyDivisor = static_cast(0); + Attributes::PowerMultiplier::TypeInfo::DecodableType powerMultiplier = static_cast(0); + Attributes::PowerDivisor::TypeInfo::DecodableType powerDivisor = static_cast(0); + Attributes::HarmonicCurrentMultiplier::TypeInfo::DecodableType harmonicCurrentMultiplier = static_cast(0); + Attributes::PhaseHarmonicCurrentMultiplier::TypeInfo::DecodableType phaseHarmonicCurrentMultiplier = static_cast(0); + Attributes::InstantaneousVoltage::TypeInfo::DecodableType instantaneousVoltage = static_cast(0); + Attributes::InstantaneousLineCurrent::TypeInfo::DecodableType instantaneousLineCurrent = static_cast(0); + Attributes::InstantaneousActiveCurrent::TypeInfo::DecodableType instantaneousActiveCurrent = static_cast(0); + Attributes::InstantaneousReactiveCurrent::TypeInfo::DecodableType instantaneousReactiveCurrent = static_cast(0); + Attributes::InstantaneousPower::TypeInfo::DecodableType instantaneousPower = static_cast(0); + Attributes::RmsVoltage::TypeInfo::DecodableType rmsVoltage = static_cast(0); + Attributes::RmsVoltageMin::TypeInfo::DecodableType rmsVoltageMin = static_cast(0); + Attributes::RmsVoltageMax::TypeInfo::DecodableType rmsVoltageMax = static_cast(0); + Attributes::RmsCurrent::TypeInfo::DecodableType rmsCurrent = static_cast(0); + Attributes::RmsCurrentMin::TypeInfo::DecodableType rmsCurrentMin = static_cast(0); + Attributes::RmsCurrentMax::TypeInfo::DecodableType rmsCurrentMax = static_cast(0); + Attributes::ActivePower::TypeInfo::DecodableType activePower = static_cast(0); + Attributes::ActivePowerMin::TypeInfo::DecodableType activePowerMin = static_cast(0); + Attributes::ActivePowerMax::TypeInfo::DecodableType activePowerMax = static_cast(0); + Attributes::ReactivePower::TypeInfo::DecodableType reactivePower = static_cast(0); + Attributes::ApparentPower::TypeInfo::DecodableType apparentPower = static_cast(0); + Attributes::PowerFactor::TypeInfo::DecodableType powerFactor = static_cast(0); + Attributes::AverageRmsVoltageMeasurementPeriod::TypeInfo::DecodableType averageRmsVoltageMeasurementPeriod = + static_cast(0); + Attributes::AverageRmsUnderVoltageCounter::TypeInfo::DecodableType averageRmsUnderVoltageCounter = static_cast(0); + Attributes::RmsExtremeOverVoltagePeriod::TypeInfo::DecodableType rmsExtremeOverVoltagePeriod = static_cast(0); + Attributes::RmsExtremeUnderVoltagePeriod::TypeInfo::DecodableType rmsExtremeUnderVoltagePeriod = static_cast(0); + Attributes::RmsVoltageSagPeriod::TypeInfo::DecodableType rmsVoltageSagPeriod = static_cast(0); + Attributes::RmsVoltageSwellPeriod::TypeInfo::DecodableType rmsVoltageSwellPeriod = static_cast(0); + Attributes::AcVoltageMultiplier::TypeInfo::DecodableType acVoltageMultiplier = static_cast(0); + Attributes::AcVoltageDivisor::TypeInfo::DecodableType acVoltageDivisor = static_cast(0); + Attributes::AcCurrentMultiplier::TypeInfo::DecodableType acCurrentMultiplier = static_cast(0); + Attributes::AcCurrentDivisor::TypeInfo::DecodableType acCurrentDivisor = static_cast(0); + Attributes::AcPowerMultiplier::TypeInfo::DecodableType acPowerMultiplier = static_cast(0); + Attributes::AcPowerDivisor::TypeInfo::DecodableType acPowerDivisor = static_cast(0); + Attributes::OverloadAlarmsMask::TypeInfo::DecodableType overloadAlarmsMask = static_cast(0); + Attributes::VoltageOverload::TypeInfo::DecodableType voltageOverload = static_cast(0); + Attributes::CurrentOverload::TypeInfo::DecodableType currentOverload = static_cast(0); + Attributes::AcOverloadAlarmsMask::TypeInfo::DecodableType acOverloadAlarmsMask = static_cast(0); + Attributes::AcVoltageOverload::TypeInfo::DecodableType acVoltageOverload = static_cast(0); + Attributes::AcCurrentOverload::TypeInfo::DecodableType acCurrentOverload = static_cast(0); + Attributes::AcActivePowerOverload::TypeInfo::DecodableType acActivePowerOverload = static_cast(0); + Attributes::AcReactivePowerOverload::TypeInfo::DecodableType acReactivePowerOverload = static_cast(0); + Attributes::AverageRmsOverVoltage::TypeInfo::DecodableType averageRmsOverVoltage = static_cast(0); + Attributes::AverageRmsUnderVoltage::TypeInfo::DecodableType averageRmsUnderVoltage = static_cast(0); + Attributes::RmsExtremeOverVoltage::TypeInfo::DecodableType rmsExtremeOverVoltage = static_cast(0); + Attributes::RmsExtremeUnderVoltage::TypeInfo::DecodableType rmsExtremeUnderVoltage = static_cast(0); + Attributes::RmsVoltageSag::TypeInfo::DecodableType rmsVoltageSag = static_cast(0); + Attributes::RmsVoltageSwell::TypeInfo::DecodableType rmsVoltageSwell = static_cast(0); + Attributes::LineCurrentPhaseB::TypeInfo::DecodableType lineCurrentPhaseB = static_cast(0); + Attributes::ActiveCurrentPhaseB::TypeInfo::DecodableType activeCurrentPhaseB = static_cast(0); + Attributes::ReactiveCurrentPhaseB::TypeInfo::DecodableType reactiveCurrentPhaseB = static_cast(0); + Attributes::RmsVoltagePhaseB::TypeInfo::DecodableType rmsVoltagePhaseB = static_cast(0); + Attributes::RmsVoltageMinPhaseB::TypeInfo::DecodableType rmsVoltageMinPhaseB = static_cast(0); + Attributes::RmsVoltageMaxPhaseB::TypeInfo::DecodableType rmsVoltageMaxPhaseB = static_cast(0); + Attributes::RmsCurrentPhaseB::TypeInfo::DecodableType rmsCurrentPhaseB = static_cast(0); + Attributes::RmsCurrentMinPhaseB::TypeInfo::DecodableType rmsCurrentMinPhaseB = static_cast(0); + Attributes::RmsCurrentMaxPhaseB::TypeInfo::DecodableType rmsCurrentMaxPhaseB = static_cast(0); + Attributes::ActivePowerPhaseB::TypeInfo::DecodableType activePowerPhaseB = static_cast(0); + Attributes::ActivePowerMinPhaseB::TypeInfo::DecodableType activePowerMinPhaseB = static_cast(0); + Attributes::ActivePowerMaxPhaseB::TypeInfo::DecodableType activePowerMaxPhaseB = static_cast(0); + Attributes::ReactivePowerPhaseB::TypeInfo::DecodableType reactivePowerPhaseB = static_cast(0); + Attributes::ApparentPowerPhaseB::TypeInfo::DecodableType apparentPowerPhaseB = static_cast(0); + Attributes::PowerFactorPhaseB::TypeInfo::DecodableType powerFactorPhaseB = static_cast(0); + Attributes::AverageRmsVoltageMeasurementPeriodPhaseB::TypeInfo::DecodableType averageRmsVoltageMeasurementPeriodPhaseB = + static_cast(0); + Attributes::AverageRmsOverVoltageCounterPhaseB::TypeInfo::DecodableType averageRmsOverVoltageCounterPhaseB = + static_cast(0); + Attributes::AverageRmsUnderVoltageCounterPhaseB::TypeInfo::DecodableType averageRmsUnderVoltageCounterPhaseB = + static_cast(0); + Attributes::RmsExtremeOverVoltagePeriodPhaseB::TypeInfo::DecodableType rmsExtremeOverVoltagePeriodPhaseB = + static_cast(0); + Attributes::RmsExtremeUnderVoltagePeriodPhaseB::TypeInfo::DecodableType rmsExtremeUnderVoltagePeriodPhaseB = + static_cast(0); + Attributes::RmsVoltageSagPeriodPhaseB::TypeInfo::DecodableType rmsVoltageSagPeriodPhaseB = static_cast(0); + Attributes::RmsVoltageSwellPeriodPhaseB::TypeInfo::DecodableType rmsVoltageSwellPeriodPhaseB = static_cast(0); + Attributes::LineCurrentPhaseC::TypeInfo::DecodableType lineCurrentPhaseC = static_cast(0); + Attributes::ActiveCurrentPhaseC::TypeInfo::DecodableType activeCurrentPhaseC = static_cast(0); + Attributes::ReactiveCurrentPhaseC::TypeInfo::DecodableType reactiveCurrentPhaseC = static_cast(0); + Attributes::RmsVoltagePhaseC::TypeInfo::DecodableType rmsVoltagePhaseC = static_cast(0); + Attributes::RmsVoltageMinPhaseC::TypeInfo::DecodableType rmsVoltageMinPhaseC = static_cast(0); + Attributes::RmsVoltageMaxPhaseC::TypeInfo::DecodableType rmsVoltageMaxPhaseC = static_cast(0); + Attributes::RmsCurrentPhaseC::TypeInfo::DecodableType rmsCurrentPhaseC = static_cast(0); + Attributes::RmsCurrentMinPhaseC::TypeInfo::DecodableType rmsCurrentMinPhaseC = static_cast(0); + Attributes::RmsCurrentMaxPhaseC::TypeInfo::DecodableType rmsCurrentMaxPhaseC = static_cast(0); + Attributes::ActivePowerPhaseC::TypeInfo::DecodableType activePowerPhaseC = static_cast(0); + Attributes::ActivePowerMinPhaseC::TypeInfo::DecodableType activePowerMinPhaseC = static_cast(0); + Attributes::ActivePowerMaxPhaseC::TypeInfo::DecodableType activePowerMaxPhaseC = static_cast(0); + Attributes::ReactivePowerPhaseC::TypeInfo::DecodableType reactivePowerPhaseC = static_cast(0); + Attributes::ApparentPowerPhaseC::TypeInfo::DecodableType apparentPowerPhaseC = static_cast(0); + Attributes::PowerFactorPhaseC::TypeInfo::DecodableType powerFactorPhaseC = static_cast(0); + Attributes::AverageRmsVoltageMeasurementPeriodPhaseC::TypeInfo::DecodableType averageRmsVoltageMeasurementPeriodPhaseC = + static_cast(0); + Attributes::AverageRmsOverVoltageCounterPhaseC::TypeInfo::DecodableType averageRmsOverVoltageCounterPhaseC = + static_cast(0); + Attributes::AverageRmsUnderVoltageCounterPhaseC::TypeInfo::DecodableType averageRmsUnderVoltageCounterPhaseC = + static_cast(0); + Attributes::RmsExtremeOverVoltagePeriodPhaseC::TypeInfo::DecodableType rmsExtremeOverVoltagePeriodPhaseC = + static_cast(0); + Attributes::RmsExtremeUnderVoltagePeriodPhaseC::TypeInfo::DecodableType rmsExtremeUnderVoltagePeriodPhaseC = + static_cast(0); + Attributes::RmsVoltageSagPeriodPhaseC::TypeInfo::DecodableType rmsVoltageSagPeriodPhaseC = static_cast(0); + Attributes::RmsVoltageSwellPeriodPhaseC::TypeInfo::DecodableType rmsVoltageSwellPeriodPhaseC = static_cast(0); Attributes::AttributeList::TypeInfo::DecodableType attributeList; - Attributes::FeatureMap::TypeInfo::DecodableType featureMap; - Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision; + Attributes::FeatureMap::TypeInfo::DecodableType featureMap = static_cast(0); + Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast(0); }; }; } // namespace Attributes