From d1c7e85f54f9c924534b245ede51bc4e17c73053 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Mon, 14 Feb 2022 15:50:16 -0500 Subject: [PATCH] Fix name overlaps for lists in chip-tool. (#15119) Before this change, chip-tool's codegen just puts all the list buffers on the stack and they all have to survive until we use them, so they can't be in nested scopes. They are suffixed with a nesting depth, but if you have a list of structs that contain lists, the names for the non-toplevel lists collide with each other. This change switches over to the setup Darwin and Android already use: heap-allocate the lists, hand the buffers to an RAII object higher up on the stack that will free them when we are done, and then we can scope each allocation and filling of a list in its own scope to limit the visibility of the individual lists' names and avoid them colliding with each other. --- .../templates/partials/test_cluster.zapt | 2 + .../partials/test_cluster_command_value.zapt | 15 +- .../chip-tool/templates/tests-commands.zapt | 1 + .../chip-tool/zap-generated/test/Commands.h | 3986 +++++++++++++++-- 4 files changed, 3616 insertions(+), 388 deletions(-) diff --git a/examples/chip-tool/templates/partials/test_cluster.zapt b/examples/chip-tool/templates/partials/test_cluster.zapt index 840b4dcd60b940..e27818e1077cf8 100644 --- a/examples/chip-tool/templates/partials/test_cluster.zapt +++ b/examples/chip-tool/templates/partials/test_cluster.zapt @@ -301,6 +301,7 @@ class {{filename}}: public TestCommand {{#if isCommand}} using RequestType = chip::app::Clusters::{{asUpperCamelCase cluster}}::Commands::{{asUpperCamelCase command}}::Type; + ListFreer listFreer; RequestType request; {{#chip_tests_item_parameters}} {{>commandValue ns=parent.cluster container=(concat "request." (asLowerCamelCase label)) definedValue=definedValue depth=0}} @@ -334,6 +335,7 @@ class {{filename}}: public TestCommand cluster.Associate({{>device}}, endpoint); {{/if}} + ListFreer listFreer; {{#chip_tests_item_parameters}} {{zapTypeToEncodableClusterObjectType type ns=parent.cluster}} {{asLowerCamelCase name}}Argument; {{>commandValue ns=parent.cluster container=(concat (asLowerCamelCase name) "Argument") definedValue=definedValue depth=0}} diff --git a/examples/chip-tool/templates/partials/test_cluster_command_value.zapt b/examples/chip-tool/templates/partials/test_cluster_command_value.zapt index 1dcdea46e9b6a3..809ab075be2668 100644 --- a/examples/chip-tool/templates/partials/test_cluster_command_value.zapt +++ b/examples/chip-tool/templates/partials/test_cluster_command_value.zapt @@ -14,13 +14,14 @@ Similarly, forceNotOptional=true and forceNotNullable=true because we have accounted for those already. }} {{#if definedValue.length}} - {{! This should really do heap-allocation with a function-scope-wide - auto-free setup, so we could guarantee no name collisions. }} - {{zapTypeToEncodableClusterObjectType type ns=ns forceNotList=true forceNotNullable=true forceNotOptional=true}} {{asLowerCamelCase label}}List_{{depth}}[{{definedValue.length}}]; - {{#each definedValue}} - {{>commandValue ns=../ns container=(concat (asLowerCamelCase ../label) "List_" ../depth "[" @index "]") definedValue=. type=../type depth=(incrementDepth ../depth) parent=../parent}} - {{/each}} - {{container}} = {{asLowerCamelCase label}}List_{{depth}}; + { + auto * listHolder_{{depth}} = new ListHolder<{{zapTypeToEncodableClusterObjectType type ns=ns forceNotList=true forceNotNullable=true forceNotOptional=true}}>({{definedValue.length}}); + listFreer.add(listHolder_{{depth}}); + {{#each definedValue}} + {{>commandValue ns=../ns container=(concat "listHolder_" ../depth "->mList[" @index "]") definedValue=. type=../type depth=(incrementDepth ../depth) parent=../parent}} + {{/each}} + {{container}} = chip::app::DataModel::List<{{zapTypeToEncodableClusterObjectType type ns=ns forceNotList=true forceNotNullable=true forceNotOptional=true}}>(listHolder_{{depth}}->mList, {{definedValue.length}}); + } {{else}} {{container}} = chip::app::DataModel::List<{{zapTypeToEncodableClusterObjectType type ns=ns forceNotList=true forceNotNullable=true forceNotOptional=true}}>(); {{/if}} diff --git a/examples/chip-tool/templates/tests-commands.zapt b/examples/chip-tool/templates/tests-commands.zapt index 2de258f9c4b42e..4341e99b1a8b49 100644 --- a/examples/chip-tool/templates/tests-commands.zapt +++ b/examples/chip-tool/templates/tests-commands.zapt @@ -5,6 +5,7 @@ #include #include #include +#include #include #include // For INFINITY diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index f3e9bd8ed6fd79..4b7f6f0345bc80 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -22,6 +22,7 @@ #include #include #include +#include #include #include // For INFINITY @@ -355,6 +356,8 @@ class Test_TC_BI_1_1 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -379,6 +382,8 @@ class Test_TC_BI_1_1 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -402,6 +407,7 @@ class Test_TC_BI_1_1 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t clusterRevisionArgument; clusterRevisionArgument = 1U; @@ -425,6 +431,8 @@ class Test_TC_BI_1_1 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -449,6 +457,8 @@ class Test_TC_BI_1_1 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -697,6 +707,8 @@ class Test_TC_BI_2_1 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -721,6 +733,8 @@ class Test_TC_BI_2_1 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -744,6 +758,7 @@ class Test_TC_BI_2_1 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; bool outOfServiceArgument; outOfServiceArgument = 0; @@ -766,6 +781,8 @@ class Test_TC_BI_2_1 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -790,6 +807,8 @@ class Test_TC_BI_2_1 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -813,6 +832,7 @@ class Test_TC_BI_2_1 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; bool presentValueArgument; presentValueArgument = 0; @@ -835,6 +855,8 @@ class Test_TC_BI_2_1 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); return CHIP_NO_ERROR; @@ -859,6 +881,8 @@ class Test_TC_BI_2_1 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_8, OnFailureCallback_8)); return CHIP_NO_ERROR; @@ -883,6 +907,8 @@ class Test_TC_BI_2_1 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -908,6 +934,7 @@ class Test_TC_BI_2_1 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t statusFlagsArgument; statusFlagsArgument = 0; @@ -931,6 +958,8 @@ class Test_TC_BI_2_1 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_11, OnFailureCallback_11)); return CHIP_NO_ERROR; @@ -1184,6 +1213,8 @@ class Test_TC_BI_2_2 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -1208,6 +1239,8 @@ class Test_TC_BI_2_2 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -1232,6 +1265,8 @@ class Test_TC_BI_2_2 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -1256,6 +1291,8 @@ class Test_TC_BI_2_2 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -1280,6 +1317,8 @@ class Test_TC_BI_2_2 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -1304,6 +1343,8 @@ class Test_TC_BI_2_2 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -1328,6 +1369,8 @@ class Test_TC_BI_2_2 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); return CHIP_NO_ERROR; @@ -1352,6 +1395,8 @@ class Test_TC_BI_2_2 : public TestCommand chip::Controller::BinaryInputBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_8, OnFailureCallback_8)); return CHIP_NO_ERROR; @@ -1522,6 +1567,8 @@ class Test_TC_BOOL_1_1 : public TestCommand chip::Controller::BooleanStateClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -1546,6 +1593,8 @@ class Test_TC_BOOL_1_1 : public TestCommand chip::Controller::BooleanStateClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -1569,6 +1618,7 @@ class Test_TC_BOOL_1_1 : public TestCommand chip::Controller::BooleanStateClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t clusterRevisionArgument; clusterRevisionArgument = 1U; @@ -1592,6 +1642,8 @@ class Test_TC_BOOL_1_1 : public TestCommand chip::Controller::BooleanStateClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -1616,6 +1668,8 @@ class Test_TC_BOOL_1_1 : public TestCommand chip::Controller::BooleanStateClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -1771,6 +1825,8 @@ class Test_TC_BOOL_2_1 : public TestCommand chip::Controller::BooleanStateClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -1795,6 +1851,8 @@ class Test_TC_BOOL_2_1 : public TestCommand chip::Controller::BooleanStateClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -1818,6 +1876,7 @@ class Test_TC_BOOL_2_1 : public TestCommand chip::Controller::BooleanStateClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; bool stateValueArgument; stateValueArgument = 1; @@ -1841,6 +1900,8 @@ class Test_TC_BOOL_2_1 : public TestCommand chip::Controller::BooleanStateClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -1971,6 +2032,8 @@ class Test_TC_BRAC_1_1 : public TestCommand chip::Controller::BridgedActionsClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -1995,6 +2058,8 @@ class Test_TC_BRAC_1_1 : public TestCommand chip::Controller::BridgedActionsClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -2135,6 +2200,8 @@ class Test_TC_CC_1_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -2158,6 +2225,7 @@ class Test_TC_CC_1_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t clusterRevisionArgument; clusterRevisionArgument = 4U; @@ -2181,6 +2249,8 @@ class Test_TC_CC_1_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -4303,6 +4373,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -4327,6 +4399,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -4352,6 +4426,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t currentHueArgument; currentHueArgument = 0; @@ -4375,6 +4450,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -4399,6 +4476,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -4423,6 +4502,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -4448,6 +4529,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t currentSaturationArgument; currentSaturationArgument = 0; @@ -4471,6 +4553,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_8, OnFailureCallback_8)); return CHIP_NO_ERROR; @@ -4495,6 +4579,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -4519,6 +4605,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_10, OnFailureCallback_10)); return CHIP_NO_ERROR; @@ -4544,6 +4632,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t currentXArgument; currentXArgument = 24939U; @@ -4567,6 +4656,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_12, OnFailureCallback_12)); return CHIP_NO_ERROR; @@ -4591,6 +4682,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_13, OnFailureCallback_13)); return CHIP_NO_ERROR; @@ -4615,6 +4708,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_14, OnFailureCallback_14)); return CHIP_NO_ERROR; @@ -4640,6 +4735,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t currentYArgument; currentYArgument = 24701U; @@ -4663,6 +4759,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_16, OnFailureCallback_16)); return CHIP_NO_ERROR; @@ -4687,6 +4785,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_17, OnFailureCallback_17)); return CHIP_NO_ERROR; @@ -4712,6 +4812,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_18, OnFailureCallback_18)); return CHIP_NO_ERROR; @@ -4737,6 +4839,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_19, OnFailureCallback_19)); return CHIP_NO_ERROR; @@ -4761,6 +4865,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_20, OnFailureCallback_20)); return CHIP_NO_ERROR; @@ -4784,6 +4890,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t colorControlOptionsArgument; colorControlOptionsArgument = 0; @@ -4806,6 +4913,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_22, OnFailureCallback_22)); return CHIP_NO_ERROR; @@ -4830,6 +4939,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_23, OnFailureCallback_23)); return CHIP_NO_ERROR; @@ -4854,6 +4965,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_24, OnFailureCallback_24)); return CHIP_NO_ERROR; @@ -4877,6 +4990,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t enhancedCurrentHueArgument; enhancedCurrentHueArgument = 0U; @@ -4900,6 +5014,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_26, OnFailureCallback_26)); return CHIP_NO_ERROR; @@ -4924,6 +5040,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_27, OnFailureCallback_27)); return CHIP_NO_ERROR; @@ -4947,6 +5065,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_28, OnFailureCallback_28)); return CHIP_NO_ERROR; @@ -4971,6 +5091,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_29, OnFailureCallback_29)); return CHIP_NO_ERROR; @@ -4994,6 +5116,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t colorLoopActiveArgument; colorLoopActiveArgument = 0; @@ -5017,6 +5140,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_31, OnFailureCallback_31)); return CHIP_NO_ERROR; @@ -5041,6 +5166,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_32, OnFailureCallback_32)); return CHIP_NO_ERROR; @@ -5065,6 +5192,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_33, OnFailureCallback_33)); return CHIP_NO_ERROR; @@ -5088,6 +5217,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t colorLoopDirectionArgument; colorLoopDirectionArgument = 0; @@ -5111,6 +5241,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_35, OnFailureCallback_35)); return CHIP_NO_ERROR; @@ -5135,6 +5267,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_36, OnFailureCallback_36)); return CHIP_NO_ERROR; @@ -5159,6 +5293,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_37, OnFailureCallback_37)); return CHIP_NO_ERROR; @@ -5182,6 +5318,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t colorLoopTimeArgument; colorLoopTimeArgument = 25U; @@ -5205,6 +5342,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_39, OnFailureCallback_39)); return CHIP_NO_ERROR; @@ -5229,6 +5368,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_40, OnFailureCallback_40)); @@ -5254,6 +5395,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_41, OnFailureCallback_41)); @@ -5278,6 +5421,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t colorLoopStartEnhancedHueArgument; colorLoopStartEnhancedHueArgument = 8960U; @@ -5302,6 +5446,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_43, OnFailureCallback_43)); @@ -5327,6 +5473,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_44, OnFailureCallback_44)); @@ -5352,6 +5500,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_45, OnFailureCallback_45)); @@ -5376,6 +5526,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t colorLoopStoredEnhancedHueArgument; colorLoopStoredEnhancedHueArgument = 0U; @@ -5400,6 +5551,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_47, OnFailureCallback_47)); @@ -5425,6 +5578,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_48, OnFailureCallback_48)); return CHIP_NO_ERROR; @@ -5449,6 +5604,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_49, OnFailureCallback_49)); return CHIP_NO_ERROR; @@ -5474,6 +5631,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t colorCapabilitiesArgument; colorCapabilitiesArgument = 0U; @@ -5497,6 +5655,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_51, OnFailureCallback_51)); return CHIP_NO_ERROR; @@ -5521,6 +5681,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_52, OnFailureCallback_52)); return CHIP_NO_ERROR; @@ -5545,6 +5707,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_53, OnFailureCallback_53)); return CHIP_NO_ERROR; @@ -5570,6 +5734,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t colorTempPhysicalMinArgument; colorTempPhysicalMinArgument = 0U; @@ -5593,6 +5758,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_55, OnFailureCallback_55)); return CHIP_NO_ERROR; @@ -5617,6 +5784,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_56, OnFailureCallback_56)); return CHIP_NO_ERROR; @@ -5641,6 +5810,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_57, OnFailureCallback_57)); return CHIP_NO_ERROR; @@ -5666,6 +5837,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t colorTempPhysicalMaxArgument; colorTempPhysicalMaxArgument = 65279U; @@ -5689,6 +5861,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_59, OnFailureCallback_59)); return CHIP_NO_ERROR; @@ -5713,6 +5887,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_60, OnFailureCallback_60)); @@ -5737,6 +5913,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t coupleColorTempToLevelMinMiredsArgument; coupleColorTempToLevelMinMiredsArgument = 0U; @@ -5761,6 +5938,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_62, OnFailureCallback_62)); @@ -5786,6 +5965,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_63, OnFailureCallback_63)); @@ -5812,6 +5993,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t startUpColorTemperatureMiredsArgument; startUpColorTemperatureMiredsArgument = 0U; @@ -5835,6 +6017,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_65, OnFailureCallback_65)); @@ -5860,6 +6044,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_66, OnFailureCallback_66)); return CHIP_NO_ERROR; @@ -5884,6 +6070,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_67, OnFailureCallback_67)); return CHIP_NO_ERROR; @@ -5909,6 +6097,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t remainingTimeArgument; remainingTimeArgument = 0U; @@ -5932,6 +6121,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_69, OnFailureCallback_69)); return CHIP_NO_ERROR; @@ -5956,6 +6147,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_70, OnFailureCallback_70)); return CHIP_NO_ERROR; @@ -5981,6 +6174,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t driftCompensationArgument; driftCompensationArgument = 0; @@ -6004,6 +6198,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_72, OnFailureCallback_72)); return CHIP_NO_ERROR; @@ -6028,6 +6224,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_73, OnFailureCallback_73)); return CHIP_NO_ERROR; @@ -6052,6 +6250,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::CharSpan compensationTextArgument; compensationTextArgument = chip::Span("garbage: not in length on purpose", 0); @@ -6075,6 +6274,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_75, OnFailureCallback_75)); return CHIP_NO_ERROR; @@ -6099,6 +6300,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_76, OnFailureCallback_76)); return CHIP_NO_ERROR; @@ -6124,6 +6327,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t numberOfPrimariesArgument; numberOfPrimariesArgument = 0; @@ -6147,6 +6351,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_78, OnFailureCallback_78)); return CHIP_NO_ERROR; @@ -6171,6 +6377,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_79, OnFailureCallback_79)); return CHIP_NO_ERROR; @@ -6196,6 +6404,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t primary1XArgument; primary1XArgument = 0U; @@ -6219,6 +6428,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_81, OnFailureCallback_81)); return CHIP_NO_ERROR; @@ -6243,6 +6454,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_82, OnFailureCallback_82)); return CHIP_NO_ERROR; @@ -6268,6 +6481,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t primary1YArgument; primary1YArgument = 0U; @@ -6291,6 +6505,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_84, OnFailureCallback_84)); return CHIP_NO_ERROR; @@ -6315,6 +6531,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_85, OnFailureCallback_85)); return CHIP_NO_ERROR; @@ -6338,6 +6556,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_86, OnFailureCallback_86)); return CHIP_NO_ERROR; @@ -6363,6 +6583,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t primary2XArgument; primary2XArgument = 0U; @@ -6386,6 +6607,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_88, OnFailureCallback_88)); return CHIP_NO_ERROR; @@ -6410,6 +6633,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_89, OnFailureCallback_89)); return CHIP_NO_ERROR; @@ -6435,6 +6660,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t primary2YArgument; primary2YArgument = 0U; @@ -6458,6 +6684,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_91, OnFailureCallback_91)); return CHIP_NO_ERROR; @@ -6482,6 +6710,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_92, OnFailureCallback_92)); return CHIP_NO_ERROR; @@ -6505,6 +6735,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_93, OnFailureCallback_93)); return CHIP_NO_ERROR; @@ -6530,6 +6762,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t primary3XArgument; primary3XArgument = 0U; @@ -6553,6 +6786,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_95, OnFailureCallback_95)); return CHIP_NO_ERROR; @@ -6577,6 +6812,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_96, OnFailureCallback_96)); return CHIP_NO_ERROR; @@ -6602,6 +6839,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t primary3YArgument; primary3YArgument = 0U; @@ -6625,6 +6863,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_98, OnFailureCallback_98)); return CHIP_NO_ERROR; @@ -6649,6 +6889,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_99, OnFailureCallback_99)); return CHIP_NO_ERROR; @@ -6672,6 +6914,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_100, OnFailureCallback_100)); return CHIP_NO_ERROR; @@ -6697,6 +6941,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t primary4XArgument; primary4XArgument = 0U; @@ -6720,6 +6965,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_102, OnFailureCallback_102)); return CHIP_NO_ERROR; @@ -6744,6 +6991,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_103, OnFailureCallback_103)); return CHIP_NO_ERROR; @@ -6769,6 +7018,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t primary4YArgument; primary4YArgument = 0U; @@ -6792,6 +7042,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_105, OnFailureCallback_105)); return CHIP_NO_ERROR; @@ -6816,6 +7068,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_106, OnFailureCallback_106)); return CHIP_NO_ERROR; @@ -6839,6 +7093,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_107, OnFailureCallback_107)); return CHIP_NO_ERROR; @@ -6864,6 +7120,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t primary5XArgument; primary5XArgument = 0U; @@ -6887,6 +7144,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_109, OnFailureCallback_109)); return CHIP_NO_ERROR; @@ -6911,6 +7170,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_110, OnFailureCallback_110)); return CHIP_NO_ERROR; @@ -6936,6 +7197,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t primary5YArgument; primary5YArgument = 0U; @@ -6959,6 +7221,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_112, OnFailureCallback_112)); return CHIP_NO_ERROR; @@ -6983,6 +7247,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_113, OnFailureCallback_113)); return CHIP_NO_ERROR; @@ -7006,6 +7272,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_114, OnFailureCallback_114)); return CHIP_NO_ERROR; @@ -7031,6 +7299,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t primary6XArgument; primary6XArgument = 0U; @@ -7054,6 +7323,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_116, OnFailureCallback_116)); return CHIP_NO_ERROR; @@ -7078,6 +7349,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_117, OnFailureCallback_117)); return CHIP_NO_ERROR; @@ -7103,6 +7376,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t primary6YArgument; primary6YArgument = 0U; @@ -7126,6 +7400,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_119, OnFailureCallback_119)); return CHIP_NO_ERROR; @@ -7150,6 +7426,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_120, OnFailureCallback_120)); return CHIP_NO_ERROR; @@ -7173,6 +7451,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_121, OnFailureCallback_121)); return CHIP_NO_ERROR; @@ -7198,6 +7478,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t whitePointXArgument; whitePointXArgument = 0U; @@ -7220,6 +7501,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_123, OnFailureCallback_123)); return CHIP_NO_ERROR; @@ -7244,6 +7527,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_124, OnFailureCallback_124)); return CHIP_NO_ERROR; @@ -7269,6 +7554,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t whitePointYArgument; whitePointYArgument = 0U; @@ -7291,6 +7577,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_126, OnFailureCallback_126)); return CHIP_NO_ERROR; @@ -7315,6 +7603,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_127, OnFailureCallback_127)); return CHIP_NO_ERROR; @@ -7340,6 +7630,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t colorPointRXArgument; colorPointRXArgument = 0U; @@ -7362,6 +7653,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_129, OnFailureCallback_129)); return CHIP_NO_ERROR; @@ -7386,6 +7679,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_130, OnFailureCallback_130)); return CHIP_NO_ERROR; @@ -7411,6 +7706,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t colorPointRYArgument; colorPointRYArgument = 0U; @@ -7433,6 +7729,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_132, OnFailureCallback_132)); return CHIP_NO_ERROR; @@ -7457,6 +7755,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_133, OnFailureCallback_133)); return CHIP_NO_ERROR; @@ -7480,6 +7780,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t colorPointRIntensityArgument; colorPointRIntensityArgument = 0; @@ -7502,6 +7803,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_135, OnFailureCallback_135)); return CHIP_NO_ERROR; @@ -7526,6 +7829,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_136, OnFailureCallback_136)); return CHIP_NO_ERROR; @@ -7551,6 +7856,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t colorPointGXArgument; colorPointGXArgument = 0U; @@ -7573,6 +7879,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_138, OnFailureCallback_138)); return CHIP_NO_ERROR; @@ -7597,6 +7905,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_139, OnFailureCallback_139)); return CHIP_NO_ERROR; @@ -7622,6 +7932,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t colorPointGYArgument; colorPointGYArgument = 0U; @@ -7644,6 +7955,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_141, OnFailureCallback_141)); return CHIP_NO_ERROR; @@ -7668,6 +7981,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_142, OnFailureCallback_142)); return CHIP_NO_ERROR; @@ -7691,6 +8006,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t colorPointGIntensityArgument; colorPointGIntensityArgument = 0; @@ -7713,6 +8029,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_144, OnFailureCallback_144)); return CHIP_NO_ERROR; @@ -7737,6 +8055,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_145, OnFailureCallback_145)); return CHIP_NO_ERROR; @@ -7762,6 +8082,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t colorPointBXArgument; colorPointBXArgument = 0U; @@ -7784,6 +8105,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_147, OnFailureCallback_147)); return CHIP_NO_ERROR; @@ -7808,6 +8131,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_148, OnFailureCallback_148)); return CHIP_NO_ERROR; @@ -7833,6 +8158,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t colorPointBYArgument; colorPointBYArgument = 0U; @@ -7855,6 +8181,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_150, OnFailureCallback_150)); return CHIP_NO_ERROR; @@ -7879,6 +8207,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_151, OnFailureCallback_151)); return CHIP_NO_ERROR; @@ -7902,6 +8232,7 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t colorPointBIntensityArgument; colorPointBIntensityArgument = 0; @@ -7924,6 +8255,8 @@ class Test_TC_CC_2_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_153, OnFailureCallback_153)); return CHIP_NO_ERROR; @@ -8090,6 +8423,7 @@ class Test_TC_CC_3_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -8118,6 +8452,8 @@ class Test_TC_CC_3_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -8142,6 +8478,8 @@ class Test_TC_CC_3_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -8166,6 +8504,7 @@ class Test_TC_CC_3_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveToHue::Type; + ListFreer listFreer; RequestType request; request.hue = 150; request.direction = static_cast(0); @@ -8198,6 +8537,7 @@ class Test_TC_CC_3_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveToHue::Type; + ListFreer listFreer; RequestType request; request.hue = 200; request.direction = static_cast(1); @@ -8230,6 +8570,7 @@ class Test_TC_CC_3_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveToHue::Type; + ListFreer listFreer; RequestType request; request.hue = 250; request.direction = static_cast(2); @@ -8262,6 +8603,7 @@ class Test_TC_CC_3_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveToHue::Type; + ListFreer listFreer; RequestType request; request.hue = 225; request.direction = static_cast(3); @@ -8294,6 +8636,7 @@ class Test_TC_CC_3_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -8322,6 +8665,8 @@ class Test_TC_CC_3_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -8474,6 +8819,7 @@ class Test_TC_CC_3_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -8502,6 +8848,8 @@ class Test_TC_CC_3_2 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -8525,6 +8873,7 @@ class Test_TC_CC_3_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveHue::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(1); request.rate = 50; @@ -8556,6 +8905,7 @@ class Test_TC_CC_3_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveHue::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(0); request.rate = 50; @@ -8587,6 +8937,7 @@ class Test_TC_CC_3_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveHue::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(3); request.rate = 50; @@ -8618,6 +8969,7 @@ class Test_TC_CC_3_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveHue::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(0); request.rate = 50; @@ -8649,6 +9001,7 @@ class Test_TC_CC_3_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -8677,6 +9030,8 @@ class Test_TC_CC_3_2 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_8, OnFailureCallback_8)); return CHIP_NO_ERROR; @@ -8821,6 +9176,7 @@ class Test_TC_CC_3_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -8849,6 +9205,8 @@ class Test_TC_CC_3_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -8872,6 +9230,7 @@ class Test_TC_CC_3_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::StepHue::Type; + ListFreer listFreer; RequestType request; request.stepMode = static_cast(1); request.stepSize = 5; @@ -8904,6 +9263,7 @@ class Test_TC_CC_3_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::StepHue::Type; + ListFreer listFreer; RequestType request; request.stepMode = static_cast(3); request.stepSize = 5; @@ -8936,6 +9296,7 @@ class Test_TC_CC_3_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -8964,6 +9325,8 @@ class Test_TC_CC_3_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -9104,6 +9467,7 @@ class Test_TC_CC_4_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -9132,6 +9496,8 @@ class Test_TC_CC_4_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -9155,6 +9521,7 @@ class Test_TC_CC_4_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveToSaturation::Type; + ListFreer listFreer; RequestType request; request.saturation = 90; request.transitionTime = 10U; @@ -9186,6 +9553,7 @@ class Test_TC_CC_4_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -9214,6 +9582,8 @@ class Test_TC_CC_4_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -9374,6 +9744,7 @@ class Test_TC_CC_4_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -9402,6 +9773,8 @@ class Test_TC_CC_4_2 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -9425,6 +9798,7 @@ class Test_TC_CC_4_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveSaturation::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(1); request.rate = 5; @@ -9456,6 +9830,7 @@ class Test_TC_CC_4_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveSaturation::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(3); request.rate = 5; @@ -9487,6 +9862,7 @@ class Test_TC_CC_4_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveSaturation::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(1); request.rate = 5; @@ -9518,6 +9894,7 @@ class Test_TC_CC_4_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveSaturation::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(0); request.rate = 5; @@ -9549,6 +9926,7 @@ class Test_TC_CC_4_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveSaturation::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(3); request.rate = 5; @@ -9580,6 +9958,7 @@ class Test_TC_CC_4_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveSaturation::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(0); request.rate = 5; @@ -9611,6 +9990,7 @@ class Test_TC_CC_4_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -9639,6 +10019,8 @@ class Test_TC_CC_4_2 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_10, OnFailureCallback_10)); return CHIP_NO_ERROR; @@ -9783,6 +10165,7 @@ class Test_TC_CC_4_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -9811,6 +10194,8 @@ class Test_TC_CC_4_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -9834,6 +10219,7 @@ class Test_TC_CC_4_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::StepSaturation::Type; + ListFreer listFreer; RequestType request; request.stepMode = static_cast(1); request.stepSize = 15; @@ -9866,6 +10252,7 @@ class Test_TC_CC_4_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::StepSaturation::Type; + ListFreer listFreer; RequestType request; request.stepMode = static_cast(3); request.stepSize = 20; @@ -9898,6 +10285,7 @@ class Test_TC_CC_4_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -9926,6 +10314,8 @@ class Test_TC_CC_4_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -10066,6 +10456,7 @@ class Test_TC_CC_4_4 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -10094,6 +10485,8 @@ class Test_TC_CC_4_4 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -10117,6 +10510,7 @@ class Test_TC_CC_4_4 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveToHueAndSaturation::Type; + ListFreer listFreer; RequestType request; request.hue = 40; request.saturation = 160; @@ -10149,6 +10543,7 @@ class Test_TC_CC_4_4 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -10177,6 +10572,8 @@ class Test_TC_CC_4_4 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -10317,6 +10714,7 @@ class Test_TC_CC_5_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -10345,6 +10743,8 @@ class Test_TC_CC_5_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -10368,6 +10768,7 @@ class Test_TC_CC_5_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveToColor::Type; + ListFreer listFreer; RequestType request; request.colorX = 200U; request.colorY = 300U; @@ -10400,6 +10801,7 @@ class Test_TC_CC_5_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -10428,6 +10830,8 @@ class Test_TC_CC_5_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -10572,6 +10976,7 @@ class Test_TC_CC_5_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -10600,6 +11005,8 @@ class Test_TC_CC_5_2 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -10623,6 +11030,7 @@ class Test_TC_CC_5_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveColor::Type; + ListFreer listFreer; RequestType request; request.rateX = 15; request.rateY = 20; @@ -10654,6 +11062,7 @@ class Test_TC_CC_5_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::StopMoveStep::Type; + ListFreer listFreer; RequestType request; request.optionsMask = 0; request.optionsOverride = 0; @@ -10683,6 +11092,7 @@ class Test_TC_CC_5_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -10711,6 +11121,8 @@ class Test_TC_CC_5_2 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -10851,6 +11263,7 @@ class Test_TC_CC_5_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -10879,6 +11292,8 @@ class Test_TC_CC_5_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -10902,6 +11317,7 @@ class Test_TC_CC_5_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::StepColor::Type; + ListFreer listFreer; RequestType request; request.stepX = 15; request.stepY = 20; @@ -10934,6 +11350,7 @@ class Test_TC_CC_5_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -10962,6 +11379,8 @@ class Test_TC_CC_5_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -11102,6 +11521,7 @@ class Test_TC_CC_6_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -11130,6 +11550,8 @@ class Test_TC_CC_6_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -11153,6 +11575,7 @@ class Test_TC_CC_6_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveToColorTemperature::Type; + ListFreer listFreer; RequestType request; request.colorTemperature = 100U; request.transitionTime = 10U; @@ -11184,6 +11607,7 @@ class Test_TC_CC_6_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -11212,6 +11636,8 @@ class Test_TC_CC_6_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -11386,6 +11812,7 @@ class Test_TC_CC_6_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -11414,6 +11841,8 @@ class Test_TC_CC_6_2 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -11438,6 +11867,8 @@ class Test_TC_CC_6_2 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -11462,6 +11893,7 @@ class Test_TC_CC_6_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveColorTemperature::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(1); request.rate = 10U; @@ -11495,6 +11927,7 @@ class Test_TC_CC_6_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveColorTemperature::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(3); request.rate = 20U; @@ -11528,6 +11961,7 @@ class Test_TC_CC_6_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveColorTemperature::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(1); request.rate = 10U; @@ -11561,6 +11995,7 @@ class Test_TC_CC_6_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveColorTemperature::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(0); request.rate = 10U; @@ -11594,6 +12029,7 @@ class Test_TC_CC_6_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveColorTemperature::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(3); request.rate = 20U; @@ -11627,6 +12063,7 @@ class Test_TC_CC_6_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::MoveColorTemperature::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(0); request.rate = 10U; @@ -11660,6 +12097,7 @@ class Test_TC_CC_6_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -11688,6 +12126,8 @@ class Test_TC_CC_6_2 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_11, OnFailureCallback_11)); return CHIP_NO_ERROR; @@ -11832,6 +12272,7 @@ class Test_TC_CC_6_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -11860,6 +12301,8 @@ class Test_TC_CC_6_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -11883,6 +12326,7 @@ class Test_TC_CC_6_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::StepColorTemperature::Type; + ListFreer listFreer; RequestType request; request.stepMode = static_cast(1); request.stepSize = 5U; @@ -11917,6 +12361,7 @@ class Test_TC_CC_6_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::StepColorTemperature::Type; + ListFreer listFreer; RequestType request; request.stepMode = static_cast(3); request.stepSize = 5U; @@ -11951,6 +12396,7 @@ class Test_TC_CC_6_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -11979,6 +12425,8 @@ class Test_TC_CC_6_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -12135,6 +12583,7 @@ class Test_TC_CC_7_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -12163,6 +12612,8 @@ class Test_TC_CC_7_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -12186,6 +12637,7 @@ class Test_TC_CC_7_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::EnhancedMoveToHue::Type; + ListFreer listFreer; RequestType request; request.enhancedHue = 1025U; request.direction = static_cast(0); @@ -12218,6 +12670,7 @@ class Test_TC_CC_7_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::EnhancedMoveToHue::Type; + ListFreer listFreer; RequestType request; request.enhancedHue = 1100U; request.direction = static_cast(0); @@ -12250,6 +12703,7 @@ class Test_TC_CC_7_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::EnhancedMoveToHue::Type; + ListFreer listFreer; RequestType request; request.enhancedHue = 1150U; request.direction = static_cast(1); @@ -12282,6 +12736,7 @@ class Test_TC_CC_7_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::EnhancedMoveToHue::Type; + ListFreer listFreer; RequestType request; request.enhancedHue = 1200U; request.direction = static_cast(2); @@ -12314,6 +12769,7 @@ class Test_TC_CC_7_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::EnhancedMoveToHue::Type; + ListFreer listFreer; RequestType request; request.enhancedHue = 1300U; request.direction = static_cast(3); @@ -12346,6 +12802,7 @@ class Test_TC_CC_7_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -12374,6 +12831,8 @@ class Test_TC_CC_7_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -12540,6 +12999,7 @@ class Test_TC_CC_7_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -12568,6 +13028,8 @@ class Test_TC_CC_7_2 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -12592,6 +13054,8 @@ class Test_TC_CC_7_2 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -12616,6 +13080,7 @@ class Test_TC_CC_7_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::EnhancedMoveHue::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(1); request.rate = 50U; @@ -12647,6 +13112,7 @@ class Test_TC_CC_7_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::EnhancedMoveHue::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(0); request.rate = 0U; @@ -12678,6 +13144,7 @@ class Test_TC_CC_7_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::EnhancedMoveHue::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(3); request.rate = 5U; @@ -12709,6 +13176,7 @@ class Test_TC_CC_7_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::EnhancedMoveHue::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(0); request.rate = 0U; @@ -12740,6 +13208,7 @@ class Test_TC_CC_7_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -12768,6 +13237,8 @@ class Test_TC_CC_7_2 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -12912,6 +13383,7 @@ class Test_TC_CC_7_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -12940,6 +13412,8 @@ class Test_TC_CC_7_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -12963,6 +13437,7 @@ class Test_TC_CC_7_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::EnhancedStepHue::Type; + ListFreer listFreer; RequestType request; request.stepMode = static_cast(0); request.stepSize = 50U; @@ -12995,6 +13470,7 @@ class Test_TC_CC_7_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::EnhancedStepHue::Type; + ListFreer listFreer; RequestType request; request.stepMode = static_cast(1); request.stepSize = 75U; @@ -13027,6 +13503,7 @@ class Test_TC_CC_7_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -13055,6 +13532,8 @@ class Test_TC_CC_7_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -13195,6 +13674,7 @@ class Test_TC_CC_7_4 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -13223,6 +13703,8 @@ class Test_TC_CC_7_4 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -13246,6 +13728,7 @@ class Test_TC_CC_7_4 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::EnhancedMoveToHueAndSaturation::Type; + ListFreer listFreer; RequestType request; request.enhancedHue = 1200U; request.saturation = 90; @@ -13278,6 +13761,7 @@ class Test_TC_CC_7_4 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -13306,6 +13790,8 @@ class Test_TC_CC_7_4 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -13570,6 +14056,7 @@ class Test_TC_CC_8_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -13598,6 +14085,8 @@ class Test_TC_CC_8_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -13621,6 +14110,7 @@ class Test_TC_CC_8_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(14); request.action = static_cast(0); @@ -13656,6 +14146,8 @@ class Test_TC_CC_8_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -13680,6 +14172,8 @@ class Test_TC_CC_8_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -13704,6 +14198,8 @@ class Test_TC_CC_8_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); @@ -13729,6 +14225,8 @@ class Test_TC_CC_8_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); return CHIP_NO_ERROR; @@ -13752,6 +14250,7 @@ class Test_TC_CC_8_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(1); request.action = static_cast(1); @@ -13787,6 +14286,8 @@ class Test_TC_CC_8_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -13810,6 +14311,7 @@ class Test_TC_CC_8_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(6); request.action = static_cast(0); @@ -13845,6 +14347,8 @@ class Test_TC_CC_8_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_11, OnFailureCallback_11)); return CHIP_NO_ERROR; @@ -13869,6 +14373,8 @@ class Test_TC_CC_8_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_12, OnFailureCallback_12)); return CHIP_NO_ERROR; @@ -13892,6 +14398,7 @@ class Test_TC_CC_8_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(2); request.action = static_cast(0); @@ -13927,6 +14434,8 @@ class Test_TC_CC_8_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_14, OnFailureCallback_14)); return CHIP_NO_ERROR; @@ -13950,6 +14459,7 @@ class Test_TC_CC_8_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -13978,6 +14488,8 @@ class Test_TC_CC_8_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_16, OnFailureCallback_16)); return CHIP_NO_ERROR; @@ -14879,6 +15391,7 @@ class Test_TC_CC_9_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -14907,6 +15420,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -14930,6 +15445,7 @@ class Test_TC_CC_9_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(1); request.action = static_cast(0); @@ -14965,6 +15481,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -14988,6 +15506,7 @@ class Test_TC_CC_9_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(2); request.action = static_cast(0); @@ -15023,6 +15542,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -15046,6 +15567,7 @@ class Test_TC_CC_9_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(4); request.action = static_cast(0); @@ -15081,6 +15603,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_8, OnFailureCallback_8)); return CHIP_NO_ERROR; @@ -15104,6 +15628,7 @@ class Test_TC_CC_9_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(8); request.action = static_cast(0); @@ -15139,6 +15664,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_10, OnFailureCallback_10)); @@ -15163,6 +15690,7 @@ class Test_TC_CC_9_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(1); request.action = static_cast(1); @@ -15198,6 +15726,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_12, OnFailureCallback_12)); return CHIP_NO_ERROR; @@ -15222,6 +15752,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_13, OnFailureCallback_13)); return CHIP_NO_ERROR; @@ -15246,6 +15778,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_14, OnFailureCallback_14)); @@ -15270,6 +15804,7 @@ class Test_TC_CC_9_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(1); request.action = static_cast(0); @@ -15305,6 +15840,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_16, OnFailureCallback_16)); return CHIP_NO_ERROR; @@ -15329,6 +15866,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_17, OnFailureCallback_17)); @@ -15354,6 +15893,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_18, OnFailureCallback_18)); return CHIP_NO_ERROR; @@ -15377,6 +15918,7 @@ class Test_TC_CC_9_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(2); request.action = static_cast(0); @@ -15412,6 +15954,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_20, OnFailureCallback_20)); return CHIP_NO_ERROR; @@ -15435,6 +15979,7 @@ class Test_TC_CC_9_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(1); request.action = static_cast(1); @@ -15470,6 +16015,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_22, OnFailureCallback_22)); return CHIP_NO_ERROR; @@ -15494,6 +16041,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_23, OnFailureCallback_23)); return CHIP_NO_ERROR; @@ -15518,6 +16067,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_24, OnFailureCallback_24)); @@ -15542,6 +16093,7 @@ class Test_TC_CC_9_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(1); request.action = static_cast(0); @@ -15577,6 +16129,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_26, OnFailureCallback_26)); return CHIP_NO_ERROR; @@ -15601,6 +16155,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_27, OnFailureCallback_27)); @@ -15626,6 +16182,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_28, OnFailureCallback_28)); return CHIP_NO_ERROR; @@ -15649,6 +16207,7 @@ class Test_TC_CC_9_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::EnhancedMoveToHue::Type; + ListFreer listFreer; RequestType request; request.enhancedHue = 40960U; request.direction = static_cast(0); @@ -15688,6 +16247,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_31, OnFailureCallback_31)); return CHIP_NO_ERROR; @@ -15711,6 +16272,7 @@ class Test_TC_CC_9_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(2); request.action = static_cast(0); @@ -15746,6 +16308,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_33, OnFailureCallback_33)); return CHIP_NO_ERROR; @@ -15769,6 +16333,7 @@ class Test_TC_CC_9_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(1); request.action = static_cast(2); @@ -15804,6 +16369,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_35, OnFailureCallback_35)); return CHIP_NO_ERROR; @@ -15828,6 +16395,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_36, OnFailureCallback_36)); return CHIP_NO_ERROR; @@ -15852,6 +16421,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_37, OnFailureCallback_37)); @@ -15876,6 +16447,7 @@ class Test_TC_CC_9_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(1); request.action = static_cast(0); @@ -15911,6 +16483,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_39, OnFailureCallback_39)); return CHIP_NO_ERROR; @@ -15935,6 +16509,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_40, OnFailureCallback_40)); @@ -15960,6 +16536,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_41, OnFailureCallback_41)); return CHIP_NO_ERROR; @@ -15983,6 +16561,7 @@ class Test_TC_CC_9_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(2); request.action = static_cast(0); @@ -16018,6 +16597,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_43, OnFailureCallback_43)); return CHIP_NO_ERROR; @@ -16041,6 +16622,7 @@ class Test_TC_CC_9_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(1); request.action = static_cast(2); @@ -16076,6 +16658,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_45, OnFailureCallback_45)); return CHIP_NO_ERROR; @@ -16100,6 +16684,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_46, OnFailureCallback_46)); return CHIP_NO_ERROR; @@ -16124,6 +16710,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_47, OnFailureCallback_47)); @@ -16148,6 +16736,7 @@ class Test_TC_CC_9_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(1); request.action = static_cast(0); @@ -16183,6 +16772,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_49, OnFailureCallback_49)); return CHIP_NO_ERROR; @@ -16207,6 +16798,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_50, OnFailureCallback_50)); @@ -16232,6 +16825,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_51, OnFailureCallback_51)); return CHIP_NO_ERROR; @@ -16255,6 +16850,7 @@ class Test_TC_CC_9_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -16283,6 +16879,8 @@ class Test_TC_CC_9_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_53, OnFailureCallback_53)); return CHIP_NO_ERROR; @@ -16667,6 +17265,7 @@ class Test_TC_CC_9_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -16695,6 +17294,8 @@ class Test_TC_CC_9_2 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -16718,6 +17319,7 @@ class Test_TC_CC_9_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(15); request.action = static_cast(0); @@ -16753,6 +17355,8 @@ class Test_TC_CC_9_2 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -16777,6 +17381,8 @@ class Test_TC_CC_9_2 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -16801,6 +17407,8 @@ class Test_TC_CC_9_2 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -16825,6 +17433,8 @@ class Test_TC_CC_9_2 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); @@ -16849,6 +17459,7 @@ class Test_TC_CC_9_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(1); request.action = static_cast(1); @@ -16884,6 +17495,8 @@ class Test_TC_CC_9_2 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -16908,6 +17521,8 @@ class Test_TC_CC_9_2 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_10, OnFailureCallback_10)); return CHIP_NO_ERROR; @@ -16932,6 +17547,8 @@ class Test_TC_CC_9_2 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_11, OnFailureCallback_11)); @@ -16956,6 +17573,7 @@ class Test_TC_CC_9_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(2); request.action = static_cast(0); @@ -16991,6 +17609,8 @@ class Test_TC_CC_9_2 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_13, OnFailureCallback_13)); return CHIP_NO_ERROR; @@ -17014,6 +17634,7 @@ class Test_TC_CC_9_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(1); request.action = static_cast(0); @@ -17049,6 +17670,8 @@ class Test_TC_CC_9_2 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_15, OnFailureCallback_15)); return CHIP_NO_ERROR; @@ -17073,6 +17696,8 @@ class Test_TC_CC_9_2 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_16, OnFailureCallback_16)); @@ -17098,6 +17723,8 @@ class Test_TC_CC_9_2 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_17, OnFailureCallback_17)); return CHIP_NO_ERROR; @@ -17121,6 +17748,7 @@ class Test_TC_CC_9_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -17149,6 +17777,8 @@ class Test_TC_CC_9_2 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_19, OnFailureCallback_19)); return CHIP_NO_ERROR; @@ -17533,6 +18163,7 @@ class Test_TC_CC_9_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -17561,6 +18192,8 @@ class Test_TC_CC_9_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -17584,6 +18217,7 @@ class Test_TC_CC_9_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(15); request.action = static_cast(0); @@ -17619,6 +18253,8 @@ class Test_TC_CC_9_3 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -17643,6 +18279,8 @@ class Test_TC_CC_9_3 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -17667,6 +18305,8 @@ class Test_TC_CC_9_3 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -17691,6 +18331,8 @@ class Test_TC_CC_9_3 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); @@ -17715,6 +18357,7 @@ class Test_TC_CC_9_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(1); request.action = static_cast(1); @@ -17750,6 +18393,8 @@ class Test_TC_CC_9_3 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -17774,6 +18419,8 @@ class Test_TC_CC_9_3 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_10, OnFailureCallback_10)); return CHIP_NO_ERROR; @@ -17798,6 +18445,8 @@ class Test_TC_CC_9_3 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_11, OnFailureCallback_11)); @@ -17822,6 +18471,7 @@ class Test_TC_CC_9_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(4); request.action = static_cast(0); @@ -17857,6 +18507,8 @@ class Test_TC_CC_9_3 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_13, OnFailureCallback_13)); return CHIP_NO_ERROR; @@ -17880,6 +18532,7 @@ class Test_TC_CC_9_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ColorControl::Commands::ColorLoopSet::Type; + ListFreer listFreer; RequestType request; request.updateFlags = static_cast>(1); request.action = static_cast(0); @@ -17915,6 +18568,8 @@ class Test_TC_CC_9_3 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_15, OnFailureCallback_15)); return CHIP_NO_ERROR; @@ -17939,6 +18594,8 @@ class Test_TC_CC_9_3 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_16, OnFailureCallback_16)); @@ -17964,6 +18621,8 @@ class Test_TC_CC_9_3 : public TestCommand chip::Controller::ColorControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_17, OnFailureCallback_17)); return CHIP_NO_ERROR; @@ -17987,6 +18646,7 @@ class Test_TC_CC_9_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -18015,6 +18675,8 @@ class Test_TC_CC_9_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_19, OnFailureCallback_19)); return CHIP_NO_ERROR; @@ -18392,6 +19054,8 @@ class Test_TC_DM_1_1 : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -18415,6 +19079,8 @@ class Test_TC_DM_1_1 : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -18439,6 +19105,8 @@ class Test_TC_DM_1_1 : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -18462,6 +19130,8 @@ class Test_TC_DM_1_1 : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -18486,6 +19156,8 @@ class Test_TC_DM_1_1 : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -18509,6 +19181,8 @@ class Test_TC_DM_1_1 : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -18533,6 +19207,8 @@ class Test_TC_DM_1_1 : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); return CHIP_NO_ERROR; @@ -18558,6 +19234,8 @@ class Test_TC_DM_1_1 : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_8, OnFailureCallback_8)); return CHIP_NO_ERROR; @@ -18581,6 +19259,8 @@ class Test_TC_DM_1_1 : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -18606,6 +19286,8 @@ class Test_TC_DM_1_1 : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_10, OnFailureCallback_10)); return CHIP_NO_ERROR; @@ -18629,6 +19311,8 @@ class Test_TC_DM_1_1 : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_11, OnFailureCallback_11)); return CHIP_NO_ERROR; @@ -18655,6 +19339,8 @@ class Test_TC_DM_1_1 : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_12, OnFailureCallback_12)); return CHIP_NO_ERROR; @@ -18681,6 +19367,8 @@ class Test_TC_DM_1_1 : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_13, OnFailureCallback_13)); return CHIP_NO_ERROR; @@ -18705,6 +19393,8 @@ class Test_TC_DM_1_1 : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_14, OnFailureCallback_14)); return CHIP_NO_ERROR; @@ -18730,6 +19420,8 @@ class Test_TC_DM_1_1 : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_15, OnFailureCallback_15)); return CHIP_NO_ERROR; @@ -18754,6 +19446,8 @@ class Test_TC_DM_1_1 : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_16, OnFailureCallback_16)); return CHIP_NO_ERROR; @@ -18778,6 +19472,8 @@ class Test_TC_DM_1_1 : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_17, OnFailureCallback_17)); return CHIP_NO_ERROR; @@ -18801,6 +19497,8 @@ class Test_TC_DM_1_1 : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_18, OnFailureCallback_18)); return CHIP_NO_ERROR; @@ -18824,6 +19522,8 @@ class Test_TC_DM_1_1 : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_19, OnFailureCallback_19)); return CHIP_NO_ERROR; @@ -18956,6 +19656,8 @@ class Test_TC_DM_3_1 : public TestCommand chip::Controller::NetworkCommissioningClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -18979,6 +19681,8 @@ class Test_TC_DM_3_1 : public TestCommand chip::Controller::NetworkCommissioningClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -19141,6 +19845,8 @@ class Test_TC_DM_2_2 : public TestCommand chip::Controller::OperationalCredentialsClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -19171,6 +19877,8 @@ class Test_TC_DM_2_2 : public TestCommand chip::Controller::OperationalCredentialsClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); @@ -19196,6 +19904,8 @@ class Test_TC_DM_2_2 : public TestCommand chip::Controller::OperationalCredentialsClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); @@ -19221,6 +19931,8 @@ class Test_TC_DM_2_2 : public TestCommand chip::Controller::OperationalCredentialsClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); @@ -19390,6 +20102,8 @@ class Test_TC_EMR_1_1 : public TestCommand chip::Controller::ElectricalMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); @@ -19415,6 +20129,8 @@ class Test_TC_EMR_1_1 : public TestCommand chip::Controller::ElectricalMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); @@ -19439,6 +20155,7 @@ class Test_TC_EMR_1_1 : public TestCommand chip::Controller::ElectricalMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t clusterRevisionArgument; clusterRevisionArgument = 1U; @@ -19463,6 +20180,8 @@ class Test_TC_EMR_1_1 : public TestCommand chip::Controller::ElectricalMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); @@ -19488,6 +20207,8 @@ class Test_TC_EMR_1_1 : public TestCommand chip::Controller::ElectricalMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -19784,6 +20505,8 @@ class Test_TC_FLW_1_1 : public TestCommand chip::Controller::FlowMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -19807,6 +20530,7 @@ class Test_TC_FLW_1_1 : public TestCommand chip::Controller::FlowMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t clusterRevisionArgument; clusterRevisionArgument = 2U; @@ -19830,6 +20554,8 @@ class Test_TC_FLW_1_1 : public TestCommand chip::Controller::FlowMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -20100,6 +20826,8 @@ class Test_TC_FLW_2_1 : public TestCommand chip::Controller::FlowMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -20123,6 +20851,8 @@ class Test_TC_FLW_2_1 : public TestCommand chip::Controller::FlowMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -20146,6 +20876,8 @@ class Test_TC_FLW_2_1 : public TestCommand chip::Controller::FlowMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -20169,6 +20901,7 @@ class Test_TC_FLW_2_1 : public TestCommand chip::Controller::FlowMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t measuredValueArgument; measuredValueArgument = 0; @@ -20192,6 +20925,7 @@ class Test_TC_FLW_2_1 : public TestCommand chip::Controller::FlowMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t minMeasuredValueArgument; minMeasuredValueArgument = 0; @@ -20215,6 +20949,7 @@ class Test_TC_FLW_2_1 : public TestCommand chip::Controller::FlowMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t maxMeasuredValueArgument; maxMeasuredValueArgument = 0; @@ -20238,6 +20973,8 @@ class Test_TC_FLW_2_1 : public TestCommand chip::Controller::FlowMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); return CHIP_NO_ERROR; @@ -20261,6 +20998,8 @@ class Test_TC_FLW_2_1 : public TestCommand chip::Controller::FlowMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_8, OnFailureCallback_8)); return CHIP_NO_ERROR; @@ -20284,6 +21023,8 @@ class Test_TC_FLW_2_1 : public TestCommand chip::Controller::FlowMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -20307,6 +21048,8 @@ class Test_TC_FLW_2_1 : public TestCommand chip::Controller::FlowMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_10, OnFailureCallback_10)); return CHIP_NO_ERROR; @@ -20331,6 +21074,8 @@ class Test_TC_FLW_2_1 : public TestCommand chip::Controller::FlowMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_11, OnFailureCallback_11)); return CHIP_NO_ERROR; @@ -20356,6 +21101,7 @@ class Test_TC_FLW_2_1 : public TestCommand chip::Controller::FlowMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t toleranceArgument; toleranceArgument = 0U; @@ -20379,6 +21125,8 @@ class Test_TC_FLW_2_1 : public TestCommand chip::Controller::FlowMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_13, OnFailureCallback_13)); return CHIP_NO_ERROR; @@ -20508,6 +21256,8 @@ class Test_TC_FLW_2_2 : public TestCommand chip::Controller::FlowMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -20531,6 +21281,8 @@ class Test_TC_FLW_2_2 : public TestCommand chip::Controller::FlowMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -20699,6 +21451,8 @@ class Test_TC_ILL_1_1 : public TestCommand chip::Controller::IlluminanceMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); @@ -20724,6 +21478,8 @@ class Test_TC_ILL_1_1 : public TestCommand chip::Controller::IlluminanceMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); @@ -20748,6 +21504,7 @@ class Test_TC_ILL_1_1 : public TestCommand chip::Controller::IlluminanceMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t clusterRevisionArgument; clusterRevisionArgument = 1U; @@ -20772,6 +21529,8 @@ class Test_TC_ILL_1_1 : public TestCommand chip::Controller::IlluminanceMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); @@ -20797,6 +21556,8 @@ class Test_TC_ILL_1_1 : public TestCommand chip::Controller::IlluminanceMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); @@ -20991,6 +21752,8 @@ class Test_TC_LVL_1_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -21015,6 +21778,8 @@ class Test_TC_LVL_1_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -21038,6 +21803,7 @@ class Test_TC_LVL_1_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t clusterRevisionArgument; clusterRevisionArgument = 4U; @@ -21061,6 +21827,8 @@ class Test_TC_LVL_1_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -21085,6 +21853,8 @@ class Test_TC_LVL_1_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -21108,6 +21878,8 @@ class Test_TC_LVL_1_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -21131,6 +21903,7 @@ class Test_TC_LVL_1_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint32_t featureMapArgument; featureMapArgument = 0UL; @@ -21420,6 +22193,7 @@ class Test_TC_LVL_2_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::LevelControl::Commands::MoveToLevel::Type; + ListFreer listFreer; RequestType request; request.level = 254; request.transitionTime = 0U; @@ -21458,6 +22232,8 @@ class Test_TC_LVL_2_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -21482,6 +22258,8 @@ class Test_TC_LVL_2_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -21506,6 +22284,8 @@ class Test_TC_LVL_2_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -21530,6 +22310,8 @@ class Test_TC_LVL_2_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -21553,6 +22335,8 @@ class Test_TC_LVL_2_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); return CHIP_NO_ERROR; @@ -21577,6 +22361,8 @@ class Test_TC_LVL_2_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_8, OnFailureCallback_8)); return CHIP_NO_ERROR; @@ -21601,6 +22387,8 @@ class Test_TC_LVL_2_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -21625,6 +22413,8 @@ class Test_TC_LVL_2_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_10, OnFailureCallback_10)); return CHIP_NO_ERROR; @@ -21649,6 +22439,8 @@ class Test_TC_LVL_2_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_11, OnFailureCallback_11)); return CHIP_NO_ERROR; @@ -21672,6 +22464,8 @@ class Test_TC_LVL_2_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_12, OnFailureCallback_12)); return CHIP_NO_ERROR; @@ -21695,6 +22489,8 @@ class Test_TC_LVL_2_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_13, OnFailureCallback_13)); return CHIP_NO_ERROR; @@ -21718,6 +22514,8 @@ class Test_TC_LVL_2_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_14, OnFailureCallback_14)); return CHIP_NO_ERROR; @@ -21741,6 +22539,8 @@ class Test_TC_LVL_2_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_15, OnFailureCallback_15)); return CHIP_NO_ERROR; @@ -22031,6 +22831,8 @@ class Test_TC_LVL_2_2 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -22055,6 +22857,7 @@ class Test_TC_LVL_2_2 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t onOffTransitionTimeArgument; onOffTransitionTimeArgument = 10U; @@ -22077,6 +22880,8 @@ class Test_TC_LVL_2_2 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -22101,6 +22906,7 @@ class Test_TC_LVL_2_2 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t onOffTransitionTimeArgument; onOffTransitionTimeArgument = 0U; @@ -22123,6 +22929,7 @@ class Test_TC_LVL_2_2 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable onLevelArgument; onLevelArgument.SetNonNull(); onLevelArgument.Value() = 254; @@ -22146,6 +22953,8 @@ class Test_TC_LVL_2_2 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -22171,6 +22980,7 @@ class Test_TC_LVL_2_2 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable onTransitionTimeArgument; onTransitionTimeArgument.SetNonNull(); onTransitionTimeArgument.Value() = 100U; @@ -22194,6 +23004,8 @@ class Test_TC_LVL_2_2 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_8, OnFailureCallback_8)); return CHIP_NO_ERROR; @@ -22219,6 +23031,7 @@ class Test_TC_LVL_2_2 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable offTransitionTimeArgument; offTransitionTimeArgument.SetNonNull(); offTransitionTimeArgument.Value() = 100U; @@ -22242,6 +23055,8 @@ class Test_TC_LVL_2_2 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_10, OnFailureCallback_10)); return CHIP_NO_ERROR; @@ -22267,6 +23082,8 @@ class Test_TC_LVL_2_2 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_11, OnFailureCallback_11)); return CHIP_NO_ERROR; @@ -22292,6 +23109,7 @@ class Test_TC_LVL_2_2 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable defaultMoveRateArgument; defaultMoveRateArgument.SetNonNull(); defaultMoveRateArgument.Value() = 100; @@ -22315,6 +23133,8 @@ class Test_TC_LVL_2_2 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_13, OnFailureCallback_13)); return CHIP_NO_ERROR; @@ -22340,6 +23160,7 @@ class Test_TC_LVL_2_2 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable startUpCurrentLevelArgument; startUpCurrentLevelArgument.SetNonNull(); startUpCurrentLevelArgument.Value() = 254; @@ -22363,6 +23184,8 @@ class Test_TC_LVL_2_2 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_15, OnFailureCallback_15)); return CHIP_NO_ERROR; @@ -22595,6 +23418,8 @@ class Test_TC_LVL_3_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -22619,6 +23444,8 @@ class Test_TC_LVL_3_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -22643,6 +23470,8 @@ class Test_TC_LVL_3_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -22666,6 +23495,7 @@ class Test_TC_LVL_3_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::LevelControl::Commands::MoveToLevel::Type; + ListFreer listFreer; RequestType request; request.level = 64; request.transitionTime = 0U; @@ -22704,6 +23534,8 @@ class Test_TC_LVL_3_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -22727,6 +23559,7 @@ class Test_TC_LVL_3_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::LevelControl::Commands::MoveToLevel::Type; + ListFreer listFreer; RequestType request; request.level = 128; request.transitionTime = 1U; @@ -22765,6 +23598,8 @@ class Test_TC_LVL_3_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -22789,6 +23624,8 @@ class Test_TC_LVL_3_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_10, OnFailureCallback_10)); return CHIP_NO_ERROR; @@ -22812,6 +23649,7 @@ class Test_TC_LVL_3_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::LevelControl::Commands::MoveToLevel::Type; + ListFreer listFreer; RequestType request; request.level = 254; request.transitionTime = 65535U; @@ -22850,6 +23688,8 @@ class Test_TC_LVL_3_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_13, OnFailureCallback_13)); return CHIP_NO_ERROR; @@ -22873,6 +23713,7 @@ class Test_TC_LVL_3_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::LevelControl::Commands::MoveToLevel::Type; + ListFreer listFreer; RequestType request; request.level = 254; request.transitionTime = 0U; @@ -23129,6 +23970,8 @@ class Test_TC_LVL_4_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -23153,6 +23996,8 @@ class Test_TC_LVL_4_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -23176,6 +24021,7 @@ class Test_TC_LVL_4_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::LevelControl::Commands::Move::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(0); request.rate = 200; @@ -23214,6 +24060,8 @@ class Test_TC_LVL_4_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -23238,6 +24086,8 @@ class Test_TC_LVL_4_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -23261,6 +24111,7 @@ class Test_TC_LVL_4_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::LevelControl::Commands::Move::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(1); request.rate = 250; @@ -23299,6 +24150,8 @@ class Test_TC_LVL_4_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -23323,6 +24176,7 @@ class Test_TC_LVL_4_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable defaultMoveRateArgument; defaultMoveRateArgument.SetNonNull(); defaultMoveRateArgument.Value() = 20; @@ -23346,6 +24200,8 @@ class Test_TC_LVL_4_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_11, OnFailureCallback_11)); return CHIP_NO_ERROR; @@ -23370,6 +24226,7 @@ class Test_TC_LVL_4_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::LevelControl::Commands::Move::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(0); request.rate = 255; @@ -23408,6 +24265,8 @@ class Test_TC_LVL_4_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_14, OnFailureCallback_14)); return CHIP_NO_ERROR; @@ -23431,6 +24290,7 @@ class Test_TC_LVL_4_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::LevelControl::Commands::MoveToLevel::Type; + ListFreer listFreer; RequestType request; request.level = 254; request.transitionTime = 0U; @@ -23627,6 +24487,7 @@ class Test_TC_LVL_5_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -23654,6 +24515,7 @@ class Test_TC_LVL_5_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::LevelControl::Commands::Step::Type; + ListFreer listFreer; RequestType request; request.stepMode = static_cast(1); request.stepSize = 126; @@ -23693,6 +24555,8 @@ class Test_TC_LVL_5_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -23716,6 +24580,7 @@ class Test_TC_LVL_5_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::LevelControl::Commands::Step::Type; + ListFreer listFreer; RequestType request; request.stepMode = static_cast(1); request.stepSize = 64; @@ -23755,6 +24620,8 @@ class Test_TC_LVL_5_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); return CHIP_NO_ERROR; @@ -23778,6 +24645,7 @@ class Test_TC_LVL_5_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::LevelControl::Commands::Step::Type; + ListFreer listFreer; RequestType request; request.stepMode = static_cast(0); request.stepSize = 64; @@ -23817,6 +24685,8 @@ class Test_TC_LVL_5_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_10, OnFailureCallback_10)); return CHIP_NO_ERROR; @@ -23840,6 +24710,7 @@ class Test_TC_LVL_5_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::LevelControl::Commands::MoveToLevel::Type; + ListFreer listFreer; RequestType request; request.level = 254; request.transitionTime = 0U; @@ -23877,6 +24748,7 @@ class Test_TC_LVL_5_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -24045,6 +24917,7 @@ class Test_TC_LVL_6_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -24072,6 +24945,7 @@ class Test_TC_LVL_6_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::LevelControl::Commands::MoveToLevel::Type; + ListFreer listFreer; RequestType request; request.level = 0; request.transitionTime = 0U; @@ -24110,6 +24984,8 @@ class Test_TC_LVL_6_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -24133,6 +25009,7 @@ class Test_TC_LVL_6_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::LevelControl::Commands::Move::Type; + ListFreer listFreer; RequestType request; request.moveMode = static_cast(0); request.rate = 1; @@ -24170,6 +25047,7 @@ class Test_TC_LVL_6_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::LevelControl::Commands::Stop::Type; + ListFreer listFreer; RequestType request; request.optionMask = 0; request.optionOverride = 0; @@ -24200,6 +25078,8 @@ class Test_TC_LVL_6_1 : public TestCommand chip::Controller::LevelControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_8, OnFailureCallback_8)); return CHIP_NO_ERROR; @@ -24223,6 +25103,7 @@ class Test_TC_LVL_6_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::LevelControl::Commands::MoveToLevel::Type; + ListFreer listFreer; RequestType request; request.level = 254; request.transitionTime = 0U; @@ -24260,6 +25141,7 @@ class Test_TC_LVL_6_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -24433,6 +25315,8 @@ class Test_TC_MC_1_1 : public TestCommand chip::Controller::MediaInputClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -24457,6 +25341,8 @@ class Test_TC_MC_1_1 : public TestCommand chip::Controller::MediaInputClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -24480,6 +25366,7 @@ class Test_TC_MC_1_1 : public TestCommand chip::Controller::MediaInputClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t clusterRevisionArgument; clusterRevisionArgument = 1U; @@ -24503,6 +25390,8 @@ class Test_TC_MC_1_1 : public TestCommand chip::Controller::MediaInputClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -24527,6 +25416,8 @@ class Test_TC_MC_1_1 : public TestCommand chip::Controller::MediaInputClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -24630,6 +25521,7 @@ class Test_TC_MC_2_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::LowPower::Commands::Sleep::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -25598,6 +26490,8 @@ class Test_TC_MC_5_1 : public TestCommand chip::Controller::ChannelClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -25915,6 +26809,8 @@ class Test_TC_MC_6_1 : public TestCommand chip::Controller::MediaPlaybackClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -26082,6 +26978,8 @@ class Test_TC_MC_6_2 : public TestCommand chip::Controller::MediaPlaybackClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -26392,6 +27290,8 @@ class Test_TC_MC_6_4 : public TestCommand chip::Controller::MediaPlaybackClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -26422,6 +27322,8 @@ class Test_TC_MC_6_4 : public TestCommand chip::Controller::MediaPlaybackClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -26458,6 +27360,8 @@ class Test_TC_MC_6_4 : public TestCommand chip::Controller::MediaPlaybackClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); return CHIP_NO_ERROR; @@ -26756,6 +27660,8 @@ class Test_TC_MC_8_1 : public TestCommand chip::Controller::TargetNavigatorClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -26779,6 +27685,8 @@ class Test_TC_MC_8_1 : public TestCommand chip::Controller::TargetNavigatorClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -26975,6 +27883,8 @@ class Test_TC_MC_9_1 : public TestCommand chip::Controller::ApplicationBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -26998,6 +27908,8 @@ class Test_TC_MC_9_1 : public TestCommand chip::Controller::ApplicationBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -27022,6 +27934,8 @@ class Test_TC_MC_9_1 : public TestCommand chip::Controller::ApplicationBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -27046,6 +27960,8 @@ class Test_TC_MC_9_1 : public TestCommand chip::Controller::ApplicationBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -27069,6 +27985,8 @@ class Test_TC_MC_9_1 : public TestCommand chip::Controller::ApplicationBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -27093,6 +28011,8 @@ class Test_TC_MC_9_1 : public TestCommand chip::Controller::ApplicationBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); return CHIP_NO_ERROR; @@ -27234,6 +28154,8 @@ class Test_TC_OCC_1_1 : public TestCommand chip::Controller::OccupancySensingClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -27257,6 +28179,7 @@ class Test_TC_OCC_1_1 : public TestCommand chip::Controller::OccupancySensingClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t clusterRevisionArgument; clusterRevisionArgument = 3U; @@ -27280,6 +28203,8 @@ class Test_TC_OCC_1_1 : public TestCommand chip::Controller::OccupancySensingClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -27501,6 +28426,8 @@ class Test_TC_OCC_2_1 : public TestCommand chip::Controller::OccupancySensingClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -27526,6 +28453,7 @@ class Test_TC_OCC_2_1 : public TestCommand chip::Controller::OccupancySensingClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t occupancyArgument; occupancyArgument = 0; @@ -27549,6 +28477,8 @@ class Test_TC_OCC_2_1 : public TestCommand chip::Controller::OccupancySensingClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -27573,6 +28503,8 @@ class Test_TC_OCC_2_1 : public TestCommand chip::Controller::OccupancySensingClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); @@ -27599,6 +28531,7 @@ class Test_TC_OCC_2_1 : public TestCommand chip::Controller::OccupancySensingClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t occupancySensorTypeArgument; occupancySensorTypeArgument = 0; @@ -27623,6 +28556,8 @@ class Test_TC_OCC_2_1 : public TestCommand chip::Controller::OccupancySensingClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); @@ -27648,6 +28583,8 @@ class Test_TC_OCC_2_1 : public TestCommand chip::Controller::OccupancySensingClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); @@ -27674,6 +28611,7 @@ class Test_TC_OCC_2_1 : public TestCommand chip::Controller::OccupancySensingClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t occupancySensorTypeBitmapArgument; occupancySensorTypeBitmapArgument = 1; @@ -27698,6 +28636,8 @@ class Test_TC_OCC_2_1 : public TestCommand chip::Controller::OccupancySensingClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); @@ -27838,6 +28778,8 @@ class Test_TC_OCC_2_2 : public TestCommand chip::Controller::OccupancySensingClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -27861,6 +28803,8 @@ class Test_TC_OCC_2_2 : public TestCommand chip::Controller::OccupancySensingClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -28082,6 +29026,8 @@ class Test_TC_OO_1_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -28106,6 +29052,8 @@ class Test_TC_OO_1_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -28129,6 +29077,7 @@ class Test_TC_OO_1_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t clusterRevisionArgument; clusterRevisionArgument = 3U; @@ -28152,6 +29101,8 @@ class Test_TC_OO_1_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -28176,6 +29127,8 @@ class Test_TC_OO_1_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -28199,6 +29152,8 @@ class Test_TC_OO_1_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -28223,6 +29178,8 @@ class Test_TC_OO_1_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); return CHIP_NO_ERROR; @@ -28246,6 +29203,7 @@ class Test_TC_OO_1_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint32_t featureMapArgument; featureMapArgument = 0UL; @@ -28269,6 +29227,8 @@ class Test_TC_OO_1_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -28565,6 +29525,8 @@ class Test_TC_OO_2_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -28589,6 +29551,7 @@ class Test_TC_OO_2_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; bool onOffArgument; onOffArgument = 0; @@ -28612,6 +29575,8 @@ class Test_TC_OO_2_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -28636,6 +29601,8 @@ class Test_TC_OO_2_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -28660,6 +29627,8 @@ class Test_TC_OO_2_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -28684,6 +29653,8 @@ class Test_TC_OO_2_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -28708,6 +29679,8 @@ class Test_TC_OO_2_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); return CHIP_NO_ERROR; @@ -28732,6 +29705,7 @@ class Test_TC_OO_2_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; bool globalSceneControlArgument; globalSceneControlArgument = 0; @@ -28755,6 +29729,7 @@ class Test_TC_OO_2_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t onTimeArgument; onTimeArgument = 0U; @@ -28777,6 +29752,7 @@ class Test_TC_OO_2_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t offWaitTimeArgument; offWaitTimeArgument = 0U; @@ -28799,6 +29775,7 @@ class Test_TC_OO_2_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t startUpOnOffArgument; startUpOnOffArgument = 0; @@ -28821,6 +29798,8 @@ class Test_TC_OO_2_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_12, OnFailureCallback_12)); return CHIP_NO_ERROR; @@ -28845,6 +29824,8 @@ class Test_TC_OO_2_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_13, OnFailureCallback_13)); return CHIP_NO_ERROR; @@ -28869,6 +29850,8 @@ class Test_TC_OO_2_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_14, OnFailureCallback_14)); return CHIP_NO_ERROR; @@ -28893,6 +29876,8 @@ class Test_TC_OO_2_1 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_15, OnFailureCallback_15)); return CHIP_NO_ERROR; @@ -29119,6 +30104,7 @@ class Test_TC_OO_2_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -29147,6 +30133,8 @@ class Test_TC_OO_2_2 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -29170,6 +30158,7 @@ class Test_TC_OO_2_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -29198,6 +30187,8 @@ class Test_TC_OO_2_2 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -29221,6 +30212,7 @@ class Test_TC_OO_2_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -29249,6 +30241,8 @@ class Test_TC_OO_2_2 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -29272,6 +30266,7 @@ class Test_TC_OO_2_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Toggle::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -29300,6 +30295,8 @@ class Test_TC_OO_2_2 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_8, OnFailureCallback_8)); return CHIP_NO_ERROR; @@ -29323,6 +30320,7 @@ class Test_TC_OO_2_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Toggle::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -29351,6 +30349,8 @@ class Test_TC_OO_2_2 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_10, OnFailureCallback_10)); return CHIP_NO_ERROR; @@ -29374,6 +30374,7 @@ class Test_TC_OO_2_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -29402,6 +30403,8 @@ class Test_TC_OO_2_2 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_12, OnFailureCallback_12)); return CHIP_NO_ERROR; @@ -29425,6 +30428,7 @@ class Test_TC_OO_2_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -29453,6 +30457,8 @@ class Test_TC_OO_2_2 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_14, OnFailureCallback_14)); return CHIP_NO_ERROR; @@ -30282,6 +31288,7 @@ class Test_TC_OO_2_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -30316,6 +31323,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -30340,6 +31349,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -30363,6 +31374,7 @@ class Test_TC_OO_2_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -30397,6 +31409,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); return CHIP_NO_ERROR; @@ -30421,6 +31435,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_8, OnFailureCallback_8)); return CHIP_NO_ERROR; @@ -30444,6 +31460,7 @@ class Test_TC_OO_2_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -30478,6 +31495,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_11, OnFailureCallback_11)); return CHIP_NO_ERROR; @@ -30502,6 +31521,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_12, OnFailureCallback_12)); return CHIP_NO_ERROR; @@ -30526,6 +31547,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_13, OnFailureCallback_13)); return CHIP_NO_ERROR; @@ -30550,6 +31573,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_14, OnFailureCallback_14)); return CHIP_NO_ERROR; @@ -30573,6 +31598,7 @@ class Test_TC_OO_2_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -30601,6 +31627,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_16, OnFailureCallback_16)); return CHIP_NO_ERROR; @@ -30625,6 +31653,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_17, OnFailureCallback_17)); return CHIP_NO_ERROR; @@ -30649,6 +31679,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_18, OnFailureCallback_18)); return CHIP_NO_ERROR; @@ -30672,6 +31704,7 @@ class Test_TC_OO_2_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -30700,6 +31733,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_20, OnFailureCallback_20)); return CHIP_NO_ERROR; @@ -30724,6 +31759,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_21, OnFailureCallback_21)); return CHIP_NO_ERROR; @@ -30748,6 +31785,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_22, OnFailureCallback_22)); return CHIP_NO_ERROR; @@ -30772,6 +31811,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_23, OnFailureCallback_23)); return CHIP_NO_ERROR; @@ -30796,6 +31837,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_24, OnFailureCallback_24)); return CHIP_NO_ERROR; @@ -30819,6 +31862,7 @@ class Test_TC_OO_2_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -30847,6 +31891,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_26, OnFailureCallback_26)); return CHIP_NO_ERROR; @@ -30871,6 +31917,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_27, OnFailureCallback_27)); return CHIP_NO_ERROR; @@ -30894,6 +31942,7 @@ class Test_TC_OO_2_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -30922,6 +31971,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_29, OnFailureCallback_29)); return CHIP_NO_ERROR; @@ -30946,6 +31997,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_30, OnFailureCallback_30)); return CHIP_NO_ERROR; @@ -30970,6 +32023,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_31, OnFailureCallback_31)); return CHIP_NO_ERROR; @@ -30994,6 +32049,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_32, OnFailureCallback_32)); return CHIP_NO_ERROR; @@ -31017,6 +32074,7 @@ class Test_TC_OO_2_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -31045,6 +32103,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_34, OnFailureCallback_34)); return CHIP_NO_ERROR; @@ -31069,6 +32129,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_35, OnFailureCallback_35)); return CHIP_NO_ERROR; @@ -31093,6 +32155,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_36, OnFailureCallback_36)); return CHIP_NO_ERROR; @@ -31116,6 +32180,7 @@ class Test_TC_OO_2_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -31144,6 +32209,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_38, OnFailureCallback_38)); return CHIP_NO_ERROR; @@ -31168,6 +32235,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_39, OnFailureCallback_39)); return CHIP_NO_ERROR; @@ -31192,6 +32261,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_40, OnFailureCallback_40)); return CHIP_NO_ERROR; @@ -31216,6 +32287,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_41, OnFailureCallback_41)); return CHIP_NO_ERROR; @@ -31240,6 +32313,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_42, OnFailureCallback_42)); return CHIP_NO_ERROR; @@ -31264,6 +32339,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_43, OnFailureCallback_43)); return CHIP_NO_ERROR; @@ -31288,6 +32365,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_44, OnFailureCallback_44)); return CHIP_NO_ERROR; @@ -31312,6 +32391,8 @@ class Test_TC_OO_2_3 : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_45, OnFailureCallback_45)); return CHIP_NO_ERROR; @@ -31335,6 +32416,7 @@ class Test_TC_OO_2_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -31508,6 +32590,8 @@ class Test_TC_PS_1_1 : public TestCommand chip::Controller::PowerSourceClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -31532,6 +32616,8 @@ class Test_TC_PS_1_1 : public TestCommand chip::Controller::PowerSourceClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -31555,6 +32641,7 @@ class Test_TC_PS_1_1 : public TestCommand chip::Controller::PowerSourceClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t clusterRevisionArgument; clusterRevisionArgument = 1U; @@ -31578,6 +32665,8 @@ class Test_TC_PS_1_1 : public TestCommand chip::Controller::PowerSourceClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -31602,6 +32691,8 @@ class Test_TC_PS_1_1 : public TestCommand chip::Controller::PowerSourceClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -31742,6 +32833,8 @@ class Test_TC_PRS_1_1 : public TestCommand chip::Controller::PressureMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -31765,6 +32858,7 @@ class Test_TC_PRS_1_1 : public TestCommand chip::Controller::PressureMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t clusterRevisionArgument; clusterRevisionArgument = 3U; @@ -31789,6 +32883,8 @@ class Test_TC_PRS_1_1 : public TestCommand chip::Controller::PressureMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -32006,6 +33102,8 @@ class Test_TC_PRS_2_1 : public TestCommand chip::Controller::PressureMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -32029,6 +33127,7 @@ class Test_TC_PRS_2_1 : public TestCommand chip::Controller::PressureMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t measuredValueArgument; measuredValueArgument = 0; @@ -32052,6 +33151,8 @@ class Test_TC_PRS_2_1 : public TestCommand chip::Controller::PressureMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -32076,6 +33177,8 @@ class Test_TC_PRS_2_1 : public TestCommand chip::Controller::PressureMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); @@ -32100,6 +33203,7 @@ class Test_TC_PRS_2_1 : public TestCommand chip::Controller::PressureMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t minMeasuredValueArgument; minMeasuredValueArgument = 0; @@ -32124,6 +33228,8 @@ class Test_TC_PRS_2_1 : public TestCommand chip::Controller::PressureMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); @@ -32149,6 +33255,8 @@ class Test_TC_PRS_2_1 : public TestCommand chip::Controller::PressureMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); @@ -32173,6 +33281,7 @@ class Test_TC_PRS_2_1 : public TestCommand chip::Controller::PressureMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t maxMeasuredValueArgument; maxMeasuredValueArgument = 0; @@ -32197,6 +33306,8 @@ class Test_TC_PRS_2_1 : public TestCommand chip::Controller::PressureMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); @@ -32353,6 +33464,8 @@ class Test_TC_PCC_1_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); @@ -32377,6 +33490,7 @@ class Test_TC_PCC_1_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t clusterRevisionArgument; clusterRevisionArgument = 3U; @@ -32401,6 +33515,8 @@ class Test_TC_PCC_1_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); @@ -32425,6 +33541,8 @@ class Test_TC_PCC_1_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); @@ -33209,6 +34327,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); @@ -33233,6 +34353,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); @@ -33257,6 +34379,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -33280,6 +34404,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); @@ -33304,6 +34430,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); @@ -33328,6 +34456,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); @@ -33352,6 +34482,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); @@ -33376,6 +34508,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_8, OnFailureCallback_8)); @@ -33400,6 +34534,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -33423,6 +34559,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_10, OnFailureCallback_10)); @@ -33447,6 +34585,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_11, OnFailureCallback_11)); @@ -33471,6 +34611,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_12, OnFailureCallback_12)); @@ -33495,6 +34637,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_13, OnFailureCallback_13)); @@ -33519,6 +34663,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_14, OnFailureCallback_14)); @@ -33543,6 +34689,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_15, OnFailureCallback_15)); @@ -33567,6 +34715,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_16, OnFailureCallback_16)); @@ -33591,6 +34741,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_17, OnFailureCallback_17)); @@ -33615,6 +34767,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_18, OnFailureCallback_18)); @@ -33639,6 +34793,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_19, OnFailureCallback_19)); @@ -33663,6 +34819,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_20, OnFailureCallback_20)); @@ -33687,6 +34845,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_21, OnFailureCallback_21)); @@ -33712,6 +34872,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_22, OnFailureCallback_22)); @@ -33737,6 +34899,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_23, OnFailureCallback_23)); @@ -33762,6 +34926,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_24, OnFailureCallback_24)); @@ -33786,6 +34952,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_25, OnFailureCallback_25)); return CHIP_NO_ERROR; @@ -33809,6 +34977,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_26, OnFailureCallback_26)); @@ -33835,6 +35005,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_27, OnFailureCallback_27)); @@ -33859,6 +35031,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_28, OnFailureCallback_28)); return CHIP_NO_ERROR; @@ -33882,6 +35056,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_29, OnFailureCallback_29)); @@ -33908,6 +35084,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_30, OnFailureCallback_30)); @@ -33932,6 +35110,7 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable lifetimeEnergyConsumedArgument; lifetimeEnergyConsumedArgument.SetNonNull(); lifetimeEnergyConsumedArgument.Value() = 0UL; @@ -33956,6 +35135,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_32, OnFailureCallback_32)); @@ -33980,6 +35161,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_33, OnFailureCallback_33)); @@ -34004,6 +35187,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_34, OnFailureCallback_34)); @@ -34028,6 +35213,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_35, OnFailureCallback_35)); @@ -34052,6 +35239,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_36, OnFailureCallback_36)); @@ -34076,6 +35265,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_37, OnFailureCallback_37)); @@ -34100,6 +35291,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_38, OnFailureCallback_38)); @@ -34124,6 +35317,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_39, OnFailureCallback_39)); @@ -34148,6 +35343,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_40, OnFailureCallback_40)); @@ -34173,6 +35370,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_41, OnFailureCallback_41)); @@ -34198,6 +35397,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_42, OnFailureCallback_42)); @@ -34223,6 +35424,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_43, OnFailureCallback_43)); @@ -34247,6 +35450,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_44, OnFailureCallback_44)); return CHIP_NO_ERROR; @@ -34270,6 +35475,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_45, OnFailureCallback_45)); @@ -34296,6 +35503,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_46, OnFailureCallback_46)); @@ -34320,6 +35529,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_47, OnFailureCallback_47)); return CHIP_NO_ERROR; @@ -34343,6 +35554,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_48, OnFailureCallback_48)); @@ -34369,6 +35582,8 @@ class Test_TC_PCC_2_1 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_49, OnFailureCallback_49)); @@ -34518,6 +35733,7 @@ class Test_TC_PCC_2_2 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t operationModeArgument; operationModeArgument = 1; @@ -34541,6 +35757,7 @@ class Test_TC_PCC_2_2 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t operationModeArgument; operationModeArgument = 2; @@ -34564,6 +35781,7 @@ class Test_TC_PCC_2_2 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t operationModeArgument; operationModeArgument = 3; @@ -34814,6 +36032,7 @@ class Test_TC_PCC_2_3 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t operationModeArgument; operationModeArgument = 0; @@ -34837,6 +36056,8 @@ class Test_TC_PCC_2_3 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); @@ -34862,6 +36083,7 @@ class Test_TC_PCC_2_3 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t controlModeArgument; controlModeArgument = 0; @@ -34885,6 +36107,8 @@ class Test_TC_PCC_2_3 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); @@ -34910,6 +36134,7 @@ class Test_TC_PCC_2_3 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t controlModeArgument; controlModeArgument = 1; @@ -34933,6 +36158,7 @@ class Test_TC_PCC_2_3 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t controlModeArgument; controlModeArgument = 2; @@ -34956,6 +36182,7 @@ class Test_TC_PCC_2_3 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t controlModeArgument; controlModeArgument = 3; @@ -34979,6 +36206,7 @@ class Test_TC_PCC_2_3 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t controlModeArgument; controlModeArgument = 5; @@ -35002,6 +36230,7 @@ class Test_TC_PCC_2_3 : public TestCommand chip::Controller::PumpConfigurationAndControlClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t controlModeArgument; controlModeArgument = 7; @@ -35142,6 +36371,8 @@ class Test_TC_RH_1_1 : public TestCommand chip::Controller::RelativeHumidityMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); @@ -35166,6 +36397,7 @@ class Test_TC_RH_1_1 : public TestCommand chip::Controller::RelativeHumidityMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t clusterRevisionArgument; clusterRevisionArgument = 1U; @@ -35190,6 +36422,8 @@ class Test_TC_RH_1_1 : public TestCommand chip::Controller::RelativeHumidityMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); @@ -35347,6 +36581,8 @@ class Test_TC_RH_2_1 : public TestCommand chip::Controller::RelativeHumidityMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); @@ -35371,6 +36607,8 @@ class Test_TC_RH_2_1 : public TestCommand chip::Controller::RelativeHumidityMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); @@ -35397,6 +36635,8 @@ class Test_TC_RH_2_1 : public TestCommand chip::Controller::RelativeHumidityMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); @@ -35422,6 +36662,8 @@ class Test_TC_RH_2_1 : public TestCommand chip::Controller::RelativeHumidityMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); @@ -35563,6 +36805,8 @@ class Test_TC_RH_2_2 : public TestCommand chip::Controller::RelativeHumidityMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); @@ -35587,6 +36831,8 @@ class Test_TC_RH_2_2 : public TestCommand chip::Controller::RelativeHumidityMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); @@ -35773,6 +37019,8 @@ class Test_TC_SWTCH_2_1 : public TestCommand chip::Controller::SwitchClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -35797,6 +37045,8 @@ class Test_TC_SWTCH_2_1 : public TestCommand chip::Controller::SwitchClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -35821,6 +37071,8 @@ class Test_TC_SWTCH_2_1 : public TestCommand chip::Controller::SwitchClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -35845,6 +37097,8 @@ class Test_TC_SWTCH_2_1 : public TestCommand chip::Controller::SwitchClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -35869,6 +37123,8 @@ class Test_TC_SWTCH_2_1 : public TestCommand chip::Controller::SwitchClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -35893,6 +37149,8 @@ class Test_TC_SWTCH_2_1 : public TestCommand chip::Controller::SwitchClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -36175,6 +37433,8 @@ class Test_TC_SWTCH_2_2 : public TestCommand chip::Controller::SwitchClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -36217,6 +37477,8 @@ class Test_TC_SWTCH_2_2 : public TestCommand chip::Controller::SwitchClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); return CHIP_NO_ERROR; @@ -36538,6 +37800,8 @@ class Test_TC_TM_1_1 : public TestCommand chip::Controller::TemperatureMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); @@ -36562,6 +37826,7 @@ class Test_TC_TM_1_1 : public TestCommand chip::Controller::TemperatureMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t clusterRevisionArgument; clusterRevisionArgument = 4U; @@ -36586,6 +37851,8 @@ class Test_TC_TM_1_1 : public TestCommand chip::Controller::TemperatureMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); @@ -36715,6 +37982,8 @@ class Test_TC_TM_2_1 : public TestCommand chip::Controller::TemperatureMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); @@ -36739,6 +38008,8 @@ class Test_TC_TM_2_1 : public TestCommand chip::Controller::TemperatureMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -36879,6 +38150,8 @@ class Test_TC_TM_2_2 : public TestCommand chip::Controller::TemperatureMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); @@ -36903,6 +38176,8 @@ class Test_TC_TM_2_2 : public TestCommand chip::Controller::TemperatureMeasurementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); @@ -37059,6 +38334,8 @@ class Test_TC_TSTAT_1_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -37082,6 +38359,7 @@ class Test_TC_TSTAT_1_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t clusterRevisionArgument; clusterRevisionArgument = 5U; @@ -37105,6 +38383,8 @@ class Test_TC_TSTAT_1_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -37128,6 +38408,8 @@ class Test_TC_TSTAT_1_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -38067,6 +39349,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -38090,6 +39374,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -38114,6 +39400,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -38139,6 +39427,7 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t absMinHeatSetpointLimitArgument; absMinHeatSetpointLimitArgument = 700; @@ -38162,6 +39451,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -38186,6 +39477,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -38210,6 +39503,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); return CHIP_NO_ERROR; @@ -38235,6 +39530,7 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t absMaxHeatSetpointLimitArgument; absMaxHeatSetpointLimitArgument = 3000; @@ -38258,6 +39554,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -38282,6 +39580,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_10, OnFailureCallback_10)); return CHIP_NO_ERROR; @@ -38306,6 +39606,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_11, OnFailureCallback_11)); return CHIP_NO_ERROR; @@ -38331,6 +39633,7 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t absMinCoolSetpointLimitArgument; absMinCoolSetpointLimitArgument = 1600; @@ -38354,6 +39657,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_13, OnFailureCallback_13)); return CHIP_NO_ERROR; @@ -38378,6 +39683,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_14, OnFailureCallback_14)); return CHIP_NO_ERROR; @@ -38402,6 +39709,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_15, OnFailureCallback_15)); return CHIP_NO_ERROR; @@ -38427,6 +39736,7 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t absMaxCoolSetpointLimitArgument; absMaxCoolSetpointLimitArgument = 3200; @@ -38450,6 +39760,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_17, OnFailureCallback_17)); return CHIP_NO_ERROR; @@ -38474,6 +39786,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_18, OnFailureCallback_18)); return CHIP_NO_ERROR; @@ -38498,6 +39812,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_19, OnFailureCallback_19)); return CHIP_NO_ERROR; @@ -38523,6 +39839,7 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t occupiedCoolingSetpointArgument; occupiedCoolingSetpointArgument = 2600; @@ -38545,6 +39862,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_21, OnFailureCallback_21)); return CHIP_NO_ERROR; @@ -38569,6 +39888,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_22, OnFailureCallback_22)); return CHIP_NO_ERROR; @@ -38593,6 +39914,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_23, OnFailureCallback_23)); return CHIP_NO_ERROR; @@ -38618,6 +39941,7 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t occupiedHeatingSetpointArgument; occupiedHeatingSetpointArgument = 2000; @@ -38640,6 +39964,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_25, OnFailureCallback_25)); return CHIP_NO_ERROR; @@ -38664,6 +39990,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_26, OnFailureCallback_26)); return CHIP_NO_ERROR; @@ -38688,6 +40016,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_27, OnFailureCallback_27)); return CHIP_NO_ERROR; @@ -38713,6 +40043,7 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t minHeatSetpointLimitArgument; minHeatSetpointLimitArgument = 700; @@ -38735,6 +40066,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_29, OnFailureCallback_29)); return CHIP_NO_ERROR; @@ -38759,6 +40092,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_30, OnFailureCallback_30)); return CHIP_NO_ERROR; @@ -38783,6 +40118,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_31, OnFailureCallback_31)); return CHIP_NO_ERROR; @@ -38808,6 +40145,7 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t maxHeatSetpointLimitArgument; maxHeatSetpointLimitArgument = 3000; @@ -38830,6 +40168,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_33, OnFailureCallback_33)); return CHIP_NO_ERROR; @@ -38854,6 +40194,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_34, OnFailureCallback_34)); return CHIP_NO_ERROR; @@ -38878,6 +40220,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_35, OnFailureCallback_35)); return CHIP_NO_ERROR; @@ -38903,6 +40247,7 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t minCoolSetpointLimitArgument; minCoolSetpointLimitArgument = 1600; @@ -38925,6 +40270,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_37, OnFailureCallback_37)); return CHIP_NO_ERROR; @@ -38949,6 +40296,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_38, OnFailureCallback_38)); return CHIP_NO_ERROR; @@ -38973,6 +40322,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_39, OnFailureCallback_39)); return CHIP_NO_ERROR; @@ -38998,6 +40349,7 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t maxCoolSetpointLimitArgument; maxCoolSetpointLimitArgument = 3200; @@ -39020,6 +40372,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_41, OnFailureCallback_41)); return CHIP_NO_ERROR; @@ -39044,6 +40398,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_42, OnFailureCallback_42)); @@ -39069,6 +40425,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_43, OnFailureCallback_43)); @@ -39095,6 +40453,7 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t controlSequenceOfOperationArgument; controlSequenceOfOperationArgument = 4; @@ -39118,6 +40477,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_45, OnFailureCallback_45)); @@ -39143,6 +40504,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_46, OnFailureCallback_46)); return CHIP_NO_ERROR; @@ -39167,6 +40530,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_47, OnFailureCallback_47)); return CHIP_NO_ERROR; @@ -39192,6 +40557,7 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t systemModeArgument; systemModeArgument = 1; @@ -39214,6 +40580,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_49, OnFailureCallback_49)); return CHIP_NO_ERROR; @@ -39238,6 +40606,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_50, OnFailureCallback_50)); return CHIP_NO_ERROR; @@ -39262,6 +40632,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_51, OnFailureCallback_51)); return CHIP_NO_ERROR; @@ -39287,6 +40659,7 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int8_t minSetpointDeadBandArgument; minSetpointDeadBandArgument = 25; @@ -39309,6 +40682,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_53, OnFailureCallback_53)); return CHIP_NO_ERROR; @@ -39333,6 +40708,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_54, OnFailureCallback_54)); return CHIP_NO_ERROR; @@ -39358,6 +40735,7 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t startOfWeekArgument; startOfWeekArgument = 0; @@ -39381,6 +40759,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_56, OnFailureCallback_56)); return CHIP_NO_ERROR; @@ -39405,6 +40785,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_57, OnFailureCallback_57)); @@ -39429,6 +40811,7 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t numberOfWeeklyTransitionsArgument; numberOfWeeklyTransitionsArgument = 0; @@ -39453,6 +40836,8 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_59, OnFailureCallback_59)); return CHIP_NO_ERROR; @@ -39476,6 +40861,7 @@ class Test_TC_TSTAT_2_1 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t numberOfDailyTransitionsArgument; numberOfDailyTransitionsArgument = 0; @@ -40471,6 +41857,8 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -40497,6 +41885,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t occupiedCoolingSetpointArgument; occupiedCoolingSetpointArgument = 2000; @@ -40519,6 +41908,8 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -40543,6 +41934,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t occupiedCoolingSetpointArgument; occupiedCoolingSetpointArgument = 1600; @@ -40565,6 +41957,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t occupiedCoolingSetpointArgument; occupiedCoolingSetpointArgument = 2600; @@ -40587,6 +41980,8 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -40613,6 +42008,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t occupiedHeatingSetpointArgument; occupiedHeatingSetpointArgument = 2100; @@ -40635,6 +42031,8 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_8, OnFailureCallback_8)); return CHIP_NO_ERROR; @@ -40659,6 +42057,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t occupiedHeatingSetpointArgument; occupiedHeatingSetpointArgument = 700; @@ -40681,6 +42080,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t occupiedHeatingSetpointArgument; occupiedHeatingSetpointArgument = 3000; @@ -40703,6 +42103,8 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_11, OnFailureCallback_11)); return CHIP_NO_ERROR; @@ -40729,6 +42131,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t minHeatSetpointLimitArgument; minHeatSetpointLimitArgument = 2000; @@ -40751,6 +42154,8 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_13, OnFailureCallback_13)); return CHIP_NO_ERROR; @@ -40775,6 +42180,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t minHeatSetpointLimitArgument; minHeatSetpointLimitArgument = 700; @@ -40797,6 +42203,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t minHeatSetpointLimitArgument; minHeatSetpointLimitArgument = 3000; @@ -40819,6 +42226,8 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_16, OnFailureCallback_16)); return CHIP_NO_ERROR; @@ -40845,6 +42254,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t maxHeatSetpointLimitArgument; maxHeatSetpointLimitArgument = 2000; @@ -40867,6 +42277,8 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_18, OnFailureCallback_18)); return CHIP_NO_ERROR; @@ -40891,6 +42303,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t maxHeatSetpointLimitArgument; maxHeatSetpointLimitArgument = 700; @@ -40913,6 +42326,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t maxHeatSetpointLimitArgument; maxHeatSetpointLimitArgument = 3000; @@ -40935,6 +42349,8 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_21, OnFailureCallback_21)); return CHIP_NO_ERROR; @@ -40961,6 +42377,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t minCoolSetpointLimitArgument; minCoolSetpointLimitArgument = 2000; @@ -40983,6 +42400,8 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_23, OnFailureCallback_23)); return CHIP_NO_ERROR; @@ -41007,6 +42426,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t minCoolSetpointLimitArgument; minCoolSetpointLimitArgument = 1600; @@ -41029,6 +42449,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t minCoolSetpointLimitArgument; minCoolSetpointLimitArgument = 3200; @@ -41051,6 +42472,8 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_26, OnFailureCallback_26)); return CHIP_NO_ERROR; @@ -41077,6 +42500,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t maxCoolSetpointLimitArgument; maxCoolSetpointLimitArgument = 2000; @@ -41099,6 +42523,8 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_28, OnFailureCallback_28)); return CHIP_NO_ERROR; @@ -41123,6 +42549,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t maxCoolSetpointLimitArgument; maxCoolSetpointLimitArgument = 1600; @@ -41145,6 +42572,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t maxCoolSetpointLimitArgument; maxCoolSetpointLimitArgument = 3200; @@ -41167,6 +42595,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t minHeatSetpointLimitArgument; minHeatSetpointLimitArgument = 700; @@ -41189,6 +42618,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t minHeatSetpointLimitArgument; minHeatSetpointLimitArgument = 3000; @@ -41211,6 +42641,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t maxHeatSetpointLimitArgument; maxHeatSetpointLimitArgument = 700; @@ -41233,6 +42664,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t maxHeatSetpointLimitArgument; maxHeatSetpointLimitArgument = 3000; @@ -41255,6 +42687,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t minCoolSetpointLimitArgument; minCoolSetpointLimitArgument = 1600; @@ -41277,6 +42710,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t minCoolSetpointLimitArgument; minCoolSetpointLimitArgument = 3200; @@ -41299,6 +42733,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t maxCoolSetpointLimitArgument; maxCoolSetpointLimitArgument = 1600; @@ -41321,6 +42756,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t maxCoolSetpointLimitArgument; maxCoolSetpointLimitArgument = 3200; @@ -41343,6 +42779,8 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_39, OnFailureCallback_39)); @@ -41370,6 +42808,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t controlSequenceOfOperationArgument; controlSequenceOfOperationArgument = 2; @@ -41393,6 +42832,8 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_41, OnFailureCallback_41)); @@ -41418,6 +42859,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t occupiedHeatingSetpointArgument; occupiedHeatingSetpointArgument = 2000; @@ -41440,6 +42882,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t occupiedHeatingSetpointArgument; occupiedHeatingSetpointArgument = 2000; @@ -41462,6 +42905,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t occupiedCoolingSetpointArgument; occupiedCoolingSetpointArgument = 2600; @@ -41484,6 +42928,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t occupiedCoolingSetpointArgument; occupiedCoolingSetpointArgument = 2600; @@ -41506,6 +42951,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t occupiedCoolingSetpointArgument; occupiedCoolingSetpointArgument = 2600; @@ -41528,6 +42974,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t occupiedHeatingSetpointArgument; occupiedHeatingSetpointArgument = 2000; @@ -41550,6 +42997,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t occupiedCoolingSetpointArgument; occupiedCoolingSetpointArgument = 2600; @@ -41572,6 +43020,7 @@ class Test_TC_TSTAT_2_2 : public TestCommand chip::Controller::ThermostatClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t occupiedHeatingSetpointArgument; occupiedHeatingSetpointArgument = 2000; @@ -41712,6 +43161,8 @@ class Test_TC_TSUIC_1_1 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); @@ -41736,6 +43187,7 @@ class Test_TC_TSUIC_1_1 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t clusterRevisionArgument; clusterRevisionArgument = 2U; @@ -41761,6 +43213,8 @@ class Test_TC_TSUIC_1_1 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); @@ -42064,6 +43518,8 @@ class Test_TC_TSUIC_2_1 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute< chip::app::Clusters::ThermostatUserInterfaceConfiguration::Attributes::TemperatureDisplayMode::TypeInfo>( @@ -42090,6 +43546,8 @@ class Test_TC_TSUIC_2_1 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute< chip::app::Clusters::ThermostatUserInterfaceConfiguration::Attributes::TemperatureDisplayMode::TypeInfo>( @@ -42115,6 +43573,7 @@ class Test_TC_TSUIC_2_1 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t temperatureDisplayModeArgument; temperatureDisplayModeArgument = 0; @@ -42139,6 +43598,8 @@ class Test_TC_TSUIC_2_1 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute< chip::app::Clusters::ThermostatUserInterfaceConfiguration::Attributes::TemperatureDisplayMode::TypeInfo>( @@ -42165,6 +43626,8 @@ class Test_TC_TSUIC_2_1 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute< chip::app::Clusters::ThermostatUserInterfaceConfiguration::Attributes::TemperatureDisplayMode::TypeInfo>( @@ -42190,6 +43653,8 @@ class Test_TC_TSUIC_2_1 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); @@ -42215,6 +43680,8 @@ class Test_TC_TSUIC_2_1 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); @@ -42239,6 +43706,7 @@ class Test_TC_TSUIC_2_1 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t keypadLockoutArgument; keypadLockoutArgument = 0; @@ -42262,6 +43730,8 @@ class Test_TC_TSUIC_2_1 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); @@ -42287,6 +43757,8 @@ class Test_TC_TSUIC_2_1 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_10, OnFailureCallback_10)); @@ -42311,6 +43783,8 @@ class Test_TC_TSUIC_2_1 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute< chip::app::Clusters::ThermostatUserInterfaceConfiguration::Attributes::ScheduleProgrammingVisibility::TypeInfo>( @@ -42337,6 +43811,8 @@ class Test_TC_TSUIC_2_1 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute< chip::app::Clusters::ThermostatUserInterfaceConfiguration::Attributes::ScheduleProgrammingVisibility::TypeInfo>( @@ -42362,6 +43838,7 @@ class Test_TC_TSUIC_2_1 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t scheduleProgrammingVisibilityArgument; scheduleProgrammingVisibilityArgument = 0; @@ -42386,6 +43863,8 @@ class Test_TC_TSUIC_2_1 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute< chip::app::Clusters::ThermostatUserInterfaceConfiguration::Attributes::ScheduleProgrammingVisibility::TypeInfo>( @@ -42412,6 +43891,8 @@ class Test_TC_TSUIC_2_1 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute< chip::app::Clusters::ThermostatUserInterfaceConfiguration::Attributes::ScheduleProgrammingVisibility::TypeInfo>( @@ -42677,6 +44158,7 @@ class Test_TC_TSUIC_2_2 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t temperatureDisplayModeArgument; temperatureDisplayModeArgument = 0; @@ -42701,6 +44183,7 @@ class Test_TC_TSUIC_2_2 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t temperatureDisplayModeArgument; temperatureDisplayModeArgument = 1; @@ -42725,6 +44208,7 @@ class Test_TC_TSUIC_2_2 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t keypadLockoutArgument; keypadLockoutArgument = 0; @@ -42748,6 +44232,7 @@ class Test_TC_TSUIC_2_2 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t keypadLockoutArgument; keypadLockoutArgument = 1; @@ -42771,6 +44256,7 @@ class Test_TC_TSUIC_2_2 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t keypadLockoutArgument; keypadLockoutArgument = 2; @@ -42794,6 +44280,7 @@ class Test_TC_TSUIC_2_2 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t keypadLockoutArgument; keypadLockoutArgument = 3; @@ -42817,6 +44304,7 @@ class Test_TC_TSUIC_2_2 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t keypadLockoutArgument; keypadLockoutArgument = 4; @@ -42840,6 +44328,7 @@ class Test_TC_TSUIC_2_2 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t keypadLockoutArgument; keypadLockoutArgument = 5; @@ -42863,6 +44352,7 @@ class Test_TC_TSUIC_2_2 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t scheduleProgrammingVisibilityArgument; scheduleProgrammingVisibilityArgument = 0; @@ -42887,6 +44377,7 @@ class Test_TC_TSUIC_2_2 : public TestCommand chip::Controller::ThermostatUserInterfaceConfigurationClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t scheduleProgrammingVisibilityArgument; scheduleProgrammingVisibilityArgument = 1; @@ -43006,6 +44497,7 @@ class Test_TC_DIAG_TH_NW_1_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 0; using RequestType = chip::app::Clusters::ThreadNetworkDiagnostics::Commands::ResetCounts::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -43034,6 +44526,8 @@ class Test_TC_DIAG_TH_NW_1_1 : public TestCommand chip::Controller::ThreadNetworkDiagnosticsClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); @@ -43154,6 +44648,8 @@ class Test_TC_WIFIDIAG_1_1 : public TestCommand chip::Controller::GeneralDiagnosticsClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); @@ -43430,6 +44926,8 @@ class Test_TC_WNCV_1_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -43455,6 +44953,7 @@ class Test_TC_WNCV_1_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t clusterRevisionArgument; clusterRevisionArgument = 201U; @@ -43478,6 +44977,8 @@ class Test_TC_WNCV_1_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -43503,6 +45004,8 @@ class Test_TC_WNCV_1_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -43526,6 +45029,8 @@ class Test_TC_WNCV_1_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -43551,6 +45056,7 @@ class Test_TC_WNCV_1_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint32_t featureMapArgument; featureMapArgument = 32769UL; @@ -43574,6 +45080,8 @@ class Test_TC_WNCV_1_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); return CHIP_NO_ERROR; @@ -44424,6 +45932,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -44449,6 +45959,7 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t typeArgument; typeArgument = 250; @@ -44472,6 +45983,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -44497,6 +46010,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -44522,6 +46037,7 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t configStatusArgument; configStatusArgument = 128; @@ -44545,6 +46061,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -44570,6 +46088,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); return CHIP_NO_ERROR; @@ -44595,6 +46115,7 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t operationalStatusArgument; operationalStatusArgument = 128; @@ -44618,6 +46139,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -44643,6 +46166,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_10, OnFailureCallback_10)); return CHIP_NO_ERROR; @@ -44668,6 +46193,7 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t endProductTypeArgument; endProductTypeArgument = 250; @@ -44691,6 +46217,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_12, OnFailureCallback_12)); return CHIP_NO_ERROR; @@ -44716,6 +46244,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_13, OnFailureCallback_13)); return CHIP_NO_ERROR; @@ -44741,6 +46271,7 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t modeArgument; modeArgument = 8; @@ -44763,6 +46294,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_15, OnFailureCallback_15)); return CHIP_NO_ERROR; @@ -44787,6 +46320,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_16, OnFailureCallback_16)); @@ -44815,6 +46350,7 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable targetPositionLiftPercent100thsArgument; targetPositionLiftPercent100thsArgument.SetNonNull(); targetPositionLiftPercent100thsArgument.Value() = 20000U; @@ -44840,6 +46376,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_18, OnFailureCallback_18)); @@ -44866,6 +46404,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_19, OnFailureCallback_19)); @@ -44894,6 +46434,7 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable targetPositionTiltPercent100thsArgument; targetPositionTiltPercent100thsArgument.SetNonNull(); targetPositionTiltPercent100thsArgument.Value() = 20000U; @@ -44919,6 +46460,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_21, OnFailureCallback_21)); @@ -44945,6 +46488,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_22, OnFailureCallback_22)); @@ -44973,6 +46518,7 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable currentPositionLiftPercent100thsArgument; currentPositionLiftPercent100thsArgument.SetNonNull(); currentPositionLiftPercent100thsArgument.Value() = 20000U; @@ -44998,6 +46544,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_24, OnFailureCallback_24)); @@ -45024,6 +46572,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_25, OnFailureCallback_25)); @@ -45052,6 +46602,7 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable currentPositionTiltPercent100thsArgument; currentPositionTiltPercent100thsArgument.SetNonNull(); currentPositionTiltPercent100thsArgument.Value() = 20000U; @@ -45077,6 +46628,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_27, OnFailureCallback_27)); @@ -45103,6 +46656,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_28, OnFailureCallback_28)); @@ -45129,6 +46684,7 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t installedOpenLimitLiftArgument; installedOpenLimitLiftArgument = 255U; @@ -45153,6 +46709,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_30, OnFailureCallback_30)); @@ -45179,6 +46737,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_31, OnFailureCallback_31)); @@ -45205,6 +46765,7 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t installedClosedLimitLiftArgument; installedClosedLimitLiftArgument = 255U; @@ -45229,6 +46790,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_33, OnFailureCallback_33)); @@ -45255,6 +46818,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_34, OnFailureCallback_34)); @@ -45281,6 +46846,7 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t installedOpenLimitTiltArgument; installedOpenLimitTiltArgument = 255U; @@ -45305,6 +46871,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_36, OnFailureCallback_36)); @@ -45331,6 +46899,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_37, OnFailureCallback_37)); @@ -45357,6 +46927,7 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t installedClosedLimitTiltArgument; installedClosedLimitTiltArgument = 255U; @@ -45381,6 +46952,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_39, OnFailureCallback_39)); @@ -45407,6 +46980,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_40, OnFailureCallback_40)); return CHIP_NO_ERROR; @@ -45432,6 +47007,7 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t safetyStatusArgument; safetyStatusArgument = 4096U; @@ -45455,6 +47031,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_42, OnFailureCallback_42)); return CHIP_NO_ERROR; @@ -45480,6 +47058,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_43, OnFailureCallback_43)); return CHIP_NO_ERROR; @@ -45505,6 +47085,7 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable currentPositionLiftArgument; currentPositionLiftArgument.SetNonNull(); currentPositionLiftArgument.Value() = 255U; @@ -45529,6 +47110,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_45, OnFailureCallback_45)); return CHIP_NO_ERROR; @@ -45554,6 +47137,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_46, OnFailureCallback_46)); return CHIP_NO_ERROR; @@ -45579,6 +47164,7 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable currentPositionTiltArgument; currentPositionTiltArgument.SetNonNull(); currentPositionTiltArgument.Value() = 255U; @@ -45603,6 +47189,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_48, OnFailureCallback_48)); return CHIP_NO_ERROR; @@ -45628,6 +47216,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_49, OnFailureCallback_49)); @@ -45654,6 +47244,7 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable currentPositionLiftPercentageArgument; currentPositionLiftPercentageArgument.SetNonNull(); currentPositionLiftPercentageArgument.Value() = 200; @@ -45679,6 +47270,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_51, OnFailureCallback_51)); @@ -45705,6 +47298,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_52, OnFailureCallback_52)); @@ -45731,6 +47326,7 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable currentPositionTiltPercentageArgument; currentPositionTiltPercentageArgument.SetNonNull(); currentPositionTiltPercentageArgument.Value() = 200; @@ -45756,6 +47352,8 @@ class Test_TC_WNCV_2_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_54, OnFailureCallback_54)); @@ -45976,6 +47574,8 @@ class Test_TC_WNCV_2_4 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -46000,6 +47600,8 @@ class Test_TC_WNCV_2_4 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -46141,6 +47743,8 @@ class Test_TC_WNCV_2_5 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -46165,6 +47769,8 @@ class Test_TC_WNCV_2_5 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -46611,6 +48217,7 @@ class Test_TC_WNCV_3_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::WindowCovering::Commands::DownOrClose::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -46645,6 +48252,8 @@ class Test_TC_WNCV_3_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); @@ -46673,6 +48282,8 @@ class Test_TC_WNCV_3_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); @@ -46699,6 +48310,8 @@ class Test_TC_WNCV_3_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); @@ -46727,6 +48340,8 @@ class Test_TC_WNCV_3_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); @@ -46753,6 +48368,8 @@ class Test_TC_WNCV_3_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + mTest_Test_TC_WNCV_3_1_OperationalStatus_Reported = OnSuccessCallback_7; return WaitForMs(0); } @@ -46776,6 +48393,7 @@ class Test_TC_WNCV_3_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t minIntervalArgument; minIntervalArgument = 4U; uint16_t maxIntervalArgument; @@ -46815,6 +48433,7 @@ class Test_TC_WNCV_3_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::WindowCovering::Commands::UpOrOpen::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -46849,6 +48468,8 @@ class Test_TC_WNCV_3_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_11, OnFailureCallback_11)); @@ -46881,6 +48502,8 @@ class Test_TC_WNCV_3_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + mTest_Test_TC_WNCV_3_1_OperationalStatus_Reported = OnSuccessCallback_13; return CHIP_NO_ERROR; } @@ -46913,6 +48536,8 @@ class Test_TC_WNCV_3_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_15, OnFailureCallback_15)); @@ -46941,6 +48566,8 @@ class Test_TC_WNCV_3_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_16, OnFailureCallback_16)); @@ -46967,6 +48594,8 @@ class Test_TC_WNCV_3_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_17, OnFailureCallback_17)); @@ -46995,6 +48624,8 @@ class Test_TC_WNCV_3_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_18, OnFailureCallback_18)); @@ -47020,6 +48651,7 @@ class Test_TC_WNCV_3_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::WindowCovering::Commands::StopMotion::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -47054,6 +48686,8 @@ class Test_TC_WNCV_3_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_21, OnFailureCallback_21)); return CHIP_NO_ERROR; @@ -47084,6 +48718,8 @@ class Test_TC_WNCV_3_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_23, OnFailureCallback_23)); @@ -47112,6 +48748,8 @@ class Test_TC_WNCV_3_1 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_24, OnFailureCallback_24)); @@ -47560,6 +49198,7 @@ class Test_TC_WNCV_3_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::WindowCovering::Commands::UpOrOpen::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -47594,6 +49233,8 @@ class Test_TC_WNCV_3_2 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); @@ -47622,6 +49263,8 @@ class Test_TC_WNCV_3_2 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); @@ -47648,6 +49291,8 @@ class Test_TC_WNCV_3_2 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); @@ -47676,6 +49321,8 @@ class Test_TC_WNCV_3_2 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); @@ -47702,6 +49349,8 @@ class Test_TC_WNCV_3_2 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + mTest_Test_TC_WNCV_3_2_OperationalStatus_Reported = OnSuccessCallback_7; return WaitForMs(0); } @@ -47725,6 +49374,7 @@ class Test_TC_WNCV_3_2 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t minIntervalArgument; minIntervalArgument = 4U; uint16_t maxIntervalArgument; @@ -47764,6 +49414,7 @@ class Test_TC_WNCV_3_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::WindowCovering::Commands::DownOrClose::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -47798,6 +49449,8 @@ class Test_TC_WNCV_3_2 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_11, OnFailureCallback_11)); @@ -47830,6 +49483,8 @@ class Test_TC_WNCV_3_2 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + mTest_Test_TC_WNCV_3_2_OperationalStatus_Reported = OnSuccessCallback_13; return CHIP_NO_ERROR; } @@ -47862,6 +49517,8 @@ class Test_TC_WNCV_3_2 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_15, OnFailureCallback_15)); @@ -47890,6 +49547,8 @@ class Test_TC_WNCV_3_2 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_16, OnFailureCallback_16)); @@ -47916,6 +49575,8 @@ class Test_TC_WNCV_3_2 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_17, OnFailureCallback_17)); @@ -47944,6 +49605,8 @@ class Test_TC_WNCV_3_2 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_18, OnFailureCallback_18)); @@ -47969,6 +49632,7 @@ class Test_TC_WNCV_3_2 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::WindowCovering::Commands::StopMotion::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -48003,6 +49667,8 @@ class Test_TC_WNCV_3_2 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_21, OnFailureCallback_21)); return CHIP_NO_ERROR; @@ -48033,6 +49699,8 @@ class Test_TC_WNCV_3_2 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_23, OnFailureCallback_23)); @@ -48061,6 +49729,8 @@ class Test_TC_WNCV_3_2 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_24, OnFailureCallback_24)); @@ -48358,6 +50028,7 @@ class Test_TC_WNCV_3_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::WindowCovering::Commands::DownOrClose::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -48391,6 +50062,7 @@ class Test_TC_WNCV_3_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::WindowCovering::Commands::UpOrOpen::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -48425,6 +50097,8 @@ class Test_TC_WNCV_3_3 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + mTest_Test_TC_WNCV_3_3_OperationalStatus_Reported = OnSuccessCallback_5; return WaitForMs(0); } @@ -48448,6 +50122,7 @@ class Test_TC_WNCV_3_3 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t minIntervalArgument; minIntervalArgument = 4U; uint16_t maxIntervalArgument; @@ -48487,6 +50162,7 @@ class Test_TC_WNCV_3_3 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::WindowCovering::Commands::StopMotion::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -48521,6 +50197,8 @@ class Test_TC_WNCV_3_3 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + mTest_Test_TC_WNCV_3_3_OperationalStatus_Reported = OnSuccessCallback_9; return CHIP_NO_ERROR; } @@ -48552,6 +50230,8 @@ class Test_TC_WNCV_3_3 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_11, OnFailureCallback_11)); return CHIP_NO_ERROR; @@ -48576,6 +50256,8 @@ class Test_TC_WNCV_3_3 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_12, OnFailureCallback_12)); @@ -48605,6 +50287,8 @@ class Test_TC_WNCV_3_3 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_13, OnFailureCallback_13)); @@ -48639,6 +50323,8 @@ class Test_TC_WNCV_3_3 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_14, OnFailureCallback_14)); @@ -48668,6 +50354,8 @@ class Test_TC_WNCV_3_3 : public TestCommand chip::Controller::WindowCoveringClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_15, OnFailureCallback_15)); @@ -48815,6 +50503,8 @@ class TV_TargetNavigatorCluster : public TestCommand chip::Controller::TargetNavigatorClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -48850,6 +50540,8 @@ class TV_TargetNavigatorCluster : public TestCommand chip::Controller::TargetNavigatorClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -48873,6 +50565,7 @@ class TV_TargetNavigatorCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TargetNavigator::Commands::NavigateTarget::Type; + ListFreer listFreer; RequestType request; request.target = 1; request.data.Emplace(); @@ -49029,6 +50722,8 @@ class TV_AudioOutputCluster : public TestCommand chip::Controller::AudioOutputClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -49070,6 +50765,8 @@ class TV_AudioOutputCluster : public TestCommand chip::Controller::AudioOutputClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -49093,6 +50790,7 @@ class TV_AudioOutputCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 2; using RequestType = chip::app::Clusters::AudioOutput::Commands::SelectOutput::Type; + ListFreer listFreer; RequestType request; request.index = 1; @@ -49121,6 +50819,7 @@ class TV_AudioOutputCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 2; using RequestType = chip::app::Clusters::AudioOutput::Commands::RenameOutput::Type; + ListFreer listFreer; RequestType request; request.index = 1; request.name = chip::Span("exampleNamegarbage: not in length on purpose", 11); @@ -49255,6 +50954,8 @@ class TV_ApplicationLauncherCluster : public TestCommand chip::Controller::ApplicationLauncherClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -49285,6 +50986,7 @@ class TV_ApplicationLauncherCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ApplicationLauncher::Commands::LaunchApp::Type; + ListFreer listFreer; RequestType request; request.application.catalogVendorId = 123U; @@ -49325,6 +51027,7 @@ class TV_ApplicationLauncherCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ApplicationLauncher::Commands::StopApp::Type; + ListFreer listFreer; RequestType request; request.application.catalogVendorId = 123U; @@ -49362,6 +51065,7 @@ class TV_ApplicationLauncherCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ApplicationLauncher::Commands::HideApp::Type; + ListFreer listFreer; RequestType request; request.application.catalogVendorId = 123U; @@ -49481,6 +51185,7 @@ class TV_KeypadInputCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::KeypadInput::Commands::SendKey::Type; + ListFreer listFreer; RequestType request; request.keyCode = static_cast(3); @@ -49604,6 +51309,7 @@ class TV_AccountLoginCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 3; using RequestType = chip::app::Clusters::AccountLogin::Commands::GetSetupPIN::Type; + ListFreer listFreer; RequestType request; request.tempAccountIdentifier = chip::Span("asdfgarbage: not in length on purpose", 4); @@ -49638,6 +51344,7 @@ class TV_AccountLoginCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 3; using RequestType = chip::app::Clusters::AccountLogin::Commands::Login::Type; + ListFreer listFreer; RequestType request; request.tempAccountIdentifier = chip::Span("asdfgarbage: not in length on purpose", 4); request.setupPIN = chip::Span("tempPin123garbage: not in length on purpose", 10); @@ -49668,6 +51375,7 @@ class TV_AccountLoginCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 3; using RequestType = chip::app::Clusters::AccountLogin::Commands::Logout::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -49789,6 +51497,8 @@ class TV_WakeOnLanCluster : public TestCommand chip::Controller::WakeOnLanClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -49975,6 +51685,8 @@ class TV_ApplicationBasicCluster : public TestCommand chip::Controller::ApplicationBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -49999,6 +51711,8 @@ class TV_ApplicationBasicCluster : public TestCommand chip::Controller::ApplicationBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -50023,6 +51737,8 @@ class TV_ApplicationBasicCluster : public TestCommand chip::Controller::ApplicationBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -50047,6 +51763,8 @@ class TV_ApplicationBasicCluster : public TestCommand chip::Controller::ApplicationBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -50071,6 +51789,8 @@ class TV_ApplicationBasicCluster : public TestCommand chip::Controller::ApplicationBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -50095,6 +51815,8 @@ class TV_ApplicationBasicCluster : public TestCommand chip::Controller::ApplicationBasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -50325,6 +52047,8 @@ class TV_MediaPlaybackCluster : public TestCommand chip::Controller::MediaPlaybackClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -50349,6 +52073,8 @@ class TV_MediaPlaybackCluster : public TestCommand chip::Controller::MediaPlaybackClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -50374,6 +52100,8 @@ class TV_MediaPlaybackCluster : public TestCommand chip::Controller::MediaPlaybackClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -50399,6 +52127,8 @@ class TV_MediaPlaybackCluster : public TestCommand chip::Controller::MediaPlaybackClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -50423,6 +52153,8 @@ class TV_MediaPlaybackCluster : public TestCommand chip::Controller::MediaPlaybackClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -50448,6 +52180,8 @@ class TV_MediaPlaybackCluster : public TestCommand chip::Controller::MediaPlaybackClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -50472,6 +52206,7 @@ class TV_MediaPlaybackCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 3; using RequestType = chip::app::Clusters::MediaPlayback::Commands::Play::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -50504,6 +52239,7 @@ class TV_MediaPlaybackCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 3; using RequestType = chip::app::Clusters::MediaPlayback::Commands::Pause::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -50536,6 +52272,7 @@ class TV_MediaPlaybackCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 3; using RequestType = chip::app::Clusters::MediaPlayback::Commands::StopPlayback::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -50568,6 +52305,7 @@ class TV_MediaPlaybackCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 3; using RequestType = chip::app::Clusters::MediaPlayback::Commands::StartOver::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -50600,6 +52338,7 @@ class TV_MediaPlaybackCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 3; using RequestType = chip::app::Clusters::MediaPlayback::Commands::Previous::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -50632,6 +52371,7 @@ class TV_MediaPlaybackCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 3; using RequestType = chip::app::Clusters::MediaPlayback::Commands::Next::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -50664,6 +52404,7 @@ class TV_MediaPlaybackCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 3; using RequestType = chip::app::Clusters::MediaPlayback::Commands::Rewind::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -50696,6 +52437,7 @@ class TV_MediaPlaybackCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 3; using RequestType = chip::app::Clusters::MediaPlayback::Commands::FastForward::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -50728,6 +52470,7 @@ class TV_MediaPlaybackCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 3; using RequestType = chip::app::Clusters::MediaPlayback::Commands::SkipForward::Type; + ListFreer listFreer; RequestType request; request.deltaPositionMilliseconds = 100ULL; @@ -50761,6 +52504,7 @@ class TV_MediaPlaybackCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 3; using RequestType = chip::app::Clusters::MediaPlayback::Commands::SkipBackward::Type; + ListFreer listFreer; RequestType request; request.deltaPositionMilliseconds = 100ULL; @@ -50794,6 +52538,7 @@ class TV_MediaPlaybackCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 3; using RequestType = chip::app::Clusters::MediaPlayback::Commands::Seek::Type; + ListFreer listFreer; RequestType request; request.position = 100ULL; @@ -50934,6 +52679,8 @@ class TV_ChannelCluster : public TestCommand chip::Controller::ChannelClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -50985,6 +52732,7 @@ class TV_ChannelCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Channel::Commands::ChangeChannel::Type; + ListFreer listFreer; RequestType request; request.match = chip::Span("CNNgarbage: not in length on purpose", 3); @@ -51030,6 +52778,7 @@ class TV_ChannelCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Channel::Commands::ChangeChannelByNumber::Type; + ListFreer listFreer; RequestType request; request.majorNumber = 1U; request.minorNumber = 2U; @@ -51059,6 +52808,7 @@ class TV_ChannelCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Channel::Commands::SkipChannel::Type; + ListFreer listFreer; RequestType request; request.count = 1U; @@ -51169,6 +52919,7 @@ class TV_LowPowerCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::LowPower::Commands::Sleep::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -51311,6 +53062,8 @@ class TV_ContentLauncherCluster : public TestCommand chip::Controller::ContentLauncherClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -51342,6 +53095,8 @@ class TV_ContentLauncherCluster : public TestCommand chip::Controller::ContentLauncherClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); @@ -51366,22 +53121,32 @@ class TV_ContentLauncherCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ContentLauncher::Commands::LaunchContent::Type; + ListFreer listFreer; RequestType request; - chip::app::Clusters::ContentLauncher::Structs::Parameter::Type parameterListList_1[1]; + { + auto * listHolder_1 = new ListHolder(1); + listFreer.add(listHolder_1); - parameterListList_1[0].type = static_cast(1); - parameterListList_1[0].value = chip::Span("exampleValuegarbage: not in length on purpose", 12); - parameterListList_1[0].externalIDList.Emplace(); + listHolder_1->mList[0].type = static_cast(1); + listHolder_1->mList[0].value = chip::Span("exampleValuegarbage: not in length on purpose", 12); + listHolder_1->mList[0].externalIDList.Emplace(); - chip::app::Clusters::ContentLauncher::Structs::AdditionalInfo::Type externalIDListList_4[1]; + { + auto * listHolder_4 = new ListHolder(1); + listFreer.add(listHolder_4); - externalIDListList_4[0].name = chip::Span("namegarbage: not in length on purpose", 4); - externalIDListList_4[0].value = chip::Span("valuegarbage: not in length on purpose", 5); + listHolder_4->mList[0].name = chip::Span("namegarbage: not in length on purpose", 4); + listHolder_4->mList[0].value = chip::Span("valuegarbage: not in length on purpose", 5); - parameterListList_1[0].externalIDList.Value() = externalIDListList_4; + listHolder_1->mList[0].externalIDList.Value() = + chip::app::DataModel::List( + listHolder_4->mList, 1); + } - request.search.parameterList = parameterListList_1; + request.search.parameterList = + chip::app::DataModel::List(listHolder_1->mList, 1); + } request.autoPlay = true; request.data.Emplace(); @@ -51420,6 +53185,7 @@ class TV_ContentLauncherCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ContentLauncher::Commands::LaunchURL::Type; + ListFreer listFreer; RequestType request; request.contentURL = chip::Span("exampleUrlgarbage: not in length on purpose", 10); request.displayString.Emplace(); @@ -51661,6 +53427,8 @@ class TV_MediaInputCluster : public TestCommand chip::Controller::MediaInputClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -51701,6 +53469,8 @@ class TV_MediaInputCluster : public TestCommand chip::Controller::MediaInputClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -51724,6 +53494,7 @@ class TV_MediaInputCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::MediaInput::Commands::SelectInput::Type; + ListFreer listFreer; RequestType request; request.index = 1; @@ -51752,6 +53523,7 @@ class TV_MediaInputCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::MediaInput::Commands::HideInputStatus::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -51779,6 +53551,7 @@ class TV_MediaInputCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::MediaInput::Commands::ShowInputStatus::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -51806,6 +53579,7 @@ class TV_MediaInputCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::MediaInput::Commands::RenameInput::Type; + ListFreer listFreer; RequestType request; request.index = 1; request.name = chip::Span("newNamegarbage: not in length on purpose", 7); @@ -57909,6 +59683,7 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::Test::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -57934,6 +59709,7 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestNotHandled::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -57960,6 +59736,7 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestSpecific::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -57990,6 +59767,7 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestAddArguments::Type; + ListFreer listFreer; RequestType request; request.arg1 = 3; request.arg2 = 17; @@ -58022,6 +59800,7 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestAddArguments::Type; + ListFreer listFreer; RequestType request; request.arg1 = 250; request.arg2 = 6; @@ -58051,6 +59830,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -58075,6 +59856,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; bool booleanArgument; booleanArgument = 1; @@ -58097,6 +59879,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_8, OnFailureCallback_8)); return CHIP_NO_ERROR; @@ -58121,6 +59905,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; bool booleanArgument; booleanArgument = 0; @@ -58143,6 +59928,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_10, OnFailureCallback_10)); return CHIP_NO_ERROR; @@ -58167,6 +59954,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_11, OnFailureCallback_11)); return CHIP_NO_ERROR; @@ -58191,6 +59980,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t bitmap8Argument; bitmap8Argument = 255; @@ -58213,6 +60003,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_13, OnFailureCallback_13)); return CHIP_NO_ERROR; @@ -58237,6 +60029,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t bitmap8Argument; bitmap8Argument = 0; @@ -58259,6 +60052,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_15, OnFailureCallback_15)); return CHIP_NO_ERROR; @@ -58283,6 +60078,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_16, OnFailureCallback_16)); return CHIP_NO_ERROR; @@ -58307,6 +60104,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t bitmap16Argument; bitmap16Argument = 65535U; @@ -58329,6 +60127,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_18, OnFailureCallback_18)); return CHIP_NO_ERROR; @@ -58353,6 +60153,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t bitmap16Argument; bitmap16Argument = 0U; @@ -58375,6 +60176,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_20, OnFailureCallback_20)); return CHIP_NO_ERROR; @@ -58399,6 +60202,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_21, OnFailureCallback_21)); return CHIP_NO_ERROR; @@ -58423,6 +60228,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint32_t bitmap32Argument; bitmap32Argument = 4294967295UL; @@ -58445,6 +60251,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_23, OnFailureCallback_23)); return CHIP_NO_ERROR; @@ -58469,6 +60277,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint32_t bitmap32Argument; bitmap32Argument = 0UL; @@ -58491,6 +60300,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_25, OnFailureCallback_25)); return CHIP_NO_ERROR; @@ -58515,6 +60326,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_26, OnFailureCallback_26)); return CHIP_NO_ERROR; @@ -58539,6 +60352,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint64_t bitmap64Argument; bitmap64Argument = 18446744073709551615ULL; @@ -58561,6 +60375,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_28, OnFailureCallback_28)); return CHIP_NO_ERROR; @@ -58585,6 +60401,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint64_t bitmap64Argument; bitmap64Argument = 0ULL; @@ -58607,6 +60424,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_30, OnFailureCallback_30)); return CHIP_NO_ERROR; @@ -58631,6 +60450,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_31, OnFailureCallback_31)); return CHIP_NO_ERROR; @@ -58655,6 +60476,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t int8uArgument; int8uArgument = 255; @@ -58677,6 +60499,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_33, OnFailureCallback_33)); return CHIP_NO_ERROR; @@ -58701,6 +60525,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t int8uArgument; int8uArgument = 0; @@ -58723,6 +60548,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_35, OnFailureCallback_35)); return CHIP_NO_ERROR; @@ -58747,6 +60574,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_36, OnFailureCallback_36)); return CHIP_NO_ERROR; @@ -58771,6 +60600,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t int16uArgument; int16uArgument = 65535U; @@ -58793,6 +60623,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_38, OnFailureCallback_38)); return CHIP_NO_ERROR; @@ -58817,6 +60649,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t int16uArgument; int16uArgument = 0U; @@ -58839,6 +60672,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_40, OnFailureCallback_40)); return CHIP_NO_ERROR; @@ -58863,6 +60698,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_41, OnFailureCallback_41)); return CHIP_NO_ERROR; @@ -58887,6 +60724,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint32_t int32uArgument; int32uArgument = 4294967295UL; @@ -58909,6 +60747,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_43, OnFailureCallback_43)); return CHIP_NO_ERROR; @@ -58933,6 +60773,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint32_t int32uArgument; int32uArgument = 0UL; @@ -58955,6 +60796,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_45, OnFailureCallback_45)); return CHIP_NO_ERROR; @@ -58979,6 +60822,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_46, OnFailureCallback_46)); return CHIP_NO_ERROR; @@ -59003,6 +60848,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint64_t int64uArgument; int64uArgument = 18446744073709551615ULL; @@ -59025,6 +60871,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_48, OnFailureCallback_48)); return CHIP_NO_ERROR; @@ -59049,6 +60897,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint64_t int64uArgument; int64uArgument = 0ULL; @@ -59071,6 +60920,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_50, OnFailureCallback_50)); return CHIP_NO_ERROR; @@ -59095,6 +60946,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_51, OnFailureCallback_51)); return CHIP_NO_ERROR; @@ -59119,6 +60972,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int8_t int8sArgument; int8sArgument = 127; @@ -59141,6 +60995,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_53, OnFailureCallback_53)); return CHIP_NO_ERROR; @@ -59165,6 +61021,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int8_t int8sArgument; int8sArgument = -128; @@ -59187,6 +61044,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_55, OnFailureCallback_55)); return CHIP_NO_ERROR; @@ -59211,6 +61070,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int8_t int8sArgument; int8sArgument = 0; @@ -59233,6 +61093,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_57, OnFailureCallback_57)); return CHIP_NO_ERROR; @@ -59257,6 +61119,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_58, OnFailureCallback_58)); return CHIP_NO_ERROR; @@ -59281,6 +61145,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t int16sArgument; int16sArgument = 32767; @@ -59303,6 +61168,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_60, OnFailureCallback_60)); return CHIP_NO_ERROR; @@ -59327,6 +61194,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t int16sArgument; int16sArgument = -32768; @@ -59349,6 +61217,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_62, OnFailureCallback_62)); return CHIP_NO_ERROR; @@ -59373,6 +61243,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t int16sArgument; int16sArgument = 0; @@ -59395,6 +61266,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_64, OnFailureCallback_64)); return CHIP_NO_ERROR; @@ -59419,6 +61292,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_65, OnFailureCallback_65)); return CHIP_NO_ERROR; @@ -59443,6 +61318,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int32_t int32sArgument; int32sArgument = 2147483647L; @@ -59465,6 +61341,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_67, OnFailureCallback_67)); return CHIP_NO_ERROR; @@ -59489,6 +61367,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int32_t int32sArgument; int32sArgument = -2147483648L; @@ -59511,6 +61390,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_69, OnFailureCallback_69)); return CHIP_NO_ERROR; @@ -59535,6 +61416,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int32_t int32sArgument; int32sArgument = 0L; @@ -59557,6 +61439,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_71, OnFailureCallback_71)); return CHIP_NO_ERROR; @@ -59581,6 +61465,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_72, OnFailureCallback_72)); return CHIP_NO_ERROR; @@ -59605,6 +61491,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int64_t int64sArgument; int64sArgument = 9223372036854775807LL; @@ -59627,6 +61514,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_74, OnFailureCallback_74)); return CHIP_NO_ERROR; @@ -59651,6 +61540,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int64_t int64sArgument; int64sArgument = -9223372036854775807LL; @@ -59673,6 +61563,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_76, OnFailureCallback_76)); return CHIP_NO_ERROR; @@ -59697,6 +61589,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int64_t int64sArgument; int64sArgument = 0LL; @@ -59719,6 +61612,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_78, OnFailureCallback_78)); return CHIP_NO_ERROR; @@ -59743,6 +61638,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_79, OnFailureCallback_79)); return CHIP_NO_ERROR; @@ -59767,6 +61664,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; float floatSingleArgument; floatSingleArgument = 0.1f; @@ -59789,6 +61687,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_81, OnFailureCallback_81)); return CHIP_NO_ERROR; @@ -59813,6 +61713,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; float floatSingleArgument; floatSingleArgument = 17000000000.0f; @@ -59835,6 +61736,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_83, OnFailureCallback_83)); return CHIP_NO_ERROR; @@ -59859,6 +61762,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; float floatSingleArgument; floatSingleArgument = 1.7e-10f; @@ -59881,6 +61785,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_85, OnFailureCallback_85)); return CHIP_NO_ERROR; @@ -59905,6 +61811,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; float floatSingleArgument; floatSingleArgument = 0.0f; @@ -59927,6 +61834,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_87, OnFailureCallback_87)); return CHIP_NO_ERROR; @@ -59951,6 +61860,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_88, OnFailureCallback_88)); return CHIP_NO_ERROR; @@ -59975,6 +61886,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; double floatDoubleArgument; floatDoubleArgument = 0.1234567890123; @@ -59997,6 +61909,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_90, OnFailureCallback_90)); return CHIP_NO_ERROR; @@ -60021,6 +61935,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; double floatDoubleArgument; floatDoubleArgument = 1.7e+200; @@ -60043,6 +61958,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_92, OnFailureCallback_92)); return CHIP_NO_ERROR; @@ -60067,6 +61984,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; double floatDoubleArgument; floatDoubleArgument = 1.7e-200; @@ -60089,6 +62007,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_94, OnFailureCallback_94)); return CHIP_NO_ERROR; @@ -60113,6 +62033,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; double floatDoubleArgument; floatDoubleArgument = 0; @@ -60135,6 +62056,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_96, OnFailureCallback_96)); return CHIP_NO_ERROR; @@ -60159,6 +62082,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_97, OnFailureCallback_97)); return CHIP_NO_ERROR; @@ -60183,6 +62108,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t enum8Argument; enum8Argument = 255; @@ -60205,6 +62131,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_99, OnFailureCallback_99)); return CHIP_NO_ERROR; @@ -60229,6 +62157,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t enum8Argument; enum8Argument = 0; @@ -60251,6 +62180,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_101, OnFailureCallback_101)); return CHIP_NO_ERROR; @@ -60275,6 +62206,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_102, OnFailureCallback_102)); return CHIP_NO_ERROR; @@ -60299,6 +62232,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t enum16Argument; enum16Argument = 65535U; @@ -60321,6 +62255,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_104, OnFailureCallback_104)); return CHIP_NO_ERROR; @@ -60345,6 +62281,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t enum16Argument; enum16Argument = 0U; @@ -60367,6 +62304,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_106, OnFailureCallback_106)); return CHIP_NO_ERROR; @@ -60391,6 +62330,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_107, OnFailureCallback_107)); return CHIP_NO_ERROR; @@ -60415,6 +62356,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::ByteSpan octetStringArgument; octetStringArgument = chip::ByteSpan(chip::Uint8::from_const_char("Tes\x00ti\x00nggarbage: not in length on purpose"), 9); @@ -60437,6 +62379,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_109, OnFailureCallback_109)); return CHIP_NO_ERROR; @@ -60462,6 +62406,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::ByteSpan octetStringArgument; octetStringArgument = chip::ByteSpan(chip::Uint8::from_const_char("\x0d\x0a\xff\x22\xa0garbage: not in length on purpose"), 5); @@ -60485,6 +62430,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_111, OnFailureCallback_111)); return CHIP_NO_ERROR; @@ -60510,6 +62457,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::ByteSpan octetStringArgument; octetStringArgument = chip::ByteSpan(chip::Uint8::from_const_char("TestValuegarbage: not in length on purpose"), 9); @@ -60532,6 +62480,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_113, OnFailureCallback_113)); return CHIP_NO_ERROR; @@ -60557,6 +62507,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::ByteSpan octetStringArgument; octetStringArgument = chip::ByteSpan(chip::Uint8::from_const_char("TestValueLongerThan10garbage: not in length on purpose"), 21); @@ -60581,6 +62532,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_115, OnFailureCallback_115)); return CHIP_NO_ERROR; @@ -60606,6 +62559,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::ByteSpan octetStringArgument; octetStringArgument = chip::ByteSpan(chip::Uint8::from_const_char("garbage: not in length on purpose"), 0); @@ -60628,6 +62582,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_117, OnFailureCallback_117)); return CHIP_NO_ERROR; @@ -60652,6 +62608,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::ByteSpan longOctetStringArgument; longOctetStringArgument = chip::ByteSpan( chip::Uint8::from_const_char( @@ -60679,6 +62636,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_119, OnFailureCallback_119)); return CHIP_NO_ERROR; @@ -60710,6 +62669,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::ByteSpan longOctetStringArgument; longOctetStringArgument = chip::ByteSpan(chip::Uint8::from_const_char("garbage: not in length on purpose"), 0); @@ -60732,6 +62692,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_121, OnFailureCallback_121)); return CHIP_NO_ERROR; @@ -60756,6 +62718,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::CharSpan charStringArgument; charStringArgument = chip::Span("☉T☉garbage: not in length on purpose", 7); @@ -60778,6 +62741,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_123, OnFailureCallback_123)); return CHIP_NO_ERROR; @@ -60802,6 +62767,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::CharSpan charStringArgument; charStringArgument = chip::Span("☉TestValueLongerThan10☉garbage: not in length on purpose", 27); @@ -60825,6 +62791,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_125, OnFailureCallback_125)); return CHIP_NO_ERROR; @@ -60849,6 +62817,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::CharSpan charStringArgument; charStringArgument = chip::Span("garbage: not in length on purpose", 0); @@ -60871,6 +62840,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_127, OnFailureCallback_127)); return CHIP_NO_ERROR; @@ -60895,6 +62866,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::CharSpan longCharStringArgument; longCharStringArgument = chip::Span( "☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉☉" @@ -60921,6 +62893,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_129, OnFailureCallback_129)); return CHIP_NO_ERROR; @@ -60950,6 +62924,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::CharSpan longCharStringArgument; longCharStringArgument = chip::Span("garbage: not in length on purpose", 0); @@ -60972,6 +62947,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_131, OnFailureCallback_131)); return CHIP_NO_ERROR; @@ -61043,50 +63020,54 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::List listLongOctetStringArgument; - chip::ByteSpan listLongOctetStringList_0[5]; - listLongOctetStringList_0[0] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01" - "23456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012345" - "6789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in length on purpose"), - 512); - listLongOctetStringList_0[1] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01" - "23456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012345" - "6789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in length on purpose"), - 512); - listLongOctetStringList_0[2] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01" - "23456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012345" - "6789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in length on purpose"), - 512); - listLongOctetStringList_0[3] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01" - "23456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012345" - "6789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in length on purpose"), - 512); - listLongOctetStringList_0[4] = chip::ByteSpan( - chip::Uint8::from_const_char( - "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01" - "23456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123" - "456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012345" - "6789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" - "89abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in length on purpose"), - 512); - listLongOctetStringArgument = listLongOctetStringList_0; + { + auto * listHolder_0 = new ListHolder(5); + listFreer.add(listHolder_0); + listHolder_0->mList[0] = chip::ByteSpan( + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in length on purpose"), + 512); + listHolder_0->mList[1] = chip::ByteSpan( + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in length on purpose"), + 512); + listHolder_0->mList[2] = chip::ByteSpan( + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in length on purpose"), + 512); + listHolder_0->mList[3] = chip::ByteSpan( + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in length on purpose"), + 512); + listHolder_0->mList[4] = chip::ByteSpan( + chip::Uint8::from_const_char( + "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd" + "ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab" + "cdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789" + "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567" + "89abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdefgarbage: not in length on purpose"), + 512); + listLongOctetStringArgument = chip::app::DataModel::List(listHolder_0->mList, 5); + } ReturnErrorOnFailure(cluster.WriteAttribute( listLongOctetStringArgument, this, OnSuccessCallback_132, OnFailureCallback_132)); @@ -61107,6 +63088,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_133, OnFailureCallback_133)); return CHIP_NO_ERROR; @@ -61189,6 +63172,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_134, OnFailureCallback_134)); return CHIP_NO_ERROR; @@ -61213,6 +63198,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint64_t epochUsArgument; epochUsArgument = 18446744073709551615ULL; @@ -61235,6 +63221,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_136, OnFailureCallback_136)); return CHIP_NO_ERROR; @@ -61259,6 +63247,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint64_t epochUsArgument; epochUsArgument = 0ULL; @@ -61281,6 +63270,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_138, OnFailureCallback_138)); return CHIP_NO_ERROR; @@ -61305,6 +63296,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_139, OnFailureCallback_139)); return CHIP_NO_ERROR; @@ -61329,6 +63322,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint32_t epochSArgument; epochSArgument = 4294967295UL; @@ -61351,6 +63345,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_141, OnFailureCallback_141)); return CHIP_NO_ERROR; @@ -61375,6 +63371,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint32_t epochSArgument; epochSArgument = 0UL; @@ -61397,6 +63394,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_143, OnFailureCallback_143)); return CHIP_NO_ERROR; @@ -61421,6 +63420,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_144, OnFailureCallback_144)); return CHIP_NO_ERROR; @@ -61445,6 +63446,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; bool unsupportedArgument; unsupportedArgument = 0; @@ -61466,6 +63468,7 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 200; using RequestType = chip::app::Clusters::TestCluster::Commands::Test::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -61494,6 +63497,7 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 0; using RequestType = chip::app::Clusters::TestCluster::Commands::Test::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -61523,6 +63527,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_148, OnFailureCallback_148)); return CHIP_NO_ERROR; @@ -61547,6 +63553,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::VendorId vendorIdArgument; vendorIdArgument = static_cast(17); @@ -61569,6 +63576,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_150, OnFailureCallback_150)); return CHIP_NO_ERROR; @@ -61593,6 +63602,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::VendorId vendorIdArgument; vendorIdArgument = static_cast(0); @@ -61614,6 +63624,7 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestEnumsRequest::Type; + ListFreer listFreer; RequestType request; request.arg1 = static_cast(20003); request.arg2 = static_cast(101); @@ -61650,6 +63661,7 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestStructArgumentRequest::Type; + ListFreer listFreer; RequestType request; request.arg1.a = 0; @@ -61691,6 +63703,7 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestStructArgumentRequest::Type; + ListFreer listFreer; RequestType request; request.arg1.a = 0; @@ -61732,6 +63745,7 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestNestedStructArgumentRequest::Type; + ListFreer listFreer; RequestType request; request.arg1.a = 0; @@ -61776,6 +63790,7 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestNestedStructArgumentRequest::Type; + ListFreer listFreer; RequestType request; request.arg1.a = 0; @@ -61820,6 +63835,7 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestNestedStructListArgumentRequest::Type; + ListFreer listFreer; RequestType request; request.arg1.a = 0; @@ -61834,44 +63850,62 @@ class TestCluster : public TestCommand request.arg1.c.g = 0.0f; request.arg1.c.h = 0; - chip::app::Clusters::TestCluster::Structs::SimpleStruct::Type dList_1[2]; - - dList_1[0].a = 1; - dList_1[0].b = true; - dList_1[0].c = static_cast(3); - dList_1[0].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); - dList_1[0].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); - dList_1[0].f = static_cast>(1); - dList_1[0].g = 0.0f; - dList_1[0].h = 0; - - dList_1[1].a = 2; - dList_1[1].b = true; - dList_1[1].c = static_cast(3); - dList_1[1].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); - dList_1[1].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); - dList_1[1].f = static_cast>(1); - dList_1[1].g = 0.0f; - dList_1[1].h = 0; - - request.arg1.d = dList_1; - - uint32_t eList_1[3]; - eList_1[0] = 1UL; - eList_1[1] = 2UL; - eList_1[2] = 3UL; - request.arg1.e = eList_1; - - chip::ByteSpan fList_1[3]; - fList_1[0] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_1garbage: not in length on purpose"), 14); - fList_1[1] = chip::ByteSpan(chip::Uint8::from_const_char("octect_string_2garbage: not in length on purpose"), 15); - fList_1[2] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_3garbage: not in length on purpose"), 14); - request.arg1.f = fList_1; - - uint8_t gList_1[2]; - gList_1[0] = 0; - gList_1[1] = 255; - request.arg1.g = gList_1; + { + auto * listHolder_1 = new ListHolder(2); + listFreer.add(listHolder_1); + + listHolder_1->mList[0].a = 1; + listHolder_1->mList[0].b = true; + listHolder_1->mList[0].c = static_cast(3); + listHolder_1->mList[0].d = + chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); + listHolder_1->mList[0].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); + listHolder_1->mList[0].f = static_cast>(1); + listHolder_1->mList[0].g = 0.0f; + listHolder_1->mList[0].h = 0; + + listHolder_1->mList[1].a = 2; + listHolder_1->mList[1].b = true; + listHolder_1->mList[1].c = static_cast(3); + listHolder_1->mList[1].d = + chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); + listHolder_1->mList[1].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); + listHolder_1->mList[1].f = static_cast>(1); + listHolder_1->mList[1].g = 0.0f; + listHolder_1->mList[1].h = 0; + + request.arg1.d = + chip::app::DataModel::List(listHolder_1->mList, 2); + } + + { + auto * listHolder_1 = new ListHolder(3); + listFreer.add(listHolder_1); + listHolder_1->mList[0] = 1UL; + listHolder_1->mList[1] = 2UL; + listHolder_1->mList[2] = 3UL; + request.arg1.e = chip::app::DataModel::List(listHolder_1->mList, 3); + } + + { + auto * listHolder_1 = new ListHolder(3); + listFreer.add(listHolder_1); + listHolder_1->mList[0] = + chip::ByteSpan(chip::Uint8::from_const_char("octet_string_1garbage: not in length on purpose"), 14); + listHolder_1->mList[1] = + chip::ByteSpan(chip::Uint8::from_const_char("octect_string_2garbage: not in length on purpose"), 15); + listHolder_1->mList[2] = + chip::ByteSpan(chip::Uint8::from_const_char("octet_string_3garbage: not in length on purpose"), 14); + request.arg1.f = chip::app::DataModel::List(listHolder_1->mList, 3); + } + + { + auto * listHolder_1 = new ListHolder(2); + listFreer.add(listHolder_1); + listHolder_1->mList[0] = 0; + listHolder_1->mList[1] = 255; + request.arg1.g = chip::app::DataModel::List(listHolder_1->mList, 2); + } auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context))->OnSuccessResponse_157(data.value); @@ -61903,6 +63937,7 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestNestedStructListArgumentRequest::Type; + ListFreer listFreer; RequestType request; request.arg1.a = 0; @@ -61917,44 +63952,62 @@ class TestCluster : public TestCommand request.arg1.c.g = 0.0f; request.arg1.c.h = 0; - chip::app::Clusters::TestCluster::Structs::SimpleStruct::Type dList_1[2]; - - dList_1[0].a = 1; - dList_1[0].b = true; - dList_1[0].c = static_cast(3); - dList_1[0].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); - dList_1[0].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); - dList_1[0].f = static_cast>(1); - dList_1[0].g = 0.0f; - dList_1[0].h = 0; - - dList_1[1].a = 2; - dList_1[1].b = false; - dList_1[1].c = static_cast(3); - dList_1[1].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); - dList_1[1].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); - dList_1[1].f = static_cast>(1); - dList_1[1].g = 0.0f; - dList_1[1].h = 0; - - request.arg1.d = dList_1; - - uint32_t eList_1[3]; - eList_1[0] = 1UL; - eList_1[1] = 2UL; - eList_1[2] = 3UL; - request.arg1.e = eList_1; - - chip::ByteSpan fList_1[3]; - fList_1[0] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_1garbage: not in length on purpose"), 14); - fList_1[1] = chip::ByteSpan(chip::Uint8::from_const_char("octect_string_2garbage: not in length on purpose"), 15); - fList_1[2] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_3garbage: not in length on purpose"), 14); - request.arg1.f = fList_1; - - uint8_t gList_1[2]; - gList_1[0] = 0; - gList_1[1] = 255; - request.arg1.g = gList_1; + { + auto * listHolder_1 = new ListHolder(2); + listFreer.add(listHolder_1); + + listHolder_1->mList[0].a = 1; + listHolder_1->mList[0].b = true; + listHolder_1->mList[0].c = static_cast(3); + listHolder_1->mList[0].d = + chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); + listHolder_1->mList[0].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); + listHolder_1->mList[0].f = static_cast>(1); + listHolder_1->mList[0].g = 0.0f; + listHolder_1->mList[0].h = 0; + + listHolder_1->mList[1].a = 2; + listHolder_1->mList[1].b = false; + listHolder_1->mList[1].c = static_cast(3); + listHolder_1->mList[1].d = + chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); + listHolder_1->mList[1].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); + listHolder_1->mList[1].f = static_cast>(1); + listHolder_1->mList[1].g = 0.0f; + listHolder_1->mList[1].h = 0; + + request.arg1.d = + chip::app::DataModel::List(listHolder_1->mList, 2); + } + + { + auto * listHolder_1 = new ListHolder(3); + listFreer.add(listHolder_1); + listHolder_1->mList[0] = 1UL; + listHolder_1->mList[1] = 2UL; + listHolder_1->mList[2] = 3UL; + request.arg1.e = chip::app::DataModel::List(listHolder_1->mList, 3); + } + + { + auto * listHolder_1 = new ListHolder(3); + listFreer.add(listHolder_1); + listHolder_1->mList[0] = + chip::ByteSpan(chip::Uint8::from_const_char("octet_string_1garbage: not in length on purpose"), 14); + listHolder_1->mList[1] = + chip::ByteSpan(chip::Uint8::from_const_char("octect_string_2garbage: not in length on purpose"), 15); + listHolder_1->mList[2] = + chip::ByteSpan(chip::Uint8::from_const_char("octet_string_3garbage: not in length on purpose"), 14); + request.arg1.f = chip::app::DataModel::List(listHolder_1->mList, 3); + } + + { + auto * listHolder_1 = new ListHolder(2); + listFreer.add(listHolder_1); + listHolder_1->mList[0] = 0; + listHolder_1->mList[1] = 255; + request.arg1.g = chip::app::DataModel::List(listHolder_1->mList, 2); + } auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context))->OnSuccessResponse_158(data.value); @@ -61986,6 +64039,7 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::SimpleStructEchoRequest::Type; + ListFreer listFreer; RequestType request; request.arg1.a = 17; @@ -62034,19 +64088,23 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestListInt8UArgumentRequest::Type; + ListFreer listFreer; RequestType request; - uint8_t arg1List_0[9]; - arg1List_0[0] = 1; - arg1List_0[1] = 2; - arg1List_0[2] = 3; - arg1List_0[3] = 4; - arg1List_0[4] = 5; - arg1List_0[5] = 6; - arg1List_0[6] = 7; - arg1List_0[7] = 8; - arg1List_0[8] = 9; - request.arg1 = arg1List_0; + { + auto * listHolder_0 = new ListHolder(9); + listFreer.add(listHolder_0); + listHolder_0->mList[0] = 1; + listHolder_0->mList[1] = 2; + listHolder_0->mList[2] = 3; + listHolder_0->mList[3] = 4; + listHolder_0->mList[4] = 5; + listHolder_0->mList[5] = 6; + listHolder_0->mList[6] = 7; + listHolder_0->mList[7] = 8; + listHolder_0->mList[8] = 9; + request.arg1 = chip::app::DataModel::List(listHolder_0->mList, 9); + } auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context))->OnSuccessResponse_160(data.value); @@ -62078,20 +64136,24 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestListInt8UArgumentRequest::Type; + ListFreer listFreer; RequestType request; - uint8_t arg1List_0[10]; - arg1List_0[0] = 1; - arg1List_0[1] = 2; - arg1List_0[2] = 3; - arg1List_0[3] = 4; - arg1List_0[4] = 5; - arg1List_0[5] = 6; - arg1List_0[6] = 7; - arg1List_0[7] = 8; - arg1List_0[8] = 9; - arg1List_0[9] = 0; - request.arg1 = arg1List_0; + { + auto * listHolder_0 = new ListHolder(10); + listFreer.add(listHolder_0); + listHolder_0->mList[0] = 1; + listHolder_0->mList[1] = 2; + listHolder_0->mList[2] = 3; + listHolder_0->mList[3] = 4; + listHolder_0->mList[4] = 5; + listHolder_0->mList[5] = 6; + listHolder_0->mList[6] = 7; + listHolder_0->mList[7] = 8; + listHolder_0->mList[8] = 9; + listHolder_0->mList[9] = 0; + request.arg1 = chip::app::DataModel::List(listHolder_0->mList, 10); + } auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context))->OnSuccessResponse_161(data.value); @@ -62123,19 +64185,23 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestListInt8UReverseRequest::Type; + ListFreer listFreer; RequestType request; - uint8_t arg1List_0[9]; - arg1List_0[0] = 1; - arg1List_0[1] = 2; - arg1List_0[2] = 3; - arg1List_0[3] = 4; - arg1List_0[4] = 5; - arg1List_0[5] = 6; - arg1List_0[6] = 7; - arg1List_0[7] = 8; - arg1List_0[8] = 9; - request.arg1 = arg1List_0; + { + auto * listHolder_0 = new ListHolder(9); + listFreer.add(listHolder_0); + listHolder_0->mList[0] = 1; + listHolder_0->mList[1] = 2; + listHolder_0->mList[2] = 3; + listHolder_0->mList[3] = 4; + listHolder_0->mList[4] = 5; + listHolder_0->mList[5] = 6; + listHolder_0->mList[6] = 7; + listHolder_0->mList[7] = 8; + listHolder_0->mList[8] = 9; + request.arg1 = chip::app::DataModel::List(listHolder_0->mList, 9); + } auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context))->OnSuccessResponse_162(data.arg1); @@ -62188,6 +64254,7 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestListInt8UReverseRequest::Type; + ListFreer listFreer; RequestType request; request.arg1 = chip::app::DataModel::List(); @@ -62225,29 +64292,36 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestListStructArgumentRequest::Type; + ListFreer listFreer; RequestType request; - chip::app::Clusters::TestCluster::Structs::SimpleStruct::Type arg1List_0[2]; + { + auto * listHolder_0 = new ListHolder(2); + listFreer.add(listHolder_0); - arg1List_0[0].a = 0; - arg1List_0[0].b = true; - arg1List_0[0].c = static_cast(2); - arg1List_0[0].d = chip::ByteSpan(chip::Uint8::from_const_char("first_octet_stringgarbage: not in length on purpose"), 18); - arg1List_0[0].e = chip::Span("first_char_stringgarbage: not in length on purpose", 17); - arg1List_0[0].f = static_cast>(1); - arg1List_0[0].g = 0.0f; - arg1List_0[0].h = 0; + listHolder_0->mList[0].a = 0; + listHolder_0->mList[0].b = true; + listHolder_0->mList[0].c = static_cast(2); + listHolder_0->mList[0].d = + chip::ByteSpan(chip::Uint8::from_const_char("first_octet_stringgarbage: not in length on purpose"), 18); + listHolder_0->mList[0].e = chip::Span("first_char_stringgarbage: not in length on purpose", 17); + listHolder_0->mList[0].f = static_cast>(1); + listHolder_0->mList[0].g = 0.0f; + listHolder_0->mList[0].h = 0; - arg1List_0[1].a = 1; - arg1List_0[1].b = true; - arg1List_0[1].c = static_cast(3); - arg1List_0[1].d = chip::ByteSpan(chip::Uint8::from_const_char("second_octet_stringgarbage: not in length on purpose"), 19); - arg1List_0[1].e = chip::Span("second_char_stringgarbage: not in length on purpose", 18); - arg1List_0[1].f = static_cast>(1); - arg1List_0[1].g = 0.0f; - arg1List_0[1].h = 0; + listHolder_0->mList[1].a = 1; + listHolder_0->mList[1].b = true; + listHolder_0->mList[1].c = static_cast(3); + listHolder_0->mList[1].d = + chip::ByteSpan(chip::Uint8::from_const_char("second_octet_stringgarbage: not in length on purpose"), 19); + listHolder_0->mList[1].e = chip::Span("second_char_stringgarbage: not in length on purpose", 18); + listHolder_0->mList[1].f = static_cast>(1); + listHolder_0->mList[1].g = 0.0f; + listHolder_0->mList[1].h = 0; - request.arg1 = arg1List_0; + request.arg1 = + chip::app::DataModel::List(listHolder_0->mList, 2); + } auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context))->OnSuccessResponse_164(data.value); @@ -62279,29 +64353,36 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestListStructArgumentRequest::Type; + ListFreer listFreer; RequestType request; - chip::app::Clusters::TestCluster::Structs::SimpleStruct::Type arg1List_0[2]; + { + auto * listHolder_0 = new ListHolder(2); + listFreer.add(listHolder_0); - arg1List_0[0].a = 1; - arg1List_0[0].b = true; - arg1List_0[0].c = static_cast(3); - arg1List_0[0].d = chip::ByteSpan(chip::Uint8::from_const_char("second_octet_stringgarbage: not in length on purpose"), 19); - arg1List_0[0].e = chip::Span("second_char_stringgarbage: not in length on purpose", 18); - arg1List_0[0].f = static_cast>(1); - arg1List_0[0].g = 0.0f; - arg1List_0[0].h = 0; + listHolder_0->mList[0].a = 1; + listHolder_0->mList[0].b = true; + listHolder_0->mList[0].c = static_cast(3); + listHolder_0->mList[0].d = + chip::ByteSpan(chip::Uint8::from_const_char("second_octet_stringgarbage: not in length on purpose"), 19); + listHolder_0->mList[0].e = chip::Span("second_char_stringgarbage: not in length on purpose", 18); + listHolder_0->mList[0].f = static_cast>(1); + listHolder_0->mList[0].g = 0.0f; + listHolder_0->mList[0].h = 0; - arg1List_0[1].a = 0; - arg1List_0[1].b = false; - arg1List_0[1].c = static_cast(2); - arg1List_0[1].d = chip::ByteSpan(chip::Uint8::from_const_char("first_octet_stringgarbage: not in length on purpose"), 18); - arg1List_0[1].e = chip::Span("first_char_stringgarbage: not in length on purpose", 17); - arg1List_0[1].f = static_cast>(1); - arg1List_0[1].g = 0.0f; - arg1List_0[1].h = 0; + listHolder_0->mList[1].a = 0; + listHolder_0->mList[1].b = false; + listHolder_0->mList[1].c = static_cast(2); + listHolder_0->mList[1].d = + chip::ByteSpan(chip::Uint8::from_const_char("first_octet_stringgarbage: not in length on purpose"), 18); + listHolder_0->mList[1].e = chip::Span("first_char_stringgarbage: not in length on purpose", 17); + listHolder_0->mList[1].f = static_cast>(1); + listHolder_0->mList[1].g = 0.0f; + listHolder_0->mList[1].h = 0; - request.arg1 = arg1List_0; + request.arg1 = + chip::app::DataModel::List(listHolder_0->mList, 2); + } auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context))->OnSuccessResponse_165(data.value); @@ -62333,62 +64414,87 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestListNestedStructListArgumentRequest::Type; + ListFreer listFreer; RequestType request; - chip::app::Clusters::TestCluster::Structs::NestedStructList::Type arg1List_0[1]; - - arg1List_0[0].a = 0; - arg1List_0[0].b = true; - - arg1List_0[0].c.a = 0; - arg1List_0[0].c.b = true; - arg1List_0[0].c.c = static_cast(2); - arg1List_0[0].c.d = chip::ByteSpan(chip::Uint8::from_const_char("octet_stringgarbage: not in length on purpose"), 12); - arg1List_0[0].c.e = chip::Span("char_stringgarbage: not in length on purpose", 11); - arg1List_0[0].c.f = static_cast>(1); - arg1List_0[0].c.g = 0.0f; - arg1List_0[0].c.h = 0; - - chip::app::Clusters::TestCluster::Structs::SimpleStruct::Type dList_2[2]; - - dList_2[0].a = 1; - dList_2[0].b = true; - dList_2[0].c = static_cast(3); - dList_2[0].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); - dList_2[0].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); - dList_2[0].f = static_cast>(1); - dList_2[0].g = 0.0f; - dList_2[0].h = 0; - - dList_2[1].a = 2; - dList_2[1].b = true; - dList_2[1].c = static_cast(3); - dList_2[1].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); - dList_2[1].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); - dList_2[1].f = static_cast>(1); - dList_2[1].g = 0.0f; - dList_2[1].h = 0; - - arg1List_0[0].d = dList_2; - - uint32_t eList_2[3]; - eList_2[0] = 1UL; - eList_2[1] = 2UL; - eList_2[2] = 3UL; - arg1List_0[0].e = eList_2; - - chip::ByteSpan fList_2[3]; - fList_2[0] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_1garbage: not in length on purpose"), 14); - fList_2[1] = chip::ByteSpan(chip::Uint8::from_const_char("octect_string_2garbage: not in length on purpose"), 15); - fList_2[2] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_3garbage: not in length on purpose"), 14); - arg1List_0[0].f = fList_2; - - uint8_t gList_2[2]; - gList_2[0] = 0; - gList_2[1] = 255; - arg1List_0[0].g = gList_2; - - request.arg1 = arg1List_0; + { + auto * listHolder_0 = new ListHolder(1); + listFreer.add(listHolder_0); + + listHolder_0->mList[0].a = 0; + listHolder_0->mList[0].b = true; + + listHolder_0->mList[0].c.a = 0; + listHolder_0->mList[0].c.b = true; + listHolder_0->mList[0].c.c = static_cast(2); + listHolder_0->mList[0].c.d = + chip::ByteSpan(chip::Uint8::from_const_char("octet_stringgarbage: not in length on purpose"), 12); + listHolder_0->mList[0].c.e = chip::Span("char_stringgarbage: not in length on purpose", 11); + listHolder_0->mList[0].c.f = static_cast>(1); + listHolder_0->mList[0].c.g = 0.0f; + listHolder_0->mList[0].c.h = 0; + + { + auto * listHolder_2 = new ListHolder(2); + listFreer.add(listHolder_2); + + listHolder_2->mList[0].a = 1; + listHolder_2->mList[0].b = true; + listHolder_2->mList[0].c = static_cast(3); + listHolder_2->mList[0].d = + chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); + listHolder_2->mList[0].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); + listHolder_2->mList[0].f = static_cast>(1); + listHolder_2->mList[0].g = 0.0f; + listHolder_2->mList[0].h = 0; + + listHolder_2->mList[1].a = 2; + listHolder_2->mList[1].b = true; + listHolder_2->mList[1].c = static_cast(3); + listHolder_2->mList[1].d = + chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); + listHolder_2->mList[1].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); + listHolder_2->mList[1].f = static_cast>(1); + listHolder_2->mList[1].g = 0.0f; + listHolder_2->mList[1].h = 0; + + listHolder_0->mList[0].d = + chip::app::DataModel::List(listHolder_2->mList, + 2); + } + + { + auto * listHolder_2 = new ListHolder(3); + listFreer.add(listHolder_2); + listHolder_2->mList[0] = 1UL; + listHolder_2->mList[1] = 2UL; + listHolder_2->mList[2] = 3UL; + listHolder_0->mList[0].e = chip::app::DataModel::List(listHolder_2->mList, 3); + } + + { + auto * listHolder_2 = new ListHolder(3); + listFreer.add(listHolder_2); + listHolder_2->mList[0] = + chip::ByteSpan(chip::Uint8::from_const_char("octet_string_1garbage: not in length on purpose"), 14); + listHolder_2->mList[1] = + chip::ByteSpan(chip::Uint8::from_const_char("octect_string_2garbage: not in length on purpose"), 15); + listHolder_2->mList[2] = + chip::ByteSpan(chip::Uint8::from_const_char("octet_string_3garbage: not in length on purpose"), 14); + listHolder_0->mList[0].f = chip::app::DataModel::List(listHolder_2->mList, 3); + } + + { + auto * listHolder_2 = new ListHolder(2); + listFreer.add(listHolder_2); + listHolder_2->mList[0] = 0; + listHolder_2->mList[1] = 255; + listHolder_0->mList[0].g = chip::app::DataModel::List(listHolder_2->mList, 2); + } + + request.arg1 = chip::app::DataModel::List( + listHolder_0->mList, 1); + } auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context))->OnSuccessResponse_166(data.value); @@ -62420,62 +64526,87 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestListNestedStructListArgumentRequest::Type; + ListFreer listFreer; RequestType request; - chip::app::Clusters::TestCluster::Structs::NestedStructList::Type arg1List_0[1]; - - arg1List_0[0].a = 0; - arg1List_0[0].b = true; - - arg1List_0[0].c.a = 0; - arg1List_0[0].c.b = true; - arg1List_0[0].c.c = static_cast(2); - arg1List_0[0].c.d = chip::ByteSpan(chip::Uint8::from_const_char("octet_stringgarbage: not in length on purpose"), 12); - arg1List_0[0].c.e = chip::Span("char_stringgarbage: not in length on purpose", 11); - arg1List_0[0].c.f = static_cast>(1); - arg1List_0[0].c.g = 0.0f; - arg1List_0[0].c.h = 0; - - chip::app::Clusters::TestCluster::Structs::SimpleStruct::Type dList_2[2]; - - dList_2[0].a = 1; - dList_2[0].b = true; - dList_2[0].c = static_cast(3); - dList_2[0].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); - dList_2[0].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); - dList_2[0].f = static_cast>(1); - dList_2[0].g = 0.0f; - dList_2[0].h = 0; - - dList_2[1].a = 2; - dList_2[1].b = false; - dList_2[1].c = static_cast(3); - dList_2[1].d = chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); - dList_2[1].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); - dList_2[1].f = static_cast>(1); - dList_2[1].g = 0.0f; - dList_2[1].h = 0; - - arg1List_0[0].d = dList_2; - - uint32_t eList_2[3]; - eList_2[0] = 1UL; - eList_2[1] = 2UL; - eList_2[2] = 3UL; - arg1List_0[0].e = eList_2; - - chip::ByteSpan fList_2[3]; - fList_2[0] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_1garbage: not in length on purpose"), 14); - fList_2[1] = chip::ByteSpan(chip::Uint8::from_const_char("octect_string_2garbage: not in length on purpose"), 15); - fList_2[2] = chip::ByteSpan(chip::Uint8::from_const_char("octet_string_3garbage: not in length on purpose"), 14); - arg1List_0[0].f = fList_2; - - uint8_t gList_2[2]; - gList_2[0] = 0; - gList_2[1] = 255; - arg1List_0[0].g = gList_2; - - request.arg1 = arg1List_0; + { + auto * listHolder_0 = new ListHolder(1); + listFreer.add(listHolder_0); + + listHolder_0->mList[0].a = 0; + listHolder_0->mList[0].b = true; + + listHolder_0->mList[0].c.a = 0; + listHolder_0->mList[0].c.b = true; + listHolder_0->mList[0].c.c = static_cast(2); + listHolder_0->mList[0].c.d = + chip::ByteSpan(chip::Uint8::from_const_char("octet_stringgarbage: not in length on purpose"), 12); + listHolder_0->mList[0].c.e = chip::Span("char_stringgarbage: not in length on purpose", 11); + listHolder_0->mList[0].c.f = static_cast>(1); + listHolder_0->mList[0].c.g = 0.0f; + listHolder_0->mList[0].c.h = 0; + + { + auto * listHolder_2 = new ListHolder(2); + listFreer.add(listHolder_2); + + listHolder_2->mList[0].a = 1; + listHolder_2->mList[0].b = true; + listHolder_2->mList[0].c = static_cast(3); + listHolder_2->mList[0].d = + chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); + listHolder_2->mList[0].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); + listHolder_2->mList[0].f = static_cast>(1); + listHolder_2->mList[0].g = 0.0f; + listHolder_2->mList[0].h = 0; + + listHolder_2->mList[1].a = 2; + listHolder_2->mList[1].b = false; + listHolder_2->mList[1].c = static_cast(3); + listHolder_2->mList[1].d = + chip::ByteSpan(chip::Uint8::from_const_char("nested_octet_stringgarbage: not in length on purpose"), 19); + listHolder_2->mList[1].e = chip::Span("nested_char_stringgarbage: not in length on purpose", 18); + listHolder_2->mList[1].f = static_cast>(1); + listHolder_2->mList[1].g = 0.0f; + listHolder_2->mList[1].h = 0; + + listHolder_0->mList[0].d = + chip::app::DataModel::List(listHolder_2->mList, + 2); + } + + { + auto * listHolder_2 = new ListHolder(3); + listFreer.add(listHolder_2); + listHolder_2->mList[0] = 1UL; + listHolder_2->mList[1] = 2UL; + listHolder_2->mList[2] = 3UL; + listHolder_0->mList[0].e = chip::app::DataModel::List(listHolder_2->mList, 3); + } + + { + auto * listHolder_2 = new ListHolder(3); + listFreer.add(listHolder_2); + listHolder_2->mList[0] = + chip::ByteSpan(chip::Uint8::from_const_char("octet_string_1garbage: not in length on purpose"), 14); + listHolder_2->mList[1] = + chip::ByteSpan(chip::Uint8::from_const_char("octect_string_2garbage: not in length on purpose"), 15); + listHolder_2->mList[2] = + chip::ByteSpan(chip::Uint8::from_const_char("octet_string_3garbage: not in length on purpose"), 14); + listHolder_0->mList[0].f = chip::app::DataModel::List(listHolder_2->mList, 3); + } + + { + auto * listHolder_2 = new ListHolder(2); + listFreer.add(listHolder_2); + listHolder_2->mList[0] = 0; + listHolder_2->mList[1] = 255; + listHolder_0->mList[0].g = chip::app::DataModel::List(listHolder_2->mList, 2); + } + + request.arg1 = chip::app::DataModel::List( + listHolder_0->mList, 1); + } auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context))->OnSuccessResponse_167(data.value); @@ -62508,14 +64639,18 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::List listInt8uArgument; - uint8_t listInt8uList_0[4]; - listInt8uList_0[0] = 1; - listInt8uList_0[1] = 2; - listInt8uList_0[2] = 3; - listInt8uList_0[3] = 4; - listInt8uArgument = listInt8uList_0; + { + auto * listHolder_0 = new ListHolder(4); + listFreer.add(listHolder_0); + listHolder_0->mList[0] = 1; + listHolder_0->mList[1] = 2; + listHolder_0->mList[2] = 3; + listHolder_0->mList[3] = 4; + listInt8uArgument = chip::app::DataModel::List(listHolder_0->mList, 4); + } ReturnErrorOnFailure(cluster.WriteAttribute( listInt8uArgument, this, OnSuccessCallback_168, OnFailureCallback_168)); @@ -62536,6 +64671,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_169, OnFailureCallback_169)); return CHIP_NO_ERROR; @@ -62571,14 +64708,18 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::List listOctetStringArgument; - chip::ByteSpan listOctetStringList_0[4]; - listOctetStringList_0[0] = chip::ByteSpan(chip::Uint8::from_const_char("Test0garbage: not in length on purpose"), 5); - listOctetStringList_0[1] = chip::ByteSpan(chip::Uint8::from_const_char("Test1garbage: not in length on purpose"), 5); - listOctetStringList_0[2] = chip::ByteSpan(chip::Uint8::from_const_char("Test2garbage: not in length on purpose"), 5); - listOctetStringList_0[3] = chip::ByteSpan(chip::Uint8::from_const_char("Test3garbage: not in length on purpose"), 5); - listOctetStringArgument = listOctetStringList_0; + { + auto * listHolder_0 = new ListHolder(4); + listFreer.add(listHolder_0); + listHolder_0->mList[0] = chip::ByteSpan(chip::Uint8::from_const_char("Test0garbage: not in length on purpose"), 5); + listHolder_0->mList[1] = chip::ByteSpan(chip::Uint8::from_const_char("Test1garbage: not in length on purpose"), 5); + listHolder_0->mList[2] = chip::ByteSpan(chip::Uint8::from_const_char("Test2garbage: not in length on purpose"), 5); + listHolder_0->mList[3] = chip::ByteSpan(chip::Uint8::from_const_char("Test3garbage: not in length on purpose"), 5); + listOctetStringArgument = chip::app::DataModel::List(listHolder_0->mList, 4); + } ReturnErrorOnFailure(cluster.WriteAttribute( listOctetStringArgument, this, OnSuccessCallback_170, OnFailureCallback_170)); @@ -62599,6 +64740,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_171, OnFailureCallback_171)); return CHIP_NO_ERROR; @@ -62638,28 +64781,34 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::List listStructOctetStringArgument; - chip::app::Clusters::TestCluster::Structs::TestListStructOctet::Type listStructOctetStringList_0[4]; + { + auto * listHolder_0 = new ListHolder(4); + listFreer.add(listHolder_0); - listStructOctetStringList_0[0].fabricIndex = 0ULL; - listStructOctetStringList_0[0].operationalCert = - chip::ByteSpan(chip::Uint8::from_const_char("Test0garbage: not in length on purpose"), 5); + listHolder_0->mList[0].fabricIndex = 0ULL; + listHolder_0->mList[0].operationalCert = + chip::ByteSpan(chip::Uint8::from_const_char("Test0garbage: not in length on purpose"), 5); - listStructOctetStringList_0[1].fabricIndex = 1ULL; - listStructOctetStringList_0[1].operationalCert = - chip::ByteSpan(chip::Uint8::from_const_char("Test1garbage: not in length on purpose"), 5); + listHolder_0->mList[1].fabricIndex = 1ULL; + listHolder_0->mList[1].operationalCert = + chip::ByteSpan(chip::Uint8::from_const_char("Test1garbage: not in length on purpose"), 5); - listStructOctetStringList_0[2].fabricIndex = 2ULL; - listStructOctetStringList_0[2].operationalCert = - chip::ByteSpan(chip::Uint8::from_const_char("Test2garbage: not in length on purpose"), 5); + listHolder_0->mList[2].fabricIndex = 2ULL; + listHolder_0->mList[2].operationalCert = + chip::ByteSpan(chip::Uint8::from_const_char("Test2garbage: not in length on purpose"), 5); - listStructOctetStringList_0[3].fabricIndex = 3ULL; - listStructOctetStringList_0[3].operationalCert = - chip::ByteSpan(chip::Uint8::from_const_char("Test3garbage: not in length on purpose"), 5); + listHolder_0->mList[3].fabricIndex = 3ULL; + listHolder_0->mList[3].operationalCert = + chip::ByteSpan(chip::Uint8::from_const_char("Test3garbage: not in length on purpose"), 5); - listStructOctetStringArgument = listStructOctetStringList_0; + listStructOctetStringArgument = + chip::app::DataModel::List( + listHolder_0->mList, 4); + } ReturnErrorOnFailure(cluster.WriteAttribute( listStructOctetStringArgument, this, OnSuccessCallback_172, OnFailureCallback_172)); @@ -62680,6 +64829,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_173, OnFailureCallback_173)); return CHIP_NO_ERROR; @@ -62724,6 +64875,7 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestNullableOptionalRequest::Type; + ListFreer listFreer; RequestType request; request.arg1.Emplace(); request.arg1.Value().SetNonNull(); @@ -62771,6 +64923,7 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestNullableOptionalRequest::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -62806,6 +64959,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_176, OnFailureCallback_176)); @@ -62843,22 +64998,32 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::List listNullablesAndOptionalsStructArgument; - chip::app::Clusters::TestCluster::Structs::NullablesAndOptionalsStruct::Type listNullablesAndOptionalsStructList_0[1]; + { + auto * listHolder_0 = new ListHolder(1); + listFreer.add(listHolder_0); - listNullablesAndOptionalsStructList_0[0].nullableInt.SetNull(); - listNullablesAndOptionalsStructList_0[0].nullableString.SetNull(); - listNullablesAndOptionalsStructList_0[0].nullableStruct.SetNull(); - listNullablesAndOptionalsStructList_0[0].nullableList.SetNonNull(); + listHolder_0->mList[0].nullableInt.SetNull(); + listHolder_0->mList[0].nullableString.SetNull(); + listHolder_0->mList[0].nullableStruct.SetNull(); + listHolder_0->mList[0].nullableList.SetNonNull(); - chip::app::Clusters::TestCluster::SimpleEnum nullableListList_3[2]; - nullableListList_3[0] = static_cast(1); - nullableListList_3[1] = static_cast(2); - listNullablesAndOptionalsStructList_0[0].nullableList.Value() = nullableListList_3; + { + auto * listHolder_3 = new ListHolder(2); + listFreer.add(listHolder_3); + listHolder_3->mList[0] = static_cast(1); + listHolder_3->mList[1] = static_cast(2); + listHolder_0->mList[0].nullableList.Value() = + chip::app::DataModel::List(listHolder_3->mList, 2); + } - listNullablesAndOptionalsStructArgument = listNullablesAndOptionalsStructList_0; + listNullablesAndOptionalsStructArgument = + chip::app::DataModel::List( + listHolder_0->mList, 1); + } ReturnErrorOnFailure( cluster.WriteAttribute( @@ -62880,6 +65045,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_178, OnFailureCallback_178)); @@ -62928,6 +65095,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableBooleanArgument; nullableBooleanArgument.SetNull(); @@ -62950,6 +65118,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_180, OnFailureCallback_180)); return CHIP_NO_ERROR; @@ -62974,6 +65144,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableBooleanArgument; nullableBooleanArgument.SetNonNull(); nullableBooleanArgument.Value() = true; @@ -62997,6 +65168,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_182, OnFailureCallback_182)); return CHIP_NO_ERROR; @@ -63022,6 +65195,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableBitmap8Argument; nullableBitmap8Argument.SetNonNull(); nullableBitmap8Argument.Value() = 254; @@ -63045,6 +65219,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_184, OnFailureCallback_184)); return CHIP_NO_ERROR; @@ -63070,6 +65246,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableBitmap8Argument; nullableBitmap8Argument.SetNonNull(); nullableBitmap8Argument.Value() = 255; @@ -63094,6 +65271,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_186, OnFailureCallback_186)); return CHIP_NO_ERROR; @@ -63119,6 +65298,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableBitmap8Argument; nullableBitmap8Argument.SetNull(); @@ -63141,6 +65321,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_188, OnFailureCallback_188)); return CHIP_NO_ERROR; @@ -63165,6 +65347,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableBitmap16Argument; nullableBitmap16Argument.SetNonNull(); nullableBitmap16Argument.Value() = 65534U; @@ -63188,6 +65371,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_190, OnFailureCallback_190)); return CHIP_NO_ERROR; @@ -63213,6 +65398,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableBitmap16Argument; nullableBitmap16Argument.SetNonNull(); nullableBitmap16Argument.Value() = 65535U; @@ -63237,6 +65423,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_192, OnFailureCallback_192)); return CHIP_NO_ERROR; @@ -63262,6 +65450,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableBitmap16Argument; nullableBitmap16Argument.SetNull(); @@ -63284,6 +65473,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_194, OnFailureCallback_194)); return CHIP_NO_ERROR; @@ -63308,6 +65499,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableBitmap32Argument; nullableBitmap32Argument.SetNonNull(); nullableBitmap32Argument.Value() = 4294967294UL; @@ -63331,6 +65523,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_196, OnFailureCallback_196)); return CHIP_NO_ERROR; @@ -63356,6 +65550,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableBitmap32Argument; nullableBitmap32Argument.SetNonNull(); nullableBitmap32Argument.Value() = 4294967295UL; @@ -63380,6 +65575,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_198, OnFailureCallback_198)); return CHIP_NO_ERROR; @@ -63405,6 +65602,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableBitmap32Argument; nullableBitmap32Argument.SetNull(); @@ -63427,6 +65625,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_200, OnFailureCallback_200)); return CHIP_NO_ERROR; @@ -63451,6 +65651,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableBitmap64Argument; nullableBitmap64Argument.SetNonNull(); nullableBitmap64Argument.Value() = 18446744073709551614ULL; @@ -63474,6 +65675,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_202, OnFailureCallback_202)); return CHIP_NO_ERROR; @@ -63499,6 +65702,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableBitmap64Argument; nullableBitmap64Argument.SetNonNull(); nullableBitmap64Argument.Value() = 18446744073709551615ULL; @@ -63523,6 +65727,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_204, OnFailureCallback_204)); return CHIP_NO_ERROR; @@ -63548,6 +65754,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableBitmap64Argument; nullableBitmap64Argument.SetNull(); @@ -63570,6 +65777,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_206, OnFailureCallback_206)); return CHIP_NO_ERROR; @@ -63594,6 +65803,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt8uArgument; nullableInt8uArgument.SetNonNull(); nullableInt8uArgument.Value() = 0; @@ -63617,6 +65827,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_208, OnFailureCallback_208)); return CHIP_NO_ERROR; @@ -63642,6 +65854,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt8uArgument; nullableInt8uArgument.SetNonNull(); nullableInt8uArgument.Value() = 254; @@ -63665,6 +65878,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_210, OnFailureCallback_210)); return CHIP_NO_ERROR; @@ -63690,6 +65905,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt8uArgument; nullableInt8uArgument.SetNonNull(); nullableInt8uArgument.Value() = 255; @@ -63714,6 +65930,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_212, OnFailureCallback_212)); return CHIP_NO_ERROR; @@ -63739,6 +65957,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_213, OnFailureCallback_213)); return CHIP_NO_ERROR; @@ -63763,6 +65983,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt8uArgument; nullableInt8uArgument.SetNull(); @@ -63785,6 +66006,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_215, OnFailureCallback_215)); return CHIP_NO_ERROR; @@ -63809,6 +66032,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_216, OnFailureCallback_216)); return CHIP_NO_ERROR; @@ -63833,6 +66058,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_217, OnFailureCallback_217)); return CHIP_NO_ERROR; @@ -63857,6 +66084,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt8uArgument; nullableInt8uArgument.SetNonNull(); nullableInt8uArgument.Value() = 128; @@ -63880,6 +66108,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_219, OnFailureCallback_219)); return CHIP_NO_ERROR; @@ -63904,6 +66134,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_220, OnFailureCallback_220)); return CHIP_NO_ERROR; @@ -63928,6 +66160,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt16uArgument; nullableInt16uArgument.SetNonNull(); nullableInt16uArgument.Value() = 0U; @@ -63951,6 +66184,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_222, OnFailureCallback_222)); return CHIP_NO_ERROR; @@ -63976,6 +66211,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt16uArgument; nullableInt16uArgument.SetNonNull(); nullableInt16uArgument.Value() = 65534U; @@ -63999,6 +66235,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_224, OnFailureCallback_224)); return CHIP_NO_ERROR; @@ -64024,6 +66262,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt16uArgument; nullableInt16uArgument.SetNonNull(); nullableInt16uArgument.Value() = 65535U; @@ -64048,6 +66287,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_226, OnFailureCallback_226)); return CHIP_NO_ERROR; @@ -64073,6 +66314,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt16uArgument; nullableInt16uArgument.SetNull(); @@ -64095,6 +66337,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_228, OnFailureCallback_228)); return CHIP_NO_ERROR; @@ -64119,6 +66363,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_229, OnFailureCallback_229)); return CHIP_NO_ERROR; @@ -64143,6 +66389,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_230, OnFailureCallback_230)); return CHIP_NO_ERROR; @@ -64167,6 +66415,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt16uArgument; nullableInt16uArgument.SetNonNull(); nullableInt16uArgument.Value() = 32000U; @@ -64190,6 +66439,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_232, OnFailureCallback_232)); return CHIP_NO_ERROR; @@ -64214,6 +66465,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_233, OnFailureCallback_233)); return CHIP_NO_ERROR; @@ -64238,6 +66491,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt32uArgument; nullableInt32uArgument.SetNonNull(); nullableInt32uArgument.Value() = 0UL; @@ -64261,6 +66515,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_235, OnFailureCallback_235)); return CHIP_NO_ERROR; @@ -64286,6 +66542,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt32uArgument; nullableInt32uArgument.SetNonNull(); nullableInt32uArgument.Value() = 4294967294UL; @@ -64309,6 +66566,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_237, OnFailureCallback_237)); return CHIP_NO_ERROR; @@ -64334,6 +66593,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt32uArgument; nullableInt32uArgument.SetNonNull(); nullableInt32uArgument.Value() = 4294967295UL; @@ -64358,6 +66618,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_239, OnFailureCallback_239)); return CHIP_NO_ERROR; @@ -64383,6 +66645,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt32uArgument; nullableInt32uArgument.SetNull(); @@ -64405,6 +66668,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_241, OnFailureCallback_241)); return CHIP_NO_ERROR; @@ -64429,6 +66694,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_242, OnFailureCallback_242)); return CHIP_NO_ERROR; @@ -64453,6 +66720,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_243, OnFailureCallback_243)); return CHIP_NO_ERROR; @@ -64477,6 +66746,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt32uArgument; nullableInt32uArgument.SetNonNull(); nullableInt32uArgument.Value() = 2147483647UL; @@ -64500,6 +66770,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_245, OnFailureCallback_245)); return CHIP_NO_ERROR; @@ -64524,6 +66796,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_246, OnFailureCallback_246)); return CHIP_NO_ERROR; @@ -64548,6 +66822,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt64uArgument; nullableInt64uArgument.SetNonNull(); nullableInt64uArgument.Value() = 0ULL; @@ -64571,6 +66846,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_248, OnFailureCallback_248)); return CHIP_NO_ERROR; @@ -64596,6 +66873,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt64uArgument; nullableInt64uArgument.SetNonNull(); nullableInt64uArgument.Value() = 18446744073709551614ULL; @@ -64619,6 +66897,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_250, OnFailureCallback_250)); return CHIP_NO_ERROR; @@ -64644,6 +66924,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt64uArgument; nullableInt64uArgument.SetNonNull(); nullableInt64uArgument.Value() = 18446744073709551615ULL; @@ -64668,6 +66949,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_252, OnFailureCallback_252)); return CHIP_NO_ERROR; @@ -64693,6 +66976,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt64uArgument; nullableInt64uArgument.SetNull(); @@ -64715,6 +66999,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_254, OnFailureCallback_254)); return CHIP_NO_ERROR; @@ -64739,6 +67025,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_255, OnFailureCallback_255)); return CHIP_NO_ERROR; @@ -64763,6 +67051,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_256, OnFailureCallback_256)); return CHIP_NO_ERROR; @@ -64787,6 +67077,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt64uArgument; nullableInt64uArgument.SetNonNull(); nullableInt64uArgument.Value() = 18000000000000000000ULL; @@ -64810,6 +67101,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_258, OnFailureCallback_258)); return CHIP_NO_ERROR; @@ -64834,6 +67127,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_259, OnFailureCallback_259)); return CHIP_NO_ERROR; @@ -64858,6 +67153,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt8sArgument; nullableInt8sArgument.SetNonNull(); nullableInt8sArgument.Value() = -127; @@ -64881,6 +67177,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_261, OnFailureCallback_261)); return CHIP_NO_ERROR; @@ -64906,6 +67204,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt8sArgument; nullableInt8sArgument.SetNonNull(); nullableInt8sArgument.Value() = -128; @@ -64930,6 +67229,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_263, OnFailureCallback_263)); return CHIP_NO_ERROR; @@ -64955,6 +67256,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt8sArgument; nullableInt8sArgument.SetNull(); @@ -64977,6 +67279,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_265, OnFailureCallback_265)); return CHIP_NO_ERROR; @@ -65001,6 +67305,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_266, OnFailureCallback_266)); return CHIP_NO_ERROR; @@ -65025,6 +67331,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_267, OnFailureCallback_267)); return CHIP_NO_ERROR; @@ -65049,6 +67357,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt8sArgument; nullableInt8sArgument.SetNonNull(); nullableInt8sArgument.Value() = -127; @@ -65072,6 +67381,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_269, OnFailureCallback_269)); return CHIP_NO_ERROR; @@ -65096,6 +67407,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_270, OnFailureCallback_270)); return CHIP_NO_ERROR; @@ -65120,6 +67433,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt16sArgument; nullableInt16sArgument.SetNonNull(); nullableInt16sArgument.Value() = -32767; @@ -65143,6 +67457,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_272, OnFailureCallback_272)); return CHIP_NO_ERROR; @@ -65168,6 +67484,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt16sArgument; nullableInt16sArgument.SetNonNull(); nullableInt16sArgument.Value() = -32768; @@ -65192,6 +67509,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_274, OnFailureCallback_274)); return CHIP_NO_ERROR; @@ -65217,6 +67536,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt16sArgument; nullableInt16sArgument.SetNull(); @@ -65239,6 +67559,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_276, OnFailureCallback_276)); return CHIP_NO_ERROR; @@ -65263,6 +67585,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_277, OnFailureCallback_277)); return CHIP_NO_ERROR; @@ -65287,6 +67611,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_278, OnFailureCallback_278)); return CHIP_NO_ERROR; @@ -65311,6 +67637,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt16sArgument; nullableInt16sArgument.SetNonNull(); nullableInt16sArgument.Value() = -32767; @@ -65334,6 +67661,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_280, OnFailureCallback_280)); return CHIP_NO_ERROR; @@ -65358,6 +67687,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_281, OnFailureCallback_281)); return CHIP_NO_ERROR; @@ -65382,6 +67713,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt32sArgument; nullableInt32sArgument.SetNonNull(); nullableInt32sArgument.Value() = -2147483647L; @@ -65405,6 +67737,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_283, OnFailureCallback_283)); return CHIP_NO_ERROR; @@ -65430,6 +67764,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt32sArgument; nullableInt32sArgument.SetNonNull(); nullableInt32sArgument.Value() = -2147483648L; @@ -65454,6 +67789,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_285, OnFailureCallback_285)); return CHIP_NO_ERROR; @@ -65479,6 +67816,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt32sArgument; nullableInt32sArgument.SetNull(); @@ -65501,6 +67839,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_287, OnFailureCallback_287)); return CHIP_NO_ERROR; @@ -65525,6 +67865,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_288, OnFailureCallback_288)); return CHIP_NO_ERROR; @@ -65549,6 +67891,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_289, OnFailureCallback_289)); return CHIP_NO_ERROR; @@ -65573,6 +67917,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt32sArgument; nullableInt32sArgument.SetNonNull(); nullableInt32sArgument.Value() = -2147483647L; @@ -65596,6 +67941,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_291, OnFailureCallback_291)); return CHIP_NO_ERROR; @@ -65620,6 +67967,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_292, OnFailureCallback_292)); return CHIP_NO_ERROR; @@ -65644,6 +67993,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt64sArgument; nullableInt64sArgument.SetNonNull(); nullableInt64sArgument.Value() = -9223372036854775807LL; @@ -65667,6 +68017,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_294, OnFailureCallback_294)); return CHIP_NO_ERROR; @@ -65692,6 +68044,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt64sArgument; nullableInt64sArgument.SetNonNull(); nullableInt64sArgument.Value() = -9223372036854775807LL - 1; @@ -65716,6 +68069,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_296, OnFailureCallback_296)); return CHIP_NO_ERROR; @@ -65741,6 +68096,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt64sArgument; nullableInt64sArgument.SetNull(); @@ -65763,6 +68119,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_298, OnFailureCallback_298)); return CHIP_NO_ERROR; @@ -65787,6 +68145,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_299, OnFailureCallback_299)); return CHIP_NO_ERROR; @@ -65811,6 +68171,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_300, OnFailureCallback_300)); return CHIP_NO_ERROR; @@ -65835,6 +68197,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableInt64sArgument; nullableInt64sArgument.SetNonNull(); nullableInt64sArgument.Value() = -9223372036854775807LL; @@ -65858,6 +68221,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_302, OnFailureCallback_302)); return CHIP_NO_ERROR; @@ -65882,6 +68247,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_303, OnFailureCallback_303)); return CHIP_NO_ERROR; @@ -65906,6 +68273,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableFloatSingleArgument; nullableFloatSingleArgument.SetNonNull(); nullableFloatSingleArgument.Value() = 0.1f; @@ -65929,6 +68297,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_305, OnFailureCallback_305)); return CHIP_NO_ERROR; @@ -65954,6 +68324,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableFloatSingleArgument; nullableFloatSingleArgument.SetNonNull(); nullableFloatSingleArgument.Value() = INFINITY; @@ -65977,6 +68348,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_307, OnFailureCallback_307)); return CHIP_NO_ERROR; @@ -66002,6 +68375,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableFloatSingleArgument; nullableFloatSingleArgument.SetNonNull(); nullableFloatSingleArgument.Value() = -INFINITY; @@ -66025,6 +68399,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_309, OnFailureCallback_309)); return CHIP_NO_ERROR; @@ -66050,6 +68426,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableFloatSingleArgument; nullableFloatSingleArgument.SetNull(); @@ -66072,6 +68449,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_311, OnFailureCallback_311)); return CHIP_NO_ERROR; @@ -66096,6 +68475,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableFloatSingleArgument; nullableFloatSingleArgument.SetNonNull(); nullableFloatSingleArgument.Value() = 0.0f; @@ -66119,6 +68499,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_313, OnFailureCallback_313)); return CHIP_NO_ERROR; @@ -66144,6 +68526,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableFloatDoubleArgument; nullableFloatDoubleArgument.SetNonNull(); nullableFloatDoubleArgument.Value() = 0.1234567890123; @@ -66167,6 +68550,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_315, OnFailureCallback_315)); return CHIP_NO_ERROR; @@ -66192,6 +68577,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableFloatDoubleArgument; nullableFloatDoubleArgument.SetNonNull(); nullableFloatDoubleArgument.Value() = INFINITY; @@ -66215,6 +68601,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_317, OnFailureCallback_317)); return CHIP_NO_ERROR; @@ -66240,6 +68628,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableFloatDoubleArgument; nullableFloatDoubleArgument.SetNonNull(); nullableFloatDoubleArgument.Value() = -INFINITY; @@ -66263,6 +68652,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_319, OnFailureCallback_319)); return CHIP_NO_ERROR; @@ -66288,6 +68679,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableFloatDoubleArgument; nullableFloatDoubleArgument.SetNull(); @@ -66310,6 +68702,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_321, OnFailureCallback_321)); return CHIP_NO_ERROR; @@ -66334,6 +68728,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableFloatDoubleArgument; nullableFloatDoubleArgument.SetNonNull(); nullableFloatDoubleArgument.Value() = 0; @@ -66357,6 +68752,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_323, OnFailureCallback_323)); return CHIP_NO_ERROR; @@ -66382,6 +68779,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableEnum8Argument; nullableEnum8Argument.SetNonNull(); nullableEnum8Argument.Value() = 0; @@ -66405,6 +68803,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_325, OnFailureCallback_325)); return CHIP_NO_ERROR; @@ -66430,6 +68830,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableEnum8Argument; nullableEnum8Argument.SetNonNull(); nullableEnum8Argument.Value() = 254; @@ -66453,6 +68854,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_327, OnFailureCallback_327)); return CHIP_NO_ERROR; @@ -66478,6 +68881,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableEnum8Argument; nullableEnum8Argument.SetNonNull(); nullableEnum8Argument.Value() = 255; @@ -66502,6 +68906,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_329, OnFailureCallback_329)); return CHIP_NO_ERROR; @@ -66527,6 +68933,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableEnum8Argument; nullableEnum8Argument.SetNull(); @@ -66549,6 +68956,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_331, OnFailureCallback_331)); return CHIP_NO_ERROR; @@ -66573,6 +68982,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableEnum16Argument; nullableEnum16Argument.SetNonNull(); nullableEnum16Argument.Value() = 0U; @@ -66596,6 +69006,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_333, OnFailureCallback_333)); return CHIP_NO_ERROR; @@ -66621,6 +69033,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableEnum16Argument; nullableEnum16Argument.SetNonNull(); nullableEnum16Argument.Value() = 65534U; @@ -66644,6 +69057,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_335, OnFailureCallback_335)); return CHIP_NO_ERROR; @@ -66669,6 +69084,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableEnum16Argument; nullableEnum16Argument.SetNonNull(); nullableEnum16Argument.Value() = 65535U; @@ -66693,6 +69109,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_337, OnFailureCallback_337)); return CHIP_NO_ERROR; @@ -66718,6 +69136,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableEnum16Argument; nullableEnum16Argument.SetNull(); @@ -66740,6 +69159,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_339, OnFailureCallback_339)); return CHIP_NO_ERROR; @@ -66764,6 +69185,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableEnumAttrArgument; nullableEnumAttrArgument.SetNonNull(); nullableEnumAttrArgument.Value() = static_cast(0); @@ -66787,6 +69209,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_341, OnFailureCallback_341)); return CHIP_NO_ERROR; @@ -66813,6 +69237,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableEnumAttrArgument; nullableEnumAttrArgument.SetNonNull(); nullableEnumAttrArgument.Value() = static_cast(254); @@ -66836,6 +69261,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_343, OnFailureCallback_343)); return CHIP_NO_ERROR; @@ -66862,6 +69289,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableEnumAttrArgument; nullableEnumAttrArgument.SetNonNull(); nullableEnumAttrArgument.Value() = static_cast(255); @@ -66886,6 +69314,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_345, OnFailureCallback_345)); return CHIP_NO_ERROR; @@ -66912,6 +69342,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableEnumAttrArgument; nullableEnumAttrArgument.SetNull(); @@ -66934,6 +69365,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_347, OnFailureCallback_347)); return CHIP_NO_ERROR; @@ -66959,6 +69392,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_348, OnFailureCallback_348)); return CHIP_NO_ERROR; @@ -66985,6 +69420,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableOctetStringArgument; nullableOctetStringArgument.SetNonNull(); nullableOctetStringArgument.Value() = @@ -67009,6 +69445,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_350, OnFailureCallback_350)); return CHIP_NO_ERROR; @@ -67035,6 +69473,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableOctetStringArgument; nullableOctetStringArgument.SetNull(); @@ -67057,6 +69496,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_352, OnFailureCallback_352)); return CHIP_NO_ERROR; @@ -67081,6 +69522,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableOctetStringArgument; nullableOctetStringArgument.SetNonNull(); nullableOctetStringArgument.Value() = chip::ByteSpan(chip::Uint8::from_const_char("garbage: not in length on purpose"), 0); @@ -67104,6 +69546,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_354, OnFailureCallback_354)); return CHIP_NO_ERROR; @@ -67130,6 +69574,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_355, OnFailureCallback_355)); return CHIP_NO_ERROR; @@ -67155,6 +69601,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableCharStringArgument; nullableCharStringArgument.SetNonNull(); nullableCharStringArgument.Value() = chip::Span("☉T☉garbage: not in length on purpose", 7); @@ -67178,6 +69625,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_357, OnFailureCallback_357)); return CHIP_NO_ERROR; @@ -67203,6 +69652,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableCharStringArgument; nullableCharStringArgument.SetNull(); @@ -67225,6 +69675,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_359, OnFailureCallback_359)); return CHIP_NO_ERROR; @@ -67249,6 +69701,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableCharStringArgument; nullableCharStringArgument.SetNonNull(); nullableCharStringArgument.Value() = chip::Span("garbage: not in length on purpose", 0); @@ -67272,6 +69725,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_361, OnFailureCallback_361)); return CHIP_NO_ERROR; @@ -67297,6 +69752,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_362, OnFailureCallback_362)); return CHIP_NO_ERROR; @@ -67317,6 +69774,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_363, OnFailureCallback_363)); return CHIP_NO_ERROR; @@ -67336,6 +69795,7 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestSimpleOptionalArgumentRequest::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -67364,6 +69824,7 @@ class TestCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestSimpleOptionalArgumentRequest::Type; + ListFreer listFreer; RequestType request; request.arg1.Emplace(); request.arg1.Value() = 1; @@ -67394,6 +69855,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + mTest_TestCluster_list_int8u_Reported = OnSuccessCallback_366; return WaitForMs(0); } @@ -67428,6 +69891,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t minIntervalArgument; minIntervalArgument = 2U; uint16_t maxIntervalArgument; @@ -67467,14 +69931,18 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::List listInt8uArgument; - uint8_t listInt8uList_0[4]; - listInt8uList_0[0] = 5; - listInt8uList_0[1] = 6; - listInt8uList_0[2] = 7; - listInt8uList_0[3] = 8; - listInt8uArgument = listInt8uList_0; + { + auto * listHolder_0 = new ListHolder(4); + listFreer.add(listHolder_0); + listHolder_0->mList[0] = 5; + listHolder_0->mList[1] = 6; + listHolder_0->mList[2] = 7; + listHolder_0->mList[3] = 8; + listInt8uArgument = chip::app::DataModel::List(listHolder_0->mList, 4); + } ReturnErrorOnFailure(cluster.WriteAttribute( listInt8uArgument, this, OnSuccessCallback_368, OnFailureCallback_368)); @@ -67495,6 +69963,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + mTest_TestCluster_list_int8u_Reported = OnSuccessCallback_369; return CHIP_NO_ERROR; } @@ -67531,6 +70001,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_370, OnFailureCallback_370)); return CHIP_NO_ERROR; @@ -67555,6 +70027,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t rangeRestrictedInt8uArgument; rangeRestrictedInt8uArgument = 0; @@ -67578,6 +70051,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t rangeRestrictedInt8uArgument; rangeRestrictedInt8uArgument = 19; @@ -67601,6 +70075,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t rangeRestrictedInt8uArgument; rangeRestrictedInt8uArgument = 101; @@ -67624,6 +70099,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t rangeRestrictedInt8uArgument; rangeRestrictedInt8uArgument = 255; @@ -67647,6 +70123,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_375, OnFailureCallback_375)); return CHIP_NO_ERROR; @@ -67671,6 +70149,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t rangeRestrictedInt8uArgument; rangeRestrictedInt8uArgument = 20; @@ -67693,6 +70172,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_377, OnFailureCallback_377)); return CHIP_NO_ERROR; @@ -67717,6 +70198,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t rangeRestrictedInt8uArgument; rangeRestrictedInt8uArgument = 100; @@ -67739,6 +70221,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_379, OnFailureCallback_379)); return CHIP_NO_ERROR; @@ -67763,6 +70247,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t rangeRestrictedInt8uArgument; rangeRestrictedInt8uArgument = 50; @@ -67785,6 +70270,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_381, OnFailureCallback_381)); return CHIP_NO_ERROR; @@ -67809,6 +70296,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_382, OnFailureCallback_382)); return CHIP_NO_ERROR; @@ -67833,6 +70322,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t rangeRestrictedInt16uArgument; rangeRestrictedInt16uArgument = 0U; @@ -67856,6 +70346,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t rangeRestrictedInt16uArgument; rangeRestrictedInt16uArgument = 99U; @@ -67879,6 +70370,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t rangeRestrictedInt16uArgument; rangeRestrictedInt16uArgument = 1001U; @@ -67902,6 +70394,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t rangeRestrictedInt16uArgument; rangeRestrictedInt16uArgument = 65535U; @@ -67925,6 +70418,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_387, OnFailureCallback_387)); return CHIP_NO_ERROR; @@ -67949,6 +70444,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t rangeRestrictedInt16uArgument; rangeRestrictedInt16uArgument = 100U; @@ -67971,6 +70467,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_389, OnFailureCallback_389)); return CHIP_NO_ERROR; @@ -67995,6 +70493,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t rangeRestrictedInt16uArgument; rangeRestrictedInt16uArgument = 1000U; @@ -68017,6 +70516,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_391, OnFailureCallback_391)); return CHIP_NO_ERROR; @@ -68041,6 +70542,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t rangeRestrictedInt16uArgument; rangeRestrictedInt16uArgument = 500U; @@ -68063,6 +70565,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_393, OnFailureCallback_393)); return CHIP_NO_ERROR; @@ -68087,6 +70591,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_394, OnFailureCallback_394)); return CHIP_NO_ERROR; @@ -68111,6 +70617,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int8_t rangeRestrictedInt8sArgument; rangeRestrictedInt8sArgument = -128; @@ -68134,6 +70641,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int8_t rangeRestrictedInt8sArgument; rangeRestrictedInt8sArgument = -41; @@ -68157,6 +70665,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int8_t rangeRestrictedInt8sArgument; rangeRestrictedInt8sArgument = 51; @@ -68180,6 +70689,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int8_t rangeRestrictedInt8sArgument; rangeRestrictedInt8sArgument = 127; @@ -68203,6 +70713,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_399, OnFailureCallback_399)); return CHIP_NO_ERROR; @@ -68227,6 +70739,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int8_t rangeRestrictedInt8sArgument; rangeRestrictedInt8sArgument = -40; @@ -68249,6 +70762,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_401, OnFailureCallback_401)); return CHIP_NO_ERROR; @@ -68273,6 +70788,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int8_t rangeRestrictedInt8sArgument; rangeRestrictedInt8sArgument = 50; @@ -68295,6 +70811,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_403, OnFailureCallback_403)); return CHIP_NO_ERROR; @@ -68319,6 +70837,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int8_t rangeRestrictedInt8sArgument; rangeRestrictedInt8sArgument = 6; @@ -68341,6 +70860,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_405, OnFailureCallback_405)); return CHIP_NO_ERROR; @@ -68365,6 +70886,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_406, OnFailureCallback_406)); return CHIP_NO_ERROR; @@ -68389,6 +70912,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t rangeRestrictedInt16sArgument; rangeRestrictedInt16sArgument = -32768; @@ -68412,6 +70936,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t rangeRestrictedInt16sArgument; rangeRestrictedInt16sArgument = -151; @@ -68435,6 +70960,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t rangeRestrictedInt16sArgument; rangeRestrictedInt16sArgument = 201; @@ -68458,6 +70984,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t rangeRestrictedInt16sArgument; rangeRestrictedInt16sArgument = 32767; @@ -68481,6 +71008,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_411, OnFailureCallback_411)); return CHIP_NO_ERROR; @@ -68505,6 +71034,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t rangeRestrictedInt16sArgument; rangeRestrictedInt16sArgument = -150; @@ -68527,6 +71057,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_413, OnFailureCallback_413)); return CHIP_NO_ERROR; @@ -68551,6 +71083,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t rangeRestrictedInt16sArgument; rangeRestrictedInt16sArgument = 200; @@ -68573,6 +71106,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_415, OnFailureCallback_415)); return CHIP_NO_ERROR; @@ -68597,6 +71132,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t rangeRestrictedInt16sArgument; rangeRestrictedInt16sArgument = 7; @@ -68619,6 +71155,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_417, OnFailureCallback_417)); return CHIP_NO_ERROR; @@ -68643,6 +71181,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_418, OnFailureCallback_418)); @@ -68669,6 +71209,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt8uArgument; nullableRangeRestrictedInt8uArgument.SetNonNull(); nullableRangeRestrictedInt8uArgument.Value() = 0; @@ -68694,6 +71235,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt8uArgument; nullableRangeRestrictedInt8uArgument.SetNonNull(); nullableRangeRestrictedInt8uArgument.Value() = 19; @@ -68719,6 +71261,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt8uArgument; nullableRangeRestrictedInt8uArgument.SetNonNull(); nullableRangeRestrictedInt8uArgument.Value() = 101; @@ -68744,6 +71287,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt8uArgument; nullableRangeRestrictedInt8uArgument.SetNonNull(); nullableRangeRestrictedInt8uArgument.Value() = 254; @@ -68769,6 +71313,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_423, OnFailureCallback_423)); @@ -68795,6 +71341,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt8uArgument; nullableRangeRestrictedInt8uArgument.SetNonNull(); nullableRangeRestrictedInt8uArgument.Value() = 20; @@ -68819,6 +71366,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_425, OnFailureCallback_425)); @@ -68845,6 +71394,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt8uArgument; nullableRangeRestrictedInt8uArgument.SetNonNull(); nullableRangeRestrictedInt8uArgument.Value() = 100; @@ -68869,6 +71419,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_427, OnFailureCallback_427)); @@ -68895,6 +71447,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt8uArgument; nullableRangeRestrictedInt8uArgument.SetNonNull(); nullableRangeRestrictedInt8uArgument.Value() = 50; @@ -68919,6 +71472,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_429, OnFailureCallback_429)); @@ -68945,6 +71500,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt8uArgument; nullableRangeRestrictedInt8uArgument.SetNull(); @@ -68968,6 +71524,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_431, OnFailureCallback_431)); @@ -68993,6 +71551,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_432, OnFailureCallback_432)); @@ -69019,6 +71579,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt16uArgument; nullableRangeRestrictedInt16uArgument.SetNonNull(); nullableRangeRestrictedInt16uArgument.Value() = 0U; @@ -69044,6 +71605,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt16uArgument; nullableRangeRestrictedInt16uArgument.SetNonNull(); nullableRangeRestrictedInt16uArgument.Value() = 99U; @@ -69069,6 +71631,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt16uArgument; nullableRangeRestrictedInt16uArgument.SetNonNull(); nullableRangeRestrictedInt16uArgument.Value() = 1001U; @@ -69094,6 +71657,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt16uArgument; nullableRangeRestrictedInt16uArgument.SetNonNull(); nullableRangeRestrictedInt16uArgument.Value() = 65534U; @@ -69119,6 +71683,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_437, OnFailureCallback_437)); @@ -69145,6 +71711,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt16uArgument; nullableRangeRestrictedInt16uArgument.SetNonNull(); nullableRangeRestrictedInt16uArgument.Value() = 100U; @@ -69169,6 +71736,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_439, OnFailureCallback_439)); @@ -69195,6 +71764,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt16uArgument; nullableRangeRestrictedInt16uArgument.SetNonNull(); nullableRangeRestrictedInt16uArgument.Value() = 1000U; @@ -69219,6 +71789,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_441, OnFailureCallback_441)); @@ -69245,6 +71817,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt16uArgument; nullableRangeRestrictedInt16uArgument.SetNonNull(); nullableRangeRestrictedInt16uArgument.Value() = 500U; @@ -69269,6 +71842,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_443, OnFailureCallback_443)); @@ -69295,6 +71870,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt16uArgument; nullableRangeRestrictedInt16uArgument.SetNull(); @@ -69318,6 +71894,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_445, OnFailureCallback_445)); @@ -69343,6 +71921,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_446, OnFailureCallback_446)); @@ -69369,6 +71949,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt8sArgument; nullableRangeRestrictedInt8sArgument.SetNonNull(); nullableRangeRestrictedInt8sArgument.Value() = -127; @@ -69394,6 +71975,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt8sArgument; nullableRangeRestrictedInt8sArgument.SetNonNull(); nullableRangeRestrictedInt8sArgument.Value() = -41; @@ -69419,6 +72001,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt8sArgument; nullableRangeRestrictedInt8sArgument.SetNonNull(); nullableRangeRestrictedInt8sArgument.Value() = 51; @@ -69444,6 +72027,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt8sArgument; nullableRangeRestrictedInt8sArgument.SetNonNull(); nullableRangeRestrictedInt8sArgument.Value() = 127; @@ -69469,6 +72053,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_451, OnFailureCallback_451)); @@ -69495,6 +72081,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt8sArgument; nullableRangeRestrictedInt8sArgument.SetNonNull(); nullableRangeRestrictedInt8sArgument.Value() = -40; @@ -69519,6 +72106,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_453, OnFailureCallback_453)); @@ -69545,6 +72134,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt8sArgument; nullableRangeRestrictedInt8sArgument.SetNonNull(); nullableRangeRestrictedInt8sArgument.Value() = 50; @@ -69569,6 +72159,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_455, OnFailureCallback_455)); @@ -69595,6 +72187,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt8sArgument; nullableRangeRestrictedInt8sArgument.SetNonNull(); nullableRangeRestrictedInt8sArgument.Value() = 6; @@ -69619,6 +72212,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_457, OnFailureCallback_457)); @@ -69645,6 +72240,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt8sArgument; nullableRangeRestrictedInt8sArgument.SetNull(); @@ -69668,6 +72264,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_459, OnFailureCallback_459)); @@ -69693,6 +72291,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_460, OnFailureCallback_460)); @@ -69719,6 +72319,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt16sArgument; nullableRangeRestrictedInt16sArgument.SetNonNull(); nullableRangeRestrictedInt16sArgument.Value() = -32767; @@ -69744,6 +72345,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt16sArgument; nullableRangeRestrictedInt16sArgument.SetNonNull(); nullableRangeRestrictedInt16sArgument.Value() = -151; @@ -69769,6 +72371,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt16sArgument; nullableRangeRestrictedInt16sArgument.SetNonNull(); nullableRangeRestrictedInt16sArgument.Value() = 201; @@ -69794,6 +72397,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt16sArgument; nullableRangeRestrictedInt16sArgument.SetNonNull(); nullableRangeRestrictedInt16sArgument.Value() = 32767; @@ -69819,6 +72423,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_465, OnFailureCallback_465)); @@ -69845,6 +72451,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt16sArgument; nullableRangeRestrictedInt16sArgument.SetNonNull(); nullableRangeRestrictedInt16sArgument.Value() = -150; @@ -69869,6 +72476,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_467, OnFailureCallback_467)); @@ -69895,6 +72504,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt16sArgument; nullableRangeRestrictedInt16sArgument.SetNonNull(); nullableRangeRestrictedInt16sArgument.Value() = 200; @@ -69919,6 +72529,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_469, OnFailureCallback_469)); @@ -69945,6 +72557,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt16sArgument; nullableRangeRestrictedInt16sArgument.SetNonNull(); nullableRangeRestrictedInt16sArgument.Value() = 7; @@ -69969,6 +72582,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_471, OnFailureCallback_471)); @@ -69995,6 +72610,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::Nullable nullableRangeRestrictedInt16sArgument; nullableRangeRestrictedInt16sArgument.SetNull(); @@ -70018,6 +72634,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_473, OnFailureCallback_473)); @@ -70043,6 +72661,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; bool generalErrorBooleanArgument; generalErrorBooleanArgument = false; @@ -70066,6 +72685,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; bool clusterErrorBooleanArgument; clusterErrorBooleanArgument = false; @@ -70089,6 +72709,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_476, OnFailureCallback_476)); return CHIP_NO_ERROR; @@ -70109,6 +72731,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_477, OnFailureCallback_477)); return CHIP_NO_ERROR; @@ -70129,6 +72753,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_478, OnFailureCallback_478)); @@ -70201,6 +72827,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_479, OnFailureCallback_479)); @@ -70245,6 +72873,7 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::Clusters::TestCluster::Structs::SimpleStruct::Type structAttrArgument; structAttrArgument.a = 5; @@ -70275,6 +72904,8 @@ class TestCluster : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_481, OnFailureCallback_481)); return CHIP_NO_ERROR; @@ -70587,6 +73218,7 @@ class TestClusterComplexTypes : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestNullableOptionalRequest::Type; + ListFreer listFreer; RequestType request; request.arg1.Emplace(); request.arg1.Value().SetNull(); @@ -70629,6 +73261,7 @@ class TestClusterComplexTypes : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TimedInvokeRequest::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -70658,6 +73291,7 @@ class TestClusterComplexTypes : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TimedInvokeRequest::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -70686,6 +73320,7 @@ class TestClusterComplexTypes : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TimedInvokeRequest::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -70723,6 +73358,7 @@ class TestClusterComplexTypes : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::Test::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -70751,6 +73387,7 @@ class TestClusterComplexTypes : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::Test::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -70789,6 +73426,8 @@ class TestClusterComplexTypes : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); return CHIP_NO_ERROR; @@ -70813,6 +73452,7 @@ class TestClusterComplexTypes : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; bool timedWriteBooleanArgument; timedWriteBooleanArgument = true; @@ -70836,6 +73476,8 @@ class TestClusterComplexTypes : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -70860,6 +73502,7 @@ class TestClusterComplexTypes : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; bool timedWriteBooleanArgument; timedWriteBooleanArgument = true; @@ -70891,6 +73534,8 @@ class TestClusterComplexTypes : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_11, OnFailureCallback_11)); return CHIP_NO_ERROR; @@ -70915,6 +73560,7 @@ class TestClusterComplexTypes : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; bool timedWriteBooleanArgument; timedWriteBooleanArgument = true; @@ -70937,6 +73583,8 @@ class TestClusterComplexTypes : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_13, OnFailureCallback_13)); return CHIP_NO_ERROR; @@ -70961,6 +73609,7 @@ class TestClusterComplexTypes : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; bool timedWriteBooleanArgument; timedWriteBooleanArgument = false; @@ -70983,6 +73632,8 @@ class TestClusterComplexTypes : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_15, OnFailureCallback_15)); return CHIP_NO_ERROR; @@ -71007,6 +73658,7 @@ class TestClusterComplexTypes : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; bool booleanArgument; booleanArgument = true; @@ -71038,6 +73690,8 @@ class TestClusterComplexTypes : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_17, OnFailureCallback_17)); return CHIP_NO_ERROR; @@ -71062,6 +73716,7 @@ class TestClusterComplexTypes : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; bool booleanArgument; booleanArgument = true; @@ -71084,6 +73739,8 @@ class TestClusterComplexTypes : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_19, OnFailureCallback_19)); return CHIP_NO_ERROR; @@ -71108,6 +73765,7 @@ class TestClusterComplexTypes : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; bool booleanArgument; booleanArgument = false; @@ -71477,6 +74135,7 @@ class TestConstraints : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint32_t int32uArgument; int32uArgument = 5UL; @@ -71499,6 +74158,8 @@ class TestConstraints : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -71522,6 +74183,8 @@ class TestConstraints : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -71545,6 +74208,8 @@ class TestConstraints : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -71569,6 +74234,7 @@ class TestConstraints : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint32_t int32uArgument; int32uArgument = 0UL; @@ -71591,6 +74257,7 @@ class TestConstraints : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::CharSpan charStringArgument; charStringArgument = chip::Span("** Test **garbage: not in length on purpose", 10); @@ -71613,6 +74280,8 @@ class TestConstraints : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); return CHIP_NO_ERROR; @@ -71636,6 +74305,8 @@ class TestConstraints : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_8, OnFailureCallback_8)); return CHIP_NO_ERROR; @@ -71659,6 +74330,8 @@ class TestConstraints : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -71682,6 +74355,8 @@ class TestConstraints : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_10, OnFailureCallback_10)); return CHIP_NO_ERROR; @@ -71705,6 +74380,7 @@ class TestConstraints : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::CharSpan charStringArgument; charStringArgument = chip::Span("lowercasegarbage: not in length on purpose", 9); @@ -71727,6 +74403,8 @@ class TestConstraints : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_12, OnFailureCallback_12)); return CHIP_NO_ERROR; @@ -71751,6 +74429,7 @@ class TestConstraints : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::CharSpan charStringArgument; charStringArgument = chip::Span("UPPERCASEgarbage: not in length on purpose", 9); @@ -71773,6 +74452,8 @@ class TestConstraints : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_14, OnFailureCallback_14)); return CHIP_NO_ERROR; @@ -71797,6 +74478,7 @@ class TestConstraints : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::CharSpan charStringArgument; charStringArgument = chip::Span("lowUPPERgarbage: not in length on purpose", 8); @@ -71819,6 +74501,8 @@ class TestConstraints : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_16, OnFailureCallback_16)); return CHIP_NO_ERROR; @@ -71843,6 +74527,7 @@ class TestConstraints : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::CharSpan charStringArgument; charStringArgument = chip::Span("ABCDEF012Vgarbage: not in length on purpose", 10); @@ -71865,6 +74550,8 @@ class TestConstraints : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_18, OnFailureCallback_18)); return CHIP_NO_ERROR; @@ -71888,6 +74575,7 @@ class TestConstraints : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::CharSpan charStringArgument; charStringArgument = chip::Span("ABCDEF0123garbage: not in length on purpose", 10); @@ -71910,6 +74598,8 @@ class TestConstraints : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_20, OnFailureCallback_20)); return CHIP_NO_ERROR; @@ -71933,6 +74623,7 @@ class TestConstraints : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::CharSpan charStringArgument; charStringArgument = chip::Span("garbage: not in length on purpose", 0); @@ -73642,6 +76333,7 @@ class TestSaveAs : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestAddArguments::Type; + ListFreer listFreer; RequestType request; request.arg1 = 3; request.arg2 = 17; @@ -73675,6 +76367,7 @@ class TestSaveAs : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestAddArguments::Type; + ListFreer listFreer; RequestType request; request.arg1 = 3; request.arg2 = 17; @@ -73707,6 +76400,7 @@ class TestSaveAs : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestAddArguments::Type; + ListFreer listFreer; RequestType request; request.arg1 = 3; request.arg2 = TestAddArgumentDefaultValue; @@ -73740,6 +76434,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -73765,6 +76461,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; bool booleanArgument; booleanArgument = 1; @@ -73787,6 +76484,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_6, OnFailureCallback_6)); return CHIP_NO_ERROR; @@ -73811,6 +76510,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; bool booleanArgument; booleanArgument = readAttributeBooleanDefaultValue; @@ -73833,6 +76533,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_8, OnFailureCallback_8)); return CHIP_NO_ERROR; @@ -73857,6 +76559,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -73882,6 +76586,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t bitmap8Argument; bitmap8Argument = 1; @@ -73904,6 +76609,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_11, OnFailureCallback_11)); return CHIP_NO_ERROR; @@ -73928,6 +76635,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t bitmap8Argument; bitmap8Argument = readAttributeBitmap8DefaultValue; @@ -73950,6 +76658,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_13, OnFailureCallback_13)); return CHIP_NO_ERROR; @@ -73974,6 +76684,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_14, OnFailureCallback_14)); return CHIP_NO_ERROR; @@ -73999,6 +76711,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t bitmap16Argument; bitmap16Argument = 1U; @@ -74021,6 +76734,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_16, OnFailureCallback_16)); return CHIP_NO_ERROR; @@ -74045,6 +76760,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t bitmap16Argument; bitmap16Argument = readAttributeBitmap16DefaultValue; @@ -74067,6 +76783,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_18, OnFailureCallback_18)); return CHIP_NO_ERROR; @@ -74091,6 +76809,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_19, OnFailureCallback_19)); return CHIP_NO_ERROR; @@ -74116,6 +76836,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint32_t bitmap32Argument; bitmap32Argument = 1UL; @@ -74138,6 +76859,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_21, OnFailureCallback_21)); return CHIP_NO_ERROR; @@ -74162,6 +76885,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint32_t bitmap32Argument; bitmap32Argument = readAttributeBitmap32DefaultValue; @@ -74184,6 +76908,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_23, OnFailureCallback_23)); return CHIP_NO_ERROR; @@ -74208,6 +76934,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_24, OnFailureCallback_24)); return CHIP_NO_ERROR; @@ -74233,6 +76961,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint64_t bitmap64Argument; bitmap64Argument = 1ULL; @@ -74255,6 +76984,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_26, OnFailureCallback_26)); return CHIP_NO_ERROR; @@ -74279,6 +77010,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint64_t bitmap64Argument; bitmap64Argument = readAttributeBitmap64DefaultValue; @@ -74301,6 +77033,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_28, OnFailureCallback_28)); return CHIP_NO_ERROR; @@ -74325,6 +77059,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_29, OnFailureCallback_29)); return CHIP_NO_ERROR; @@ -74350,6 +77086,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t int8uArgument; int8uArgument = 1; @@ -74372,6 +77109,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_31, OnFailureCallback_31)); return CHIP_NO_ERROR; @@ -74396,6 +77135,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t int8uArgument; int8uArgument = readAttributeInt8uDefaultValue; @@ -74418,6 +77158,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_33, OnFailureCallback_33)); return CHIP_NO_ERROR; @@ -74442,6 +77184,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_34, OnFailureCallback_34)); return CHIP_NO_ERROR; @@ -74467,6 +77211,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t int16uArgument; int16uArgument = 1U; @@ -74489,6 +77234,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_36, OnFailureCallback_36)); return CHIP_NO_ERROR; @@ -74513,6 +77260,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t int16uArgument; int16uArgument = readAttributeInt16uDefaultValue; @@ -74535,6 +77283,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_38, OnFailureCallback_38)); return CHIP_NO_ERROR; @@ -74559,6 +77309,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_39, OnFailureCallback_39)); return CHIP_NO_ERROR; @@ -74584,6 +77336,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint32_t int32uArgument; int32uArgument = 1UL; @@ -74606,6 +77359,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_41, OnFailureCallback_41)); return CHIP_NO_ERROR; @@ -74630,6 +77385,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint32_t int32uArgument; int32uArgument = readAttributeInt32uDefaultValue; @@ -74652,6 +77408,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_43, OnFailureCallback_43)); return CHIP_NO_ERROR; @@ -74676,6 +77434,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_44, OnFailureCallback_44)); return CHIP_NO_ERROR; @@ -74701,6 +77461,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint64_t int64uArgument; int64uArgument = 1ULL; @@ -74723,6 +77484,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_46, OnFailureCallback_46)); return CHIP_NO_ERROR; @@ -74747,6 +77510,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint64_t int64uArgument; int64uArgument = readAttributeInt64uDefaultValue; @@ -74769,6 +77533,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_48, OnFailureCallback_48)); return CHIP_NO_ERROR; @@ -74793,6 +77559,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_49, OnFailureCallback_49)); return CHIP_NO_ERROR; @@ -74818,6 +77586,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int8_t int8sArgument; int8sArgument = 1; @@ -74840,6 +77609,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_51, OnFailureCallback_51)); return CHIP_NO_ERROR; @@ -74864,6 +77635,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int8_t int8sArgument; int8sArgument = readAttributeInt8sDefaultValue; @@ -74886,6 +77658,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_53, OnFailureCallback_53)); return CHIP_NO_ERROR; @@ -74910,6 +77684,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_54, OnFailureCallback_54)); return CHIP_NO_ERROR; @@ -74935,6 +77711,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t int16sArgument; int16sArgument = 1; @@ -74957,6 +77734,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_56, OnFailureCallback_56)); return CHIP_NO_ERROR; @@ -74981,6 +77760,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int16_t int16sArgument; int16sArgument = readAttributeInt16sDefaultValue; @@ -75003,6 +77783,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_58, OnFailureCallback_58)); return CHIP_NO_ERROR; @@ -75027,6 +77809,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_59, OnFailureCallback_59)); return CHIP_NO_ERROR; @@ -75052,6 +77836,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int32_t int32sArgument; int32sArgument = 1L; @@ -75074,6 +77859,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_61, OnFailureCallback_61)); return CHIP_NO_ERROR; @@ -75098,6 +77885,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int32_t int32sArgument; int32sArgument = readAttributeInt32sDefaultValue; @@ -75120,6 +77908,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_63, OnFailureCallback_63)); return CHIP_NO_ERROR; @@ -75144,6 +77934,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_64, OnFailureCallback_64)); return CHIP_NO_ERROR; @@ -75169,6 +77961,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int64_t int64sArgument; int64sArgument = 1LL; @@ -75191,6 +77984,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_66, OnFailureCallback_66)); return CHIP_NO_ERROR; @@ -75215,6 +78010,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; int64_t int64sArgument; int64sArgument = readAttributeInt64sDefaultValue; @@ -75237,6 +78033,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_68, OnFailureCallback_68)); return CHIP_NO_ERROR; @@ -75261,6 +78059,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_69, OnFailureCallback_69)); return CHIP_NO_ERROR; @@ -75286,6 +78086,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t enum8Argument; enum8Argument = 1; @@ -75308,6 +78109,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_71, OnFailureCallback_71)); return CHIP_NO_ERROR; @@ -75332,6 +78135,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint8_t enum8Argument; enum8Argument = readAttributeEnum8DefaultValue; @@ -75354,6 +78158,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_73, OnFailureCallback_73)); return CHIP_NO_ERROR; @@ -75378,6 +78184,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_74, OnFailureCallback_74)); return CHIP_NO_ERROR; @@ -75403,6 +78211,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t enum16Argument; enum16Argument = 1U; @@ -75425,6 +78234,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_76, OnFailureCallback_76)); return CHIP_NO_ERROR; @@ -75449,6 +78260,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t enum16Argument; enum16Argument = readAttributeEnum16DefaultValue; @@ -75471,6 +78283,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_78, OnFailureCallback_78)); return CHIP_NO_ERROR; @@ -75495,6 +78309,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_79, OnFailureCallback_79)); return CHIP_NO_ERROR; @@ -75520,6 +78336,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint64_t epochUsArgument; epochUsArgument = 1ULL; @@ -75542,6 +78359,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_81, OnFailureCallback_81)); return CHIP_NO_ERROR; @@ -75566,6 +78385,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint64_t epochUsArgument; epochUsArgument = readAttributeEpochUSDefaultValue; @@ -75588,6 +78408,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_83, OnFailureCallback_83)); return CHIP_NO_ERROR; @@ -75612,6 +78434,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_84, OnFailureCallback_84)); return CHIP_NO_ERROR; @@ -75637,6 +78461,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint32_t epochSArgument; epochSArgument = 1UL; @@ -75659,6 +78484,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_86, OnFailureCallback_86)); return CHIP_NO_ERROR; @@ -75683,6 +78510,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint32_t epochSArgument; epochSArgument = readAttributeEpochSDefaultValue; @@ -75705,6 +78533,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_88, OnFailureCallback_88)); return CHIP_NO_ERROR; @@ -75729,6 +78559,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_89, OnFailureCallback_89)); return CHIP_NO_ERROR; @@ -75754,6 +78586,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::VendorId vendorIdArgument; vendorIdArgument = static_cast(1); @@ -75776,6 +78609,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_91, OnFailureCallback_91)); return CHIP_NO_ERROR; @@ -75800,6 +78635,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::VendorId vendorIdArgument; vendorIdArgument = readAttributeVendorIdDefaultValue; @@ -75822,6 +78658,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_93, OnFailureCallback_93)); return CHIP_NO_ERROR; @@ -75846,6 +78684,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_94, OnFailureCallback_94)); return CHIP_NO_ERROR; @@ -75877,6 +78717,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_95, OnFailureCallback_95)); return CHIP_NO_ERROR; @@ -75901,6 +78743,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::CharSpan charStringArgument; charStringArgument = chip::Span("NotDefaultgarbage: not in length on purpose", 10); @@ -75923,6 +78766,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_97, OnFailureCallback_97)); return CHIP_NO_ERROR; @@ -75955,6 +78800,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_98, OnFailureCallback_98)); return CHIP_NO_ERROR; @@ -75980,6 +78827,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::CharSpan charStringArgument; charStringArgument = readAttributeCharStringNotDefaultValue; @@ -76002,6 +78850,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_100, OnFailureCallback_100)); return CHIP_NO_ERROR; @@ -76026,6 +78876,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::CharSpan charStringArgument; charStringArgument = readAttributeCharStringDefaultValue; @@ -76048,6 +78899,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_102, OnFailureCallback_102)); return CHIP_NO_ERROR; @@ -76079,6 +78932,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_103, OnFailureCallback_103)); return CHIP_NO_ERROR; @@ -76103,6 +78958,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::ByteSpan octetStringArgument; octetStringArgument = chip::ByteSpan(chip::Uint8::from_const_char("NotDefaultgarbage: not in length on purpose"), 10); @@ -76125,6 +78981,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_105, OnFailureCallback_105)); return CHIP_NO_ERROR; @@ -76158,6 +79016,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_106, OnFailureCallback_106)); return CHIP_NO_ERROR; @@ -76183,6 +79043,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::ByteSpan octetStringArgument; octetStringArgument = readAttributeOctetStringNotDefaultValue; @@ -76205,6 +79066,8 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_108, OnFailureCallback_108)); return CHIP_NO_ERROR; @@ -76230,6 +79093,7 @@ class TestSaveAs : public TestCommand chip::Controller::TestClusterClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::ByteSpan octetStringArgument; octetStringArgument = readAttributeOctetStringDefaultValue; @@ -76343,6 +79207,7 @@ class TestConfigVariables : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestAddArguments::Type; + ListFreer listFreer; RequestType request; request.arg1 = 3; request.arg2 = 17; @@ -76378,6 +79243,7 @@ class TestConfigVariables : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::TestCluster::Commands::TestAddArguments::Type; + ListFreer listFreer; RequestType request; request.arg1 = mArg1.HasValue() ? mArg1.Value() : 5; request.arg2 = TestAddArgumentDefaultValue; @@ -76549,6 +79415,8 @@ class TestDescriptorCluster : public TestCommand chip::Controller::DescriptorClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -76580,6 +79448,8 @@ class TestDescriptorCluster : public TestCommand chip::Controller::DescriptorClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -76657,6 +79527,8 @@ class TestDescriptorCluster : public TestCommand chip::Controller::DescriptorClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -76686,6 +79558,8 @@ class TestDescriptorCluster : public TestCommand chip::Controller::DescriptorClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -76859,6 +79733,8 @@ class TestBasicInformation : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -76883,6 +79759,7 @@ class TestBasicInformation : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::CharSpan locationArgument; locationArgument = chip::Span("USgarbage: not in length on purpose", 2); @@ -76905,6 +79782,8 @@ class TestBasicInformation : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -76929,6 +79808,7 @@ class TestBasicInformation : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::CharSpan locationArgument; locationArgument = chip::Span("XXgarbage: not in length on purpose", 2); @@ -76951,6 +79831,8 @@ class TestBasicInformation : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -77101,6 +79983,7 @@ class TestIdentifyCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 0; using RequestType = chip::app::Clusters::Identify::Commands::Identify::Type; + ListFreer listFreer; RequestType request; request.identifyTime = 0U; @@ -77294,6 +80177,8 @@ class TestOperationalCredentialsCluster : public TestCommand chip::Controller::OperationalCredentialsClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); @@ -77319,6 +80204,8 @@ class TestOperationalCredentialsCluster : public TestCommand chip::Controller::OperationalCredentialsClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); @@ -77344,6 +80231,8 @@ class TestOperationalCredentialsCluster : public TestCommand chip::Controller::OperationalCredentialsClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); @@ -77369,6 +80258,7 @@ class TestOperationalCredentialsCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 0; using RequestType = chip::app::Clusters::OperationalCredentials::Commands::RemoveFabric::Type; + ListFreer listFreer; RequestType request; request.fabricIndex = 243; @@ -77406,6 +80296,8 @@ class TestOperationalCredentialsCluster : public TestCommand chip::Controller::OperationalCredentialsClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -77436,6 +80328,7 @@ class TestOperationalCredentialsCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 0; using RequestType = chip::app::Clusters::OperationalCredentials::Commands::UpdateFabricLabel::Type; + ListFreer listFreer; RequestType request; request.label = chip::Span("Batcavegarbage: not in length on purpose", 7); @@ -77476,6 +80369,8 @@ class TestOperationalCredentialsCluster : public TestCommand chip::Controller::OperationalCredentialsClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); return CHIP_NO_ERROR; @@ -77680,6 +80575,8 @@ class TestModeSelectCluster : public TestCommand chip::Controller::ModeSelectClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -77704,6 +80601,8 @@ class TestModeSelectCluster : public TestCommand chip::Controller::ModeSelectClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -77728,6 +80627,8 @@ class TestModeSelectCluster : public TestCommand chip::Controller::ModeSelectClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -77752,6 +80653,8 @@ class TestModeSelectCluster : public TestCommand chip::Controller::ModeSelectClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); return CHIP_NO_ERROR; @@ -77776,6 +80679,8 @@ class TestModeSelectCluster : public TestCommand chip::Controller::ModeSelectClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -77817,6 +80722,7 @@ class TestModeSelectCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ModeSelect::Commands::ChangeToMode::Type; + ListFreer listFreer; RequestType request; request.newMode = 4; @@ -77846,6 +80752,8 @@ class TestModeSelectCluster : public TestCommand chip::Controller::ModeSelectClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); return CHIP_NO_ERROR; @@ -77869,6 +80777,7 @@ class TestModeSelectCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::ModeSelect::Commands::ChangeToMode::Type; + ListFreer listFreer; RequestType request; request.newMode = 2; @@ -78169,6 +81078,8 @@ class Test_TC_SWDIAG_1_1 : public TestCommand chip::Controller::SoftwareDiagnosticsClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); return CHIP_NO_ERROR; @@ -78194,6 +81105,8 @@ class Test_TC_SWDIAG_1_1 : public TestCommand chip::Controller::SoftwareDiagnosticsClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -78217,6 +81130,8 @@ class Test_TC_SWDIAG_1_1 : public TestCommand chip::Controller::SoftwareDiagnosticsClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -78240,6 +81155,8 @@ class Test_TC_SWDIAG_1_1 : public TestCommand chip::Controller::SoftwareDiagnosticsClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); @@ -78456,6 +81373,7 @@ class Test_TC_SWDIAG_3_1 : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 0; using RequestType = chip::app::Clusters::SoftwareDiagnostics::Commands::ResetWatermarks::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -78484,6 +81402,8 @@ class Test_TC_SWDIAG_3_1 : public TestCommand chip::Controller::SoftwareDiagnosticsClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); return CHIP_NO_ERROR; @@ -78508,6 +81428,8 @@ class Test_TC_SWDIAG_3_1 : public TestCommand chip::Controller::SoftwareDiagnosticsClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); @@ -78692,6 +81614,7 @@ class TestSubscribe_OnOff : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -78720,6 +81643,8 @@ class TestSubscribe_OnOff : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + mTest_TestSubscribe_OnOff_OnOff_Reported = OnSuccessCallback_2; return WaitForMs(0); } @@ -78743,6 +81668,7 @@ class TestSubscribe_OnOff : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; uint16_t minIntervalArgument; minIntervalArgument = 2U; uint16_t maxIntervalArgument; @@ -78780,6 +81706,7 @@ class TestSubscribe_OnOff : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -78808,6 +81735,8 @@ class TestSubscribe_OnOff : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + mTest_TestSubscribe_OnOff_OnOff_Reported = OnSuccessCallback_5; return CHIP_NO_ERROR; } @@ -78832,6 +81761,7 @@ class TestSubscribe_OnOff : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -78860,6 +81790,8 @@ class TestSubscribe_OnOff : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + mTest_TestSubscribe_OnOff_OnOff_Reported = OnSuccessCallback_7; return CHIP_NO_ERROR; } @@ -79408,6 +82340,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 1U; @@ -79474,6 +82407,8 @@ class DL_UsersAndCredentials : public TestCommand chip::Controller::DoorLockClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); @@ -79499,6 +82434,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 0U; @@ -79544,6 +82480,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = static_cast(NumberOfTotalUsersSupported + 1); @@ -79589,6 +82526,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetUser::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); request.userIndex = 1U; @@ -79624,6 +82562,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 1U; @@ -79695,6 +82634,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetUser::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); request.userIndex = 1U; @@ -79731,6 +82671,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetUser::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(2); request.userIndex = 1U; @@ -79767,6 +82708,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 1U; @@ -79838,6 +82780,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetUser::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(2); request.userIndex = 1U; @@ -79874,6 +82817,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 1U; @@ -79946,6 +82890,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetUser::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(2); request.userIndex = 1U; @@ -79982,6 +82927,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 1U; @@ -80054,6 +83000,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetUser::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(2); request.userIndex = 1U; @@ -80090,6 +83037,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 1U; @@ -80162,6 +83110,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetUser::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(2); request.userIndex = 1U; @@ -80198,6 +83147,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 1U; @@ -80270,6 +83220,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetUser::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(2); request.userIndex = 1U; @@ -80310,6 +83261,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 1U; @@ -80382,6 +83334,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetUser::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); request.userIndex = 2U; @@ -80422,6 +83375,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 2U; @@ -80494,6 +83448,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetUser::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); request.userIndex = NumberOfTotalUsersSupported; @@ -80530,6 +83485,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = NumberOfTotalUsersSupported; @@ -80600,6 +83556,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetUser::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); request.userIndex = 0U; @@ -80636,6 +83593,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetUser::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); request.userIndex = static_cast(NumberOfTotalUsersSupported + 1); @@ -80672,6 +83630,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 1U; @@ -80701,6 +83660,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 1U; @@ -80766,6 +83726,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetUser::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); request.userIndex = 1U; @@ -80801,6 +83762,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 1U; @@ -80872,6 +83834,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 0U; @@ -80902,6 +83865,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = static_cast(NumberOfTotalUsersSupported + 1); @@ -80932,6 +83896,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 65534U; @@ -80961,6 +83926,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 2U; @@ -81026,6 +83992,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = NumberOfTotalUsersSupported; @@ -81091,6 +84058,8 @@ class DL_UsersAndCredentials : public TestCommand chip::Controller::DoorLockClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_35, OnFailureCallback_35)); return CHIP_NO_ERROR; @@ -81115,6 +84084,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetCredentialStatus::Type; + ListFreer listFreer; RequestType request; request.credential.credentialType = static_cast(1); @@ -81157,6 +84127,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetCredentialStatus::Type; + ListFreer listFreer; RequestType request; request.credential.credentialType = static_cast(1); @@ -81193,6 +84164,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetCredentialStatus::Type; + ListFreer listFreer; RequestType request; request.credential.credentialType = static_cast(1); @@ -81229,6 +84201,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -81280,6 +84253,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 1U; @@ -81358,6 +84332,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetCredentialStatus::Type; + ListFreer listFreer; RequestType request; request.credential.credentialType = static_cast(1); @@ -81401,6 +84376,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -81451,6 +84427,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -81501,6 +84478,8 @@ class DL_UsersAndCredentials : public TestCommand chip::Controller::DoorLockClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_44, OnFailureCallback_44)); return CHIP_NO_ERROR; @@ -81525,6 +84504,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetCredentialStatus::Type; + ListFreer listFreer; RequestType request; request.credential.credentialType = static_cast(2); @@ -81561,6 +84541,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetCredentialStatus::Type; + ListFreer listFreer; RequestType request; request.credential.credentialType = static_cast(2); @@ -81597,6 +84578,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetCredentialStatus::Type; + ListFreer listFreer; RequestType request; request.credential.credentialType = static_cast(2); @@ -81639,6 +84621,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -81691,6 +84674,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 1U; @@ -81772,6 +84756,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetCredentialStatus::Type; + ListFreer listFreer; RequestType request; request.credential.credentialType = static_cast(2); @@ -81815,6 +84800,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -81866,6 +84852,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -81916,6 +84903,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -81967,6 +84955,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -82018,6 +85007,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -82069,6 +85059,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -82120,6 +85111,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -82171,6 +85163,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -82222,6 +85215,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -82274,6 +85268,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -82326,6 +85321,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -82376,6 +85372,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -82427,6 +85424,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(2); @@ -82478,6 +85476,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -82529,6 +85528,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -82579,6 +85579,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearCredential::Type; + ListFreer listFreer; RequestType request; request.credential.SetNonNull(); @@ -82611,6 +85612,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetCredentialStatus::Type; + ListFreer listFreer; RequestType request; request.credential.credentialType = static_cast(1); @@ -82653,6 +85655,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 1U; @@ -82731,6 +85734,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearCredential::Type; + ListFreer listFreer; RequestType request; request.credential.SetNonNull(); @@ -82763,6 +85767,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetCredentialStatus::Type; + ListFreer listFreer; RequestType request; request.credential.credentialType = static_cast(1); @@ -82805,6 +85810,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 2U; @@ -82870,6 +85876,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -82922,6 +85929,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearCredential::Type; + ListFreer listFreer; RequestType request; request.credential.SetNonNull(); @@ -82954,6 +85962,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetCredentialStatus::Type; + ListFreer listFreer; RequestType request; request.credential.credentialType = static_cast(2); @@ -82996,6 +86005,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetCredentialStatus::Type; + ListFreer listFreer; RequestType request; request.credential.credentialType = static_cast(2); @@ -83038,6 +86048,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 1U; @@ -83103,6 +86114,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 2U; @@ -83168,6 +86180,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -83219,6 +86232,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -83271,6 +86285,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -83323,6 +86338,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearCredential::Type; + ListFreer listFreer; RequestType request; request.credential.SetNull(); @@ -83352,6 +86368,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetCredentialStatus::Type; + ListFreer listFreer; RequestType request; request.credential.credentialType = static_cast(1); @@ -83394,6 +86411,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetCredentialStatus::Type; + ListFreer listFreer; RequestType request; request.credential.credentialType = static_cast(2); @@ -83436,6 +86454,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetCredentialStatus::Type; + ListFreer listFreer; RequestType request; request.credential.credentialType = static_cast(1); @@ -83478,6 +86497,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 1U; @@ -83543,6 +86563,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 2U; @@ -83608,6 +86629,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 3U; @@ -83673,6 +86695,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -83722,6 +86745,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -83772,6 +86796,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 1U; @@ -83850,6 +86875,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetCredentialStatus::Type; + ListFreer listFreer; RequestType request; request.credential.credentialType = static_cast(0); @@ -83892,6 +86918,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(2); @@ -83941,6 +86968,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearCredential::Type; + ListFreer listFreer; RequestType request; request.credential.SetNonNull(); @@ -83974,6 +87002,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearCredential::Type; + ListFreer listFreer; RequestType request; request.credential.SetNonNull(); @@ -84007,6 +87036,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearCredential::Type; + ListFreer listFreer; RequestType request; request.credential.SetNonNull(); @@ -84040,6 +87070,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearCredential::Type; + ListFreer listFreer; RequestType request; request.credential.SetNonNull(); @@ -84073,6 +87104,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearCredential::Type; + ListFreer listFreer; RequestType request; request.credential.SetNonNull(); @@ -84106,6 +87138,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearCredential::Type; + ListFreer listFreer; RequestType request; request.credential.SetNonNull(); @@ -84139,6 +87172,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 1U; @@ -84168,6 +87202,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 1U; @@ -84233,6 +87268,7 @@ class DL_UsersAndCredentials : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetCredentialStatus::Type; + ListFreer listFreer; RequestType request; request.credential.credentialType = static_cast(0); @@ -84435,6 +87471,7 @@ class DL_LockUnlock : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -84485,6 +87522,7 @@ class DL_LockUnlock : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::UnlockDoor::Type; + ListFreer listFreer; RequestType request; request.pinCode.Emplace(); request.pinCode.Value() = chip::ByteSpan(chip::Uint8::from_const_char("000000garbage: not in length on purpose"), 6); @@ -84517,6 +87555,8 @@ class DL_LockUnlock : public TestCommand chip::Controller::DoorLockClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); return CHIP_NO_ERROR; @@ -84541,6 +87581,7 @@ class DL_LockUnlock : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::UnlockDoor::Type; + ListFreer listFreer; RequestType request; request.pinCode.Emplace(); request.pinCode.Value() = chip::ByteSpan(chip::Uint8::from_const_char("123456garbage: not in length on purpose"), 6); @@ -84572,6 +87613,8 @@ class DL_LockUnlock : public TestCommand chip::Controller::DoorLockClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_5, OnFailureCallback_5)); return CHIP_NO_ERROR; @@ -84596,6 +87639,7 @@ class DL_LockUnlock : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::LockDoor::Type; + ListFreer listFreer; RequestType request; request.pinCode.Emplace(); request.pinCode.Value() = chip::ByteSpan(chip::Uint8::from_const_char("000000garbage: not in length on purpose"), 6); @@ -84628,6 +87672,8 @@ class DL_LockUnlock : public TestCommand chip::Controller::DoorLockClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); return CHIP_NO_ERROR; @@ -84652,6 +87698,7 @@ class DL_LockUnlock : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::LockDoor::Type; + ListFreer listFreer; RequestType request; request.pinCode.Emplace(); request.pinCode.Value() = chip::ByteSpan(chip::Uint8::from_const_char("123456garbage: not in length on purpose"), 6); @@ -84683,6 +87730,8 @@ class DL_LockUnlock : public TestCommand chip::Controller::DoorLockClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -84707,6 +87756,7 @@ class DL_LockUnlock : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearCredential::Type; + ListFreer listFreer; RequestType request; request.credential.SetNonNull(); @@ -85187,6 +88237,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetCredential::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); @@ -85236,6 +88287,8 @@ class DL_Schedules : public TestCommand chip::Controller::DoorLockClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); @@ -85262,6 +88315,8 @@ class DL_Schedules : public TestCommand chip::Controller::DoorLockClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_3, OnFailureCallback_3)); @@ -85288,6 +88343,8 @@ class DL_Schedules : public TestCommand chip::Controller::DoorLockClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_4, OnFailureCallback_4)); @@ -85313,6 +88370,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 0; request.userIndex = 1U; @@ -85346,6 +88404,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = static_cast(NumberOfWeekDaySchedulesSupportedPerUser + 1); request.userIndex = 1U; @@ -85379,6 +88438,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 0U; @@ -85412,6 +88472,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = static_cast(NumberOfTotalUsersSupported + 1); @@ -85445,6 +88506,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 2U; @@ -85478,6 +88540,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 1U; @@ -85513,6 +88576,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 1U; @@ -85548,6 +88612,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 1U; @@ -85583,6 +88648,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 1U; @@ -85618,6 +88684,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 1U; @@ -85653,6 +88720,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 1U; @@ -85688,6 +88756,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 1U; @@ -85723,6 +88792,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 1U; @@ -85758,6 +88828,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 1U; @@ -85793,6 +88864,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 1U; @@ -85836,6 +88908,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 0; request.userIndex = 1U; @@ -85879,6 +88952,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = static_cast(NumberOfWeekDaySchedulesSupportedPerUser + 1); request.userIndex = 1U; @@ -85923,6 +88997,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 0U; @@ -85966,6 +89041,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = static_cast(NumberOfTotalUsersSupported + 1); @@ -86009,6 +89085,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 2U; @@ -86052,6 +89129,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 0; request.userIndex = 1U; @@ -86084,6 +89162,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = static_cast(NumberOfYearDaySchedulesSupportedPerUser + 1); request.userIndex = 1U; @@ -86116,6 +89195,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 1; request.userIndex = 0U; @@ -86148,6 +89228,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 1; request.userIndex = static_cast(NumberOfTotalUsersSupported + 1); @@ -86180,6 +89261,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 1; request.userIndex = 2U; @@ -86212,6 +89294,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 1; request.userIndex = 1U; @@ -86244,6 +89327,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 1; request.userIndex = 1U; @@ -86284,6 +89368,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 0; request.userIndex = 1U; @@ -86324,6 +89409,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = static_cast(NumberOfYearDaySchedulesSupportedPerUser + 1); request.userIndex = 1U; @@ -86365,6 +89451,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 1; request.userIndex = 0U; @@ -86405,6 +89492,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 1; request.userIndex = static_cast(NumberOfTotalUsersSupported + 1); @@ -86445,6 +89533,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 1; request.userIndex = 2U; @@ -86485,6 +89574,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 1U; @@ -86519,6 +89609,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 1U; @@ -86577,6 +89668,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 1; request.userIndex = 1U; @@ -86608,6 +89700,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 1; request.userIndex = 1U; @@ -86654,6 +89747,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 0; request.userIndex = 1U; @@ -86684,6 +89778,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = static_cast(NumberOfWeekDaySchedulesSupportedPerUser + 1); request.userIndex = 1U; @@ -86714,6 +89809,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 0U; @@ -86744,6 +89840,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = static_cast(NumberOfTotalUsersSupported + 1); @@ -86774,6 +89871,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 2U; @@ -86804,6 +89902,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 0; request.userIndex = 1U; @@ -86834,6 +89933,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = static_cast(NumberOfYearDaySchedulesSupportedPerUser + 1); request.userIndex = 1U; @@ -86864,6 +89964,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 1; request.userIndex = 0U; @@ -86894,6 +89995,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 1; request.userIndex = static_cast(NumberOfTotalUsersSupported + 1); @@ -86924,6 +90026,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 1; request.userIndex = 2U; @@ -86954,6 +90057,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 1U; @@ -87012,6 +90116,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 1; request.userIndex = 1U; @@ -87058,6 +90163,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 2; request.userIndex = 1U; @@ -87092,6 +90198,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 2; request.userIndex = 1U; @@ -87150,6 +90257,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 2; request.userIndex = 1U; @@ -87181,6 +90289,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 2; request.userIndex = 1U; @@ -87227,6 +90336,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 1U; @@ -87256,6 +90366,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 1U; @@ -87299,6 +90410,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 254; request.userIndex = 1U; @@ -87328,6 +90440,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 2; request.userIndex = 1U; @@ -87371,6 +90484,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 1; request.userIndex = 1U; @@ -87417,6 +90531,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 2; request.userIndex = 1U; @@ -87463,6 +90578,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 1U; @@ -87497,6 +90613,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 1; request.userIndex = 1U; @@ -87526,6 +90643,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 1; request.userIndex = 1U; @@ -87566,6 +90684,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 254; request.userIndex = 1U; @@ -87595,6 +90714,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 2; request.userIndex = 1U; @@ -87635,6 +90755,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 1U; @@ -87693,6 +90814,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 254; request.userIndex = 1U; @@ -87722,6 +90844,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetUser::Type; + ListFreer listFreer; RequestType request; request.operationType = static_cast(0); request.userIndex = 2U; @@ -87757,6 +90880,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 1U; @@ -87791,6 +90915,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 1U; @@ -87849,6 +90974,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 4; request.userIndex = 1U; @@ -87880,6 +91006,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 4; request.userIndex = 1U; @@ -87926,6 +91053,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 4; request.userIndex = 2U; @@ -87960,6 +91088,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 4; request.userIndex = 2U; @@ -88018,6 +91147,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::SetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 1; request.userIndex = 1U; @@ -88049,6 +91179,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 1; request.userIndex = 1U; @@ -88095,6 +91226,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::ClearUser::Type; + ListFreer listFreer; RequestType request; request.userIndex = 65534U; @@ -88124,6 +91256,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 1; request.userIndex = 1U; @@ -88167,6 +91300,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 4; request.userIndex = 1U; @@ -88207,6 +91341,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetWeekDaySchedule::Type; + ListFreer listFreer; RequestType request; request.weekDayIndex = 4; request.userIndex = 2U; @@ -88250,6 +91385,7 @@ class DL_Schedules : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::DoorLock::Commands::GetYearDaySchedule::Type; + ListFreer listFreer; RequestType request; request.yearDayIndex = 1; request.userIndex = 2U; @@ -88468,6 +91604,7 @@ class TestGroupMessaging : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::AddGroup::Type; + ListFreer listFreer; RequestType request; request.groupId = 257U; request.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); @@ -88504,6 +91641,7 @@ class TestGroupMessaging : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 0; using RequestType = chip::app::Clusters::Groups::Commands::AddGroup::Type; + ListFreer listFreer; RequestType request; request.groupId = 258U; request.groupName = chip::Span("Group #2garbage: not in length on purpose", 8); @@ -88540,6 +91678,7 @@ class TestGroupMessaging : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 0; using RequestType = chip::app::Clusters::GroupKeyManagement::Commands::KeySetWrite::Type; + ListFreer listFreer; RequestType request; request.groupKeySet.groupKeySetID = 417U; @@ -88592,6 +91731,7 @@ class TestGroupMessaging : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 0; using RequestType = chip::app::Clusters::GroupKeyManagement::Commands::KeySetWrite::Type; + ListFreer listFreer; RequestType request; request.groupKeySet.groupKeySetID = 418U; @@ -88645,20 +91785,26 @@ class TestGroupMessaging : public TestCommand chip::Controller::GroupKeyManagementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::List groupKeyMapArgument; - chip::app::Clusters::GroupKeyManagement::Structs::GroupKeyMapStruct::Type groupKeyMapList_0[2]; + { + auto * listHolder_0 = new ListHolder(2); + listFreer.add(listHolder_0); - groupKeyMapList_0[0].fabricIndex = 1; - groupKeyMapList_0[0].groupId = 257U; - groupKeyMapList_0[0].groupKeySetID = 417U; + listHolder_0->mList[0].fabricIndex = 1; + listHolder_0->mList[0].groupId = 257U; + listHolder_0->mList[0].groupKeySetID = 417U; - groupKeyMapList_0[1].fabricIndex = 1; - groupKeyMapList_0[1].groupId = 258U; - groupKeyMapList_0[1].groupKeySetID = 418U; + listHolder_0->mList[1].fabricIndex = 1; + listHolder_0->mList[1].groupId = 258U; + listHolder_0->mList[1].groupKeySetID = 418U; - groupKeyMapArgument = groupKeyMapList_0; + groupKeyMapArgument = + chip::app::DataModel::List( + listHolder_0->mList, 2); + } ReturnErrorOnFailure(cluster.WriteAttribute( groupKeyMapArgument, this, OnSuccessCallback_5, OnFailureCallback_5)); @@ -88679,6 +91825,7 @@ class TestGroupMessaging : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.AssociateWithGroup(mDevices[kIdentityAlpha], groupId); + ListFreer listFreer; chip::CharSpan locationArgument; locationArgument = chip::Span("USgarbage: not in length on purpose", 2); @@ -88703,6 +91850,8 @@ class TestGroupMessaging : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_7, OnFailureCallback_7)); return CHIP_NO_ERROR; @@ -88727,6 +91876,7 @@ class TestGroupMessaging : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.AssociateWithGroup(mDevices[kIdentityAlpha], groupId); + ListFreer listFreer; chip::CharSpan locationArgument; locationArgument = chip::Span("XXgarbage: not in length on purpose", 2); @@ -88751,6 +91901,8 @@ class TestGroupMessaging : public TestCommand chip::Controller::BasicClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -88774,6 +91926,7 @@ class TestGroupMessaging : public TestCommand const chip::GroupId groupId = 257; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -88807,6 +91960,8 @@ class TestGroupMessaging : public TestCommand chip::Controller::OnOffClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_11, OnFailureCallback_11)); return CHIP_NO_ERROR; @@ -88980,6 +92135,7 @@ class TestGroupsCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::ViewGroup::Type; + ListFreer listFreer; RequestType request; request.groupId = 0U; @@ -89015,6 +92171,7 @@ class TestGroupsCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::ViewGroup::Type; + ListFreer listFreer; RequestType request; request.groupId = 1U; @@ -89050,6 +92207,7 @@ class TestGroupsCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::AddGroup::Type; + ListFreer listFreer; RequestType request; request.groupId = 1U; request.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); @@ -89086,6 +92244,7 @@ class TestGroupsCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::ViewGroup::Type; + ListFreer listFreer; RequestType request; request.groupId = 1U; @@ -89123,6 +92282,7 @@ class TestGroupsCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::ViewGroup::Type; + ListFreer listFreer; RequestType request; request.groupId = 4369U; @@ -89158,6 +92318,7 @@ class TestGroupsCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::GetGroupMembership::Type; + ListFreer listFreer; RequestType request; request.groupList = chip::app::DataModel::List(); @@ -89199,6 +92360,7 @@ class TestGroupsCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::ViewGroup::Type; + ListFreer listFreer; RequestType request; request.groupId = 32767U; @@ -89234,6 +92396,7 @@ class TestGroupsCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::ViewGroup::Type; + ListFreer listFreer; RequestType request; request.groupId = 1U; @@ -89271,6 +92434,7 @@ class TestGroupsCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::RemoveGroup::Type; + ListFreer listFreer; RequestType request; request.groupId = 0U; @@ -89306,6 +92470,7 @@ class TestGroupsCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::RemoveGroup::Type; + ListFreer listFreer; RequestType request; request.groupId = 4U; @@ -89341,6 +92506,7 @@ class TestGroupsCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::ViewGroup::Type; + ListFreer listFreer; RequestType request; request.groupId = 1U; @@ -89378,6 +92544,7 @@ class TestGroupsCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::ViewGroup::Type; + ListFreer listFreer; RequestType request; request.groupId = 4369U; @@ -89413,14 +92580,18 @@ class TestGroupsCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::GetGroupMembership::Type; + ListFreer listFreer; RequestType request; - uint16_t groupListList_0[4]; - groupListList_0[0] = 1U; - groupListList_0[1] = 2U; - groupListList_0[2] = 4369U; - groupListList_0[3] = 3U; - request.groupList = groupListList_0; + { + auto * listHolder_0 = new ListHolder(4); + listFreer.add(listHolder_0); + listHolder_0->mList[0] = 1U; + listHolder_0->mList[1] = 2U; + listHolder_0->mList[2] = 4369U; + listHolder_0->mList[3] = 3U; + request.groupList = chip::app::DataModel::List(listHolder_0->mList, 4); + } auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context))->OnSuccessResponse_13(data.capacity, data.groupList); @@ -89459,6 +92630,7 @@ class TestGroupsCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::RemoveAllGroups::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -89486,6 +92658,7 @@ class TestGroupsCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::ViewGroup::Type; + ListFreer listFreer; RequestType request; request.groupId = 1U; @@ -89521,6 +92694,7 @@ class TestGroupsCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::ViewGroup::Type; + ListFreer listFreer; RequestType request; request.groupId = 4369U; @@ -89556,6 +92730,7 @@ class TestGroupsCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::ViewGroup::Type; + ListFreer listFreer; RequestType request; request.groupId = 32767U; @@ -89591,15 +92766,19 @@ class TestGroupsCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::GetGroupMembership::Type; + ListFreer listFreer; RequestType request; - uint16_t groupListList_0[5]; - groupListList_0[0] = 1U; - groupListList_0[1] = 2U; - groupListList_0[2] = 4369U; - groupListList_0[3] = 3U; - groupListList_0[4] = 32767U; - request.groupList = groupListList_0; + { + auto * listHolder_0 = new ListHolder(5); + listFreer.add(listHolder_0); + listHolder_0->mList[0] = 1U; + listHolder_0->mList[1] = 2U; + listHolder_0->mList[2] = 4369U; + listHolder_0->mList[3] = 3U; + listHolder_0->mList[4] = 32767U; + request.groupList = chip::app::DataModel::List(listHolder_0->mList, 5); + } auto success = [](void * context, const typename RequestType::ResponseType & data) { (static_cast(context))->OnSuccessResponse_18(data.capacity, data.groupList); @@ -89835,6 +93014,8 @@ class TestGroupKeyManagementCluster : public TestCommand chip::Controller::GroupKeyManagementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_1, OnFailureCallback_1)); @@ -89859,6 +93040,8 @@ class TestGroupKeyManagementCluster : public TestCommand chip::Controller::GroupKeyManagementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure( cluster.ReadAttribute( this, OnSuccessCallback_2, OnFailureCallback_2)); @@ -89883,6 +93066,7 @@ class TestGroupKeyManagementCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::AddGroup::Type; + ListFreer listFreer; RequestType request; request.groupId = 257U; request.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); @@ -89919,6 +93103,7 @@ class TestGroupKeyManagementCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::AddGroup::Type; + ListFreer listFreer; RequestType request; request.groupId = 258U; request.groupName = chip::Span("Group #2garbage: not in length on purpose", 8); @@ -89955,6 +93140,7 @@ class TestGroupKeyManagementCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 0; using RequestType = chip::app::Clusters::GroupKeyManagement::Commands::KeySetWrite::Type; + ListFreer listFreer; RequestType request; request.groupKeySet.groupKeySetID = 417U; @@ -90007,6 +93193,7 @@ class TestGroupKeyManagementCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 0; using RequestType = chip::app::Clusters::GroupKeyManagement::Commands::KeySetWrite::Type; + ListFreer listFreer; RequestType request; request.groupKeySet.groupKeySetID = 418U; @@ -90059,6 +93246,7 @@ class TestGroupKeyManagementCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 0; using RequestType = chip::app::Clusters::GroupKeyManagement::Commands::KeySetRead::Type; + ListFreer listFreer; RequestType request; request.groupKeySetID = 417U; @@ -90103,20 +93291,26 @@ class TestGroupKeyManagementCluster : public TestCommand chip::Controller::GroupKeyManagementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::List groupKeyMapArgument; - chip::app::Clusters::GroupKeyManagement::Structs::GroupKeyMapStruct::Type groupKeyMapList_0[2]; + { + auto * listHolder_0 = new ListHolder(2); + listFreer.add(listHolder_0); - groupKeyMapList_0[0].fabricIndex = 1; - groupKeyMapList_0[0].groupId = 257U; - groupKeyMapList_0[0].groupKeySetID = 417U; + listHolder_0->mList[0].fabricIndex = 1; + listHolder_0->mList[0].groupId = 257U; + listHolder_0->mList[0].groupKeySetID = 417U; - groupKeyMapList_0[1].fabricIndex = 1; - groupKeyMapList_0[1].groupId = 258U; - groupKeyMapList_0[1].groupKeySetID = 418U; + listHolder_0->mList[1].fabricIndex = 1; + listHolder_0->mList[1].groupId = 258U; + listHolder_0->mList[1].groupKeySetID = 418U; - groupKeyMapArgument = groupKeyMapList_0; + groupKeyMapArgument = + chip::app::DataModel::List( + listHolder_0->mList, 2); + } ReturnErrorOnFailure(cluster.WriteAttribute( groupKeyMapArgument, this, OnSuccessCallback_8, OnFailureCallback_8)); @@ -90137,6 +93331,8 @@ class TestGroupKeyManagementCluster : public TestCommand chip::Controller::GroupKeyManagementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_9, OnFailureCallback_9)); return CHIP_NO_ERROR; @@ -90173,6 +93369,8 @@ class TestGroupKeyManagementCluster : public TestCommand chip::Controller::GroupKeyManagementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; + ReturnErrorOnFailure(cluster.ReadAttribute( this, OnSuccessCallback_10, OnFailureCallback_10)); return CHIP_NO_ERROR; @@ -90212,6 +93410,7 @@ class TestGroupKeyManagementCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 0; using RequestType = chip::app::Clusters::GroupKeyManagement::Commands::KeySetRemove::Type; + ListFreer listFreer; RequestType request; request.groupKeySetID = 417U; @@ -90240,6 +93439,7 @@ class TestGroupKeyManagementCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 0; using RequestType = chip::app::Clusters::GroupKeyManagement::Commands::KeySetRead::Type; + ListFreer listFreer; RequestType request; request.groupKeySetID = 417U; @@ -90273,6 +93473,7 @@ class TestGroupKeyManagementCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 0; using RequestType = chip::app::Clusters::GroupKeyManagement::Commands::KeySetRead::Type; + ListFreer listFreer; RequestType request; request.groupKeySetID = 418U; @@ -90317,6 +93518,7 @@ class TestGroupKeyManagementCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::RemoveAllGroups::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -90344,6 +93546,7 @@ class TestGroupKeyManagementCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 0; using RequestType = chip::app::Clusters::GroupKeyManagement::Commands::KeySetRemove::Type; + ListFreer listFreer; RequestType request; request.groupKeySetID = 418U; @@ -90372,6 +93575,7 @@ class TestGroupKeyManagementCluster : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 0; using RequestType = chip::app::Clusters::GroupKeyManagement::Commands::KeySetRead::Type; + ListFreer listFreer; RequestType request; request.groupKeySetID = 418U; @@ -90759,6 +93963,7 @@ class TestDiscovery : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 0; using RequestType = chip::app::Clusters::AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Type; + ListFreer listFreer; RequestType request; request.commissioningTimeout = 120U; @@ -90903,6 +94108,7 @@ class TestDiscovery : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 0; using RequestType = chip::app::Clusters::AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Type; + ListFreer listFreer; RequestType request; request.commissioningTimeout = 120U; @@ -91619,6 +94825,7 @@ class TestGroupDemoCommand : public TestCommand const chip::GroupId groupId = 257; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -91657,6 +94864,7 @@ class TestGroupDemoCommand : public TestCommand const chip::GroupId groupId = 257; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -91695,6 +94903,7 @@ class TestGroupDemoCommand : public TestCommand const chip::GroupId groupId = 257; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -91733,6 +94942,7 @@ class TestGroupDemoCommand : public TestCommand const chip::GroupId groupId = 257; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -91771,6 +94981,7 @@ class TestGroupDemoCommand : public TestCommand const chip::GroupId groupId = 257; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -91809,6 +95020,7 @@ class TestGroupDemoCommand : public TestCommand const chip::GroupId groupId = 257; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -91847,6 +95059,7 @@ class TestGroupDemoCommand : public TestCommand const chip::GroupId groupId = 257; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -91885,6 +95098,7 @@ class TestGroupDemoCommand : public TestCommand const chip::GroupId groupId = 257; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -91923,6 +95137,7 @@ class TestGroupDemoCommand : public TestCommand const chip::GroupId groupId = 257; using RequestType = chip::app::Clusters::OnOff::Commands::On::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -91961,6 +95176,7 @@ class TestGroupDemoCommand : public TestCommand const chip::GroupId groupId = 257; using RequestType = chip::app::Clusters::OnOff::Commands::Off::Type; + ListFreer listFreer; RequestType request; auto success = [](void * context, const typename RequestType::ResponseType & data) { @@ -92096,6 +95312,7 @@ class TestGroupDemoConfig : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 1; using RequestType = chip::app::Clusters::Groups::Commands::AddGroup::Type; + ListFreer listFreer; RequestType request; request.groupId = 257U; request.groupName = chip::Span("Group #1garbage: not in length on purpose", 8); @@ -92132,6 +95349,7 @@ class TestGroupDemoConfig : public TestCommand const chip::EndpointId endpoint = mEndpoint.HasValue() ? mEndpoint.Value() : 0; using RequestType = chip::app::Clusters::GroupKeyManagement::Commands::KeySetWrite::Type; + ListFreer listFreer; RequestType request; request.groupKeySet.groupKeySetID = 417U; @@ -92185,16 +95403,22 @@ class TestGroupDemoConfig : public TestCommand chip::Controller::GroupKeyManagementClusterTest cluster; cluster.Associate(mDevices[kIdentityAlpha], endpoint); + ListFreer listFreer; chip::app::DataModel::List groupKeyMapArgument; - chip::app::Clusters::GroupKeyManagement::Structs::GroupKeyMapStruct::Type groupKeyMapList_0[1]; + { + auto * listHolder_0 = new ListHolder(1); + listFreer.add(listHolder_0); - groupKeyMapList_0[0].fabricIndex = 1; - groupKeyMapList_0[0].groupId = 257U; - groupKeyMapList_0[0].groupKeySetID = 417U; + listHolder_0->mList[0].fabricIndex = 1; + listHolder_0->mList[0].groupId = 257U; + listHolder_0->mList[0].groupKeySetID = 417U; - groupKeyMapArgument = groupKeyMapList_0; + groupKeyMapArgument = + chip::app::DataModel::List( + listHolder_0->mList, 1); + } ReturnErrorOnFailure(cluster.WriteAttribute( groupKeyMapArgument, this, OnSuccessCallback_3, OnFailureCallback_3));